From 712c13407ea88af644ce1c4a4a23fec26077dceb Mon Sep 17 00:00:00 2001 From: Ian Dickinson Date: Mon, 28 Sep 2020 18:10:06 +0100 Subject: [PATCH] Fix bug interpolating number of locations #233 --- config/locales/cy.yml | 2 +- config/locales/en.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/cy.yml b/config/locales/cy.yml index f173bf4f..bfc2ccec 100644 --- a/config/locales/cy.yml +++ b/config/locales/cy.yml @@ -70,7 +70,7 @@ cy: search_results: "Canlyniadau chwilio:" print: - locations_summary: "#{n_locations} lleoliad" + locations_summary: "%{n_locations} lleoliad" unavailable: "Mae’n flin gennym, nid yw #{indicator_name} ar gael ar gyfer #{statistic_name}." date: "Dyddiad" quarterly: "chwarterol" diff --git a/config/locales/en.yml b/config/locales/en.yml index 9e4e75b4..e45b4d54 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -70,7 +70,7 @@ en: search_results: "Search results:" print: - locations_summary: "#{n_locations} locations" + locations_summary: "%{n_locations} locations" unavailable: "We're sorry, #{indicator_name} is not available for #{statistic_name}." date: "Date" quarterly: "quarterly"