116 lines
6.0 KiB
JavaScript
116 lines
6.0 KiB
JavaScript
/*
|
|
* This file has been compiled from: /modules/system/lang/pl/client.php
|
|
*/
|
|
if ($.oc === undefined) $.oc = {}
|
|
if ($.oc.langMessages === undefined) $.oc.langMessages = {}
|
|
$.oc.langMessages['pl'] = $.extend(
|
|
$.oc.langMessages['pl'] || {},
|
|
{"markdowneditor":{"formatting":"Formatting","quote":"Quote","code":"Code","header1":"Header 1","header2":"Header 2","header3":"Header 3","header4":"Header 4","header5":"Header 5","header6":"Header 6","bold":"Bold","italic":"Italic","unorderedlist":"Unordered List","orderedlist":"Ordered List","video":"Video","image":"Image","link":"Link","horizontalrule":"Insert Horizontal Rule","fullscreen":"Full screen","preview":"Preview"},"mediamanager":{"insert_link":"Insert Media Link","insert_image":"Insert Media Image","insert_video":"Insert Media Video","insert_audio":"Insert Media Audio","invalid_file_empty_insert":"Please select file to insert a links to.","invalid_file_single_insert":"Please select a single file.","invalid_image_empty_insert":"Please select image(s) to insert.","invalid_video_empty_insert":"Please select a video file to insert.","invalid_audio_empty_insert":"Please select an audio file to insert."},"alert":{"confirm_button_text":"OK","cancel_button_text":"Cancel"},"datepicker":{"previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"filter":{"group":{"all":"all"},"dates":{"all":"all","filter_button_text":"Filter","reset_button_text":"Reset","date_placeholder":"Date","after_placeholder":"After","before_placeholder":"Before"}},"eventlog":{"show_stacktrace":"Show the stacktrace","hide_stacktrace":"Hide the stacktrace","tabs":{"formatted":"Formatted","raw":"Raw"},"editor":{"title":"Source code editor","description":"Your operating system should be configured to listen to one of these URL schemes.","openWith":"Open with","remember_choice":"Remember selected option for this session","open":"Open","cancel":"Cancel"}}}
|
|
);
|
|
|
|
//! moment.js locale configuration
|
|
//! locale : polish (pl)
|
|
//! author : Rafal Hirsz : https://github.com/evoL
|
|
|
|
;(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
|
factory(global.moment)
|
|
}(this, function (moment) { 'use strict';
|
|
|
|
|
|
var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),
|
|
monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_');
|
|
function plural(n) {
|
|
return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);
|
|
}
|
|
function translate(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');
|
|
}
|
|
}
|
|
|
|
var pl = moment.defineLocale('pl', {
|
|
months : function (momentToFormat, format) {
|
|
if (format === '') {
|
|
// Hack: if format empty we know this is used to generate
|
|
// RegExp by moment. Give then back both valid forms of months
|
|
// in RegExp ready format.
|
|
return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')';
|
|
} else if (/D MMMM/.test(format)) {
|
|
return monthsSubjective[momentToFormat.month()];
|
|
} else {
|
|
return monthsNominative[momentToFormat.month()];
|
|
}
|
|
},
|
|
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 : 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
|
|
longDateFormat : {
|
|
LT : 'HH:mm',
|
|
LTS : 'HH:mm:ss',
|
|
L : 'DD.MM.YYYY',
|
|
LL : 'D MMMM YYYY',
|
|
LLL : 'D MMMM YYYY HH:mm',
|
|
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
|
},
|
|
calendar : {
|
|
sameDay: '[Dziś o] LT',
|
|
nextDay: '[Jutro o] LT',
|
|
nextWeek: '[W] dddd [o] LT',
|
|
lastDay: '[Wczoraj o] LT',
|
|
lastWeek: function () {
|
|
switch (this.day()) {
|
|
case 0:
|
|
return '[W zeszłą niedzielę o] LT';
|
|
case 3:
|
|
return '[W zeszłą środę o] LT';
|
|
case 6:
|
|
return '[W zeszłą sobotę o] LT';
|
|
default:
|
|
return '[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
|
|
},
|
|
ordinalParse: /\d{1,2}\./,
|
|
ordinal : '%d.',
|
|
week : {
|
|
dow : 1, // Monday is the first day of the week.
|
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
}
|
|
});
|
|
|
|
return pl;
|
|
|
|
}));
|