Baoyuantop commented on code in PR #3235:
URL: https://github.com/apache/apisix-dashboard/pull/3235#discussion_r2509284093
##########
src/locales/zh/common.json:
##########
@@ -1 +1,368 @@
-{}
+{
+ "apisix": {
+ "dashboard": "APISIX 仪表盘",
+ "logo": "APISIX Logo"
+ },
+ "consumerGroups": {
+ "singular": "消费者组"
+ },
+ "consumers": {
+ "singular": "消费者"
+ },
+ "credentials": {
+ "singular": "凭证"
+ },
+ "form": {
+ "basic": {
+ "desc": "描述",
+ "labels": {
+ "errorFormat": "标签格式错误,正确格式应为 `键:值`",
+ "key": "键",
+ "placeholder": "输入 `键:值` 格式文本,失去焦点或按回车确认",
+ "title": "标签",
+ "value": "值"
+ },
+ "name": "名称",
+ "status": "状态",
+ "statusOption": {
+ "0": "已禁用",
+ "1": "已启用"
+ },
+ "title": "基本信息"
+ },
+ "btn": {
+ "add": "添加",
+ "addARow": "添加一行",
+ "cancel": "取消",
+ "delete": "删除",
+ "edit": "编辑",
+ "save": "保存",
+ "upload": "上传",
+ "view": "查看"
+ },
+ "consumers": {
+ "groupId": "组 ID",
+ "username": "用户名"
+ },
+ "disabled": "已禁用,点击开关启用",
+ "general": {
+ "title": "常规"
+ },
+ "info": {
+ "create_time": "创建时间",
+ "id": "ID",
+ "title": "信息",
+ "update_time": "更新时间"
+ },
+ "json": {
+ "parseError": "JSON 格式无效"
+ },
+ "plugins": {
+ "addPlugin": "添加插件",
+ "configId": "插件配置 ID",
+ "editPlugin": "编辑插件",
+ "label": "插件",
+ "searchForSelectedPlugins": "搜索已选插件",
+ "selectPlugins": {
+ "title": "选择插件"
+ },
+ "viewPlugin": "查看插件"
+ },
+ "protos": {
+ "content": "内容",
+ "contentPlaceholder": "粘贴或上传 {{fileTypes}} 格式文件"
+ },
+ "routes": {
+ "enableWebsocket": "启用 WebSocket",
+ "filterFunc": "过滤函数",
+ "host": "主机",
+ "hosts": "主机列表",
+ "matchRules": "匹配规则",
+ "methods": "HTTP 方法",
+ "priority": "优先级",
+ "remoteAddr": "远程地址",
+ "remoteAddrs": "远程地址列表",
+ "service": "服务",
+ "uri": "统一资源标识符(URI)",
+ "uris": "统一资源标识符列表(URI)",
Review Comment:
I think proper nouns like these don't need to be translated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]