Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Simplified Chinese zh-CN translation #1462

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions custom_components/ui_lovelace_minimalist/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"Swedish": "sv",
"Turkish": "tr",
"Russian": "ru",
"中文(简体)": "zh-CN",
}

CONF_LANGUAGE = "language"
Expand All @@ -61,6 +62,7 @@
"Swedish",
"Turkish",
"Russian",
"中文(简体)",
]
CONF_SIDEPANEL_ENABLED = "sidepanel_enabled"
CONF_SIDEPANEL_TITLE = "sidepanel_title"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
ulm_language_variables:
variables:
ulm_currency: "$"
ulm_updates_available: "更新可用!"
ulm_no_updates_available: "无可用更新"
ulm_ophaling: "垃圾收集!"
ulm_geen_ophaling: "从未收集"
ulm_volgende_ophaling: "下一次收集"
ulm_morning: "早上好"
ulm_afternoon: "下午好"
ulm_evening: "晚上好"
ulm_hello: "你好"
ulm_volume: "音量"
ulm_popups_color: "颜色"
ulm_radar: "雷达"
ulm_popup_total: "总计"
68 changes: 68 additions & 0 deletions custom_components/ui_lovelace_minimalist/translations/zh-CN.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"title": "UI Lovelace Minimalist",
"config": {
"step": {
"user": {
"title": "UI Lovelace Minimalist 设置",
"description": "",
"data": {
"community_cards_enabled": "允许通过此集成配置社区卡片,此功能需要 GitHub 验证!"
}
},
"device": {
"title": "等待设备验证"
},
"reauth_confirm": {
"title": "需要重新验证",
"description": "您需要重新验证 GitHub。"
}
},
"abort": {
"single_instance_allowed": "该集成已经配置过了,且只能配置一次。",
"not_setup": "UI Lovelace Minimalist 还未配置。",
"github": "无法验证 GitHub,请稍后再试。",
"reauth_successful": "重新验证成功。"
},
"progress": {
"wait_for_device": "1. 访问 {url} \n2. 粘贴以下密钥以授权本集成: \n```\n{code}\n```\n"
}
},
"options": {
"step": {
"user": {
"title": "UI Lovelace Minimalist 设置",
"description": "",
"data": {
"language": "语言",
"sidepanel_enabled": "在侧边栏创建一个仪表盘入口",
"sidepanel_icon": "侧边栏图标",
"sidepanel_title": "侧边栏标题",
"adaptive_ui_enabled": "在拆分视图中启用自适应仪表盘",
"adaptive_ui_title": "自适应面板标题",
"adaptive_ui_icon": "自适应面板图标",
"theme": "主题",
"include_other_cards": "包含它依赖的自定义卡片资源",
"community_cards_enabled": "允许通过此集成配置社区卡片,此功能需要 GitHub 验证!",
"community_cards": "选择你想启用的社区卡片。"
}
}
},
"abort": {
"single_instance_allowed": "该集成已经配置过了,且只能配置一次。",
"not_setup": "UI Lovelace Minimalist 未完成配置。"
},
"error": {
"github_cards": "从 GitHub 获取卡片时发生错误。",
"ack": "你需要填写所有参数。",
"gh_token": "未设置 GitHub 密钥。请重新安装本集成以完成设置。(不会丢失任何自定义配置)"
}
},
"services": {
"reload": {
"description": "为 UI Lovelace Minimalist 重载仪表盘配置。"
},
"installed": {
"description": "为 UI Lovelace Minimalist 更改全局配置中的已安装密钥."
}
}
}
Loading