Merge "Don't fallback from uk to ru"
[lhc/web/wiklou.git] / resources / lib / moment / locale / he.js
1 // moment.js locale configuration
2 // locale : Hebrew (he)
3 // author : Tomer Cohen : https://github.com/tomer
4 // author : Moshe Simantov : https://github.com/DevelopmentIL
5 // author : Tal Ater : https://github.com/TalAter
6
7 (function (factory) {
8 // Comment out broken wrapper, see T145382
9 /*if (typeof define === 'function' && define.amd) {
10 define(['moment'], factory); // AMD
11 } else if (typeof exports === 'object') {
12 module.exports = factory(require('../moment')); // Node
13 } else {
14 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
15 }*/
16 factory(this.moment);
17 }(function (moment) {
18 return moment.defineLocale('he', {
19 months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),
20 monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
21 weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
22 weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
23 weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'),
24 longDateFormat : {
25 LT : 'HH:mm',
26 LTS : 'LT:ss',
27 L : 'DD/MM/YYYY',
28 LL : 'D [ב]MMMM YYYY',
29 LLL : 'D [ב]MMMM YYYY LT',
30 LLLL : 'dddd, D [ב]MMMM YYYY LT',
31 l : 'D/M/YYYY',
32 ll : 'D MMM YYYY',
33 lll : 'D MMM YYYY LT',
34 llll : 'ddd, D MMM YYYY LT'
35 },
36 calendar : {
37 sameDay : '[היום ב־]LT',
38 nextDay : '[מחר ב־]LT',
39 nextWeek : 'dddd [בשעה] LT',
40 lastDay : '[אתמול ב־]LT',
41 lastWeek : '[ביום] dddd [האחרון בשעה] LT',
42 sameElse : 'L'
43 },
44 relativeTime : {
45 future : 'בעוד %s',
46 past : 'לפני %s',
47 s : 'מספר שניות',
48 m : 'דקה',
49 mm : '%d דקות',
50 h : 'שעה',
51 hh : function (number) {
52 if (number === 2) {
53 return 'שעתיים';
54 }
55 return number + ' שעות';
56 },
57 d : 'יום',
58 dd : function (number) {
59 if (number === 2) {
60 return 'יומיים';
61 }
62 return number + ' ימים';
63 },
64 M : 'חודש',
65 MM : function (number) {
66 if (number === 2) {
67 return 'חודשיים';
68 }
69 return number + ' חודשים';
70 },
71 y : 'שנה',
72 yy : function (number) {
73 if (number === 2) {
74 return 'שנתיים';
75 }
76 return number + ' שנים';
77 }
78 }
79 });
80 }));