From 97ba3e1e5b14efa8987135a11ff2e38233eeeb67 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Wed, 9 Feb 2022 16:53:48 +0100 Subject: [PATCH] DEV: Drop unused pluralization ruleset (#15863) The Polish locale we're using is `pl_PL` so this file is unused. --- lib/javascripts/locale/pl.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 lib/javascripts/locale/pl.js diff --git a/lib/javascripts/locale/pl.js b/lib/javascripts/locale/pl.js deleted file mode 100644 index a9020d0a5e..0000000000 --- a/lib/javascripts/locale/pl.js +++ /dev/null @@ -1,15 +0,0 @@ -MessageFormat.locale.pl = function (n) { - if (n == 1) { - return 'one'; - } - if ((n % 10) >= 2 && (n % 10) <= 4 && - ((n % 100) < 12 || (n % 100) > 14) && n == Math.floor(n)) { - return 'few'; - } - if ((n % 10) === 0 || n != 1 && (n % 10) == 1 || - ((n % 10) >= 5 && (n % 10) <= 9 || (n % 100) >= 12 && (n % 100) <= 14) && - n == Math.floor(n)) { - return 'many'; - } - return 'other'; -};