From f9e8e2d86dc56d4e28d37e9ee0f679d2320e1af8 Mon Sep 17 00:00:00 2001 From: Angel Perez Date: Fri, 16 Feb 2018 10:29:47 -0400 Subject: [PATCH] I18n: cleanup for Admin English/Spanish strings * Add missing exclamation marks * Fix typos * Remove duplicated keys * Remove trailing whitespaces * Replace single quotes with double quotes * Replace untranslated strings * Fix incorrect 'Spending proposal' assertion --- config/locales/en/admin.yml | 10 +++++----- config/locales/es/admin.yml | 4 ++-- spec/models/signature_sheet_spec.rb | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config/locales/en/admin.yml b/config/locales/en/admin.yml index f85d6a8c8..9ea208054 100644 --- a/config/locales/en/admin.yml +++ b/config/locales/en/admin.yml @@ -27,8 +27,8 @@ en: preview: Preview banner: title: Title - description: Description - target_url: Link + description: Description + target_url: Link style: Style image: Image post_started_at: Post started at @@ -41,7 +41,7 @@ en: form: error: one: "error prevented this banner from being saved" - other: 'errors prevented this banner from being saved' + other: "errors prevented this banner from being saved" new: creating: Create banner activity: @@ -62,7 +62,7 @@ en: on_users: Users title: Moderator activity type: Type - no_activity: There ares no moderators activity. + no_activity: There are no moderators activity. budgets: index: title: Participatory budgets @@ -664,7 +664,7 @@ en: search_officer_placeholder: Search officer search_officer_text: Search for an officer to assign a new shift select_date: "Select day" - no_voting_days: "Los dias de votación terminaron" + no_voting_days: "Voting days ended" select_task: "Select task" table_shift: "Shift" table_email: "Email" diff --git a/config/locales/es/admin.yml b/config/locales/es/admin.yml index 64e7dafd0..76c38c91c 100644 --- a/config/locales/es/admin.yml +++ b/config/locales/es/admin.yml @@ -41,7 +41,7 @@ es: form: error: one: "error impidió guardar el banner" - other: 'errores impidieron guardar el banner.' + other: "errores impidieron guardar el banner" new: creating: Crear banner activity: @@ -257,7 +257,7 @@ es: edit: title: Editar hito create: - notice: Nuevo hito creado con éxito! + notice: ¡Nuevo hito creado con éxito! update: notice: Hito actualizado delete: diff --git a/spec/models/signature_sheet_spec.rb b/spec/models/signature_sheet_spec.rb index e573d8259..f64cac6e6 100644 --- a/spec/models/signature_sheet_spec.rb +++ b/spec/models/signature_sheet_spec.rb @@ -51,7 +51,7 @@ describe SignatureSheet do spending_proposal = create(:spending_proposal) signature_sheet.signable = spending_proposal - expect(signature_sheet.name).to eq("Spending proposal #{spending_proposal.id}") + expect(signature_sheet.name).to eq("Investment project #{spending_proposal.id}") end it "returns name for budget investment signature sheets" do @@ -92,4 +92,4 @@ describe SignatureSheet do end end -end \ No newline at end of file +end