Fix untranslated texts

I've also renamed the key for the settings title so the `<h1>` gets the
`title` key, as done in other sections in the admin.
This commit is contained in:
Javi Martín
2019-06-23 15:48:27 +02:00
parent 06be5e132f
commit 29da91a082
9 changed files with 13 additions and 7 deletions

View File

@@ -1,3 +1,3 @@
<h2><%= t("admin.settings.index.title") %></h2>
<h2><%= t("admin.settings.index.general") %></h2>
<%= render "settings_table", settings: @configuration_settings, setting_name: "setting", tab: "#tab-configuration" %>

View File

@@ -7,7 +7,7 @@
data-tabs>
<li class="tabs-title is-active">
<%= link_to "#tab-configuration" do %>
<%= t("admin.settings.index.title") %>
<%= t("admin.settings.index.general") %>
<% end %>
</li>

View File

@@ -1,4 +1,4 @@
<h1>Settings</h1>
<h1><%= t("admin.settings.index.title") %></h1>
<div class="tabs-content" data-tabs-content="settings-tabs">
<%= render "filter_subnav" %>

View File

@@ -1,11 +1,11 @@
<span class="button columns-selector hollow" id="js-columns-selector" data-cookie="<%= cookie %>" data-default="<%= default.join(",") %>">
<span class="icon-banner"> </span>
<strong>Columns</strong>
<strong><%= t("admin.budget_investments.index.columns") %></strong>
</span>
<div class="hidden columns-selector-wrapper" id="js-columns-selector-wrapper">
<div class="hidden column-selector-item" id="column_selector_item_template">
<input type="checkbox" name="column-selector[template]" id="column_selector_template" data-column="template">
<label for="column_selector_template">Template</label>
<label for="column_selector_template"></label>
</div>
</div>

View File

@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="es">
<head>
<title>Gobierno abierto</title>
<title><%= t("mailers.title") %></title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" id="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,maximum-scale=10.0"/>
</head>

View File

@@ -224,6 +224,7 @@ en:
download_current_selection: "Download current selection"
no_budget_investments: "There are no investment projects."
title: Investment projects
columns: Columns
assigned_admin: Assigned administrator
no_admin_assigned: No admin assigned
no_valuators_assigned: No valuators assigned
@@ -1291,7 +1292,8 @@ en:
flash:
updated: Value updated
index:
title: Configuration settings
title: Settings
general: Configuration settings
update_setting: Update
participation_processes: "Participation processes"
images_and_documents: "Images and documents"

View File

@@ -1,5 +1,6 @@
en:
mailers:
title: "Open Government"
no_reply: "This message was sent from an email address that does not accept replies."
comment:
hi: Hi

View File

@@ -224,6 +224,7 @@ es:
download_current_selection: "Descargar selección actual"
no_budget_investments: "No hay proyectos de gasto."
title: Proyectos de gasto
columns: Columnas
assigned_admin: Administrador asignado
no_admin_assigned: Sin admin asignado
no_valuators_assigned: Sin evaluador
@@ -1293,6 +1294,7 @@ es:
updated: Valor actualizado
index:
title: Configuración global
general: Configuración global
update_setting: Actualizar
participation_processes: "Procesos de participación"
images_and_documents: "Imágenes y documentos"

View File

@@ -1,5 +1,6 @@
es:
mailers:
title: "Gobierno abierto"
no_reply: "Este mensaje se ha enviado desde una dirección de correo electrónico que no admite respuestas."
comment:
hi: Hola