chore: missing locale

This commit is contained in:
dongchengjie 2024-06-11 16:19:25 +08:00
parent aca9e61f39
commit fb6ffd8e09
7 changed files with 34 additions and 14 deletions

View File

@ -69,7 +69,7 @@ export const ProviderButton = () => {
sx={{ textTransform: "capitalize" }} sx={{ textTransform: "capitalize" }}
onClick={() => setOpen(true)} onClick={() => setOpen(true)}
> >
{t("Provider")} {t("Proxy Provider")}
</Button> </Button>
<BaseDialog <BaseDialog
@ -171,7 +171,7 @@ export const ProviderButton = () => {
<IconButton <IconButton
size="small" size="small"
color="inherit" color="inherit"
title="Update Provider" title={`${t("Update")}${t("Proxy Provider")}`}
onClick={() => handleUpdate(key, index)} onClick={() => handleUpdate(key, index)}
sx={{ sx={{
animation: updating[index] animation: updating[index]

View File

@ -67,7 +67,7 @@ export const ProviderButton = () => {
sx={{ textTransform: "capitalize" }} sx={{ textTransform: "capitalize" }}
onClick={() => setOpen(true)} onClick={() => setOpen(true)}
> >
{t("Provider")} {t("Rule Provider")}
</Button> </Button>
<BaseDialog <BaseDialog
@ -145,7 +145,7 @@ export const ProviderButton = () => {
<IconButton <IconButton
size="small" size="small"
color="inherit" color="inherit"
title="Update Provider" title={`${t("Update")}${t("Rule Provider")}`}
onClick={() => handleUpdate(key, index)} onClick={() => handleUpdate(key, index)}
sx={{ sx={{
animation: updating[index] animation: updating[index]

View File

@ -21,6 +21,9 @@
"Proxies": "Proxies", "Proxies": "Proxies",
"Proxy Groups": "Proxy Groups", "Proxy Groups": "Proxy Groups",
"Proxy Provider": "Proxy Provider",
"Update All": "Update All",
"Update At": "Update At",
"rule": "rule", "rule": "rule",
"global": "global", "global": "global",
"direct": "direct", "direct": "direct",
@ -68,6 +71,8 @@
"To End": "To End", "To End": "To End",
"Connections": "Connections", "Connections": "Connections",
"Table View": "Table View",
"List View": "List View",
"Close All": "Close All", "Close All": "Close All",
"Default": "Default", "Default": "Default",
"Download Speed": "Download Speed", "Download Speed": "Download Speed",
@ -86,8 +91,7 @@
"Close Connection": "Close Connection", "Close Connection": "Close Connection",
"Rules": "Rules", "Rules": "Rules",
"Update All": "Update All", "Rule Provider": "Rule Provider",
"Update At": "Update At",
"Logs": "Logs", "Logs": "Logs",
"Pause": "Pause", "Pause": "Pause",

View File

@ -21,6 +21,9 @@
"Proxies": "پراکسی‌ها", "Proxies": "پراکسی‌ها",
"Proxy Groups": "گروه‌های پراکسی", "Proxy Groups": "گروه‌های پراکسی",
"Proxy Provider": "تأمین‌کننده پروکسی",
"Update All": "به‌روزرسانی همه",
"Update At": "به‌روزرسانی در",
"rule": "قانون", "rule": "قانون",
"global": "جهانی", "global": "جهانی",
"direct": "مستقیم", "direct": "مستقیم",
@ -68,6 +71,8 @@
"To End": "به پایان", "To End": "به پایان",
"Connections": "اتصالات", "Connections": "اتصالات",
"Table View": "نمای جدولی",
"List View": "نمای لیستی",
"Close All": "بستن همه", "Close All": "بستن همه",
"Default": "پیش‌فرض", "Default": "پیش‌فرض",
"Download Speed": "سرعت دانلود", "Download Speed": "سرعت دانلود",
@ -86,8 +91,7 @@
"Close Connection": "بستن اتصال", "Close Connection": "بستن اتصال",
"Rules": "قوانین", "Rules": "قوانین",
"Update All": "به‌روزرسانی همه", "Rule Provider": "تأمین‌کننده قانون",
"Update At": "به‌روزرسانی در",
"Logs": "لاگ‌ها", "Logs": "لاگ‌ها",
"Pause": "توقف", "Pause": "توقف",

View File

@ -21,6 +21,9 @@
"Proxies": "Прокси", "Proxies": "Прокси",
"Proxy Groups": "Группы прокси", "Proxy Groups": "Группы прокси",
"Proxy Provider": "Провайдер прокси",
"Update All": "Обновить все",
"Update At": "Обновлено в",
"rule": "правила", "rule": "правила",
"global": "глобальный", "global": "глобальный",
"direct": "прямой", "direct": "прямой",
@ -68,6 +71,8 @@
"To End": "Вниз", "To End": "Вниз",
"Connections": "Соединения", "Connections": "Соединения",
"Table View": "Tablichnyy vid",
"List View": "Spiskovyy vid",
"Close All": "Закрыть всё", "Close All": "Закрыть всё",
"Default": "По умолчанию", "Default": "По умолчанию",
"Download Speed": "Скорость загрузки", "Download Speed": "Скорость загрузки",
@ -86,8 +91,7 @@
"Close Connection": "Закрыть соединение", "Close Connection": "Закрыть соединение",
"Rules": "Правила", "Rules": "Правила",
"Update All": "Обновить все", "Rule Provider": "Провайдер правило",
"Update At": "Обновлено в",
"Logs": "Логи", "Logs": "Логи",
"Pause": "Пауза", "Pause": "Пауза",

View File

@ -21,6 +21,9 @@
"Proxies": "代理", "Proxies": "代理",
"Proxy Groups": "代理组", "Proxy Groups": "代理组",
"Proxy Provider": "代理集合",
"Update All": "更新全部",
"Update At": "更新于",
"rule": "规则", "rule": "规则",
"global": "全局", "global": "全局",
"direct": "直连", "direct": "直连",
@ -68,6 +71,8 @@
"To End": "移到末尾", "To End": "移到末尾",
"Connections": "连接", "Connections": "连接",
"Table View": "表格视图",
"List View": "列表视图",
"Close All": "关闭全部", "Close All": "关闭全部",
"Default": "默认", "Default": "默认",
"Download Speed": "下载速度", "Download Speed": "下载速度",
@ -86,8 +91,7 @@
"Close Connection": "关闭连接", "Close Connection": "关闭连接",
"Rules": "规则", "Rules": "规则",
"Update All": "更新全部", "Rule Provider": "规则集合",
"Update At": "更新于",
"Logs": "日志", "Logs": "日志",
"Pause": "暂停", "Pause": "暂停",

View File

@ -143,9 +143,13 @@ const ConnectionsPage = () => {
} }
> >
{isTableLayout ? ( {isTableLayout ? (
<TableChartRounded fontSize="inherit" /> <span title={t("List View")}>
<TableRowsRounded fontSize="inherit" />
</span>
) : ( ) : (
<TableRowsRounded fontSize="inherit" /> <span title={t("Table View")}>
<TableChartRounded fontSize="inherit" />
</span>
)} )}
</IconButton> </IconButton>