Merge "Added Id to the input box"
[lhc/web/wiklou.git] / resources / lib / moment / locale / ro.js
1 //! moment.js locale configuration
2
3 ;(function (global, factory) {
4 typeof exports === 'object' && typeof module !== 'undefined'
5 && typeof require === 'function' ? factory(require('../moment')) :
6 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
7 factory(global.moment)
8 }(this, (function (moment) { 'use strict';
9
10
11 function relativeTimeWithPlural(number, withoutSuffix, key) {
12 var format = {
13 'ss': 'secunde',
14 'mm': 'minute',
15 'hh': 'ore',
16 'dd': 'zile',
17 'MM': 'luni',
18 'yy': 'ani'
19 },
20 separator = ' ';
21 if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
22 separator = ' de ';
23 }
24 return number + separator + format[key];
25 }
26
27 var ro = moment.defineLocale('ro', {
28 months : 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'),
29 monthsShort : 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'),
30 monthsParseExact: true,
31 weekdays : 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
32 weekdaysShort : 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
33 weekdaysMin : 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
34 longDateFormat : {
35 LT : 'H:mm',
36 LTS : 'H:mm:ss',
37 L : 'DD.MM.YYYY',
38 LL : 'D MMMM YYYY',
39 LLL : 'D MMMM YYYY H:mm',
40 LLLL : 'dddd, D MMMM YYYY H:mm'
41 },
42 calendar : {
43 sameDay: '[azi la] LT',
44 nextDay: '[mâine la] LT',
45 nextWeek: 'dddd [la] LT',
46 lastDay: '[ieri la] LT',
47 lastWeek: '[fosta] dddd [la] LT',
48 sameElse: 'L'
49 },
50 relativeTime : {
51 future : 'peste %s',
52 past : '%s în urmă',
53 s : 'câteva secunde',
54 ss : relativeTimeWithPlural,
55 m : 'un minut',
56 mm : relativeTimeWithPlural,
57 h : 'o oră',
58 hh : relativeTimeWithPlural,
59 d : 'o zi',
60 dd : relativeTimeWithPlural,
61 M : 'o lună',
62 MM : relativeTimeWithPlural,
63 y : 'un an',
64 yy : relativeTimeWithPlural
65 },
66 week : {
67 dow : 1, // Monday is the first day of the week.
68 doy : 7 // The week that contains Jan 7th is the first week of the year.
69 }
70 });
71
72 return ro;
73
74 })));