[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/js/vendor/moment-js/locale/ -> te.js (source)

   1  //! moment.js locale configuration
   2  //! locale : Telugu [te]
   3  //! author : Krishna Chaitanya Thota : https://github.com/kcthota
   4  
   5  ;(function (global, factory) {
   6     typeof exports === 'object' && typeof module !== 'undefined'
   7         && typeof require === 'function' ? factory(require('../moment')) :
   8     typeof define === 'function' && define.amd ? define(['../moment'], factory) :
   9     factory(global.moment)
  10  }(this, function (moment) { 'use strict';
  11  
  12  
  13      var te = moment.defineLocale('te', {
  14          months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
  15          monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
  16          monthsParseExact : true,
  17          weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
  18          weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
  19          weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
  20          longDateFormat : {
  21              LT : 'A h:mm',
  22              LTS : 'A h:mm:ss',
  23              L : 'DD/MM/YYYY',
  24              LL : 'D MMMM YYYY',
  25              LLL : 'D MMMM YYYY, A h:mm',
  26              LLLL : 'dddd, D MMMM YYYY, A h:mm'
  27          },
  28          calendar : {
  29              sameDay : '[నేడు] LT',
  30              nextDay : '[రేపు] LT',
  31              nextWeek : 'dddd, LT',
  32              lastDay : '[నిన్న] LT',
  33              lastWeek : '[గత] dddd, LT',
  34              sameElse : 'L'
  35          },
  36          relativeTime : {
  37              future : '%s లో',
  38              past : '%s క్రితం',
  39              s : 'కొన్ని క్షణాలు',
  40              m : 'ఒక నిమిషం',
  41              mm : '%d నిమిషాలు',
  42              h : 'ఒక గంట',
  43              hh : '%d గంటలు',
  44              d : 'ఒక రోజు',
  45              dd : '%d రోజులు',
  46              M : 'ఒక నెల',
  47              MM : '%d నెలలు',
  48              y : 'ఒక సంవత్సరం',
  49              yy : '%d సంవత్సరాలు'
  50          },
  51          ordinalParse : /\d{1,2}వ/,
  52          ordinal : '%dవ',
  53          meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
  54          meridiemHour : function (hour, meridiem) {
  55              if (hour === 12) {
  56                  hour = 0;
  57              }
  58              if (meridiem === 'రాత్రి') {
  59                  return hour < 4 ? hour : hour + 12;
  60              } else if (meridiem === 'ఉదయం') {
  61                  return hour;
  62              } else if (meridiem === 'మధ్యాహ్నం') {
  63                  return hour >= 10 ? hour : hour + 12;
  64              } else if (meridiem === 'సాయంత్రం') {
  65                  return hour + 12;
  66              }
  67          },
  68          meridiem : function (hour, minute, isLower) {
  69              if (hour < 4) {
  70                  return 'రాత్రి';
  71              } else if (hour < 10) {
  72                  return 'ఉదయం';
  73              } else if (hour < 17) {
  74                  return 'మధ్యాహ్నం';
  75              } else if (hour < 20) {
  76                  return 'సాయంత్రం';
  77              } else {
  78                  return 'రాత్రి';
  79              }
  80          },
  81          week : {
  82              dow : 0, // Sunday is the first day of the week.
  83              doy : 6  // The week that contains Jan 1st is the first week of the year.
  84          }
  85      });
  86  
  87      return te;
  88  
  89  }));


Generated: Thu Aug 24 01:01:27 2023 Cross-referenced by PHPXref 0.7.1