Add proper plural forms for all localized strings

- Russian: add _one/_few/_many forms for proper declension
- English: add _one/_other forms for singular/plural
- Chinese: add _other form (no plural changes in Chinese)
- Farsi: add _other form (no plural changes in Farsi)

Fixed plural forms for:
- purchaseCount, registrations, subscriptions, tariffs
- device limits, members, hours, templates
- offers, notifications, promocodes, groups
- showMore and other count-based strings
This commit is contained in:
c0mrade
2026-02-03 23:15:37 +03:00
parent d826277247
commit b24f5083d0
4 changed files with 122 additions and 64 deletions

View File

@@ -303,7 +303,7 @@
"additionalOptions": {
"title": "附加选项",
"buyDevices": "购买更多设备",
"currentDeviceLimit": "当前限制:{{count}} 台设备",
"currentDeviceLimit_other": "当前限制:{{count}} 台设备",
"maxDevices": "最多 {{count}} 台",
"devicesUnavailable": "设备购买不可用",
"devicesUnit": "台设备",
@@ -1205,7 +1205,7 @@
},
"table": {
"inactive": "未激活",
"registrations": "{{count}} 次注册",
"registrations_other": "{{count}} 次注册",
"revenue": "{{amount}} 收入",
"conversion": "{{rate}}% 转化",
"statistics": "统计",
@@ -1251,8 +1251,8 @@
"paidUsers": "已付费",
"conversion": "转化率",
"bonusesIssued": "已发放奖励",
"subscriptionsIssued": "{{count}} 个订阅",
"tariffsIssued": "{{count}} 个套餐",
"subscriptionsIssued_other": "{{count}} 个订阅",
"tariffsIssued_other": "{{count}} 个套餐",
"avgRevenuePerUser": "每用户平均收入",
"avgFirstPayment": "平均首次付款",
"trialSubscriptions": "试用订阅",
@@ -1304,8 +1304,8 @@
"until": "有效期至",
"discountForHours": "-{{percent}}% {{hours}}小时",
"tabs": {
"promocodes": "促销码 ({{count}})",
"groups": "折扣组 ({{count}})"
"promocodes_other": "促销码 ({{count}})",
"groups_other": "折扣组 ({{count}})"
},
"type": {
"balance": "余额",
@@ -1363,7 +1363,7 @@
"daysLabel": "天数",
"discountLabel": "折扣",
"validFor": "有效期",
"hoursValue": "{{count}} 小时",
"hoursValue_other": "{{count}} 小时",
"limit": "限制",
"status": "状态",
"active": "活跃",
@@ -1404,7 +1404,7 @@
"default": "默认",
"daysShort": "{{days}} 天",
"autoFrom": "自动 从 {{amount}} 卢布",
"members": "{{count}} 名成员"
"members_other": "{{count}} 名成员"
},
"confirm": {
"deletePromocode": "删除促销码?",
@@ -1476,7 +1476,7 @@
"search": "按ID、姓名、用户名搜索...",
"searchEmail": "按邮箱搜索...",
"noData": "未找到用户",
"purchaseCount": "{{count}} 次购买",
"purchaseCount_other": "{{count}} 次购买",
"noPurchases": "无购买记录",
"stats": {
"total": "总计",
@@ -1587,7 +1587,7 @@
"subtitle": "模板、群发和优惠日志",
"sendButton": "发送",
"tabs": {
"templates": "模板 ({{count}})",
"templates_other": "模板 ({{count}})",
"logs": "日志"
},
"noData": {
@@ -1638,8 +1638,8 @@
},
"result": {
"sentTitle": "已发送!",
"offersCreated": "已创建优惠: {{count}}",
"notificationsSent": "已发送通知: {{count}}",
"offersCreated_other": "已创建优惠: {{count}}",
"notificationsSent_other": "已发送通知: {{count}}",
"notificationsFailed": "(失败: {{count}}",
"sendError": "发送优惠失败"
},
@@ -1826,7 +1826,7 @@
"enable": "启用",
"disable": "禁用",
"hide": "隐藏 ({{count}})",
"showMore": "显示更多 {{count}} 个节点"
"showMore_other": "显示更多 {{count}} 个节点"
},
"revenue": {
"title": "收入",