diff --git a/app/views/admin/settings/index.html.erb b/app/views/admin/settings/index.html.erb index c18c13b8a..15ae47b8e 100644 --- a/app/views/admin/settings/index.html.erb +++ b/app/views/admin/settings/index.html.erb @@ -7,7 +7,7 @@ <%= form_for(setting, url: admin_setting_path(setting), html: { id: "edit_#{dom_id(setting)}"}) do |f| %> <%= f.text_field :value, label: false, id: dom_id(setting) %> - <%= f.submit(class: "button radius tiny success") %> + <%= f.submit(t('admin.settings.index.update_setting'), class: "button radius tiny success") %> <% end %> <% end %> diff --git a/app/views/admin/tags/index.html.erb b/app/views/admin/tags/index.html.erb index 3752421e1..576dd4ce6 100644 --- a/app/views/admin/tags/index.html.erb +++ b/app/views/admin/tags/index.html.erb @@ -16,7 +16,7 @@ - <%= f.submit(class: "button radius success") %> + <%= f.submit(t("admin.tags.create"), class: "button radius success") %> <% end %> @@ -39,7 +39,7 @@ <% end %> - <%= f.submit(class: "button radius tiny success") %> + <%= f.submit(t("admin.tags.update"), class: "button radius tiny success") %> <%= link_to t("admin.tags.destroy"), admin_tag_path(tag), method: :delete, class: "delete" %> <% end %> diff --git a/config/locales/admin.en.yml b/config/locales/admin.en.yml index 2f1606719..40268bfe0 100644 --- a/config/locales/admin.en.yml +++ b/config/locales/admin.en.yml @@ -3,6 +3,7 @@ en: settings: index: title: Global settings + update_setting: Update flash: updated: 'Setting updated!' dashboard: @@ -45,7 +46,9 @@ en: mark_as_featured: 'Propose topic to create debate' name: placeholder: 'Write a topic' - destroy: Delete Tag + create: Create Topic + update: Update Topic + destroy: Delete Topic comments: index: title: Hidden comments diff --git a/config/locales/admin.es.yml b/config/locales/admin.es.yml index 923b87925..20ed85b1f 100644 --- a/config/locales/admin.es.yml +++ b/config/locales/admin.es.yml @@ -3,6 +3,7 @@ es: settings: index: title: Configuración global + update_setting: Actualizar flash: updated: 'Valor actualizado' dashboard: @@ -45,7 +46,9 @@ es: mark_as_featured: 'Proponer tema al crear debate' name: placeholder: 'Escribe el nombre del tema' - destroy: Elimina la etiqueta + create: Crear Tema + update: Actualizar Tema + destroy: Eliminar Tema comments: index: title: Comentarios ocultos