From c8ad7a8fb2d1624efa9b25062a9a0c2b40cd03b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Fri, 8 Jan 2016 17:28:27 +0100 Subject: [PATCH] pluralizes notifications alert --- config/locales/en.yml | 4 +++- config/locales/es.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 97494fd81..c40575d6b 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -29,7 +29,9 @@ en: more_information: "More information" debates: "Debates" proposals: "Proposals" - new_notifications: "You have %{count} new notifications" + new_notifications: + one: "You have a new notification" + other: "You have %{count} new notifications" no_notifications: "You don't have new notifications" footer: description: "This portal uses the %{consul} which is %{open_source}. From Madrid out into the world." diff --git a/config/locales/es.yml b/config/locales/es.yml index 7fb02c729..37be2e03a 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -29,7 +29,9 @@ es: more_information: "Más información" debates: "Debates" proposals: "Propuestas" - new_notifications: "Tienes %{count} notificaciones nuevas" + new_notifications: + one: "Tienes una nueva notificación" + other: "Tienes %{count} notificaciones nuevas" no_notifications: "No tienes notificaciones nuevas" footer: description: "Este portal usa la %{consul} que es %{open_source}. De Madrid, para el mundo entero."