From afc159c14f113e394e143447777b83db7ca59e47 Mon Sep 17 00:00:00 2001 From: jresinas Date: Wed, 19 Sep 2018 12:20:12 +0200 Subject: [PATCH] Fix translations --- app/views/settings/_facturaplus_settings.html.erb | 4 ++-- config/locales/en.yml | 2 ++ config/locales/es.yml | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/settings/_facturaplus_settings.html.erb b/app/views/settings/_facturaplus_settings.html.erb index 10babe7..5bfd612 100644 --- a/app/views/settings/_facturaplus_settings.html.erb +++ b/app/views/settings/_facturaplus_settings.html.erb @@ -105,7 +105,7 @@

- + <% if Setting.plugin_redmine_facturaplus['biller_field'].present? options = (''+options_for_select(CustomField.find(Setting.plugin_redmine_facturaplus['biller_field']).possible_values, @settings['billers'])).html_safe @@ -144,7 +144,7 @@

- + <% if Setting.plugin_redmine_facturaplus['bill_type_field'].present? options = (''+options_for_select(CustomField.find(Setting.plugin_redmine_facturaplus['bill_type_field']).possible_values, @settings['bill_types'])).html_safe diff --git a/config/locales/en.yml b/config/locales/en.yml index 4ec8fd6..2a5ed75 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -14,6 +14,8 @@ en: label_business_unit_field: Business unit label_billers: FacturaPlus billers label_biller_field: Biller + label_bill_type_field: Bill type + label_bill_types: Billable bill types label_clients: Clients label_client_field: Client text_confirm_sync_client_field: If you synchronize this field, current options will be removed. Are you sure you want to continue? diff --git a/config/locales/es.yml b/config/locales/es.yml index 2f4b536..038f3a5 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -14,6 +14,8 @@ es: label_business_unit_field: Unidad de negocio label_billers: Emisores en FacturaPlus label_biller_field: Emisor + label_bill_type_field: Tipo de factura + label_bill_types: Tipos de facturas facturables label_clients: Clientes label_client_field: Cliente text_confirm_sync_client_field: Si continua con la sincronización se perderán las opciones registradas actualmente en el campo. ¿Está seguro que desea continuar?