From baff12080047f7e2aa0d7687171b0dcf2e3fa1f5 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Sat, 25 Jan 2014 22:19:37 +0100 Subject: [PATCH] fix french pluralform --- isso/js/app/i18n.js | 2 +- isso/js/app/i18n/fr.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/isso/js/app/i18n.js b/isso/js/app/i18n.js index 60bed70..a59e731 100644 --- a/isso/js/app/i18n.js +++ b/isso/js/app/i18n.js @@ -8,7 +8,7 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru" return msgs[n === 1 ? 0 : 1]; }, "fr": function(msgs, n) { - return msgs[n > 1 ? 0 : 1] + return msgs[n > 1 ? 1 : 0] }, "ru": function(msg, n) { if (n % 10 === 1 && n % 100 !== 11) { diff --git a/isso/js/app/i18n/fr.js b/isso/js/app/i18n/fr.js index 5ba3b69..db72936 100644 --- a/isso/js/app/i18n/fr.js +++ b/isso/js/app/i18n/fr.js @@ -3,7 +3,7 @@ define({ "postbox-author": "Nom (optionel)", "postbox-email": "Courriel (optionel)", "postbox-submit": "Soumettre", - "num-comments": "Un commentaire\n{{ n }} commentaires", + "num-comments": "{{ n }} commentaire\n{{ n }} commentaires", "no-comments": "Aucun commentaire pour l'instant", "comment-reply": "Répondre", "comment-edit": "Éditer",