decord/source/module_16179.js

58 lines
1.5 KiB
JavaScript
Raw Normal View History

2026-08-04 08:36:32 +00:00
// Module ID: 16179
// Function ID: 16180
2026-07-23 10:11:24 +00:00
// Dependencies: []
2026-08-04 08:36:32 +00:00
// Module 16179
2026-07-23 10:11:24 +00:00
globalThis.IntlMessageFormat.__addLocaleData({
2026-08-05 07:35:12 +00:00
locale: "ru",
2026-07-23 10:11:24 +00:00
pluralRuleFunction(arg0, arg1) {
2026-08-05 07:35:12 +00:00
let arr;
2026-08-04 21:03:28 +00:00
let tmp2;
const parts = String(arg0).split(".");
2026-08-05 07:35:12 +00:00
[arr, tmp2] = parts;
const substr = arr.slice(-1);
const substr1 = arr.slice(-2);
2026-07-25 08:10:48 +00:00
let str2 = "other";
2026-07-23 10:11:24 +00:00
if (!arg1) {
2026-08-05 07:35:12 +00:00
if (!tmp2) {
if (1 == substr) {
let str3 = "one";
}
str2 = str3;
}
if (!tmp2) {
if (substr >= 2) {
if (substr <= 4) {
let str5 = "few";
if (substr1 >= 12) {
str5 = "few";
}
}
str3 = str5;
}
}
if (tmp2) {
if (!tmp2) {
if (substr >= 5) {
str5 = str6;
2026-08-04 21:03:28 +00:00
}
}
2026-08-05 07:35:12 +00:00
str6 = "other";
if (!tmp2) {
str6 = "other";
if (substr1 >= 11) {
str6 = "other";
}
2026-08-04 21:03:28 +00:00
}
2026-07-23 10:11:24 +00:00
}
2026-08-05 07:35:12 +00:00
str6 = "many";
2026-07-23 10:11:24 +00:00
}
2026-07-25 08:10:48 +00:00
return str2;
2026-07-23 10:11:24 +00:00
}
});
2026-08-05 07:35:12 +00:00
globalThis.IntlMessageFormat.__addLocaleData({ locale: "ru-BY", parentLocale: "ru" });
globalThis.IntlMessageFormat.__addLocaleData({ locale: "ru-KG", parentLocale: "ru" });
globalThis.IntlMessageFormat.__addLocaleData({ locale: "ru-KZ", parentLocale: "ru" });
globalThis.IntlMessageFormat.__addLocaleData({ locale: "ru-MD", parentLocale: "ru" });
globalThis.IntlMessageFormat.__addLocaleData({ locale: "ru-UA", parentLocale: "ru" });