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
This commit is contained in:
Angel Perez
2018-02-16 10:29:47 -04:00
parent f36b58f605
commit f9e8e2d86d
3 changed files with 9 additions and 9 deletions

View File

@@ -27,8 +27,8 @@ en:
preview: Preview preview: Preview
banner: banner:
title: Title title: Title
description: Description description: Description
target_url: Link target_url: Link
style: Style style: Style
image: Image image: Image
post_started_at: Post started at post_started_at: Post started at
@@ -41,7 +41,7 @@ en:
form: form:
error: error:
one: "error prevented this banner from being saved" 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: new:
creating: Create banner creating: Create banner
activity: activity:
@@ -62,7 +62,7 @@ en:
on_users: Users on_users: Users
title: Moderator activity title: Moderator activity
type: Type type: Type
no_activity: There ares no moderators activity. no_activity: There are no moderators activity.
budgets: budgets:
index: index:
title: Participatory budgets title: Participatory budgets
@@ -664,7 +664,7 @@ en:
search_officer_placeholder: Search officer search_officer_placeholder: Search officer
search_officer_text: Search for an officer to assign a new shift search_officer_text: Search for an officer to assign a new shift
select_date: "Select day" select_date: "Select day"
no_voting_days: "Los dias de votación terminaron" no_voting_days: "Voting days ended"
select_task: "Select task" select_task: "Select task"
table_shift: "Shift" table_shift: "Shift"
table_email: "Email" table_email: "Email"

View File

@@ -41,7 +41,7 @@ es:
form: form:
error: error:
one: "error impidió guardar el banner" one: "error impidió guardar el banner"
other: 'errores impidieron guardar el banner.' other: "errores impidieron guardar el banner"
new: new:
creating: Crear banner creating: Crear banner
activity: activity:
@@ -257,7 +257,7 @@ es:
edit: edit:
title: Editar hito title: Editar hito
create: create:
notice: Nuevo hito creado con éxito! notice: ¡Nuevo hito creado con éxito!
update: update:
notice: Hito actualizado notice: Hito actualizado
delete: delete:

View File

@@ -51,7 +51,7 @@ describe SignatureSheet do
spending_proposal = create(:spending_proposal) spending_proposal = create(:spending_proposal)
signature_sheet.signable = 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 end
it "returns name for budget investment signature sheets" do it "returns name for budget investment signature sheets" do