chore: update i18n

This commit is contained in:
wonfen
2026-07-24 11:53:50 +08:00
parent 82c486923b
commit bce83d5c6f
123 changed files with 2178 additions and 277 deletions
+80
View File
@@ -73,6 +73,8 @@ export const translationKeys = [
'home.components.ipInfo.labels.autoRefresh',
'home.components.ipInfo.labels.unknown',
'home.components.ipInfo.errors.load',
'home.components.ipInfo.errors.loadWithDetails',
'home.components.ipInfo.errors.noServices',
'home.components.currentProxy.title',
'home.components.currentProxy.actions.refreshDelay',
'home.components.currentProxy.labels.globalMode',
@@ -80,6 +82,16 @@ export const translationKeys = [
'home.components.currentProxy.labels.group',
'home.components.currentProxy.labels.proxy',
'home.components.currentProxy.labels.noActiveNode',
'home.components.currentProxy.status.testing',
'home.components.currentProxy.status.untested',
'home.components.currentProxy.status.error',
'home.components.currentProxy.status.timeout',
'home.components.currentProxy.status.latencyHigh',
'home.components.currentProxy.status.latencyMedium',
'home.components.currentProxy.status.latencyGood',
'home.components.currentProxy.status.latencyExcellent',
'home.components.currentProxy.status.uninitialized',
'home.components.currentProxy.status.noProxyNode',
'home.components.tests.title',
'home.components.traffic.metrics.uploadSpeed',
'home.components.traffic.metrics.downloadSpeed',
@@ -88,6 +100,10 @@ export const translationKeys = [
'home.components.traffic.legends.upload',
'home.components.traffic.legends.download',
'home.components.traffic.patterns.minutes',
'home.components.traffic.unknownTime',
'home.components.traffic.chartStyles.smooth',
'home.components.traffic.chartStyles.linear',
'home.components.traffic.diagnostics',
'home.components.clashMode.errors.communication',
'home.components.clashMode.labels.rule',
'home.components.clashMode.labels.global',
@@ -117,6 +133,13 @@ export const translationKeys = [
'layout.components.serviceMigration.repair',
'layout.components.serviceMigration.continueSidecar',
'layout.components.serviceMigration.success',
'layout.components.serviceMigration.errors.actionFailed',
'layout.components.serviceMigration.errors.stateRefreshFailed',
'layout.components.serviceMigration.errors.restartFailed',
'layout.components.serviceMigration.errors.revalidationFailed',
'layout.components.serviceMigration.errors.sidecarFailed',
'layout.feedback.errors.restartCoreStopFailed',
'layout.feedback.errors.quitCoreStopFailed',
'logs.page.title',
'logs.actions.showDescending',
'logs.actions.showAscending',
@@ -135,6 +158,15 @@ export const translationKeys = [
'profiles.page.importForm.actions.paste',
'profiles.page.feedback.errors.invalidUrl',
'profiles.page.feedback.errors.onlyYaml',
'profiles.page.feedback.errors.createFailed',
'profiles.page.feedback.errors.deleteFailed',
'profiles.page.feedback.errors.enhanceFailed',
'profiles.page.feedback.errors.importFailed',
'profiles.page.feedback.errors.openFailed',
'profiles.page.feedback.errors.readFailed',
'profiles.page.feedback.errors.reorderFailed',
'profiles.page.feedback.errors.switchFailed',
'profiles.page.feedback.errors.updateFailed',
'profiles.page.feedback.notifications.importRetry',
'profiles.page.feedback.notifications.importFail',
'profiles.page.feedback.notifications.importNeedsRefresh',
@@ -145,6 +177,7 @@ export const translationKeys = [
'profiles.page.feedback.notifications.batchDeleted',
'profiles.page.feedback.notices.forceRefreshCompleted',
'profiles.page.feedback.notices.emergencyRefreshFailed',
'profiles.page.feedback.tooltips.forceRefreshStaleData',
'profiles.page.title',
'profiles.components.card.labels.clickToImport',
'profiles.components.fileInput.chooseFile',
@@ -177,12 +210,19 @@ export const translationKeys = [
'profiles.modals.profileForm.fields.type',
'profiles.modals.profileForm.fields.description',
'profiles.modals.profileForm.fields.subscriptionUrl',
'profiles.modals.profileForm.fields.userAgent',
'profiles.modals.profileForm.fields.httpTimeout',
'profiles.modals.profileForm.fields.updateInterval',
'profiles.modals.profileForm.fields.useSystemProxy',
'profiles.modals.profileForm.fields.useClashProxy',
'profiles.modals.profileForm.fields.acceptInvalidCerts',
'profiles.modals.profileForm.fields.allowAutoUpdate',
'profiles.modals.profileForm.types.remote',
'profiles.modals.profileForm.types.local',
'profiles.modals.profileForm.errors.typeRequired',
'profiles.modals.profileForm.errors.urlRequired',
'profiles.modals.profileForm.errors.uidMissing',
'profiles.modals.profileForm.errors.saveFailed',
'profiles.modals.profileForm.feedback.notifications.creationRetry',
'profiles.modals.profileForm.feedback.notifications.creationSuccess',
'profiles.modals.proxiesEditor.title',
@@ -235,6 +275,7 @@ export const translationKeys = [
'proxies.page.rules.select',
'proxies.page.labels.proxyCount',
'proxies.page.labels.delayCheckReset',
'proxies.page.labels.nodeCount',
'proxies.page.tooltips.locate',
'proxies.page.tooltips.delayCheck',
'proxies.page.tooltips.sortDefault',
@@ -245,6 +286,8 @@ export const translationKeys = [
'proxies.page.tooltips.showDetail',
'proxies.page.tooltips.filter',
'proxies.page.placeholders.delayCheckUrl',
'proxies.page.empty.noAvailableGroups',
'proxies.page.empty.noProxies',
'proxies.page.chain.header',
'proxies.page.chain.warning',
'proxies.page.chain.empty',
@@ -328,6 +371,7 @@ export const translationKeys = [
'settings.page.actions.manual',
'settings.page.actions.telegram',
'settings.page.actions.github',
'settings.page.actionsGroupLabel',
'settings.page.title',
'settings.sections.system.title',
'settings.sections.system.toggles.tunMode',
@@ -492,6 +536,8 @@ export const translationKeys = [
'settings.modals.clashPort.messages.portInUse',
'settings.modals.clashPort.messages.saved',
'settings.modals.clashPort.messages.saveFailed',
'settings.modals.clashPort.messages.portTooLow',
'settings.modals.clashPort.messages.portTooHigh',
'settings.modals.clashCore.variants.release',
'settings.modals.clashCore.variants.alpha',
'settings.modals.liteMode.title',
@@ -581,6 +627,12 @@ export const translationKeys = [
'settings.modals.update.actions.goToRelease',
'settings.modals.update.actions.update',
'settings.modals.update.messages.breakChangeError',
'settings.modals.update.messages.available',
'settings.modals.update.alerts.note',
'settings.modals.update.alerts.tip',
'settings.modals.update.alerts.important',
'settings.modals.update.alerts.warning',
'settings.modals.update.alerts.caution',
'settings.modals.sysproxy.title',
'settings.modals.sysproxy.fieldsets.currentStatus',
'settings.modals.sysproxy.fields.enableStatus',
@@ -669,6 +721,9 @@ export const translationKeys = [
'settings.modals.webUI.title',
'settings.modals.webUI.messages.supportedPlaceholders',
'settings.modals.webUI.messages.placeholderInstruction',
'settings.modals.webUI.errors.clashInfoUnavailable',
'settings.modals.webUI.errors.invalidServer',
'settings.modals.webUI.errors.openFailed',
'settings.modals.hotkey.toggles.enableGlobal',
'settings.modals.hotkey.title',
'settings.modals.hotkey.functions.rule',
@@ -682,6 +737,16 @@ export const translationKeys = [
'settings.modals.networkInterface.title',
'settings.modals.networkInterface.fields.ipAddress',
'settings.modals.networkInterface.fields.macAddress',
'settings.feedback.errors.clash.configUpdateFailed',
'settings.feedback.errors.clash.modeUpdateFailed',
'settings.feedback.errors.clash.restartFailed',
'settings.feedback.errors.clash.startFailed',
'settings.feedback.errors.clash.stopFailed',
'settings.feedback.errors.clashService.installFailed',
'settings.feedback.errors.clashService.uninstallFailed',
'settings.feedback.errors.clashService.reinstallFailed',
'settings.feedback.errors.clashService.repairFailed',
'settings.feedback.errors.clashService.sidecarFailed',
'settings.feedback.notifications.clash.restartSuccess',
'settings.feedback.notifications.clash.versionUpdated',
'settings.feedback.notifications.clash.alreadyLatestVersion',
@@ -720,6 +785,7 @@ export const translationKeys = [
'shared.actions.clear',
'shared.actions.previous',
'shared.actions.next',
'shared.actions.check',
'shared.labels.updateAt',
'shared.labels.timeout',
'shared.labels.icon',
@@ -737,6 +803,7 @@ export const translationKeys = [
'shared.statuses.disabled',
'shared.statuses.saving',
'shared.statuses.empty',
'shared.statuses.loading',
'shared.units.milliseconds',
'shared.units.seconds',
'shared.units.minutes',
@@ -753,6 +820,14 @@ export const translationKeys = [
'shared.window.minimize',
'shared.editorModes.visualization',
'shared.editorModes.advanced',
'shared.feedback.errors.unexpected',
'shared.feedback.errors.label',
'shared.feedback.errors.unknown',
'shared.feedback.errors.details',
'shared.feedback.errors.stack',
'shared.feedback.errors.componentStack',
'shared.feedback.errors.trafficUnavailable',
'shared.feedback.errors.operationFailed',
'shared.feedback.errors.trafficStats',
'shared.feedback.errors.trafficStatsDescription',
'shared.feedback.notices.raw',
@@ -794,6 +869,11 @@ export const translationKeys = [
'tests.modals.test.title.create',
'tests.modals.test.title.edit',
'tests.modals.test.fields.url',
'tests.modals.test.errors.nameRequired',
'tests.modals.test.errors.urlRequired',
'tests.modals.test.errors.invalidSvg',
'tests.modals.test.errors.uidMissing',
'tests.modals.test.errors.saveFailed',
'tests.statuses.test.pending',
'tests.statuses.test.yes',
'tests.statuses.test.no',
+110
View File
@@ -75,11 +75,25 @@ export interface TranslationResources {
noActiveNode: string
proxy: string
}
status: {
error: string
latencyExcellent: string
latencyGood: string
latencyHigh: string
latencyMedium: string
noProxyNode: string
testing: string
timeout: string
uninitialized: string
untested: string
}
title: string
}
ipInfo: {
errors: {
load: string
loadWithDetails: string
noServices: string
}
labels: {
asn: string
@@ -129,6 +143,11 @@ export interface TranslationResources {
title: string
}
traffic: {
chartStyles: {
linear: string
smooth: string
}
diagnostics: string
legends: {
download: string
upload: string
@@ -142,6 +161,7 @@ export interface TranslationResources {
patterns: {
minutes: string
}
unknownTime: string
}
}
page: {
@@ -197,6 +217,13 @@ export interface TranslationResources {
serviceMigration: {
checkingMessage: string
continueSidecar: string
errors: {
actionFailed: string
restartFailed: string
revalidationFailed: string
sidecarFailed: string
stateRefreshFailed: string
}
message: string
reinstall: string
repair: string
@@ -205,6 +232,12 @@ export interface TranslationResources {
unavailableMessage: string
}
}
feedback: {
errors: {
quitCoreStopFailed: string
restartCoreStopFailed: string
}
}
}
logs: {
actions: {
@@ -316,6 +349,12 @@ export interface TranslationResources {
title: string
}
profileForm: {
errors: {
saveFailed: string
typeRequired: string
uidMissing: string
urlRequired: string
}
feedback: {
notifications: {
creationRetry: string
@@ -331,12 +370,17 @@ export interface TranslationResources {
type: string
updateInterval: string
useClashProxy: string
userAgent: string
useSystemProxy: string
}
title: {
create: string
edit: string
}
types: {
local: string
remote: string
}
}
proxiesEditor: {
actions: {
@@ -374,8 +418,17 @@ export interface TranslationResources {
}
feedback: {
errors: {
createFailed: string
deleteFailed: string
enhanceFailed: string
importFailed: string
invalidUrl: string
onlyYaml: string
openFailed: string
readFailed: string
reorderFailed: string
switchFailed: string
updateFailed: string
}
notices: {
emergencyRefreshFailed: string
@@ -391,6 +444,9 @@ export interface TranslationResources {
profileSwitched: string
switchBusy: string
}
tooltips: {
forceRefreshStaleData: string
}
}
importForm: {
actions: {
@@ -451,8 +507,13 @@ export interface TranslationResources {
minimumNodesHint: string
warning: string
}
empty: {
noAvailableGroups: string
noProxies: string
}
labels: {
delayCheckReset: string
nodeCount: string
proxyCount: string
}
messages: {
@@ -699,6 +760,22 @@ export interface TranslationResources {
}
}
feedback: {
errors: {
clash: {
configUpdateFailed: string
modeUpdateFailed: string
restartFailed: string
startFailed: string
stopFailed: string
}
clashService: {
installFailed: string
reinstallFailed: string
repairFailed: string
sidecarFailed: string
uninstallFailed: string
}
}
notifications: {
clash: {
alreadyLatestVersion: string
@@ -817,6 +894,8 @@ export interface TranslationResources {
}
messages: {
portInUse: string
portTooHigh: string
portTooLow: string
saved: string
saveFailed: string
}
@@ -1050,7 +1129,15 @@ export interface TranslationResources {
goToRelease: string
update: string
}
alerts: {
caution: string
important: string
note: string
tip: string
warning: string
}
messages: {
available: string
breakChangeError: string
}
title: string
@@ -1059,6 +1146,11 @@ export interface TranslationResources {
actions: {
openUrl: string
}
errors: {
clashInfoUnavailable: string
invalidServer: string
openFailed: string
}
messages: {
placeholderInstruction: string
supportedPlaceholders: string
@@ -1072,6 +1164,7 @@ export interface TranslationResources {
manual: string
telegram: string
}
actionsGroupLabel: string
title: string
}
sections: {
@@ -1228,6 +1321,7 @@ export interface TranslationResources {
shared: {
actions: {
cancel: string
check: string
clear: string
close: string
closeAll: string
@@ -1258,8 +1352,16 @@ export interface TranslationResources {
}
feedback: {
errors: {
componentStack: string
details: string
label: string
operationFailed: string
stack: string
trafficStats: string
trafficStatsDescription: string
trafficUnavailable: string
unexpected: string
unknown: string
}
notices: {
prefixedRaw: string
@@ -1341,6 +1443,7 @@ export interface TranslationResources {
disabled: string
empty: string
enabled: string
loading: string
saving: string
}
units: {
@@ -1369,6 +1472,13 @@ export interface TranslationResources {
}
modals: {
test: {
errors: {
invalidSvg: string
nameRequired: string
saveFailed: string
uidMissing: string
urlRequired: string
}
fields: {
url: string
}