mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 22:51:37 +00:00
can read and display workouts
This commit is contained in:
76
node_modules/moment/lang/pl.js
generated
vendored
Normal file
76
node_modules/moment/lang/pl.js
generated
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
// moment.js language configuration
|
||||
// language : polish (pl)
|
||||
// author : Rafal Hirsz : https://github.com/evoL
|
||||
(function () {
|
||||
var plural = function (n) {
|
||||
return (n % 10 < 5) && (n % 10 > 1) && (~~(n / 10) !== 1);
|
||||
},
|
||||
|
||||
translate = function (number, withoutSuffix, key) {
|
||||
var result = number + " ";
|
||||
switch (key) {
|
||||
case 'm':
|
||||
return withoutSuffix ? 'minuta' : 'minutę';
|
||||
case 'mm':
|
||||
return result + (plural(number) ? 'minuty' : 'minut');
|
||||
case 'h':
|
||||
return withoutSuffix ? 'godzina' : 'godzinę';
|
||||
case 'hh':
|
||||
return result + (plural(number) ? 'godziny' : 'godzin');
|
||||
case 'MM':
|
||||
return result + (plural(number) ? 'miesiące' : 'miesięcy');
|
||||
case 'yy':
|
||||
return result + (plural(number) ? 'lata' : 'lat');
|
||||
}
|
||||
},
|
||||
|
||||
lang = {
|
||||
months : "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),
|
||||
monthsShort : "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),
|
||||
weekdays : "niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),
|
||||
weekdaysShort : "nie_pon_wt_śr_czw_pt_sb".split("_"),
|
||||
weekdaysMin : "N_Pn_Wt_Śr_Cz_Pt_So".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "DD-MM-YYYY",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd, D MMMM YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay: '[Dziś o] LT',
|
||||
nextDay: '[Jutro o] LT',
|
||||
nextWeek: '[W] dddd [o] LT',
|
||||
lastDay: '[Wczoraj o] LT',
|
||||
lastWeek: '[W zeszły/łą] dddd [o] LT',
|
||||
sameElse: 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "za %s",
|
||||
past : "%s temu",
|
||||
s : "kilka sekund",
|
||||
m : translate,
|
||||
mm : translate,
|
||||
h : translate,
|
||||
hh : translate,
|
||||
d : "1 dzień",
|
||||
dd : '%d dni',
|
||||
M : "miesiąc",
|
||||
MM : translate,
|
||||
y : "rok",
|
||||
yy : translate
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '.';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('pl', lang);
|
||||
}
|
||||
}());
|
||||
Reference in New Issue
Block a user