decord/source/module_16413.js

51 lines
1.1 KiB
JavaScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 16413
// Function ID: 16414
// Dependencies: []
// Module 16413
2026-08-13 17:34:28 +00:00
globalThis.IntlMessageFormat.__addLocaleData({
2026-08-14 17:33:39 +00:00
locale: "hr",
2026-08-13 07:00:46 +00:00
pluralRuleFunction(arg0, arg1) {
2026-08-14 17:33:39 +00:00
const parts = String(arg0).split(".");
const first = parts[0];
const substr = first.slice(-1);
const substr1 = first.slice(-2);
const substr2 = arr2.slice(-1);
const substr3 = arr2.slice(-2);
let str2 = "other";
if (!arg1) {
if (!tmp2) {
if (1 == substr) {
let str3 = "one";
}
str2 = str3;
}
if (1 != substr2) {
if (!tmp2) {
if (substr >= 2) {
if (substr <= 4) {
if (substr1 >= 12) {
str3 = str4;
2026-08-13 17:34:28 +00:00
}
2026-08-13 07:00:46 +00:00
}
2026-08-14 17:33:39 +00:00
str4 = "few";
2026-08-13 07:00:46 +00:00
}
}
2026-08-14 17:33:39 +00:00
str4 = "other";
if (substr2 >= 2) {
str4 = "other";
if (substr2 <= 4) {
if (substr3 >= 12) {
str4 = "other";
}
}
2026-08-13 07:00:46 +00:00
}
2026-08-14 17:33:39 +00:00
} else {
str3 = "one";
2026-08-13 07:00:46 +00:00
}
}
return str2;
}
2026-08-13 17:34:28 +00:00
});
2026-08-14 17:33:39 +00:00
globalThis.IntlMessageFormat.__addLocaleData({ locale: "hr-BA", parentLocale: "hr" });