decord/source/module_15983.js

51 lines
1.1 KiB
JavaScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 15983
2026-07-25 08:10:48 +00:00
// Function ID: 123593
2026-07-22 07:54:56 +00:00
// Dependencies: []
2026-07-24 07:16:23 +00:00
// Module 15983
2026-07-22 07:54:56 +00:00
globalThis.IntlMessageFormat.__addLocaleData({
2026-07-25 08:10:48 +00:00
locale: "hr",
2026-07-22 07:54:56 +00:00
pluralRuleFunction(arg0, arg1) {
const parts = String(arg0).split(".");
const first = parts[0];
const substr = first.slice(-1);
const substr1 = first.slice(-2);
2026-07-25 08:10:48 +00:00
const substr2 = arr2.slice(-1);
const substr3 = arr2.slice(-2);
2026-07-22 07:54:56 +00:00
let str2 = "other";
if (!arg1) {
if (tmp2) {
if (1 == substr) {
let str3 = "one";
}
str2 = str3;
}
2026-07-25 08:10:48 +00:00
if (1 != substr2) {
2026-07-22 07:54:56 +00:00
if (tmp2) {
2026-07-25 08:10:48 +00:00
if (substr >= 2) {
if (substr <= 4) {
if (substr1 >= 12) {
str3 = str4;
}
}
str4 = "few";
2026-07-22 07:54:56 +00:00
}
}
2026-07-25 08:10:48 +00:00
str4 = "other";
if (substr2 >= 2) {
str4 = "other";
if (substr2 <= 4) {
if (substr3 >= 12) {
str4 = "other";
}
2026-07-22 07:54:56 +00:00
}
}
2026-07-25 08:10:48 +00:00
} else {
str3 = "one";
2026-07-22 07:54:56 +00:00
}
}
return str2;
}
});
2026-07-25 08:10:48 +00:00
globalThis.IntlMessageFormat.__addLocaleData({ locale: "hr-BA", parentLocale: "hr" });