From 3ed6fc40361d52df477060b28198ced083bf3987 Mon Sep 17 00:00:00 2001
From: somebodywashere <68244480+somebodywashere@users.noreply.github.com>
Date: Wed, 17 Jan 2024 15:46:52 +0300
Subject: [PATCH] Quick fix RU ,ZH,FA tgbot.messages.active (#1596)
---
web/html/xui/settings.html | 2 +-
web/translation/translate.en_US.toml | 3 ---
web/translation/translate.fa_IR.toml | 7 +++----
web/translation/translate.ru_RU.toml | 2 +-
web/translation/translate.zh_Hans.toml | 2 +-
5 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index 4be7d2b5..0acbbfec 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -244,7 +244,7 @@
-
+
diff --git a/web/translation/translate.en_US.toml b/web/translation/translate.en_US.toml
index d7c93c71..b8fdcde1 100644
--- a/web/translation/translate.en_US.toml
+++ b/web/translation/translate.en_US.toml
@@ -476,7 +476,6 @@
"helpAdminCommands" = "To search for a client email:\r\n/usage [Email]
\r\n\r\nTo search for inbounds (with client stats):\r\n/inbound [Remark]
"
"helpClientCommands" = "To search for statistics, use the following command:\r\n\r\n/usage [Email]
"
-
[tgbot.messages]
"cpuThreshold" = "🔴 CPU Load {{ .Percent }}% exceeds the threshold of {{ .Threshold }}%"
"selectUserFailed" = "❌ Error in user selection!"
@@ -522,7 +521,6 @@
"yes" = "✅ Yes"
"no" = "❌ No"
-
[tgbot.buttons]
"closeKeyboard" = "❌ Close Keyboard"
"cancel" = "❌ Cancel"
@@ -556,7 +554,6 @@
"limitTraffic" = "🚧 Traffic Limit"
"getBanLogs" = "Get Ban Logs"
-
[tgbot.answers]
"successfulOperation" = "✅ Operation successful!"
"errorOperation" = "❗ Error in operation."
diff --git a/web/translation/translate.fa_IR.toml b/web/translation/translate.fa_IR.toml
index 307ea1d6..3edcb4cb 100644
--- a/web/translation/translate.fa_IR.toml
+++ b/web/translation/translate.fa_IR.toml
@@ -501,8 +501,8 @@
"time" = "⏰ زمان: {{ .Time }}\r\n"
"inbound" = "📍 نامورودی: {{ .Remark }}\r\n"
"port" = "🔌 پورت: {{ .Port }}\r\n"
-"expire" = "📅 تاریخانقضا: {{ .DateTime }}\r\n \r\n"
-"expireIn" = "📅 باقیماندهتاانقضا: {{ .Time }}\r\n \r\n"
+"expire" = "📅 تاریخانقضا: {{ .Time }}\r\n\r\n"
+"expireIn" = "📅 باقیماندهتاانقضا: {{ .Time }}\r\n\r\n"
"active" = "💡 فعال: {{ .Enable }}\r\n"
"enabled" = "🚨 وضعیت: {{ .Enable }}\r\n"
"online" = "🌐 وضعیت اتصال: {{ .Status }}\r\n"
@@ -515,7 +515,7 @@
"exhaustedCount" = "🚨 تعداد {{ .Type }} بهاتمامرسیدهاست:\r\n"
"onlinesCount" = "🌐 کاربرانآنلاین: {{ .Count }}\r\n"
"disabled" = "🛑 غیرفعال: {{ .Disabled }}\r\n"
-"depleteSoon" = "🔜 بهزودیبهپایانخواهدرسید: {{ .Deplete }}\r\n \r\n"
+"depleteSoon" = "🔜 بهزودیبهپایانخواهدرسید: {{ .Deplete }}\r\n\r\n"
"backupTime" = "🗄 زمانپشتیبانگیری: {{ .Time }}\r\n"
"refreshedOn" = "\r\n📋🔄 تازهسازی شده در: {{ .Time }}\r\n\r\n"
"yes" = "✅ بله"
@@ -537,7 +537,6 @@
"clientUsage" = "دریافت آمار کاربر"
"onlines" = "کاربران آنلاین"
"commands" = "دستورات"
-
"refresh" = "🔄 تازهسازی"
"clearIPs" = "❌ پاکسازی آدرسها"
"removeTGUser" = "❌ حذف کاربر تلگرام"
diff --git a/web/translation/translate.ru_RU.toml b/web/translation/translate.ru_RU.toml
index 8d91562c..d8211d8d 100644
--- a/web/translation/translate.ru_RU.toml
+++ b/web/translation/translate.ru_RU.toml
@@ -503,7 +503,7 @@
"port" = "🔌 Порт: {{ .Port }}\r\n"
"expire" = "📅 Дата окончания: {{ .Time }}\r\n"
"expireIn" = "📅 Окончание через: {{ .Time }}\r\n"
-"active" = "💡 Активен: ✅ Да\r\n"
+"active" = "💡 Активен: {{ .Enable }}\r\n"
"enabled" = "🚨 Включен: {{ .Enable }}\r\n"
"online" = "🌐 Статус соединения: {{ .Status }}\r\n"
"email" = "📧 Email: {{ .Email }}\r\n"
diff --git a/web/translation/translate.zh_Hans.toml b/web/translation/translate.zh_Hans.toml
index 32765f01..5a46ec73 100644
--- a/web/translation/translate.zh_Hans.toml
+++ b/web/translation/translate.zh_Hans.toml
@@ -503,7 +503,7 @@
"port" = "🔌 端口:{{ .Port }}\r\n"
"expire" = "📅 过期日期:{{ .Time }}\r\n"
"expireIn" = "📅 剩余时间:{{ .Time }}\r\n"
-"active" = "💡 激活:✅\r\n"
+"active" = "💡 激活:{{ .Enable }}\r\n"
"enabled" = "🚨 已启用:{{ .Enable }}\r\n"
"online" = "🌐 连接状态:{{ .Status }}\r\n"
"email" = "📧 邮箱:{{ .Email }}\r\n"