fix: add Chinese locale translations for Allow private address node option

This commit is contained in:
abdulrahman 2026-05-14 18:58:50 +03:00
parent 9b0fd047cb
commit 959e4f36c9
4 changed files with 8 additions and 2 deletions

View file

@ -163,9 +163,9 @@ async function onSave() {
</a-col> </a-col>
</a-row> </a-row>
<a-form-item label="Allow private address"> <a-form-item :label="t('pages.nodes.allowPrivateAddress')">
<a-switch v-model:checked="form.allowPrivateAddress" /> <a-switch v-model:checked="form.allowPrivateAddress" />
<div class="hint">Enable only for nodes on a private network or VPN.</div> <div class="hint">{{ t('pages.nodes.allowPrivateAddressHint') }}</div>
</a-form-item> </a-form-item>
<a-form-item :label="t('pages.nodes.apiToken')" required> <a-form-item :label="t('pages.nodes.apiToken')" required>

View file

@ -418,6 +418,8 @@
"apiTokenHint": "The remote panel exposes its API token under Settings → API Token.", "apiTokenHint": "The remote panel exposes its API token under Settings → API Token.",
"regenerate": "Regenerate Token", "regenerate": "Regenerate Token",
"regenerateConfirm": "Regenerating invalidates the current token. Any central panel using it will lose access until updated. Continue?", "regenerateConfirm": "Regenerating invalidates the current token. Any central panel using it will lose access until updated. Continue?",
"allowPrivateAddress": "Allow private address",
"allowPrivateAddressHint": "Enable only for nodes on a private network or VPN.",
"enable": "Enabled", "enable": "Enabled",
"status": "Status", "status": "Status",
"cpu": "CPU", "cpu": "CPU",

View file

@ -418,6 +418,8 @@
"apiTokenHint": "远程面板在 设置 → API 令牌 中显示其 API 令牌。", "apiTokenHint": "远程面板在 设置 → API 令牌 中显示其 API 令牌。",
"regenerate": "重新生成令牌", "regenerate": "重新生成令牌",
"regenerateConfirm": "重新生成会使当前令牌失效。任何使用该令牌的中央面板都会失去访问权限,直至更新。是否继续?", "regenerateConfirm": "重新生成会使当前令牌失效。任何使用该令牌的中央面板都会失去访问权限,直至更新。是否继续?",
"allowPrivateAddress": "允许私有地址",
"allowPrivateAddressHint": "仅对私有网络或VPN上的节点启用。",
"enable": "已启用", "enable": "已启用",
"status": "状态", "status": "状态",
"cpu": "CPU", "cpu": "CPU",

View file

@ -418,6 +418,8 @@
"apiTokenHint": "遠端面板在 設定 → API 權杖 中顯示其 API 權杖。", "apiTokenHint": "遠端面板在 設定 → API 權杖 中顯示其 API 權杖。",
"regenerate": "重新產生權杖", "regenerate": "重新產生權杖",
"regenerateConfirm": "重新產生會使目前的權杖失效。任何使用該權杖的中央面板將失去存取權,直到更新為止。是否繼續?", "regenerateConfirm": "重新產生會使目前的權杖失效。任何使用該權杖的中央面板將失去存取權,直到更新為止。是否繼續?",
"allowPrivateAddress": "允許私有地址",
"allowPrivateAddressHint": "僅對私有網路或VPN上的節點啟用。",
"enable": "已啟用", "enable": "已啟用",
"status": "狀態", "status": "狀態",
"cpu": "CPU", "cpu": "CPU",