[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  //! moment.js locale configuration
   2  //! locale : Scottish Gaelic [gd]
   3  //! author : Jon Ashdown : https://github.com/jonashdown
   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 months = [
  14          'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'
  15      ];
  16  
  17      var monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'];
  18  
  19      var weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'];
  20  
  21      var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'];
  22  
  23      var weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
  24  
  25      var gd = moment.defineLocale('gd', {
  26          months : months,
  27          monthsShort : monthsShort,
  28          monthsParseExact : true,
  29          weekdays : weekdays,
  30          weekdaysShort : weekdaysShort,
  31          weekdaysMin : weekdaysMin,
  32          longDateFormat : {
  33              LT : 'HH:mm',
  34              LTS : 'HH:mm:ss',
  35              L : 'DD/MM/YYYY',
  36              LL : 'D MMMM YYYY',
  37              LLL : 'D MMMM YYYY HH:mm',
  38              LLLL : 'dddd, D MMMM YYYY HH:mm'
  39          },
  40          calendar : {
  41              sameDay : '[An-diugh aig] LT',
  42              nextDay : '[A-màireach aig] LT',
  43              nextWeek : 'dddd [aig] LT',
  44              lastDay : '[An-dè aig] LT',
  45              lastWeek : 'dddd [seo chaidh] [aig] LT',
  46              sameElse : 'L'
  47          },
  48          relativeTime : {
  49              future : 'ann an %s',
  50              past : 'bho chionn %s',
  51              s : 'beagan diogan',
  52              m : 'mionaid',
  53              mm : '%d mionaidean',
  54              h : 'uair',
  55              hh : '%d uairean',
  56              d : 'latha',
  57              dd : '%d latha',
  58              M : 'mìos',
  59              MM : '%d mìosan',
  60              y : 'bliadhna',
  61              yy : '%d bliadhna'
  62          },
  63          ordinalParse : /\d{1,2}(d|na|mh)/,
  64          ordinal : function (number) {
  65              var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  66              return number + output;
  67          },
  68          week : {
  69              dow : 1, // Monday is the first day of the week.
  70              doy : 4  // The week that contains Jan 4th is the first week of the year.
  71          }
  72      });
  73  
  74      return gd;
  75  
  76  }));


Generated: Wed Feb 24 01:01:36 2021 Cross-referenced by PHPXref 0.7.1