decord/source/module_16403.js

52 lines
1.1 KiB
JavaScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 16403
// Function ID: 16404
2026-08-11 06:20:06 +00:00
// Dependencies: []
2026-08-12 06:57:52 +00:00
// Module 16403
2026-08-11 06:20:06 +00:00
globalThis.IntlMessageFormat.__addLocaleData({
2026-08-13 17:34:28 +00:00
locale: "pl",
2026-08-11 06:20:06 +00:00
pluralRuleFunction(arg0, arg1) {
2026-08-13 17:34:28 +00:00
let arr;
let tmp2;
const parts = String(arg0).split(".");
[arr, tmp2] = parts;
const substr = arr.slice(-1);
const substr1 = arr.slice(-2);
let str2 = "other";
if (!arg1) {
if (1 != arg0) {
if (!tmp2) {
if (substr >= 2) {
if (substr <= 4) {
let str5 = "few";
if (substr1 >= 12) {
str5 = "few";
}
}
let str3 = str5;
}
}
if (!tmp2) {
if (1 != arr) {
if (0 != substr) {
str5 = str6;
}
}
str6 = "many";
2026-08-11 06:20:06 +00:00
}
2026-08-13 17:34:28 +00:00
str6 = "other";
if (!tmp2) {
str6 = "other";
if (substr1 >= 12) {
str6 = "other";
}
}
} else {
str3 = "one";
2026-08-11 06:20:06 +00:00
}
2026-08-13 17:34:28 +00:00
str2 = str3;
2026-08-11 06:20:06 +00:00
}
return str2;
}
});