Skip to content

Commit

Permalink
Build 2.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marwahaha committed Mar 2, 2018
1 parent 400963b commit 7c4c091
Show file tree
Hide file tree
Showing 130 changed files with 4,250 additions and 3,358 deletions.
2 changes: 2 additions & 0 deletions component.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"locale/en-ca.js",
"locale/en-gb.js",
"locale/en-ie.js",
"locale/en-il.js",
"locale/en-nz.js",
"locale/eo.js",
"locale/es-do.js",
Expand Down Expand Up @@ -115,6 +116,7 @@
"locale/tzl.js",
"locale/tzm-latn.js",
"locale/tzm.js",
"locale/ug-cn.js",
"locale/uk.js",
"locale/ur.js",
"locale/uz-latn.js",
Expand Down
2 changes: 0 additions & 2 deletions locale/af.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Afrikaans [af]
//! author : Werner Mollentze : https://github.com/wernerm

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
2 changes: 0 additions & 2 deletions locale/ar-dz.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Arabic (Algeria) [ar-dz]
//! author : Noureddine LOUAHEDJ : https://github.com/noureddineme

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
2 changes: 0 additions & 2 deletions locale/ar-kw.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Arabic (Kuwait) [ar-kw]
//! author : Nusret Parlak: https://github.com/nusretparlak

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
14 changes: 4 additions & 10 deletions locale/ar-ly.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Arabic (Lybia) [ar-ly]
//! author : Ali Hmer: https://github.com/kikoanis

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand All @@ -21,19 +19,16 @@ var symbolMap = {
'8': '8',
'9': '9',
'0': '0'
};
var pluralForm = function (n) {
}, pluralForm = function (n) {
return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
};
var plurals = {
}, plurals = {
s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
};
var pluralize = function (u) {
}, pluralize = function (u) {
return function (number, withoutSuffix, string, isFuture) {
var f = pluralForm(number),
str = plurals[u][pluralForm(number)];
Expand All @@ -42,8 +37,7 @@ var pluralize = function (u) {
}
return str.replace(/%d/i, number);
};
};
var months = [
}, months = [
'يناير',
'فبراير',
'مارس',
Expand Down
3 changes: 0 additions & 3 deletions locale/ar-ma.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
//! moment.js locale configuration
//! locale : Arabic (Morocco) [ar-ma]
//! author : ElFadili Yassine : https://github.com/ElFadiliY
//! author : Abdel Said : https://github.com/abdelsaid

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
5 changes: 1 addition & 4 deletions locale/ar-sa.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Arabic (Saudi Arabia) [ar-sa]
//! author : Suhail Alkowaileet : https://github.com/xsoh

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand All @@ -21,8 +19,7 @@ var symbolMap = {
'8': '٨',
'9': '٩',
'0': '٠'
};
var numberMap = {
}, numberMap = {
'١': '1',
'٢': '2',
'٣': '3',
Expand Down
2 changes: 0 additions & 2 deletions locale/ar-tn.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Arabic (Tunisia) [ar-tn]
//! author : Nader Toukabri : https://github.com/naderio

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
19 changes: 5 additions & 14 deletions locale/ar.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
//! moment.js locale configuration
//! locale : Arabic [ar]
//! author : Abdel Said: https://github.com/abdelsaid
//! author : Ahmed Elkhatib
//! author : forabi https://github.com/forabi

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand All @@ -23,8 +19,7 @@ var symbolMap = {
'8': '٨',
'9': '٩',
'0': '٠'
};
var numberMap = {
}, numberMap = {
'١': '1',
'٢': '2',
'٣': '3',
Expand All @@ -35,19 +30,16 @@ var numberMap = {
'٨': '8',
'٩': '9',
'٠': '0'
};
var pluralForm = function (n) {
}, pluralForm = function (n) {
return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
};
var plurals = {
}, plurals = {
s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
};
var pluralize = function (u) {
}, pluralize = function (u) {
return function (number, withoutSuffix, string, isFuture) {
var f = pluralForm(number),
str = plurals[u][pluralForm(number)];
Expand All @@ -56,8 +48,7 @@ var pluralize = function (u) {
}
return str.replace(/%d/i, number);
};
};
var months = [
}, months = [
'يناير',
'فبراير',
'مارس',
Expand Down
2 changes: 0 additions & 2 deletions locale/az.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Azerbaijani [az]
//! author : topchiyev : https://github.com/topchiyev

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
4 changes: 0 additions & 4 deletions locale/be.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
//! moment.js locale configuration
//! locale : Belarusian [be]
//! author : Dmitry Demidov : https://github.com/demidov91
//! author: Praleska: http://praleska.pro/
//! Author : Menelion Elensúle : https://github.com/Oire

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
2 changes: 0 additions & 2 deletions locale/bg.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Bulgarian [bg]
//! author : Krasen Borisov : https://github.com/kraz

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
3 changes: 0 additions & 3 deletions locale/bm.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Bambara [bm]
//! author : Estelle Comment : https://github.com/estellecomment

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand All @@ -9,7 +7,6 @@
factory(global.moment)
}(this, (function (moment) { 'use strict';

// Language contact person : Abdoufata Kane : https://github.com/abdoufata

var bm = moment.defineLocale('bm', {
months : 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split('_'),
Expand Down
6 changes: 2 additions & 4 deletions locale/bn.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Bengali [bn]
//! author : Kaushik Gandhi : https://github.com/kaushikgandhi

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand All @@ -21,8 +19,8 @@ var symbolMap = {
'8': '৮',
'9': '৯',
'0': '০'
};
var numberMap = {
},
numberMap = {
'১': '1',
'২': '2',
'৩': '3',
Expand Down
6 changes: 2 additions & 4 deletions locale/bo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Tibetan [bo]
//! author : Thupten N. Chakrishar : https://github.com/vajradog

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand All @@ -21,8 +19,8 @@ var symbolMap = {
'8': '༨',
'9': '༩',
'0': '༠'
};
var numberMap = {
},
numberMap = {
'༡': '1',
'༢': '2',
'༣': '3',
Expand Down
2 changes: 0 additions & 2 deletions locale/br.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Breton [br]
//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
3 changes: 0 additions & 3 deletions locale/bs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
//! moment.js locale configuration
//! locale : Bosnian [bs]
//! author : Nedim Cholich : https://github.com/frontyard
//! based on (hr) translation by Bojan Marković

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
2 changes: 0 additions & 2 deletions locale/ca.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Catalan [ca]
//! author : Juan G. Hurtado : https://github.com/juanghurtado

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
6 changes: 2 additions & 4 deletions locale/cs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Czech [cs]
//! author : petrbela : https://github.com/petrbela

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand All @@ -10,8 +8,8 @@
}(this, (function (moment) { 'use strict';


var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_');
var monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_');
var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'),
monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_');
function plural(n) {
return (n > 1) && (n < 5) && (~~(n / 10) !== 1);
}
Expand Down
2 changes: 0 additions & 2 deletions locale/cv.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Chuvash [cv]
//! author : Anatoly Mironov : https://github.com/mirontoli

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
3 changes: 0 additions & 3 deletions locale/cy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
//! moment.js locale configuration
//! locale : Welsh [cy]
//! author : Robert Allen : https://github.com/robgallen
//! author : https://github.com/ryangreaves

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
2 changes: 0 additions & 2 deletions locale/da.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Danish [da]
//! author : Ulrik Nielsen : https://github.com/mrbase

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
5 changes: 0 additions & 5 deletions locale/de-at.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
//! moment.js locale configuration
//! locale : German (Austria) [de-at]
//! author : lluchs : https://github.com/lluchs
//! author: Menelion Elensúle: https://github.com/Oire
//! author : Martin Groller : https://github.com/MadMG
//! author : Mikolaj Dadela : https://github.com/mik01aj

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
4 changes: 0 additions & 4 deletions locale/de-ch.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : German (Switzerland) [de-ch]
//! author : sschueller : https://github.com/sschueller

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand All @@ -10,8 +8,6 @@
}(this, (function (moment) { 'use strict';


// based on: https://www.bk.admin.ch/dokumentation/sprachen/04915/05016/index.html?lang=de#

function processRelativeTime(number, withoutSuffix, key, isFuture) {
var format = {
'm': ['eine Minute', 'einer Minute'],
Expand Down
4 changes: 0 additions & 4 deletions locale/de.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
//! moment.js locale configuration
//! locale : German [de]
//! author : lluchs : https://github.com/lluchs
//! author: Menelion Elensúle: https://github.com/Oire
//! author : Mikolaj Dadela : https://github.com/mik01aj

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
5 changes: 1 addition & 4 deletions locale/dv.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Maldivian [dv]
//! author : Jawish Hameed : https://github.com/jawish

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand All @@ -23,8 +21,7 @@ var months = [
'އޮކްޓޯބަރު',
'ނޮވެމްބަރު',
'ޑިސެމްބަރު'
];
var weekdays = [
], weekdays = [
'އާދިއްތަ',
'ހޯމަ',
'އަންގާރަ',
Expand Down
2 changes: 0 additions & 2 deletions locale/el.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : Greek [el]
//! author : Aggelos Karalias : https://github.com/mehiel

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
2 changes: 0 additions & 2 deletions locale/en-au.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : English (Australia) [en-au]
//! author : Jared Morse : https://github.com/jarcoal

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
2 changes: 0 additions & 2 deletions locale/en-ca.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : English (Canada) [en-ca]
//! author : Jonathan Abourbih : https://github.com/jonbca

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
2 changes: 0 additions & 2 deletions locale/en-gb.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : English (United Kingdom) [en-gb]
//! author : Chris Gedrim : https://github.com/chrisgedrim

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
2 changes: 0 additions & 2 deletions locale/en-ie.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//! moment.js locale configuration
//! locale : English (Ireland) [en-ie]
//! author : Chris Cartlidge : https://github.com/chriscartlidge

;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
Expand Down
Loading

0 comments on commit 7c4c091

Please sign in to comment.