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

Cn language support #982

Merged
merged 4 commits into from
Nov 5, 2024
Merged
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
61 changes: 30 additions & 31 deletions buzz/locale/zh_CN/LC_MESSAGES/buzz.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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:"
Expand All @@ -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..."
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand All @@ -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
Expand All @@ -538,7 +537,7 @@ msgstr "导入媒体文件..."

#: buzz/widgets/menu_bar.py:44
msgid "About"
msgstr ""
msgstr "关于"

#: buzz/widgets/menu_bar.py:48
msgid "Preferences..."
Expand Down Expand Up @@ -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"
Expand All @@ -592,7 +591,7 @@ msgstr "打开偏好设置窗口"
#: buzz/settings/shortcut.py:22
#, fuzzy
msgid "View Transcript Text"
msgstr ""
msgstr "查看识别的文本"

#: buzz/settings/shortcut.py:23
#, fuzzy
Expand Down
Loading