From 2eb5dfdd4b63c8354d7c66319f4350552030d3cd Mon Sep 17 00:00:00 2001 From: rgarcia Date: Tue, 20 Dec 2016 12:21:17 +0100 Subject: [PATCH] adds translations --- config/i18n-tasks.yml | 2 ++ config/locales/activerecord.en.yml | 7 ++++++- config/locales/activerecord.es.yml | 7 ++++++- config/locales/admin.en.yml | 5 +++++ config/locales/admin.es.yml | 5 +++++ config/locales/en.yml | 1 + config/locales/es.yml | 1 + 7 files changed, 26 insertions(+), 2 deletions(-) diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml index edaaa0958..eb2e11735 100644 --- a/config/i18n-tasks.yml +++ b/config/i18n-tasks.yml @@ -95,6 +95,8 @@ search: # - '{devise,simple_form}.*' ignore_missing: - 'unauthorized.*' + - 'activerecord.models.proposal' + - 'activerecord.models.spending_proposal' - 'activerecord.errors.models.proposal_notification.*' - 'activerecord.errors.models.direct_message.*' - 'errors.messages.blank' diff --git a/config/locales/activerecord.en.yml b/config/locales/activerecord.en.yml index 7de5b340e..b2fc86ce2 100644 --- a/config/locales/activerecord.en.yml +++ b/config/locales/activerecord.en.yml @@ -90,4 +90,9 @@ en: proposal_notification: attributes: minimum_interval: - invalid: "You have to wait a minium of %{interval} days between notifications" \ No newline at end of file + invalid: "You have to wait a minium of %{interval} days between notifications" + signature: + attributes: + document_number: + not_in_census: 'Not verified by Census' + already_voted: 'Already voted this proposal' \ No newline at end of file diff --git a/config/locales/activerecord.es.yml b/config/locales/activerecord.es.yml index 4dae4cb56..bc683970c 100644 --- a/config/locales/activerecord.es.yml +++ b/config/locales/activerecord.es.yml @@ -90,4 +90,9 @@ es: proposal_notification: attributes: minimum_interval: - invalid: "Debes esperar un mínimo de %{interval} días entre notificaciones" \ No newline at end of file + invalid: "Debes esperar un mínimo de %{interval} días entre notificaciones" + signature: + attributes: + document_number: + not_in_census: 'No verificado por Padrón' + already_voted: 'Ya ha votado esta propuesta' \ No newline at end of file diff --git a/config/locales/admin.en.yml b/config/locales/admin.en.yml index 370a06ccc..373ec6085 100755 --- a/config/locales/admin.en.yml +++ b/config/locales/admin.en.yml @@ -111,6 +111,7 @@ en: settings: Configuration settings spending_proposals: Spending proposals stats: Statistics + signature_sheets: Signature Sheets moderators: index: title: Moderators @@ -295,6 +296,10 @@ en: delete: success: Geozone successfully deleted error: This geozone can't be deleted since there are elements attached to it + signature_sheet: + author: Author + created_at: Creation date + name: Name stats: show: stats_title: Stats diff --git a/config/locales/admin.es.yml b/config/locales/admin.es.yml index 8819905d8..ec921b63a 100644 --- a/config/locales/admin.es.yml +++ b/config/locales/admin.es.yml @@ -109,6 +109,7 @@ es: settings: Configuración global spending_proposals: Propuestas de inversión stats: Estadísticas + signature_sheets: Hojas de firmas moderators: index: title: Moderadores @@ -293,6 +294,10 @@ es: delete: success: Distrito borrado correctamente error: No se puede borrar el distrito porque ya tiene elementos asociados + signature_sheet: + author: Autor + created_at: Fecha de creación + name: Nombre stats: show: stats_title: Estadísticas diff --git a/config/locales/en.yml b/config/locales/en.yml index 3ae90565f..5b55fb65d 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -154,6 +154,7 @@ en: spending_proposal: Spending proposal user: Account verification/sms: phone + signature_sheet: Signature sheet geozones: none: All city all: All scopes diff --git a/config/locales/es.yml b/config/locales/es.yml index 8d5dfb490..df9d59f58 100755 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -154,6 +154,7 @@ es: spending_proposal: la propuesta de gasto user: la cuenta verification/sms: el teléfono + signature_sheet: la hoja de firmas geozones: none: Toda la ciudad all: Todos los ámbitos