Skip to content

Commit

Permalink
Merge pull request #2 from TianMiao8152/master
Browse files Browse the repository at this point in the history
i18: add support for Chinese
  • Loading branch information
mmpneo authored Oct 16, 2023
2 parents 895cac3 + 6f74399 commit c1e787c
Show file tree
Hide file tree
Showing 3 changed files with 750 additions and 0 deletions.
371 changes: 371 additions & 0 deletions public/i18n/zh_cn/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,371 @@
{
"common": {
"field_action_bar": "添加到操作栏",
"field_auto_start": "自动启动",
"field_service": "服务",
"field_language": "语言",
"field_dialect": "方言",
"field_output_device": "输出设备",
"field_input_device": "输入设备",
"field_dictionary": "字典",
"field_css": "CSS",
"field_interim_results": "临时结果",
"field_text_source": "文本源",
"field_use_keyboard_input": "使用键盘输入",
"field_volume": "音量",
"field_pitch": "音调",
"field_rate": "速度",
"field_enable": "启用",
"field_password": "密码",
"field_size": "大小",
"field_position": "位置",
"field_file": "文件",
"field_connection_status": "连接状态",
"field_connection_port": "端口",
"btn_edit_replacements": "编辑替换词",
"btn_add": "添加",
"btn_connect": "连接",
"btn_remove": "删除",
"btn_select": "选择",
"btn_connecting": "连接",
"btn_disconnect": "断开连接",
"btn_start": "开始",
"btn_stop": "停止",
"btn_copy": "复制",
"status_connected": "连接",
"status_disconnected": "断开连接",
"status_connecting": "正在连接...",
"status_error": "错误",
"status_online": "在线",
"status_offline": "离线"
},
"main": {
"btn_show_logs": "显示日志",
"btn_show_canvas": "显示画布",
"btn_fullscreen_input": "全屏输入",
"btn_mute_stt": "静音 STT",
"btn_unmute_stt": "取消静音 STT",
"btn_mute_effects": "静音音效",
"btn_mute_effects_desc": "在此窗口中将文字输入声音等效果静音",
"btn_pin_window": "窗口置顶",
"btn_unpin_window": "取消置顶",
"keyboard_input": "输入一些内容,然后按 [Enter]",
"btn_add_element": "添加元素",
"btn_collapse_menu": "折叠菜单",
"btn_remove_from_scene": "从场景中移除",
"add_elements": "添加元素",
"btn_add_text": "添加文本",
"btn_add_image": "添加图像",
"section_elements": "元素",
"section_integrations": "集成"
},
"stt": {
"title": "语音转文本",
"field_enable_interim_results": "启用临时结果",
"field_uwu_filter": "生成颜文字",
"field_uwu_filter_desc": "只能在英语下使用 (* ^ ω ^)!!1",
"state_muted": "静音",
"state_": "静音",

"native_title": "本地",

"browser_title": "浏览器",
"browser_open_edge": "打开 Edge",
"browser_open_chrome": "打开 Chrome",

"speechly_title": "Speechly",
"speechly_appid": "App ID",

"deepgram_title": "Deepgram",
"deepgram_key": "Key",
"deepgram_quality": "质量",
"deepgram_profanity": "脏话过滤",
"deepgram_punctuate": "标点符号",
"deepgram_quality_notice": "某些语言无法与 \"enhanced\" 质量选项一起使用",
"deepgram_quality_notice_link": "查看语言表",

"azure_title": "Azure",
"azure_key": "Key",
"azure_location": "位置",
"azure_profanity": "脏话",
"azure_profanity_masked": "隐藏",
"azure_profanity_removed": "移除",
"azure_profanity_raw": "不处理",
"azure_silence_timeout": "静音超时"
},
"tts": {
"title": "文本转语音",
"field_voice": "音色",

"uberduck_title": "Uberduck",
"uberduck_api_key": "Api key",
"uberduck_secret": "Secret",
"uberduck_voice": "语音",
"uberduck_voice_desc": "只有使用有效的 API 密钥和密码才能加载语音",
"uberduck_voice_desc_link": "查看可用的声音",
"uberduck_voice_status_reload": "加载语音",
"uberduck_voice_status_updating": "正在加载语音..",

"azure_title": "Azure",
"azure_key": "Key",
"azure_location": "位置",
"azure_voice_style": "风格",
"azure_voice_role": "角色",
"azure_voice_volume": "音量",
"azure_voice_rate": "速度",
"azure_voice_pitch": "音调",
"azure_voice_range": "音域",

"native_title": "本地",

"tiktok_title": "抖音",
"windows_title": "Windows"
},
"transl": {
"title": "翻译",
"azure_title": "Azure",
"azure_key": "Key",
"azure_location": "区域",
"azure_from_language": "从...语言",
"azure_to_language": "到...语言",
"azure_profanity": "脏话",
"azure_profanity_masked": "隐藏",
"azure_profanity_removed": "移除",
"azure_profanity_raw": "不处理"
},

"settings": {
"title": "设置",
"desc_1": "本应用由 Mmp 制作",
"desc_2": "加入 discord 以获取更新和帮助!",
"section_template": "模板",
"section_link_apps": "连接其他应用",
"section_link_apps_desc": "与其他应用同步文本",
"btn_import_translation": "导入翻译",
"btn_import_template": "导入",
"btn_export_template": "导出",
"btn_copy_address": "复制地址",
"field_app_theme": "应用主题",
"field_ui_scale": "UI 大小",
"field_language": "语言",
"field_ip_address": "IP地址"
},

"word_replacements": {
"title": "词语替换",
"field_ignore_case": "忽略字母大小写",
"field_preserve_capitalization": "保留大写",
"field_preserve_capitalization_desc": "将原始单词的大写转换为替换",
"label_dictionary_key": "词语",
"label_dictionary_value": "替换"
},
"obs": {
"title": "OBS Studio",
"section_browser_source": "浏览器源",
"browser_source_desc": "创建一个新的浏览器源, 粘贴 URL 并且设置窗口的大小为 {{width}}x{{height}} 像素",
"btn_copy_browser_source_link": "复制浏览器源 URL",

"section_websocket": "Websocket 连接",
"websocket_desc": "需要 obs-websocket 插件.",
"field_auto_connect": "自动连接",

"section_native_captions": "原生字幕流",
"section_scenes": "场景",
"section_scenes_desc": "自动更改 curses 的场景以匹配 obs 的场景",
"field_fallback_scene": "默认场景",
"field_map_scenes": "场景地图"
},
"twitch": {
"title": "Twitch",
"btn_logout": "注销",
"btn_login": "登录",
"status_stream": "流状态",
"status_chat": "连接聊天",
"field_enable_chat": "启用聊天",
"field_post_in_chat": "在聊天中发布",
"field_post_in_chat_desc": "将语音转文本或翻译的结果发送至聊天中",
"field_post_in_chat_live": "仅在在线时发布",
"field_chat_text": "使用聊天消息",
"field_chat_text_desc": "使用你的 Twitch 聊天消息作为语音转文本的来源",

"section_emotes": "表情",
"btn_show_emotes": "显示表情",
"btn_remap_emotes": "重新映射表情",
"field_enable_captions_emotes": "在 OBS 字幕中启用表情",
"field_case_sensitive": "区分大小写"
},
"twitch_emotes_remap": {
"title": "重新映射表情",
"label_dictionary_key": "词语",
"label_dictionary_value": "表情"
},
"discord": {
"title": "Discord",
"desc": "将语音转文本的结果发送至 discord 频道",
"field_channel_hook": "频道 hook",
"field_bot_name": "机器人名字",
"field_bot_avatar": "机器人头像",
"field_post_only_when_streaming": "只在在线时推送"
},
"vrc": {
"title": "VRChat chatbox",
"notice_title": "请先在 VRChat 中启用 OSC!",
"notice_desc": "菜单 » 设置 » OSC » 启用",
"field_target": "目标",
"btn_send_test": "发送测试",

"textbox_title": "VRC 文本框设置",
"textbox_show_indicator": "显示指示器",

"kfi_title": "KillFrenzy 设置",
"kfi_split_large": "拆分长消息",
"kfi_hide_after": "延迟关闭",
"kfi_sync_points": "同步点",
"kfi_sync_delay": "同步延迟",
"kfi_visibility_key": "Visiblity key",
"kfi_pointer_key": "Pointer key",
"kfi_chat_sync_key": "Char Sync key"
},
"scenes": {
"title": "画布和场景",
"section_canvas": "画布",
"section_scenes": "场景",
"field_canvas_size": "画布大小",
"scene_menu_title": "场景",
"btn_add_scene": "添加场景",
"btn_duplicate_scene": "复制场景",
"btn_remove_scene": "删除场景"
},
"text": {
"field_preview": "预览",
"section_text_source": "文本源",
"section_text_source_desc": "从哪里获取文本",
"field_text_profanity_mask": "脏话屏蔽",

"section_font": "字体",
"section_font_desc": "颜色, 大小, 阴影, 轮廓",
"font_color": "颜色",
"font_interim_color": "过渡颜色",
"font_profanity_color": "脏话颜色",
"font_profanity_interim_color": "脏话过渡颜色",
"font_size": "大小",
"font_family": "字体",
"font_weight": "粗细",
"font_case": "大小写",
"font_horizontal_align": "水平对齐",
"font_vertical_align": "竖直对齐",
"font_line_height": "行间距",

"section_text_shadow": "文本阴影",
"text_shadow_position": "位置",
"text_shadow_blur": "模糊",
"text_shadow_color": "颜色",

"section_text_outline": "轮廓",
"text_outline_size": "大小",
"text_outline_color": "颜色",

"section_box": "文本框",
"section_box_desc": "背景, 边框, 大小",
"box_auto_width": "自动宽度",
"box_auto_height": "自动高度",
"box_horizontal_align": "水平对齐",
"box_vertical_align": "垂直对齐",
"box_text_padding": "文本填充",
"box_horizontal_offset": "水平偏移",
"box_vertical_offset": "垂直偏移",

"section_box_shadow": "文本阴影",
"box_shadow_position": "位置",
"box_shadow_blur": "模糊",
"box_shadow_spread": "模糊",
"box_shadow_color": "颜色",

"section_box_background": "背景",
"box_bg_type": "类型",
"box_bg_type_solid": "全填充",
"box_bg_type_slice": "9-Slice",
"box_bg_image": "图片",
"box_bg_color": "颜色",
"section_box_bg_border": "圆角",
"box_bg_border_radius": "半径",
"box_bg_border_width": "宽度",
"box_bg_border_color": "颜色",
"section_box_bg_slice": "切片设置",
"box_bg_slice_tile": "Tile 尺寸",
"box_bg_slice_top": "顶部",
"box_bg_slice_right": "右侧",
"box_bg_slice_bottom": "底部",
"box_bg_slice_left": "左侧",

"section_behaviour": "行为",
"section_behaviour_desc": "自动清理和动画",
"section_animation": "动画",
"animation_interval": "动画间隔",
"animation_interval_characters": "字符",
"animation_interval_words": "词语",
"animation_interval_sentences": "句子",
"animation_emit_event": "事件",
"btn_copy_event_css": "复制事件 css",

"section_cleanup": "清理",
"cleanup_clear_after": "清除之后的文本",
"cleanup_clear_animation_delay": "清除动画延迟",
"cleanup_replace_previous_sentence": "替换前一句",

"section_effects": "效果",
"section_effects_desc": "声音和粒子",
"section_audio": "音频",
"audio_typing_sound": "打字声音",
"audio_new_sentence_sound": "新句声音",
"audio_show_sound": "显示声音",
"audio_hide_sound": "隐藏声音",
"audio_params": "参数",
"audio_detune": "降噪",
"audio_playback": "回放",

"section_particles": "粒子",
"particles_first": "粒子 1",
"particles_second": "粒子 2",
"particles_third": "粒子 3",
"particles_params": "粒子参数",
"particles_number": "数量",
"particles_duration": "持续时间",
"particles_direction_x": "X",
"particles_direction_y": "Y",
"particles_scale": "范围",
"particles_rotation": "旋转",

"section_css": "CSS 样式"
},
"avatar": {
"section_base_style": "基础样式",
"section_css": "CSS 编辑",
"section_active_style": "活动时的风格",
"field_opacity": "不透明度",
"field_duration": "持续时间",
"field_transition_duration": "过渡持续时间",
"field_active_on": "在活动时激活"
},
"files": {
"title": "文件",
"add_file": "添加文件",
"type_image": "图片",
"type_sound": "声音",
"type_font": "字体",
"btn_copy_reference": "复制索引",
"btn_uninstall_font": "卸载字体",
"btn_select_library": "从字体库中选择",
"btn_change_file": "更改文件",
"btn_clear_file": "清除"
},
"select_file": {
"title": "选择文件"
},
"font_select": {
"available_fonts": "可用字体",
"install_google": "从 Google 字体安装",
"install_google_desc": "在这儿粘贴文字,在 Google 字体中搜索.",
"btn_install": "从系统文件安装"
}
}
Loading

0 comments on commit c1e787c

Please sign in to comment.