Merge "tiny optimization Title::isValidRedirectTarget()"
[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 if (typeof define === 'function' && define.amd) {
9 define(['moment'], factory); // AMD
10 } else if (typeof exports === 'object') {
11 module.exports = factory(require('../moment')); // Node
12 } else {
13 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
14 }
15 }(function (moment) {
16 return moment.defineLocale('he', {
17 months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),
18 monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
19 weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
20 weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
21 weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'),
22 longDateFormat : {
23 LT : 'HH:mm',
24 LTS : 'LT:ss',
25 L : 'DD/MM/YYYY',
26 LL : 'D [ב]MMMM YYYY',
27 LLL : 'D [ב]MMMM YYYY LT',
28 LLLL : 'dddd, D [ב]MMMM YYYY LT',
29 l : 'D/M/YYYY',
30 ll : 'D MMM YYYY',
31 lll : 'D MMM YYYY LT',
32 llll : 'ddd, D MMM YYYY LT'
33 },
34 calendar : {
35 sameDay : '[היום ב־]LT',
36 nextDay : '[מחר ב־]LT',
37 nextWeek : 'dddd [בשעה] LT',
38 lastDay : '[אתמול ב־]LT',
39 lastWeek : '[ביום] dddd [האחרון בשעה] LT',
40 sameElse : 'L'
41 },
42 relativeTime : {
43 future : 'בעוד %s',
44 past : 'לפני %s',
45 s : 'מספר שניות',
46 m : 'דקה',
47 mm : '%d דקות',
48 h : 'שעה',
49 hh : function (number) {
50 if (number === 2) {
51 return 'שעתיים';
52 }
53 return number + ' שעות';
54 },
55 d : 'יום',
56 dd : function (number) {
57 if (number === 2) {
58 return 'יומיים';
59 }
60 return number + ' ימים';
61 },
62 M : 'חודש',
63 MM : function (number) {
64 if (number === 2) {
65 return 'חודשיים';
66 }
67 return number + ' חודשים';
68 },
69 y : 'שנה',
70 yy : function (number) {
71 if (number === 2) {
72 return 'שנתיים';
73 }
74 return number + ' שנים';
75 }
76 }
77 });
78 }));