Brought in another asset for Ray's eye form: moment
[openemr.git] / public / assets / moment-2-13-0 / src / locale / tr.js
blobe908bc03999f02cbf55422f3498c4341b22014b5
1 //! moment.js locale configuration
2 //! locale : turkish (tr)
3 //! authors : Erhan Gundogan : https://github.com/erhangundogan,
4 //!           Burak Yiğit Kaya: https://github.com/BYK
6 import moment from '../moment';
8 var suffixes = {
9     1: '\'inci',
10     5: '\'inci',
11     8: '\'inci',
12     70: '\'inci',
13     80: '\'inci',
14     2: '\'nci',
15     7: '\'nci',
16     20: '\'nci',
17     50: '\'nci',
18     3: '\'üncü',
19     4: '\'üncü',
20     100: '\'üncü',
21     6: '\'ncı',
22     9: '\'uncu',
23     10: '\'uncu',
24     30: '\'uncu',
25     60: '\'ıncı',
26     90: '\'ıncı'
29 export default moment.defineLocale('tr', {
30     months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
31     monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
32     weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
33     weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
34     weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
35     longDateFormat : {
36         LT : 'HH:mm',
37         LTS : 'HH:mm:ss',
38         L : 'DD.MM.YYYY',
39         LL : 'D MMMM YYYY',
40         LLL : 'D MMMM YYYY HH:mm',
41         LLLL : 'dddd, D MMMM YYYY HH:mm'
42     },
43     calendar : {
44         sameDay : '[bugün saat] LT',
45         nextDay : '[yarın saat] LT',
46         nextWeek : '[haftaya] dddd [saat] LT',
47         lastDay : '[dün] LT',
48         lastWeek : '[geçen hafta] dddd [saat] LT',
49         sameElse : 'L'
50     },
51     relativeTime : {
52         future : '%s sonra',
53         past : '%s önce',
54         s : 'birkaç saniye',
55         m : 'bir dakika',
56         mm : '%d dakika',
57         h : 'bir saat',
58         hh : '%d saat',
59         d : 'bir gün',
60         dd : '%d gün',
61         M : 'bir ay',
62         MM : '%d ay',
63         y : 'bir yıl',
64         yy : '%d yıl'
65     },
66     ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
67     ordinal : function (number) {
68         if (number === 0) {  // special case for zero
69             return number + '\'ıncı';
70         }
71         var a = number % 10,
72             b = number % 100 - a,
73             c = number >= 100 ? 100 : null;
74         return number + (suffixes[a] || suffixes[b] || suffixes[c]);
75     },
76     week : {
77         dow : 1, // Monday is the first day of the week.
78         doy : 7  // The week that contains Jan 1st is the first week of the year.
79     }
80 });