decord/source/module_16006.js

56 lines
1.4 KiB
JavaScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 16006
// Function ID: 123663
// Dependencies: []
// Module 16006
globalThis.IntlMessageFormat.__addLocaleData({
locale: "ru",
pluralRuleFunction(arg0, arg1) {
const parts = String(arg0).split(".");
const first = parts[0];
const substr = first.slice(-1);
const substr1 = first.slice(-2);
let str2 = "other";
if (!arg1) {
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;
}
}
str6 = "other";
if (tmp2) {
str6 = "other";
if (substr1 >= 11) {
str6 = "other";
}
}
}
str6 = "many";
}
return str2;
}
});
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" });