From df63b9d05a5593bcf128bc736a1008b616905eed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Li=20Chenghao=20=28=E6=9D=8E=E6=88=90=E6=B5=A9=29?= <94270615+Chenghao999@users.noreply.github.com> Date: Wed, 6 Nov 2024 02:13:22 +0800 Subject: [PATCH] Cn language support (#982) Co-authored-by: Raivis Dejus --- buzz/locale/zh_CN/LC_MESSAGES/buzz.po | 61 +++++++++++++-------------- 1 file changed, 30 insertions(+), 31 deletions(-) diff --git a/buzz/locale/zh_CN/LC_MESSAGES/buzz.po b/buzz/locale/zh_CN/LC_MESSAGES/buzz.po index 99079a334..ffbdf1b50 100644 --- a/buzz/locale/zh_CN/LC_MESSAGES/buzz.po +++ b/buzz/locale/zh_CN/LC_MESSAGES/buzz.po @@ -20,11 +20,11 @@ msgstr "" #: buzz/widgets/import_url_dialog.py:19 buzz/settings/shortcut.py:19 msgid "Import URL" -msgstr "" +msgstr "导入URL" #: buzz/widgets/import_url_dialog.py:22 msgid "https://example.com/audio.mp3" -msgstr "" +msgstr "https://example.com/audio.mp3" #: buzz/widgets/import_url_dialog.py:28 #: buzz/widgets/preferences_dialog/preferences_dialog.py:69 @@ -33,7 +33,7 @@ msgstr "" #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:295 #: buzz/widgets/main_window.py:234 msgid "Ok" -msgstr "" +msgstr "Ok" #: buzz/widgets/import_url_dialog.py:29 #: buzz/widgets/preferences_dialog/preferences_dialog.py:70 @@ -46,7 +46,7 @@ msgstr "取消" #: buzz/widgets/import_url_dialog.py:34 msgid "URL:" -msgstr "网址" +msgstr "网址:" #: buzz/widgets/import_url_dialog.py:44 msgid "Invalid URL" @@ -74,7 +74,7 @@ msgstr "OpenAI API key" #: buzz/widgets/preferences_dialog/general_preferences_widget.py:80 msgid "OpenAI base url" -msgstr "OpenAI base url" +msgstr "OpenAI 基于 url" #: buzz/widgets/preferences_dialog/general_preferences_widget.py:89 msgid "Default export file name" @@ -109,9 +109,7 @@ msgid "" "Your API key is valid. Buzz will use this key to perform Whisper API " "transcriptions and AI translations." msgstr "" -“您的API密钥有效。Buzz将使用此密钥执行Whisper API” -“转录和人工智能翻译。” - +“您的API密钥有效。Buzz将使用此密钥执行 Whisper API 识别和 AI 翻译。” #: buzz/widgets/preferences_dialog/general_preferences_widget.py:173 msgid "Invalid API key" @@ -122,6 +120,7 @@ msgid "" "API supports only base64 characters (A-Za-z0-9+/=). Other characters in API " "key may cause errors." msgstr "" +"API只支持 base64字符(A-Za-z0-9+/=)。其他字符在API密钥中可能导致错误。" #: buzz/widgets/preferences_dialog/general_preferences_widget.py:192 msgid "Select Export Folder" @@ -185,7 +184,7 @@ msgstr "组" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:82 msgid "Huggingface ID of a Faster whisper model" -msgstr "更快的Whisper模型的Huggingface ID" +msgstr "较快的Whisper模型的Huggingface ID" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:94 #, fuzzy @@ -198,20 +197,20 @@ msgstr "查看文件位置" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:107 msgid "Delete" -msgstr "" +msgstr "删除" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:138 #, fuzzy msgid "Downloaded" -msgstr "下载模型" +msgstr "已下载的" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:143 msgid "Available for Download" -msgstr "删除" +msgstr "可用的下载" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:164 msgid "Download link to Whisper.cpp ggml model file" -msgstr "" +msgstr "Whisper.cpp ggml 模型文件的下载链接" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:239 msgid "Delete Model" @@ -220,12 +219,12 @@ msgstr "删除模型" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:240 #, fuzzy msgid "Are you sure you want to delete the selected model?" -msgstr "您确定要删除所选录制吗?此操作无法撤消。" +msgstr "您确定要删除所选录制吗?" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:268 #, fuzzy msgid "Download failed" -msgstr "下载模型" +msgstr "下载模型失败" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:269 #: buzz/widgets/main_window.py:291 buzz/model_loader.py:503 @@ -288,7 +287,7 @@ msgstr "逗号分隔,例如\"0.0, 0.2, 0.4, 0.6, 0.8, 1.0\"" #: buzz/widgets/transcriber/advanced_settings_dialog.py:55 msgid "Temperature:" -msgstr "温度:" +msgstr "" #: buzz/widgets/transcriber/advanced_settings_dialog.py:66 msgid "Initial Prompt:" @@ -305,7 +304,7 @@ msgstr "启用AI翻译" #: buzz/widgets/transcriber/advanced_settings_dialog.py:84 #, fuzzy msgid "AI model:" -msgstr "模型:" +msgstr "AI 模型:" #: buzz/widgets/transcriber/advanced_settings_dialog.py:88 msgid "Enter instructions for AI on how to translate..." @@ -329,7 +328,7 @@ msgstr "模型的Huggingface ID " #: buzz/widgets/transcriber/advanced_settings_button.py:9 msgid "Advanced..." -msgstr "高级设置" +msgstr "高级..." #: buzz/widgets/main_window_toolbar.py:39 msgid "New Transcription" @@ -366,17 +365,17 @@ msgstr "取消" #: buzz/widgets/transcription_tasks_table_widget.py:79 msgid "Queued" -msgstr "" +msgstr "队列中" #: buzz/widgets/transcription_tasks_table_widget.py:86 #, fuzzy msgid "File Name / URL" -msgstr "文件名称" +msgstr "文件名称/URL" #: buzz/widgets/transcription_tasks_table_widget.py:98 #, fuzzy msgid "Model" -msgstr "模型:" +msgstr "模型" #: buzz/widgets/transcription_tasks_table_widget.py:107 #, fuzzy @@ -458,7 +457,7 @@ msgstr "查看" #: buzz/widgets/transcription_viewer/transcription_view_mode_tool_button.py:46 msgid "Timestamps" -msgstr "" +msgstr "时间戳" #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:156 msgid "Export" @@ -483,11 +482,11 @@ msgstr "请在偏好设置中输入OpenAI API Key" #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:297 msgid "Desired subtitle length" -msgstr "" +msgstr "所需字幕长度" #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:298 msgid "Enter target characters per subtitle:" -msgstr "" +msgstr "为每个字幕输入目标字符:" #: buzz/widgets/transcription_viewer/export_transcription_menu.py:78 #, fuzzy @@ -500,22 +499,22 @@ msgstr "文本文件" #: buzz/widgets/snap_notice.py:9 msgid "Snap permission notice" -msgstr "" +msgstr "快照权限通知" #: buzz/widgets/snap_notice.py:13 msgid "" "Detected missing permissions, please check that snap permissions have been " "granted" -msgstr "" +msgstr "检测到缺少权限,请检查是否已获得快照权限" #: buzz/widgets/snap_notice.py:16 msgid "" "To enable necessary permissions run the following commands in the terminal" -msgstr "" +msgstr "要启用必要的权限,请在终端中运行以下命令" #: buzz/widgets/snap_notice.py:30 msgid "Close" -msgstr "" +msgstr "关闭" #: buzz/widgets/model_download_progress_dialog.py:36 #, fuzzy @@ -538,7 +537,7 @@ msgstr "导入媒体文件..." #: buzz/widgets/menu_bar.py:44 msgid "About" -msgstr "" +msgstr "关于" #: buzz/widgets/menu_bar.py:48 msgid "Preferences..." @@ -569,7 +568,7 @@ msgstr "无法将OpenAI API密钥保存到密钥串" #: buzz/transcriber/transcriber.py:25 #, fuzzy msgid "Transcribe" -msgstr "转换" +msgstr "识别" #: buzz/model_loader.py:532 msgid "A connection error occurred" @@ -592,7 +591,7 @@ msgstr "打开偏好设置窗口" #: buzz/settings/shortcut.py:22 #, fuzzy msgid "View Transcript Text" -msgstr "" +msgstr "查看识别的文本" #: buzz/settings/shortcut.py:23 #, fuzzy