summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjebbs <[email protected]>2025-06-04 16:45:22 +0800
committerjebbs <[email protected]>2025-06-04 16:45:22 +0800
commit5aa44ee27ced38cb4b5c76b6ce974c92eb6b954a (patch)
treed70064528107fcb0a52499c90e963c8fee56c90b /src
parent836548d5f07de06a3e507234222d4eb2fd1bbfe6 (diff)
Update i18n of "provider" related titles
Diffstat (limited to 'src')
-rw-r--r--src/components/proxies/ProxyProviderList.tsx4
-rw-r--r--src/i18n/en.ts1
-rw-r--r--src/i18n/vi.ts4
-rw-r--r--src/i18n/zh-cn.ts5
-rw-r--r--src/i18n/zh-tw.ts1
5 files changed, 11 insertions, 4 deletions
diff --git a/src/components/proxies/ProxyProviderList.tsx b/src/components/proxies/ProxyProviderList.tsx
index ae79ea8..22786f2 100644
--- a/src/components/proxies/ProxyProviderList.tsx
+++ b/src/components/proxies/ProxyProviderList.tsx
@@ -1,14 +1,16 @@
import * as React from 'react';
+import { useTranslation } from 'react-i18next';
import ContentHeader from '~/components/ContentHeader';
import { ProxyProvider } from '~/components/proxies/ProxyProvider';
import { FormattedProxyProvider } from '~/store/types';
export function ProxyProviderList({ items }: { items: FormattedProxyProvider[] }) {
+ const { t } = useTranslation();
if (items.length === 0) return null;
return (
<>
- <ContentHeader title="Proxy Provider" />
+ <ContentHeader title={t('proxy_provider')} />
<div>
{items.map((item) => (
<ProxyProvider
diff --git a/src/i18n/en.ts b/src/i18n/en.ts
index 55b25ed..9d6107f 100644
--- a/src/i18n/en.ts
+++ b/src/i18n/en.ts
@@ -41,6 +41,7 @@ export const data = {
chart_style: 'Chart Style',
latency_test_url: 'Latency Test URL',
lang: 'Language',
+ proxy_provider: 'Proxy Provider',
update_all_rule_provider: 'Update all rule providers',
update_all_proxy_provider: 'Update all proxy providers',
reload_config_file: 'Reload config file',
diff --git a/src/i18n/vi.ts b/src/i18n/vi.ts
index d9d7b58..b7fea2b 100644
--- a/src/i18n/vi.ts
+++ b/src/i18n/vi.ts
@@ -41,6 +41,7 @@ export const data = {
chart_style: 'Kiểu biểu đồ',
latency_test_url: 'URL kiểm tra độ trễ',
lang: 'Ngôn ngữ',
+ proxy_provider: 'nhà cung cấp proxy',
update_all_rule_provider: 'Cập nhật tất cả nhà cung cấp quy tắc',
update_all_proxy_provider: 'Cập nhật tất cả nhà cung cấp proxy',
reload_config_file: 'Tải lại tệp cấu hình',
@@ -74,7 +75,8 @@ export const data = {
delete: 'Xóa',
add_tag: 'Thêm thẻ',
client_tag: 'Thẻ khách hàng',
- sourceip_tip: 'Thêm / vào đầu để sử dụng biểu thức chính quy, nếu không sẽ là kết quả khớp chính xác(By Ohoang7)',
+ sourceip_tip:
+ 'Thêm / vào đầu để sử dụng biểu thức chính quy, nếu không sẽ là kết quả khớp chính xác(By Ohoang7)',
disconnect: 'Đóng kết nối',
internel: 'Kết nối nội bộ',
};
diff --git a/src/i18n/zh-cn.ts b/src/i18n/zh-cn.ts
index 2c265d3..1c0c21b 100644
--- a/src/i18n/zh-cn.ts
+++ b/src/i18n/zh-cn.ts
@@ -42,8 +42,9 @@ export const data = {
chart_style: '流量图样式',
latency_test_url: '延迟测速 URL',
lang: '语言',
- update_all_rule_provider: '更新所有 rule provider',
- update_all_proxy_provider: '更新所有 proxy provider',
+ proxy_provider: '代理源',
+ update_all_rule_provider: '更新所有规则源',
+ update_all_proxy_provider: '更新所有代理源',
reload_config_file: '重载配置文件',
update_geo_databases_file: '更新 GEO 数据库文件',
flush_fake_ip_pool: '清空 FakeIP 数据库',
diff --git a/src/i18n/zh-tw.ts b/src/i18n/zh-tw.ts
index b2b9f42..72e2b75 100644
--- a/src/i18n/zh-tw.ts
+++ b/src/i18n/zh-tw.ts
@@ -42,6 +42,7 @@ export const data = {
chart_style: '流量圖樣式',
latency_test_url: '延遲測速 URL',
lang: '語言',
+ proxy_provider: '代理伺服器提供者',
update_all_rule_provider: '更新所有規則提供者',
update_all_proxy_provider: '更新所有代理伺服器提供者',
reload_config_file: '重新載入設定檔',