PHP Classes

File: CoffeeCMS/contents/themes/cfnews/assets/moment/src/locale/tr.js

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/assets/moment/src/locale/tr.js   Download  
File: CoffeeCMS/contents/themes/cfnews/assets/moment/src/locale/tr.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Coffee CMS
Content management system using MVC based themes
Author: By
Last change:
Date: 2 years ago
Size: 2,367 bytes
 

Contents

Class file image Download
//! moment.js locale configuration //! locale : Turkish [tr] //! authors : Erhan Gundogan : https://github.com/erhangundogan, //! Burak Yi?it Kaya: https://github.com/BYK import moment from '../moment'; var suffixes = { 1: '\'inci', 5: '\'inci', 8: '\'inci', 70: '\'inci', 80: '\'inci', 2: '\'nci', 7: '\'nci', 20: '\'nci', 50: '\'nci', 3: '\'üncü', 4: '\'üncü', 100: '\'üncü', 6: '\'nc?', 9: '\'uncu', 10: '\'uncu', 30: '\'uncu', 60: '\'?nc?', 90: '\'?nc?' }; export default moment.defineLocale('tr', { months : 'Ocak_?ubat_Mart_Nisan_May?s_Haziran_Temmuz_A?ustos_Eylül_Ekim_Kas?m_Aral?k'.split('_'), monthsShort : 'Oca_?ub_Mar_Nis_May_Haz_Tem_A?u_Eyl_Eki_Kas_Ara'.split('_'), weekdays : 'Pazar_Pazartesi_Sal?_Çar?amba_Per?embe_Cuma_Cumartesi'.split('_'), weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'), weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), longDateFormat : { LT : 'HH:mm', LTS : 'HH:mm:ss', L : 'DD.MM.YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY HH:mm', LLLL : 'dddd, D MMMM YYYY HH:mm' }, calendar : { sameDay : '[bugün saat] LT', nextDay : '[yar?n saat] LT', nextWeek : '[haftaya] dddd [saat] LT', lastDay : '[dün] LT', lastWeek : '[geçen hafta] dddd [saat] LT', sameElse : 'L' }, relativeTime : { future : '%s sonra', past : '%s önce', s : 'birkaç saniye', m : 'bir dakika', mm : '%d dakika', h : 'bir saat', hh : '%d saat', d : 'bir gün', dd : '%d gün', M : 'bir ay', MM : '%d ay', y : 'bir y?l', yy : '%d y?l' }, dayOfMonthOrdinalParse: /\d{1,2}'(inci|nci|üncü|nc?|uncu|?nc?)/, ordinal : function (number) { if (number === 0) { // special case for zero return number + '\'?nc?'; } var a = number % 10, b = number % 100 - a, c = number >= 100 ? 100 : null; return number + (suffixes[a] || suffixes[b] || suffixes[c]); }, week : { dow : 1, // Monday is the first day of the week. doy : 7 // The week that contains Jan 1st is the first week of the year. } });