From 9b35a4da70f1db231cab0af3c2bd5190c156989e Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 4 Oct 2020 13:44:41 +0200 Subject: [PATCH] add all possible plural forms to English template for Crowdin translation - will need to expand this, if we gain support for a language with more then 3 plural forms --- i18n/en.json | 84 ++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 72 insertions(+), 12 deletions(-) diff --git a/i18n/en.json b/i18n/en.json index 4f94a1d..457cb12 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -28,20 +28,80 @@ "Password (recommended)": "Password (recommended)", "Discussion": "Discussion", "Toggle navigation": "Toggle navigation", - "%d seconds": "%d seconds", - "%d minutes": "%d minutes", - "%d hours": "%d hours", - "%d days": "%d days", - "%d weeks": "%d weeks", - "%d months": "%d months", - "%d years": "%d years", + "%d seconds": [ + "%d second (singular)", + "%d seconds (1st plural)", + "%d seconds (2nd plural)", + "%d seconds (3rd plural)" + ], + "%d minutes": [ + "%d minute (singular)", + "%d minutes (1st plural)", + "%d minutes (2nd plural)", + "%d minutes (3rd plural)" + ], + "%d hours": [ + "%d hour (singular)", + "%d hours (1st plural)", + "%d hours (2nd plural)", + "%d hours (3rd plural)" + ], + "%d days": [ + "%d day (singular)", + "%d days (1st plural)", + "%d days (2nd plural)", + "%d days (3rd plural)" + ], + "%d weeks": [ + "%d week (singular)", + "%d weeks (1st plural)", + "%d weeks (2nd plural)", + "%d weeks (3rd plural)" + ], + "%d months": [ + "%d month (singular)", + "%d months (1st plural)", + "%d months (2nd plural)", + "%d months (3rd plural)" + ], + "%d years": [ + "%d year (singular)", + "%d years (1st plural)", + "%d years (2nd plural)", + "%d years (3rd plural)" + ], "Never": "Never", "Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service.": "Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service.", - "This document will expire in %d seconds.": "This document will expire in %d seconds.", - "This document will expire in %d minutes.": "This document will expire in %d minutes.", - "This document will expire in %d hours.": "This document will expire in %d hours.", - "This document will expire in %d days.": "This document will expire in %d days.", - "This document will expire in %d months.": "This document will expire in %d months.", + "This document will expire in %d seconds.": [ + "This document will expire in %d second. (singular)", + "This document will expire in %d seconds (1st plural)", + "This document will expire in %d seconds (2nd plural)", + "This document will expire in %d seconds (3rd plural)" + ], + "This document will expire in %d minutes.": [ + "This document will expire in %d minute. (singular)", + "This document will expire in %d minutes (1st plural)", + "This document will expire in %d minutes (2nd plural)", + "This document will expire in %d minutes (3rd plural)" + ], + "This document will expire in %d hours.": [ + "This document will expire in %d hour. (singular)", + "This document will expire in %d hours (1st plural)", + "This document will expire in %d hours (2nd plural)", + "This document will expire in %d hours (3rd plural)" + ], + "This document will expire in %d days.": [ + "This document will expire in %d day. (singular)", + "This document will expire in %d days (1st plural)", + "This document will expire in %d days (2nd plural)", + "This document will expire in %d days (3rd plural)" + ], + "This document will expire in %d months.": [ + "This document will expire in %d month. (singular)", + "This document will expire in %d months (1st plural)", + "This document will expire in %d months (2nd plural)", + "This document will expire in %d months (3rd plural)" + ], "Please enter the password for this paste:": "Please enter the password for this paste:", "Could not decrypt data (Wrong key?)": "Could not decrypt data (Wrong key?)", "Could not delete the paste, it was not stored in burn after reading mode.": "Could not delete the paste, it was not stored in burn after reading mode.",