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>