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

Update zh-Hans and zh-Hant. #1152

Merged
merged 2 commits into from
May 31, 2023
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
85 changes: 81 additions & 4 deletions src/translations/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"none": "无"
}
},
"icon_type_picker": {
"values": {
"default": "默认类型",
"icon": "图标",
"entity-picture": "实体图片",
"none": "无"
}
},
"layout_picker": {
"values": {
"default": "默认布局",
Expand All @@ -25,7 +33,8 @@
},
"alignment_picker": {
"values": {
"default": "默认 (左对齐)",
"default": "默认",
"start": "左对齐",
"end": "右对齐",
"center": "居中对齐",
"justify": "两端对齐"
Expand All @@ -35,9 +44,14 @@
"card": {
"generic": {
"icon_color": "图标颜色",
"layout": "布局",
"fill_container": "填满容器",
"primary_info": "首要信息",
"secondary_info": "次要信息",
"icon_type": "图标类型",
"content_info": "内容",
"use_entity_picture": "使用实体图片?",
"collapsible_controls": "关闭时隐藏控制器",
"icon_animation": "激活时使用动态图标?"
},
"light": {
Expand All @@ -53,24 +67,83 @@
},
"cover": {
"show_buttons_control": "按钮控制?",
"show_position_control": "位置控制?"
"show_position_control": "位置控制?",
"show_tilt_position_control": "角度控制?"
},
"alarm_control_panel": {
"show_keypad": "显示键盘"
},
"template": {
"primary": "首要信息",
"secondary": "次要信息",
"multiline_secondary": "多行次要信息?",
"content": "内容"
"entity_extra": "用于模板和动作",
"content": "内容",
"badge_icon": "徽标图标",
"badge_color": "徽标颜色",
"picture": "图片 (将会替代图标)"
},
"title": {
"title": "标题",
"subtitle": "子标题"
"subtitle": "子标题",
"title_tap_action": "标题点击动作",
"subtitle_tap_action": "子标题点击动作"
},
"chips": {
"alignment": "对齐"
},
"weather": {
"show_conditions": "条件?",
"show_temperature": "温度?"
},
"update": {
"show_buttons_control": "控制按钮?"
},
"vacuum": {
"commands": "命令",
"commands_list": {
"on_off": "开/关"
}
},
"media-player": {
"use_media_info": "使用媒体信息",
"use_media_artwork": "使用媒体插图",
"show_volume_level": "显示音量大小",
"media_controls": "媒体控制",
"media_controls_list": {
"on_off": "开启/关闭",
"shuffle": "随机",
"previous": "上一曲",
"play_pause_stop": "播放/暂停/停止",
"next": "下一曲",
"repeat": "循环模式"
},
"volume_controls": "音量控制",
"volume_controls_list": {
"volume_buttons": "音量按钮",
"volume_set": "音量等级",
"volume_mute": "静音"
}
},
"lock": {
"lock": "锁定",
"unlock": "解锁",
"open": "打开"
},
"humidifier": {
"show_target_humidity_control": "湿度控制?"
},
"climate": {
"show_temperature_control": "温度控制?",
"hvac_modes": "空调模式"
},
"number": {
"display_mode": "显示模式",
"display_mode_list": {
"default": "默认 (滑块)",
"slider": "滑块",
"buttons": "按钮"
}
}
},
"chip": {
Expand All @@ -94,10 +167,14 @@
"entity": "实体",
"light": "灯光",
"menu": "菜单",
"spacer": "占位符",
"template": "模板",
"weather": "天气"
}
}
}
},
"card": {
"not_found": "未找到实体"
}
}
4 changes: 4 additions & 0 deletions src/translations/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,14 @@
"entity": "實體",
"light": "燈光",
"menu": "選單",
"spacer": "佔位符",
"template": "模板",
"weather": "天氣"
}
}
}
},
"card": {
"not_found": "未找到實體"
}
}