From 02cef6dec5f759dc998482b65983b22ae84f78fc Mon Sep 17 00:00:00 2001 From: decabeza Date: Thu, 22 Mar 2018 16:07:04 +0100 Subject: [PATCH] Fixes missing i18n --- app/views/map_locations/_form_fields.html.erb | 2 +- config/i18n-tasks.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/map_locations/_form_fields.html.erb b/app/views/map_locations/_form_fields.html.erb index be95b0888..f09662649 100644 --- a/app/views/map_locations/_form_fields.html.erb +++ b/app/views/map_locations/_form_fields.html.erb @@ -20,7 +20,7 @@
<%= form.label :skip_map do %> <%= form.check_box :skip_map, - title: t("proposals.form.map_skip_checkbox"), + title: t("#{i18n_namespace}.form.map_skip_checkbox"), label: false, class: 'js-toggle-map' %> diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml index 41bf3e604..04adffb48 100644 --- a/config/i18n-tasks.yml +++ b/config/i18n-tasks.yml @@ -176,6 +176,7 @@ ignore_unused: - 'admin.legislation.processes.process.*' - 'legislation.processes.index.*' - 'votes.budget_investments.different_heading_assigned*' + - '*.form.map_skip_checkbox' # - '{devise,kaminari,will_paginate}.*' # - 'simple_form.{yes,no}' # - 'simple_form.{placeholders,hints,labels}.*'