From ff7e4d42a0e6be004de66164eb391dbf496daa0e Mon Sep 17 00:00:00 2001 From: c0mrade Date: Tue, 27 Jan 2026 22:34:05 +0300 Subject: [PATCH] fix(i18n): remove duplicate subscription.servers string key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The key existed as both a string and an object in subscription section, causing i18next to return an object instead of a string. Removed the redundant string — serversLabel is used for plain text, plural suffixes (_one/_few/_many/_other) handle counted usage. --- src/locales/en.json | 1 - src/locales/fa.json | 1 - src/locales/ru.json | 1 - src/locales/zh.json | 1 - 4 files changed, 4 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index bf31b22..dd41e20 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -151,7 +151,6 @@ "devices": "Devices", "devices_one": "{{count}} device", "devices_other": "{{count}} devices", - "servers": "Servers", "serversLabel": "Servers", "servers_one": "{{count}} server", "servers_other": "{{count}} servers", diff --git a/src/locales/fa.json b/src/locales/fa.json index dcfd0a2..7cb183f 100644 --- a/src/locales/fa.json +++ b/src/locales/fa.json @@ -148,7 +148,6 @@ "extraDevicesIncluded": "شامل {{count}} دستگاه اضافی", "extraDevicesIncluded_other": "شامل {{count}} دستگاه اضافی", "baseTariff": "تعرفه", - "servers": "سرورها", "serversLabel": "سرورها", "servers_other": "{{count}} سرور", "traffic": "ترافیک", diff --git a/src/locales/ru.json b/src/locales/ru.json index e19d64c..87da1ea 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -165,7 +165,6 @@ "devices_one": "{{count}} устройство", "devices_few": "{{count}} устройства", "devices_many": "{{count}} устройств", - "servers": "Серверы", "serversLabel": "Серверы", "servers_one": "{{count}} сервер", "servers_few": "{{count}} сервера", diff --git a/src/locales/zh.json b/src/locales/zh.json index c04c29c..08584be 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -148,7 +148,6 @@ "extraDevicesIncluded": "含 {{count}} 个额外设备", "extraDevicesIncluded_other": "含 {{count}} 个额外设备", "baseTariff": "套餐", - "servers": "服务器", "serversLabel": "服务器", "servers_other": "{{count}} 个服务器", "traffic": "流量",