mirror of
https://github.com/YunoHost-Apps/converse_ynh.git
synced 2024-09-03 18:25:53 +02:00
82 lines
No EOL
2.5 KiB
JavaScript
82 lines
No EOL
2.5 KiB
JavaScript
(self["webpackChunkconverse_js"] = self["webpackChunkconverse_js"] || []).push([[7390],{
|
|
|
|
/***/ 5883:
|
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
|
|
!function (e, t) {
|
|
true ? module.exports = t(__webpack_require__(8570)) : 0;
|
|
}(this, function (e) {
|
|
"use strict";
|
|
|
|
function t(e) {
|
|
return e && "object" == typeof e && "default" in e ? e : {
|
|
default: e
|
|
};
|
|
}
|
|
|
|
var a = t(e),
|
|
r = {
|
|
words: {
|
|
m: ["jedan minut", "jednog minuta"],
|
|
mm: ["%d minut", "%d minuta", "%d minuta"],
|
|
h: ["jedan sat", "jednog sata"],
|
|
hh: ["%d sat", "%d sata", "%d sati"],
|
|
d: ["jedan dan", "jednog dana"],
|
|
dd: ["%d dan", "%d dana", "%d dana"],
|
|
M: ["jedan mesec", "jednog meseca"],
|
|
MM: ["%d mesec", "%d meseca", "%d meseci"],
|
|
y: ["jednu godinu", "jedne godine"],
|
|
yy: ["%d godinu", "%d godine", "%d godina"]
|
|
},
|
|
correctGrammarCase: function (e, t) {
|
|
return e % 10 >= 1 && e % 10 <= 4 && (e % 100 < 10 || e % 100 >= 20) ? e % 10 == 1 ? t[0] : t[1] : t[2];
|
|
},
|
|
relativeTimeFormatter: function (e, t, a, d) {
|
|
var n = r.words[a];
|
|
if (1 === a.length) return "y" === a && t ? "jedna godina" : d || t ? n[0] : n[1];
|
|
var i = r.correctGrammarCase(e, n);
|
|
return "yy" === a && t && "%d godinu" === i ? e + " godina" : i.replace("%d", e);
|
|
}
|
|
},
|
|
d = {
|
|
name: "sr",
|
|
weekdays: "Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),
|
|
weekdaysShort: "Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),
|
|
weekdaysMin: "ne_po_ut_sr_če_pe_su".split("_"),
|
|
months: "Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),
|
|
monthsShort: "Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),
|
|
weekStart: 1,
|
|
relativeTime: {
|
|
future: "za %s",
|
|
past: "pre %s",
|
|
s: "nekoliko sekundi",
|
|
m: r.relativeTimeFormatter,
|
|
mm: r.relativeTimeFormatter,
|
|
h: r.relativeTimeFormatter,
|
|
hh: r.relativeTimeFormatter,
|
|
d: r.relativeTimeFormatter,
|
|
dd: r.relativeTimeFormatter,
|
|
M: r.relativeTimeFormatter,
|
|
MM: r.relativeTimeFormatter,
|
|
y: r.relativeTimeFormatter,
|
|
yy: r.relativeTimeFormatter
|
|
},
|
|
ordinal: function (e) {
|
|
return e + ".";
|
|
},
|
|
formats: {
|
|
LT: "H:mm",
|
|
LTS: "H:mm:ss",
|
|
L: "D. M. YYYY.",
|
|
LL: "D. MMMM YYYY.",
|
|
LLL: "D. MMMM YYYY. H:mm",
|
|
LLLL: "dddd, D. MMMM YYYY. H:mm"
|
|
}
|
|
};
|
|
return a.default.locale(d, null, !0), d;
|
|
});
|
|
|
|
/***/ })
|
|
|
|
}]);
|
|
//# sourceMappingURL=sr-js.js.map
|