Merge "Drop index oi_name_archive_name on table oldimage"
[lhc/web/wiklou.git] / resources / lib / moment / locale / de.js
1 //! moment.js locale configuration
2 //! locale : German [de]
3 //! author : lluchs : https://github.com/lluchs
4 //! author: Menelion ElensĂșle: https://github.com/Oire
5 //! author : Mikolaj Dadela : https://github.com/mik01aj
6
7 ;(function (global, factory) {
8 typeof exports === 'object' && typeof module !== 'undefined'
9 && typeof require === 'function' ? factory(require('../moment')) :
10 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
11 factory(global.moment)
12 }(this, function (moment) { 'use strict';
13
14
15 function processRelativeTime(number, withoutSuffix, key, isFuture) {
16 var format = {
17 'm': ['eine Minute', 'einer Minute'],
18 'h': ['eine Stunde', 'einer Stunde'],
19 'd': ['ein Tag', 'einem Tag'],
20 'dd': [number + ' Tage', number + ' Tagen'],
21 'M': ['ein Monat', 'einem Monat'],
22 'MM': [number + ' Monate', number + ' Monaten'],
23 'y': ['ein Jahr', 'einem Jahr'],
24 'yy': [number + ' Jahre', number + ' Jahren']
25 };
26 return withoutSuffix ? format[key][0] : format[key][1];
27 }
28
29 var de = moment.defineLocale('de', {
30 months : 'Januar_Februar_MĂ€rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
31 monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
32 monthsParseExact : true,
33 weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
34 weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
35 weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
36 weekdaysParseExact : true,
37 longDateFormat : {
38 LT: 'HH:mm',
39 LTS: 'HH:mm:ss',
40 L : 'DD.MM.YYYY',
41 LL : 'D. MMMM YYYY',
42 LLL : 'D. MMMM YYYY HH:mm',
43 LLLL : 'dddd, D. MMMM YYYY HH:mm'
44 },
45 calendar : {
46 sameDay: '[heute um] LT [Uhr]',
47 sameElse: 'L',
48 nextDay: '[morgen um] LT [Uhr]',
49 nextWeek: 'dddd [um] LT [Uhr]',
50 lastDay: '[gestern um] LT [Uhr]',
51 lastWeek: '[letzten] dddd [um] LT [Uhr]'
52 },
53 relativeTime : {
54 future : 'in %s',
55 past : 'vor %s',
56 s : 'ein paar Sekunden',
57 m : processRelativeTime,
58 mm : '%d Minuten',
59 h : processRelativeTime,
60 hh : '%d Stunden',
61 d : processRelativeTime,
62 dd : processRelativeTime,
63 M : processRelativeTime,
64 MM : processRelativeTime,
65 y : processRelativeTime,
66 yy : processRelativeTime
67 },
68 ordinalParse: /\d{1,2}\./,
69 ordinal : '%d.',
70 week : {
71 dow : 1, // Monday is the first day of the week.
72 doy : 4 // The week that contains Jan 4th is the first week of the year.
73 }
74 });
75
76 return de;
77
78 }));