Refactor and clean up i18n (#17198)

* clean up i18n

* fix key

* fix key
This commit is contained in:
Josh Hawkins
2025-03-17 06:26:01 -06:00
committed by GitHub
parent 6e3ae0afc2
commit 03da70cb81
74 changed files with 1243 additions and 799 deletions
+50 -24
View File
@@ -34,14 +34,22 @@
"minute": "{{time}}分钟",
"s": "{{time}}秒",
"second": "{{time}}秒",
"formattedTimestamp": "%m月%-d日 %I:%M:%S %p",
"formattedTimestamp.24hour": "%m月%-d日 %H:%M:%S",
"formattedTimestamp2": "%m/%d %I:%M:%S%P",
"formattedTimestamp2.24hour": "%d日%m月 %H:%M:%S",
"formattedTimestampExcludeSeconds": "%m月%-d日 %I:%M %p",
"formattedTimestampExcludeSeconds.24hour": "%m月%-d日 %H:%M",
"formattedTimestampWithYear": "%Y年%m月%-d日 %I:%M:%S %p",
"formattedTimestampWithYear.24hour": "%Y年%m月%-d日 %H:%M",
"formattedTimestamp": {
"12hour": "%m月%-d日 %I:%M:%S %p",
"24hour": "%m月%-d日 %H:%M:%S"
},
"formattedTimestamp2": {
"12hour": "%m/%d %I:%M:%S%P",
"24hour": "%d日%m月 %H:%M:%S"
},
"formattedTimestampExcludeSeconds": {
"12hour": "%m月%-d日 %I:%M %p",
"24hour": "%m月%-d日 %H:%M"
},
"formattedTimestampWithYear": {
"12hour": "%Y年%m月%-d日 %I:%M:%S %p",
"24hour": "%Y年%m月%-d日 %H:%M"
},
"formattedTimestampOnlyMonthAndDay": "%m月%-d日"
},
"unit": {
@@ -55,10 +63,14 @@
},
"pagination": {
"label": "分页",
"previous": "上一页",
"previous.label": "转到上一页",
"next": "一页",
"next.label": "转到下一页",
"previous": {
"title": "上一页",
"label": "转到上一页"
},
"next": {
"title": "下一页",
"label": "转到下一页"
},
"more": "更多页面"
},
"button": {
@@ -105,14 +117,18 @@
"language": {
"en": "English",
"zhCN": "简体中文",
"withSystem.label": "使用系统语言设置"
"withSystem": {
"label": "使用系统语言设置"
}
},
"appearance": "外观",
"darkMode": {
"label": "深色模式",
"light": "浅色",
"dark": "深色",
"withSystem.label": "使用系统深色模式设置"
"withSystem": {
"label": "使用系统深色模式设置"
}
},
"withSystem": "跟随系统",
"theme": {
@@ -125,13 +141,19 @@
"default": "默认"
},
"help": "帮助",
"documentation.label": "Frigate 的官方文档",
"documentation": "文档",
"live": "实时监控",
"live.allCameras": "所有摄像头",
"live.cameras": "摄像头",
"live.cameras.count_one": "{{count}} 个摄像头",
"live.cameras.count_other": "{{count}} 个摄像头",
"documentation": {
"title": "文档",
"label": "Frigate 的官方文档"
},
"live": {
"title": "实时监控",
"allCameras": "所有摄像头",
"cameras": {
"title": "摄像头",
"count_one": "{{count}} 个摄像头",
"count_other": "{{count}} 个摄像头"
}
},
"review": "回放",
"explore": "探测",
"export": "导出",
@@ -142,15 +164,19 @@
"current": "当前用户:{{user}}",
"anonymous": "匿名",
"logout": "登出",
"setPassword": "设置密码"
"setPassword": "设置密码",
"title": "用户"
},
"restart": "重启 Frigate"
},
"toast": {
"copyUrlToClipboard": "已复制链接到剪贴板。",
"save": {
"error": "保存配置信息失败: {{errorMessage}}",
"error.noMessage": "保存配置信息失败"
"title": "保存",
"error": {
"title": "保存配置信息失败: {{errorMessage}}",
"noMessage": "保存配置信息失败"
}
}
},
"role": {