aboutsummaryrefslogtreecommitdiffstats
path: root/resources/lib/moment/locale/ar.js
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2025-03-27 18:52:52 -0400
committerJames D. Forrester <jforrester@wikimedia.org>2025-04-06 08:22:16 -0400
commitc2b16b995d9db4f2da14af5e55bded40cbff82d2 (patch)
tree0d168c2e822a176f95f32e904c0bed5b8f0b312a /resources/lib/moment/locale/ar.js
parent2a5cf3fde93263156557bc1efd21c5a74ce67725 (diff)
downloadmediawikicore-c2b16b995d9db4f2da14af5e55bded40cbff82d2.tar.gz
mediawikicore-c2b16b995d9db4f2da14af5e55bded40cbff82d2.zip
Upgrade moment from v2.25.2 to v2.30.1
Five new locales, two of which map to supported languages in core (ku-kmr -> ku, and tk -> tk), and three of which don't but are added in for future support and for languages that might be configured in production systems (ar-ps, bn-bd, and es-mx). Bug: T389416 Change-Id: Ic69ddf92f922515bf36a2ea1770b2c8ebd2c46b2
Diffstat (limited to 'resources/lib/moment/locale/ar.js')
-rw-r--r--resources/lib/moment/locale/ar.js36
1 files changed, 18 insertions, 18 deletions
diff --git a/resources/lib/moment/locale/ar.js b/resources/lib/moment/locale/ar.js
index 4c3e041edd70..5bfb05748974 100644
--- a/resources/lib/moment/locale/ar.js
+++ b/resources/lib/moment/locale/ar.js
@@ -14,16 +14,16 @@
//! moment.js locale configuration
var symbolMap = {
- '1': '١',
- '2': '٢',
- '3': '٣',
- '4': '٤',
- '5': '٥',
- '6': '٦',
- '7': '٧',
- '8': '٨',
- '9': '٩',
- '0': '٠',
+ 1: '١',
+ 2: '٢',
+ 3: '٣',
+ 4: '٤',
+ 5: '٥',
+ 6: '٦',
+ 7: '٧',
+ 8: '٨',
+ 9: '٩',
+ 0: '٠',
},
numberMap = {
'١': '1',
@@ -41,14 +41,14 @@
return n === 0
? 0
: n === 1
- ? 1
- : n === 2
- ? 2
- : n % 100 >= 3 && n % 100 <= 10
- ? 3
- : n % 100 >= 11
- ? 4
- : 5;
+ ? 1
+ : n === 2
+ ? 2
+ : n % 100 >= 3 && n % 100 <= 10
+ ? 3
+ : n % 100 >= 11
+ ? 4
+ : 5;
},
plurals = {
s: [