From 5165e953f0f1db2f39bd1a1634c0809c368aa33d Mon Sep 17 00:00:00 2001 From: Raivis Dejus Date: Sun, 24 Nov 2024 11:59:35 +0200 Subject: [PATCH] Adding url import icon to main toolbar (#1004) --- README.md | 5 ++ buzz/assets/url.svg | 19 ++++++ buzz/locale/ca_ES/LC_MESSAGES/buzz.po | 60 ++++++++++--------- buzz/locale/es_ES/LC_MESSAGES/buzz.po | 61 ++++++++++--------- buzz/locale/it_IT/LC_MESSAGES/buzz.po | 84 +++++++++++++++------------ buzz/locale/ja_JP/LC_MESSAGES/buzz.po | 60 ++++++++++--------- buzz/locale/lv_LV/LC_MESSAGES/buzz.po | 62 +++++++++++--------- buzz/locale/pl_PL/LC_MESSAGES/buzz.po | 60 ++++++++++--------- buzz/locale/uk_UA/LC_MESSAGES/buzz.po | 60 ++++++++++--------- buzz/locale/zh_CN/LC_MESSAGES/buzz.po | 68 ++++++++++++---------- buzz/locale/zh_TW/LC_MESSAGES/buzz.po | 60 ++++++++++--------- buzz/widgets/icon.py | 1 + buzz/widgets/main_window.py | 3 + buzz/widgets/main_window_toolbar.py | 17 +++++- docs/docs/cli.md | 2 +- docs/docs/faq.md | 16 ++--- tests/widgets/main_window_test.py | 2 +- 17 files changed, 368 insertions(+), 272 deletions(-) create mode 100644 buzz/assets/url.svg diff --git a/README.md b/README.md index 3b2739766..355149278 100644 --- a/README.md +++ b/README.md @@ -56,3 +56,8 @@ sudo snap connect buzz:password-manager-service sudo snap connect buzz:pulseaudio sudo snap connect buzz:removable-media ``` + + +### Latest development version + +For info on how to get latest development version with latest features and bug fixes see [FAQ](https://chidiwilliams.github.io/buzz/docs/faq#9-where-can-i-get-latest-development-version). \ No newline at end of file diff --git a/buzz/assets/url.svg b/buzz/assets/url.svg new file mode 100644 index 000000000..3b193417b --- /dev/null +++ b/buzz/assets/url.svg @@ -0,0 +1,19 @@ + + + + + url [#1423] + Created with Sketch. + + + + + + + + + + + + + \ No newline at end of file diff --git a/buzz/locale/ca_ES/LC_MESSAGES/buzz.po b/buzz/locale/ca_ES/LC_MESSAGES/buzz.po index a4a79d71f..dcf9d0dbd 100644 --- a/buzz/locale/ca_ES/LC_MESSAGES/buzz.po +++ b/buzz/locale/ca_ES/LC_MESSAGES/buzz.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: buzz\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-03 08:32+0200\n" +"POT-Creation-Date: 2024-11-23 22:16+0200\n" "PO-Revision-Date: 2023-02-15 05:01+0000\n" "Last-Translator: Jordi Mas i Hernàndez \n" "Language-Team: Catalan \n" @@ -29,7 +29,7 @@ msgstr "" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:245 #: buzz/widgets/transcriber/advanced_settings_dialog.py:97 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:295 -#: buzz/widgets/main_window.py:234 +#: buzz/widgets/main_window.py:239 msgid "Ok" msgstr "" @@ -38,7 +38,7 @@ msgstr "" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:246 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:296 #: buzz/widgets/model_download_progress_dialog.py:29 -#: buzz/widgets/main_window.py:235 +#: buzz/widgets/main_window.py:240 #, fuzzy msgid "Cancel" msgstr "Cancel·lat" @@ -218,12 +218,12 @@ msgid "Download failed" msgstr "Baixat" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:269 -#: buzz/widgets/main_window.py:291 buzz/model_loader.py:503 +#: buzz/widgets/main_window.py:296 buzz/model_loader.py:503 msgid "Error" msgstr "Error" #: buzz/widgets/record_button.py:10 buzz/widgets/record_button.py:17 -#: buzz/widgets/main_window_toolbar.py:35 +#: buzz/widgets/main_window_toolbar.py:37 msgid "Record" msgstr "Enregistra" @@ -248,15 +248,15 @@ msgstr "Model:" msgid "First time use of a model may take up to several minutest to load." msgstr "" -#: buzz/widgets/transcriber/transcription_options_group_box.py:113 +#: buzz/widgets/transcriber/transcription_options_group_box.py:114 msgid "Api Key:" msgstr "" -#: buzz/widgets/transcriber/transcription_options_group_box.py:114 +#: buzz/widgets/transcriber/transcription_options_group_box.py:115 msgid "Task:" msgstr "Tasca:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:115 +#: buzz/widgets/transcriber/transcription_options_group_box.py:116 msgid "Language:" msgstr "Idioma:" @@ -321,67 +321,73 @@ msgstr "" msgid "Advanced..." msgstr "" -#: buzz/widgets/main_window_toolbar.py:39 -msgid "New Transcription" +#: buzz/widgets/main_window_toolbar.py:41 +#, fuzzy +msgid "New File Transcription" +msgstr "Transcripció nova" + +#: buzz/widgets/main_window_toolbar.py:48 +#, fuzzy +msgid "New URL Transcription" msgstr "Transcripció nova" -#: buzz/widgets/main_window_toolbar.py:46 +#: buzz/widgets/main_window_toolbar.py:55 msgid "Open Transcript" msgstr "Obre una transcripció" -#: buzz/widgets/main_window_toolbar.py:52 buzz/settings/shortcut.py:27 +#: buzz/widgets/main_window_toolbar.py:61 buzz/settings/shortcut.py:27 msgid "Cancel Transcription" msgstr "Cancel·la la transcripció" -#: buzz/widgets/main_window_toolbar.py:60 buzz/widgets/main_window.py:223 +#: buzz/widgets/main_window_toolbar.py:69 buzz/widgets/main_window.py:228 #: buzz/settings/shortcut.py:26 msgid "Clear History" msgstr "Neteja l'historial" -#: buzz/widgets/transcription_tasks_table_widget.py:64 +#: buzz/widgets/transcription_tasks_table_widget.py:66 msgid "In Progress" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:67 +#: buzz/widgets/transcription_tasks_table_widget.py:69 msgid "Completed" msgstr "Completat" -#: buzz/widgets/transcription_tasks_table_widget.py:74 +#: buzz/widgets/transcription_tasks_table_widget.py:76 msgid "Failed" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:77 +#: buzz/widgets/transcription_tasks_table_widget.py:79 msgid "Canceled" msgstr "Cancel·lat" -#: buzz/widgets/transcription_tasks_table_widget.py:79 +#: buzz/widgets/transcription_tasks_table_widget.py:81 msgid "Queued" msgstr "A la cua" -#: buzz/widgets/transcription_tasks_table_widget.py:86 +#: buzz/widgets/transcription_tasks_table_widget.py:88 #, fuzzy msgid "File Name / URL" msgstr "Nom del fitxer" -#: buzz/widgets/transcription_tasks_table_widget.py:98 +#: buzz/widgets/transcription_tasks_table_widget.py:100 #, fuzzy msgid "Model" msgstr "Model:" -#: buzz/widgets/transcription_tasks_table_widget.py:107 +#: buzz/widgets/transcription_tasks_table_widget.py:109 #, fuzzy msgid "Task" msgstr "Tasca:" -#: buzz/widgets/transcription_tasks_table_widget.py:116 +#: buzz/widgets/transcription_tasks_table_widget.py:118 msgid "Status" msgstr "Estat" -#: buzz/widgets/transcription_tasks_table_widget.py:124 +#: buzz/widgets/transcription_tasks_table_widget.py:126 msgid "Date Added" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:135 +#: buzz/widgets/transcription_tasks_table_widget.py:137 #, fuzzy msgid "Date Completed" msgstr "Completat" @@ -543,7 +549,7 @@ msgstr "Ajuda" msgid "File" msgstr "Fitxer" -#: buzz/widgets/main_window.py:227 +#: buzz/widgets/main_window.py:232 msgid "" "Are you sure you want to delete the selected transcription(s)? This action " "cannot be undone." @@ -551,11 +557,11 @@ msgstr "" "Esteu segur que voleu suprimir les transcripcions seleccionades? Aquesta " "acció no es pot desfer." -#: buzz/widgets/main_window.py:255 +#: buzz/widgets/main_window.py:260 msgid "Select audio file" msgstr "Selecciona un fitxer d'àudio" -#: buzz/widgets/main_window.py:291 +#: buzz/widgets/main_window.py:296 msgid "Unable to save OpenAI API key to keyring" msgstr "" diff --git a/buzz/locale/es_ES/LC_MESSAGES/buzz.po b/buzz/locale/es_ES/LC_MESSAGES/buzz.po index fa32fa7e0..62568db34 100644 --- a/buzz/locale/es_ES/LC_MESSAGES/buzz.po +++ b/buzz/locale/es_ES/LC_MESSAGES/buzz.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-03 08:32+0200\n" +"POT-Creation-Date: 2024-11-23 22:16+0200\n" "PO-Revision-Date: 2023-11-09 04:35-0600\n" "Last-Translator: Adolfo Jayme Barrientos \n" "Language-Team: \n" @@ -30,7 +30,7 @@ msgstr "" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:245 #: buzz/widgets/transcriber/advanced_settings_dialog.py:97 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:295 -#: buzz/widgets/main_window.py:234 +#: buzz/widgets/main_window.py:239 msgid "Ok" msgstr "" @@ -39,7 +39,7 @@ msgstr "" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:246 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:296 #: buzz/widgets/model_download_progress_dialog.py:29 -#: buzz/widgets/main_window.py:235 +#: buzz/widgets/main_window.py:240 #, fuzzy msgid "Cancel" msgstr "Cancelado" @@ -224,13 +224,13 @@ msgid "Download failed" msgstr "Descargado" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:269 -#: buzz/widgets/main_window.py:291 buzz/model_loader.py:503 +#: buzz/widgets/main_window.py:296 buzz/model_loader.py:503 msgid "Error" msgstr "Error" # automatic translation #: buzz/widgets/record_button.py:10 buzz/widgets/record_button.py:17 -#: buzz/widgets/main_window_toolbar.py:35 +#: buzz/widgets/main_window_toolbar.py:37 msgid "Record" msgstr "Grabar" @@ -259,17 +259,17 @@ msgstr "Modelo:" msgid "First time use of a model may take up to several minutest to load." msgstr "" -#: buzz/widgets/transcriber/transcription_options_group_box.py:113 +#: buzz/widgets/transcriber/transcription_options_group_box.py:114 msgid "Api Key:" msgstr "" # automatic translation -#: buzz/widgets/transcriber/transcription_options_group_box.py:114 +#: buzz/widgets/transcriber/transcription_options_group_box.py:115 msgid "Task:" msgstr "Tarea:" # automatic translation -#: buzz/widgets/transcriber/transcription_options_group_box.py:115 +#: buzz/widgets/transcriber/transcription_options_group_box.py:116 msgid "Language:" msgstr "Idioma:" @@ -341,73 +341,80 @@ msgid "Advanced..." msgstr "" # automatic translation -#: buzz/widgets/main_window_toolbar.py:39 -msgid "New Transcription" +#: buzz/widgets/main_window_toolbar.py:41 +#, fuzzy +msgid "New File Transcription" msgstr "Transcripción nueva" # automatic translation -#: buzz/widgets/main_window_toolbar.py:46 +#: buzz/widgets/main_window_toolbar.py:48 +#, fuzzy +msgid "New URL Transcription" +msgstr "Transcripción nueva" + +# automatic translation +#: buzz/widgets/main_window_toolbar.py:55 msgid "Open Transcript" msgstr "Abrir transcripción" # automatic translation -#: buzz/widgets/main_window_toolbar.py:52 buzz/settings/shortcut.py:27 +#: buzz/widgets/main_window_toolbar.py:61 buzz/settings/shortcut.py:27 msgid "Cancel Transcription" msgstr "Cancelar transcripción" # automatic translation -#: buzz/widgets/main_window_toolbar.py:60 buzz/widgets/main_window.py:223 +#: buzz/widgets/main_window_toolbar.py:69 buzz/widgets/main_window.py:228 #: buzz/settings/shortcut.py:26 msgid "Clear History" msgstr "Vaciar historial" -#: buzz/widgets/transcription_tasks_table_widget.py:64 +#: buzz/widgets/transcription_tasks_table_widget.py:66 msgid "In Progress" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:67 +#: buzz/widgets/transcription_tasks_table_widget.py:69 msgid "Completed" msgstr "Completado" -#: buzz/widgets/transcription_tasks_table_widget.py:74 +#: buzz/widgets/transcription_tasks_table_widget.py:76 msgid "Failed" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:77 +#: buzz/widgets/transcription_tasks_table_widget.py:79 msgid "Canceled" msgstr "Cancelado" -#: buzz/widgets/transcription_tasks_table_widget.py:79 +#: buzz/widgets/transcription_tasks_table_widget.py:81 msgid "Queued" msgstr "En cola" # automatic translation -#: buzz/widgets/transcription_tasks_table_widget.py:86 +#: buzz/widgets/transcription_tasks_table_widget.py:88 #, fuzzy msgid "File Name / URL" msgstr "Nombre de archivo" # automatic translation -#: buzz/widgets/transcription_tasks_table_widget.py:98 +#: buzz/widgets/transcription_tasks_table_widget.py:100 #, fuzzy msgid "Model" msgstr "Modelo:" # automatic translation -#: buzz/widgets/transcription_tasks_table_widget.py:107 +#: buzz/widgets/transcription_tasks_table_widget.py:109 #, fuzzy msgid "Task" msgstr "Tarea:" -#: buzz/widgets/transcription_tasks_table_widget.py:116 +#: buzz/widgets/transcription_tasks_table_widget.py:118 msgid "Status" msgstr "Estado" -#: buzz/widgets/transcription_tasks_table_widget.py:124 +#: buzz/widgets/transcription_tasks_table_widget.py:126 msgid "Date Added" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:135 +#: buzz/widgets/transcription_tasks_table_widget.py:137 #, fuzzy msgid "Date Completed" msgstr "Completado" @@ -584,7 +591,7 @@ msgid "File" msgstr "Archivo" # automatic translation -#: buzz/widgets/main_window.py:227 +#: buzz/widgets/main_window.py:232 msgid "" "Are you sure you want to delete the selected transcription(s)? This action " "cannot be undone." @@ -593,11 +600,11 @@ msgstr "" "no se puede deshacer." # automatic translation -#: buzz/widgets/main_window.py:255 +#: buzz/widgets/main_window.py:260 msgid "Select audio file" msgstr "Seleccionar archivo de audio" -#: buzz/widgets/main_window.py:291 +#: buzz/widgets/main_window.py:296 msgid "Unable to save OpenAI API key to keyring" msgstr "" diff --git a/buzz/locale/it_IT/LC_MESSAGES/buzz.po b/buzz/locale/it_IT/LC_MESSAGES/buzz.po index a4c8cc31f..a7930e52d 100644 --- a/buzz/locale/it_IT/LC_MESSAGES/buzz.po +++ b/buzz/locale/it_IT/LC_MESSAGES/buzz.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: buzz\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-03 08:32+0200\n" +"POT-Creation-Date: 2024-11-23 22:17+0200\n" "PO-Revision-Date: 2024-11-03 11:22+0100\n" "Language-Team: (Italiano) Albano Battistella \n" "Language: it_IT\n" @@ -29,7 +29,7 @@ msgstr "https://esempio.com/audio.mp3" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:245 #: buzz/widgets/transcriber/advanced_settings_dialog.py:97 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:295 -#: buzz/widgets/main_window.py:234 +#: buzz/widgets/main_window.py:239 msgid "Ok" msgstr "Ok" @@ -38,7 +38,7 @@ msgstr "Ok" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:246 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:296 #: buzz/widgets/model_download_progress_dialog.py:29 -#: buzz/widgets/main_window.py:235 +#: buzz/widgets/main_window.py:240 msgid "Cancel" msgstr "Annulla" @@ -88,11 +88,11 @@ msgstr "Abilita l'esportazione della trascrizione della registrazione live" msgid "Browse" msgstr "Sfoglia" -#: buzz/widgets/preferences_dialog/general_preferences_widget.py:119 +#: buzz/widgets/preferences_dialog/general_preferences_widget.py:120 msgid "Export folder" msgstr "Esporta cartella" -#: buzz/widgets/preferences_dialog/general_preferences_widget.py:130 +#: buzz/widgets/preferences_dialog/general_preferences_widget.py:131 msgid "Live recording mode" msgstr "Modalità di registrazione in diretta" @@ -109,7 +109,7 @@ msgstr "" "La tua chiave API è valida. Buzz utilizzerà questa chiave per eseguire le " "trascrizioni API Whisper e le traduzioni AI." -#: buzz/widgets/preferences_dialog/general_preferences_widget.py:172 +#: buzz/widgets/preferences_dialog/general_preferences_widget.py:173 msgid "Invalid API key" msgstr "Chiave API non valida" @@ -118,8 +118,8 @@ msgid "" "API supports only base64 characters (A-Za-z0-9+/=). Other characters in API " "key may cause errors." msgstr "" -"L'API supporta solo caratteri base64 (A-Za-z0-9+/=). Altri caratteri nella chiave API " -"potrebbero causare errori." +"L'API supporta solo caratteri base64 (A-Za-z0-9+/=). Altri caratteri nella " +"chiave API potrebbero causare errori." #: buzz/widgets/preferences_dialog/general_preferences_widget.py:192 msgid "Select Export Folder" @@ -131,8 +131,9 @@ msgid "" "Transcription and translation may still work if the API does not support key " "validation." msgstr "" -"L'API OpenAI ha restituito una risposta non valida. Controlla l'URL dell'API o la tua chiave." -"La trascrizione e la traduzione potrebbero comunque funzionare se l'API non supporta la convalida della chiave." +"L'API OpenAI ha restituito una risposta non valida. Controlla l'URL dell'API " +"o la tua chiave.La trascrizione e la traduzione potrebbero comunque " +"funzionare se l'API non supporta la convalida della chiave." #: buzz/widgets/preferences_dialog/folder_watch_preferences_widget.py:42 msgid "Enable folder watch" @@ -214,17 +215,17 @@ msgstr "Elimina modello" msgid "Are you sure you want to delete the selected model?" msgstr "Sei sicuro di voler eliminare il modello selezionato?" -#: buzz/widgets/preferences_dialog/models_preferences_widget.py:267 +#: buzz/widgets/preferences_dialog/models_preferences_widget.py:268 msgid "Download failed" msgstr "Download non riuscito" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:269 -#: buzz/widgets/main_window.py:291 buzz/model_loader.py:503 +#: buzz/widgets/main_window.py:296 buzz/model_loader.py:503 msgid "Error" msgstr "Errore" #: buzz/widgets/record_button.py:10 buzz/widgets/record_button.py:17 -#: buzz/widgets/main_window_toolbar.py:35 +#: buzz/widgets/main_window_toolbar.py:37 msgid "Record" msgstr "Registra" @@ -249,15 +250,15 @@ msgstr "Modello:" msgid "First time use of a model may take up to several minutest to load." msgstr "" -#: buzz/widgets/transcriber/transcription_options_group_box.py:113 +#: buzz/widgets/transcriber/transcription_options_group_box.py:114 msgid "Api Key:" msgstr "Chiave API:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:114 +#: buzz/widgets/transcriber/transcription_options_group_box.py:115 msgid "Task:" msgstr "Compito:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:115 +#: buzz/widgets/transcriber/transcription_options_group_box.py:116 msgid "Language:" msgstr "Lingua:" @@ -321,64 +322,70 @@ msgstr "ID Huggingface di un modello" msgid "Advanced..." msgstr "Avanzate..." -#: buzz/widgets/main_window_toolbar.py:39 -msgid "New Transcription" +#: buzz/widgets/main_window_toolbar.py:41 +#, fuzzy +msgid "New File Transcription" +msgstr "Nuova trascrizione" + +#: buzz/widgets/main_window_toolbar.py:48 +#, fuzzy +msgid "New URL Transcription" msgstr "Nuova trascrizione" -#: buzz/widgets/main_window_toolbar.py:46 +#: buzz/widgets/main_window_toolbar.py:55 msgid "Open Transcript" msgstr "Apri trascrizione" -#: buzz/widgets/main_window_toolbar.py:52 buzz/settings/shortcut.py:27 +#: buzz/widgets/main_window_toolbar.py:61 buzz/settings/shortcut.py:27 msgid "Cancel Transcription" msgstr "Annulla trascrizione" -#: buzz/widgets/main_window_toolbar.py:60 buzz/widgets/main_window.py:223 +#: buzz/widgets/main_window_toolbar.py:69 buzz/widgets/main_window.py:228 #: buzz/settings/shortcut.py:26 msgid "Clear History" msgstr "Elimina la cronologia" -#: buzz/widgets/transcription_tasks_table_widget.py:64 +#: buzz/widgets/transcription_tasks_table_widget.py:66 msgid "In Progress" msgstr "In corso" -#: buzz/widgets/transcription_tasks_table_widget.py:67 +#: buzz/widgets/transcription_tasks_table_widget.py:69 msgid "Completed" msgstr "Completato" -#: buzz/widgets/transcription_tasks_table_widget.py:74 +#: buzz/widgets/transcription_tasks_table_widget.py:76 msgid "Failed" msgstr "Non riuscito" -#: buzz/widgets/transcription_tasks_table_widget.py:77 +#: buzz/widgets/transcription_tasks_table_widget.py:79 msgid "Canceled" msgstr "Annullato" -#: buzz/widgets/transcription_tasks_table_widget.py:79 +#: buzz/widgets/transcription_tasks_table_widget.py:81 msgid "Queued" msgstr "In coda" -#: buzz/widgets/transcription_tasks_table_widget.py:86 +#: buzz/widgets/transcription_tasks_table_widget.py:88 msgid "File Name / URL" msgstr "Nome file / URL" -#: buzz/widgets/transcription_tasks_table_widget.py:98 +#: buzz/widgets/transcription_tasks_table_widget.py:100 msgid "Model" msgstr "Modello" -#: buzz/widgets/transcription_tasks_table_widget.py:107 +#: buzz/widgets/transcription_tasks_table_widget.py:109 msgid "Task" msgstr "Compito" -#: buzz/widgets/transcription_tasks_table_widget.py:116 +#: buzz/widgets/transcription_tasks_table_widget.py:118 msgid "Status" msgstr "Stato" -#: buzz/widgets/transcription_tasks_table_widget.py:124 +#: buzz/widgets/transcription_tasks_table_widget.py:126 msgid "Date Added" msgstr "Data aggiunta" -#: buzz/widgets/transcription_tasks_table_widget.py:135 +#: buzz/widgets/transcription_tasks_table_widget.py:137 msgid "Date Completed" msgstr "Data completata" @@ -494,14 +501,15 @@ msgid "" "Detected missing permissions, please check that snap permissions have been " "granted" msgstr "" -"Rilevate autorizzazioni mancanti, verificare che le autorizzazioni snap siano state " -"concesse" +"Rilevate autorizzazioni mancanti, verificare che le autorizzazioni snap " +"siano state concesse" #: buzz/widgets/snap_notice.py:16 msgid "" "To enable necessary permissions run the following commands in the terminal" msgstr "" -"Per abilitare le autorizzazioni necessarie, eseguire i seguenti comandi nel terminale" +"Per abilitare le autorizzazioni necessarie, eseguire i seguenti comandi nel " +"terminale" #: buzz/widgets/snap_notice.py:30 msgid "Close" @@ -539,7 +547,7 @@ msgstr "Aiuto" msgid "File" msgstr "File" -#: buzz/widgets/main_window.py:227 +#: buzz/widgets/main_window.py:232 msgid "" "Are you sure you want to delete the selected transcription(s)? This action " "cannot be undone." @@ -547,11 +555,11 @@ msgstr "" "Sei certo di voler eliminare le trascrizioni selezionate? Questa azione non " "può essere annullata." -#: buzz/widgets/main_window.py:255 +#: buzz/widgets/main_window.py:260 msgid "Select audio file" msgstr "Seleziona file audio" -#: buzz/widgets/main_window.py:291 +#: buzz/widgets/main_window.py:296 msgid "Unable to save OpenAI API key to keyring" msgstr "Impossibile salvare la chiave API OpenAI nel portachiavi" diff --git a/buzz/locale/ja_JP/LC_MESSAGES/buzz.po b/buzz/locale/ja_JP/LC_MESSAGES/buzz.po index 999ae0c10..5ebab17ae 100644 --- a/buzz/locale/ja_JP/LC_MESSAGES/buzz.po +++ b/buzz/locale/ja_JP/LC_MESSAGES/buzz.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-03 08:32+0200\n" +"POT-Creation-Date: 2024-11-23 22:17+0200\n" "PO-Revision-Date: \n" "Last-Translator: nunawa <71294849+nunawa@users.noreply.github.com>\n" "Language-Team: \n" @@ -25,7 +25,7 @@ msgstr "https://example.com/audio.mp3" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:245 #: buzz/widgets/transcriber/advanced_settings_dialog.py:97 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:295 -#: buzz/widgets/main_window.py:234 +#: buzz/widgets/main_window.py:239 msgid "Ok" msgstr "Ok" @@ -34,7 +34,7 @@ msgstr "Ok" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:246 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:296 #: buzz/widgets/model_download_progress_dialog.py:29 -#: buzz/widgets/main_window.py:235 +#: buzz/widgets/main_window.py:240 msgid "Cancel" msgstr "キャンセル" @@ -216,12 +216,12 @@ msgid "Download failed" msgstr "ダウンロード失敗" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:269 -#: buzz/widgets/main_window.py:291 buzz/model_loader.py:503 +#: buzz/widgets/main_window.py:296 buzz/model_loader.py:503 msgid "Error" msgstr "エラー" #: buzz/widgets/record_button.py:10 buzz/widgets/record_button.py:17 -#: buzz/widgets/main_window_toolbar.py:35 +#: buzz/widgets/main_window_toolbar.py:37 msgid "Record" msgstr "録音する" @@ -246,15 +246,15 @@ msgstr "モデル:" msgid "First time use of a model may take up to several minutest to load." msgstr "" -#: buzz/widgets/transcriber/transcription_options_group_box.py:113 +#: buzz/widgets/transcriber/transcription_options_group_box.py:114 msgid "Api Key:" msgstr "APIキー:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:114 +#: buzz/widgets/transcriber/transcription_options_group_box.py:115 msgid "Task:" msgstr "タスク:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:115 +#: buzz/widgets/transcriber/transcription_options_group_box.py:116 msgid "Language:" msgstr "言語:" @@ -318,64 +318,70 @@ msgstr "モデルのHuggingface ID" msgid "Advanced..." msgstr "高度な設定..." -#: buzz/widgets/main_window_toolbar.py:39 -msgid "New Transcription" +#: buzz/widgets/main_window_toolbar.py:41 +#, fuzzy +msgid "New File Transcription" +msgstr "新しい文字起こし" + +#: buzz/widgets/main_window_toolbar.py:48 +#, fuzzy +msgid "New URL Transcription" msgstr "新しい文字起こし" -#: buzz/widgets/main_window_toolbar.py:46 +#: buzz/widgets/main_window_toolbar.py:55 msgid "Open Transcript" msgstr "文字起こしを開く" -#: buzz/widgets/main_window_toolbar.py:52 buzz/settings/shortcut.py:27 +#: buzz/widgets/main_window_toolbar.py:61 buzz/settings/shortcut.py:27 msgid "Cancel Transcription" msgstr "文字起こしをキャンセルする" -#: buzz/widgets/main_window_toolbar.py:60 buzz/widgets/main_window.py:223 +#: buzz/widgets/main_window_toolbar.py:69 buzz/widgets/main_window.py:228 #: buzz/settings/shortcut.py:26 msgid "Clear History" msgstr "履歴を削除する" -#: buzz/widgets/transcription_tasks_table_widget.py:64 +#: buzz/widgets/transcription_tasks_table_widget.py:66 msgid "In Progress" msgstr "進行中" -#: buzz/widgets/transcription_tasks_table_widget.py:67 +#: buzz/widgets/transcription_tasks_table_widget.py:69 msgid "Completed" msgstr "完了" -#: buzz/widgets/transcription_tasks_table_widget.py:74 +#: buzz/widgets/transcription_tasks_table_widget.py:76 msgid "Failed" msgstr "失敗" -#: buzz/widgets/transcription_tasks_table_widget.py:77 +#: buzz/widgets/transcription_tasks_table_widget.py:79 msgid "Canceled" msgstr "キャンセル済み" -#: buzz/widgets/transcription_tasks_table_widget.py:79 +#: buzz/widgets/transcription_tasks_table_widget.py:81 msgid "Queued" msgstr "キュー済み" -#: buzz/widgets/transcription_tasks_table_widget.py:86 +#: buzz/widgets/transcription_tasks_table_widget.py:88 msgid "File Name / URL" msgstr "ファイル名 / URL" -#: buzz/widgets/transcription_tasks_table_widget.py:98 +#: buzz/widgets/transcription_tasks_table_widget.py:100 msgid "Model" msgstr "モデル" -#: buzz/widgets/transcription_tasks_table_widget.py:107 +#: buzz/widgets/transcription_tasks_table_widget.py:109 msgid "Task" msgstr "タスク" -#: buzz/widgets/transcription_tasks_table_widget.py:116 +#: buzz/widgets/transcription_tasks_table_widget.py:118 msgid "Status" msgstr "ステータス" -#: buzz/widgets/transcription_tasks_table_widget.py:124 +#: buzz/widgets/transcription_tasks_table_widget.py:126 msgid "Date Added" msgstr "追加日" -#: buzz/widgets/transcription_tasks_table_widget.py:135 +#: buzz/widgets/transcription_tasks_table_widget.py:137 msgid "Date Completed" msgstr "完了日" @@ -536,17 +542,17 @@ msgstr "ヘルプ" msgid "File" msgstr "ファイル" -#: buzz/widgets/main_window.py:227 +#: buzz/widgets/main_window.py:232 msgid "" "Are you sure you want to delete the selected transcription(s)? This action " "cannot be undone." msgstr "本当に選択された文字起こしを削除しますか? この操作は元に戻せません。" -#: buzz/widgets/main_window.py:255 +#: buzz/widgets/main_window.py:260 msgid "Select audio file" msgstr "音声ファイルを選択" -#: buzz/widgets/main_window.py:291 +#: buzz/widgets/main_window.py:296 msgid "Unable to save OpenAI API key to keyring" msgstr "OpenAI API キーをkeyringに保存できません" diff --git a/buzz/locale/lv_LV/LC_MESSAGES/buzz.po b/buzz/locale/lv_LV/LC_MESSAGES/buzz.po index 7c9581e74..e869a6fce 100644 --- a/buzz/locale/lv_LV/LC_MESSAGES/buzz.po +++ b/buzz/locale/lv_LV/LC_MESSAGES/buzz.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-03 08:32+0200\n" -"PO-Revision-Date: 2024-11-03 08:33+0200\n" +"POT-Creation-Date: 2024-11-23 22:17+0200\n" +"PO-Revision-Date: 2024-11-23 22:19+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: lv_LV\n" @@ -31,7 +31,7 @@ msgstr "https://example.com/audio.mp3" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:245 #: buzz/widgets/transcriber/advanced_settings_dialog.py:97 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:295 -#: buzz/widgets/main_window.py:234 +#: buzz/widgets/main_window.py:239 msgid "Ok" msgstr "Labi" @@ -40,7 +40,7 @@ msgstr "Labi" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:246 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:296 #: buzz/widgets/model_download_progress_dialog.py:29 -#: buzz/widgets/main_window.py:235 +#: buzz/widgets/main_window.py:240 msgid "Cancel" msgstr "Atcelt" @@ -224,12 +224,12 @@ msgid "Download failed" msgstr "Lejupielāde neizdevās" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:269 -#: buzz/widgets/main_window.py:291 buzz/model_loader.py:503 +#: buzz/widgets/main_window.py:296 buzz/model_loader.py:503 msgid "Error" msgstr "Kļūda" #: buzz/widgets/record_button.py:10 buzz/widgets/record_button.py:17 -#: buzz/widgets/main_window_toolbar.py:35 +#: buzz/widgets/main_window_toolbar.py:37 msgid "Record" msgstr "Ierakstīt" @@ -254,15 +254,15 @@ msgstr "Modelis:" msgid "First time use of a model may take up to several minutest to load." msgstr "Pirmā modeļa ielādes reize var aizņemt pat vairākas minūtes." -#: buzz/widgets/transcriber/transcription_options_group_box.py:113 +#: buzz/widgets/transcriber/transcription_options_group_box.py:114 msgid "Api Key:" msgstr "API atslēga:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:114 +#: buzz/widgets/transcriber/transcription_options_group_box.py:115 msgid "Task:" msgstr "Uzdevums:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:115 +#: buzz/widgets/transcriber/transcription_options_group_box.py:116 msgid "Language:" msgstr "Valoda:" @@ -328,64 +328,68 @@ msgstr "Modeļa Huggingface ID" msgid "Advanced..." msgstr "Papildu iestatījumi..." -#: buzz/widgets/main_window_toolbar.py:39 -msgid "New Transcription" -msgstr "Jauna atpazīšanas" +#: buzz/widgets/main_window_toolbar.py:41 +msgid "New File Transcription" +msgstr "Jauna faila atpazīšana" -#: buzz/widgets/main_window_toolbar.py:46 +#: buzz/widgets/main_window_toolbar.py:48 +msgid "New URL Transcription" +msgstr "Jauna saites atpazīšana" + +#: buzz/widgets/main_window_toolbar.py:55 msgid "Open Transcript" msgstr "Atvērt transkriptu" -#: buzz/widgets/main_window_toolbar.py:52 buzz/settings/shortcut.py:27 +#: buzz/widgets/main_window_toolbar.py:61 buzz/settings/shortcut.py:27 msgid "Cancel Transcription" msgstr "Atcelt atpazīšanu" -#: buzz/widgets/main_window_toolbar.py:60 buzz/widgets/main_window.py:223 +#: buzz/widgets/main_window_toolbar.py:69 buzz/widgets/main_window.py:228 #: buzz/settings/shortcut.py:26 msgid "Clear History" msgstr "Notīrīt vēsturi" -#: buzz/widgets/transcription_tasks_table_widget.py:64 +#: buzz/widgets/transcription_tasks_table_widget.py:66 msgid "In Progress" msgstr "Apstrādā" -#: buzz/widgets/transcription_tasks_table_widget.py:67 +#: buzz/widgets/transcription_tasks_table_widget.py:69 msgid "Completed" msgstr "Pabeigts" -#: buzz/widgets/transcription_tasks_table_widget.py:74 +#: buzz/widgets/transcription_tasks_table_widget.py:76 msgid "Failed" msgstr "Neizdevās" -#: buzz/widgets/transcription_tasks_table_widget.py:77 +#: buzz/widgets/transcription_tasks_table_widget.py:79 msgid "Canceled" msgstr "Atcelts" -#: buzz/widgets/transcription_tasks_table_widget.py:79 +#: buzz/widgets/transcription_tasks_table_widget.py:81 msgid "Queued" msgstr "Ierindots" -#: buzz/widgets/transcription_tasks_table_widget.py:86 +#: buzz/widgets/transcription_tasks_table_widget.py:88 msgid "File Name / URL" msgstr "Fails / URL" -#: buzz/widgets/transcription_tasks_table_widget.py:98 +#: buzz/widgets/transcription_tasks_table_widget.py:100 msgid "Model" msgstr "Modelis" -#: buzz/widgets/transcription_tasks_table_widget.py:107 +#: buzz/widgets/transcription_tasks_table_widget.py:109 msgid "Task" msgstr "Uzdevums" -#: buzz/widgets/transcription_tasks_table_widget.py:116 +#: buzz/widgets/transcription_tasks_table_widget.py:118 msgid "Status" msgstr "Statuss" -#: buzz/widgets/transcription_tasks_table_widget.py:124 +#: buzz/widgets/transcription_tasks_table_widget.py:126 msgid "Date Added" msgstr "Pievienots" -#: buzz/widgets/transcription_tasks_table_widget.py:135 +#: buzz/widgets/transcription_tasks_table_widget.py:137 msgid "Date Completed" msgstr "Pabeigts" @@ -544,7 +548,7 @@ msgstr "Palīdzība" msgid "File" msgstr "Fails" -#: buzz/widgets/main_window.py:227 +#: buzz/widgets/main_window.py:232 msgid "" "Are you sure you want to delete the selected transcription(s)? This action " "cannot be undone." @@ -552,11 +556,11 @@ msgstr "" "Vai tiešām vēlaties dzēst izvēlētos transkriptus? Šī ir neatgriezeniska " "darbība." -#: buzz/widgets/main_window.py:255 +#: buzz/widgets/main_window.py:260 msgid "Select audio file" msgstr "Izvēlieties audio failu" -#: buzz/widgets/main_window.py:291 +#: buzz/widgets/main_window.py:296 msgid "Unable to save OpenAI API key to keyring" msgstr "Neizdevās saglabāt OpenAI API atslēgu atslēgu saišķī" diff --git a/buzz/locale/pl_PL/LC_MESSAGES/buzz.po b/buzz/locale/pl_PL/LC_MESSAGES/buzz.po index 227b1dafa..a501c576b 100644 --- a/buzz/locale/pl_PL/LC_MESSAGES/buzz.po +++ b/buzz/locale/pl_PL/LC_MESSAGES/buzz.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-03 08:32+0200\n" +"POT-Creation-Date: 2024-11-23 22:16+0200\n" "PO-Revision-Date: 2024-03-17 20:50+0200\n" "Last-Translator: \n" "Language-Team: \n" @@ -30,7 +30,7 @@ msgstr "https://przyklad.pl/audio.mp3" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:245 #: buzz/widgets/transcriber/advanced_settings_dialog.py:97 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:295 -#: buzz/widgets/main_window.py:234 +#: buzz/widgets/main_window.py:239 msgid "Ok" msgstr "" @@ -39,7 +39,7 @@ msgstr "" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:246 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:296 #: buzz/widgets/model_download_progress_dialog.py:29 -#: buzz/widgets/main_window.py:235 +#: buzz/widgets/main_window.py:240 msgid "Cancel" msgstr "Anuluj" @@ -224,12 +224,12 @@ msgid "Download failed" msgstr "Pobrany" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:269 -#: buzz/widgets/main_window.py:291 buzz/model_loader.py:503 +#: buzz/widgets/main_window.py:296 buzz/model_loader.py:503 msgid "Error" msgstr "Błąd" #: buzz/widgets/record_button.py:10 buzz/widgets/record_button.py:17 -#: buzz/widgets/main_window_toolbar.py:35 +#: buzz/widgets/main_window_toolbar.py:37 msgid "Record" msgstr "Nagraj" @@ -254,15 +254,15 @@ msgstr "Model:" msgid "First time use of a model may take up to several minutest to load." msgstr "" -#: buzz/widgets/transcriber/transcription_options_group_box.py:113 +#: buzz/widgets/transcriber/transcription_options_group_box.py:114 msgid "Api Key:" msgstr "" -#: buzz/widgets/transcriber/transcription_options_group_box.py:114 +#: buzz/widgets/transcriber/transcription_options_group_box.py:115 msgid "Task:" msgstr "Zadanie:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:115 +#: buzz/widgets/transcriber/transcription_options_group_box.py:116 msgid "Language:" msgstr "Język:" @@ -327,67 +327,73 @@ msgstr "" msgid "Advanced..." msgstr "" -#: buzz/widgets/main_window_toolbar.py:39 -msgid "New Transcription" +#: buzz/widgets/main_window_toolbar.py:41 +#, fuzzy +msgid "New File Transcription" +msgstr "Nowa transkrypcja" + +#: buzz/widgets/main_window_toolbar.py:48 +#, fuzzy +msgid "New URL Transcription" msgstr "Nowa transkrypcja" -#: buzz/widgets/main_window_toolbar.py:46 +#: buzz/widgets/main_window_toolbar.py:55 msgid "Open Transcript" msgstr "Otwórz transkrypt" -#: buzz/widgets/main_window_toolbar.py:52 buzz/settings/shortcut.py:27 +#: buzz/widgets/main_window_toolbar.py:61 buzz/settings/shortcut.py:27 msgid "Cancel Transcription" msgstr "Anuluj transkrypcję" -#: buzz/widgets/main_window_toolbar.py:60 buzz/widgets/main_window.py:223 +#: buzz/widgets/main_window_toolbar.py:69 buzz/widgets/main_window.py:228 #: buzz/settings/shortcut.py:26 msgid "Clear History" msgstr "Wyczyść historię" -#: buzz/widgets/transcription_tasks_table_widget.py:64 +#: buzz/widgets/transcription_tasks_table_widget.py:66 msgid "In Progress" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:67 +#: buzz/widgets/transcription_tasks_table_widget.py:69 msgid "Completed" msgstr "Ukończono" -#: buzz/widgets/transcription_tasks_table_widget.py:74 +#: buzz/widgets/transcription_tasks_table_widget.py:76 msgid "Failed" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:77 +#: buzz/widgets/transcription_tasks_table_widget.py:79 msgid "Canceled" msgstr "Anulowano" -#: buzz/widgets/transcription_tasks_table_widget.py:79 +#: buzz/widgets/transcription_tasks_table_widget.py:81 msgid "Queued" msgstr "Kolejka" -#: buzz/widgets/transcription_tasks_table_widget.py:86 +#: buzz/widgets/transcription_tasks_table_widget.py:88 #, fuzzy msgid "File Name / URL" msgstr "Nazwa pliku" -#: buzz/widgets/transcription_tasks_table_widget.py:98 +#: buzz/widgets/transcription_tasks_table_widget.py:100 #, fuzzy msgid "Model" msgstr "Model:" -#: buzz/widgets/transcription_tasks_table_widget.py:107 +#: buzz/widgets/transcription_tasks_table_widget.py:109 #, fuzzy msgid "Task" msgstr "Zadanie:" -#: buzz/widgets/transcription_tasks_table_widget.py:116 +#: buzz/widgets/transcription_tasks_table_widget.py:118 msgid "Status" msgstr "Status" -#: buzz/widgets/transcription_tasks_table_widget.py:124 +#: buzz/widgets/transcription_tasks_table_widget.py:126 msgid "Date Added" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:135 +#: buzz/widgets/transcription_tasks_table_widget.py:137 #, fuzzy msgid "Date Completed" msgstr "Ukończono" @@ -550,7 +556,7 @@ msgstr "Pomoc" msgid "File" msgstr "Plik" -#: buzz/widgets/main_window.py:227 +#: buzz/widgets/main_window.py:232 msgid "" "Are you sure you want to delete the selected transcription(s)? This action " "cannot be undone." @@ -558,11 +564,11 @@ msgstr "" "Czy na pewno chcesz usunąć zaznaczone transkrypcje? Tej operacji nie można " "cofnąć." -#: buzz/widgets/main_window.py:255 +#: buzz/widgets/main_window.py:260 msgid "Select audio file" msgstr "Wybierz plik audio" -#: buzz/widgets/main_window.py:291 +#: buzz/widgets/main_window.py:296 msgid "Unable to save OpenAI API key to keyring" msgstr "" diff --git a/buzz/locale/uk_UA/LC_MESSAGES/buzz.po b/buzz/locale/uk_UA/LC_MESSAGES/buzz.po index 4b29644ce..178560aab 100644 --- a/buzz/locale/uk_UA/LC_MESSAGES/buzz.po +++ b/buzz/locale/uk_UA/LC_MESSAGES/buzz.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-03 08:32+0200\n" +"POT-Creation-Date: 2024-11-23 22:17+0200\n" "PO-Revision-Date: \n" "Last-Translator: Yevhen Popok \n" "Language-Team: \n" @@ -27,7 +27,7 @@ msgstr "https://example.com/audio.mp3" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:245 #: buzz/widgets/transcriber/advanced_settings_dialog.py:97 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:295 -#: buzz/widgets/main_window.py:234 +#: buzz/widgets/main_window.py:239 msgid "Ok" msgstr "Гаразд" @@ -36,7 +36,7 @@ msgstr "Гаразд" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:246 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:296 #: buzz/widgets/model_download_progress_dialog.py:29 -#: buzz/widgets/main_window.py:235 +#: buzz/widgets/main_window.py:240 msgid "Cancel" msgstr "Скасувати" @@ -218,12 +218,12 @@ msgid "Download failed" msgstr "Невдале завантаження" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:269 -#: buzz/widgets/main_window.py:291 buzz/model_loader.py:503 +#: buzz/widgets/main_window.py:296 buzz/model_loader.py:503 msgid "Error" msgstr "Помилка" #: buzz/widgets/record_button.py:10 buzz/widgets/record_button.py:17 -#: buzz/widgets/main_window_toolbar.py:35 +#: buzz/widgets/main_window_toolbar.py:37 msgid "Record" msgstr "Записати" @@ -248,15 +248,15 @@ msgstr "Модель:" msgid "First time use of a model may take up to several minutest to load." msgstr "" -#: buzz/widgets/transcriber/transcription_options_group_box.py:113 +#: buzz/widgets/transcriber/transcription_options_group_box.py:114 msgid "Api Key:" msgstr "API-ключ:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:114 +#: buzz/widgets/transcriber/transcription_options_group_box.py:115 msgid "Task:" msgstr "Завдання:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:115 +#: buzz/widgets/transcriber/transcription_options_group_box.py:116 msgid "Language:" msgstr "Мова:" @@ -320,64 +320,70 @@ msgstr "ID чи модель Huggingface" msgid "Advanced..." msgstr "Додатково..." -#: buzz/widgets/main_window_toolbar.py:39 -msgid "New Transcription" +#: buzz/widgets/main_window_toolbar.py:41 +#, fuzzy +msgid "New File Transcription" +msgstr "Нова транскрипція" + +#: buzz/widgets/main_window_toolbar.py:48 +#, fuzzy +msgid "New URL Transcription" msgstr "Нова транскрипція" -#: buzz/widgets/main_window_toolbar.py:46 +#: buzz/widgets/main_window_toolbar.py:55 msgid "Open Transcript" msgstr "Відкрити транскрипцію" -#: buzz/widgets/main_window_toolbar.py:52 buzz/settings/shortcut.py:27 +#: buzz/widgets/main_window_toolbar.py:61 buzz/settings/shortcut.py:27 msgid "Cancel Transcription" msgstr "Скасувати транскрипцію" -#: buzz/widgets/main_window_toolbar.py:60 buzz/widgets/main_window.py:223 +#: buzz/widgets/main_window_toolbar.py:69 buzz/widgets/main_window.py:228 #: buzz/settings/shortcut.py:26 msgid "Clear History" msgstr "Очистити історію" -#: buzz/widgets/transcription_tasks_table_widget.py:64 +#: buzz/widgets/transcription_tasks_table_widget.py:66 msgid "In Progress" msgstr "В процесі" -#: buzz/widgets/transcription_tasks_table_widget.py:67 +#: buzz/widgets/transcription_tasks_table_widget.py:69 msgid "Completed" msgstr "Завершено" -#: buzz/widgets/transcription_tasks_table_widget.py:74 +#: buzz/widgets/transcription_tasks_table_widget.py:76 msgid "Failed" msgstr "Невдача" -#: buzz/widgets/transcription_tasks_table_widget.py:77 +#: buzz/widgets/transcription_tasks_table_widget.py:79 msgid "Canceled" msgstr "Скасовано" -#: buzz/widgets/transcription_tasks_table_widget.py:79 +#: buzz/widgets/transcription_tasks_table_widget.py:81 msgid "Queued" msgstr "У черзі" -#: buzz/widgets/transcription_tasks_table_widget.py:86 +#: buzz/widgets/transcription_tasks_table_widget.py:88 msgid "File Name / URL" msgstr "Назва файлу / посилання" -#: buzz/widgets/transcription_tasks_table_widget.py:98 +#: buzz/widgets/transcription_tasks_table_widget.py:100 msgid "Model" msgstr "Модель" -#: buzz/widgets/transcription_tasks_table_widget.py:107 +#: buzz/widgets/transcription_tasks_table_widget.py:109 msgid "Task" msgstr "Завдання" -#: buzz/widgets/transcription_tasks_table_widget.py:116 +#: buzz/widgets/transcription_tasks_table_widget.py:118 msgid "Status" msgstr "Стан" -#: buzz/widgets/transcription_tasks_table_widget.py:124 +#: buzz/widgets/transcription_tasks_table_widget.py:126 msgid "Date Added" msgstr "Дата додавання" -#: buzz/widgets/transcription_tasks_table_widget.py:135 +#: buzz/widgets/transcription_tasks_table_widget.py:137 msgid "Date Completed" msgstr "Дата завершення" @@ -537,18 +543,18 @@ msgstr "Допомога" msgid "File" msgstr "Файл" -#: buzz/widgets/main_window.py:227 +#: buzz/widgets/main_window.py:232 msgid "" "Are you sure you want to delete the selected transcription(s)? This action " "cannot be undone." msgstr "" "Ви впевнені, що хочете видалити вибрані транскрипції? Це незворотна дія." -#: buzz/widgets/main_window.py:255 +#: buzz/widgets/main_window.py:260 msgid "Select audio file" msgstr "Вибрати аудіофайл" -#: buzz/widgets/main_window.py:291 +#: buzz/widgets/main_window.py:296 msgid "Unable to save OpenAI API key to keyring" msgstr "Не вдається додати до звʼязки ключів API-ключ OpenAI" diff --git a/buzz/locale/zh_CN/LC_MESSAGES/buzz.po b/buzz/locale/zh_CN/LC_MESSAGES/buzz.po index ffbdf1b50..e726fdba8 100644 --- a/buzz/locale/zh_CN/LC_MESSAGES/buzz.po +++ b/buzz/locale/zh_CN/LC_MESSAGES/buzz.po @@ -3,12 +3,11 @@ # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , 2024. # 'transcript' as '识别' - msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-03 08:32+0200\n" +"POT-Creation-Date: 2024-11-23 22:17+0200\n" "PO-Revision-Date: 2023-05-01 15:45+0800\n" "Last-Translator: \n" "Language-Team: lamb \n" @@ -31,7 +30,7 @@ msgstr "https://example.com/audio.mp3" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:245 #: buzz/widgets/transcriber/advanced_settings_dialog.py:97 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:295 -#: buzz/widgets/main_window.py:234 +#: buzz/widgets/main_window.py:239 msgid "Ok" msgstr "Ok" @@ -40,7 +39,7 @@ msgstr "Ok" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:246 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:296 #: buzz/widgets/model_download_progress_dialog.py:29 -#: buzz/widgets/main_window.py:235 +#: buzz/widgets/main_window.py:240 msgid "Cancel" msgstr "取消" @@ -108,8 +107,7 @@ msgstr "测试OpenAI API Key" msgid "" "Your API key is valid. Buzz will use this key to perform Whisper API " "transcriptions and AI translations." -msgstr "" -“您的API密钥有效。Buzz将使用此密钥执行 Whisper API 识别和 AI 翻译。” +msgstr "您的API密钥有效。Buzz将使用此密钥执行 Whisper API 识别和 AI 翻译。" #: buzz/widgets/preferences_dialog/general_preferences_widget.py:173 msgid "Invalid API key" @@ -132,8 +130,8 @@ msgid "" "Transcription and translation may still work if the API does not support key " "validation." msgstr "" -"OpenAI API返回无效响应。请检查API网址或您的密钥。" -“如果API不支持密钥,识别和翻译可能仍然有效” +"OpenAI API返回无效响应。请检查API网址或您的密钥。如果API不支持密钥,识别和翻" +"译可能仍然有效" #: buzz/widgets/preferences_dialog/folder_watch_preferences_widget.py:42 msgid "Enable folder watch" @@ -227,12 +225,12 @@ msgid "Download failed" msgstr "下载模型失败" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:269 -#: buzz/widgets/main_window.py:291 buzz/model_loader.py:503 +#: buzz/widgets/main_window.py:296 buzz/model_loader.py:503 msgid "Error" msgstr "错误" #: buzz/widgets/record_button.py:10 buzz/widgets/record_button.py:17 -#: buzz/widgets/main_window_toolbar.py:35 +#: buzz/widgets/main_window_toolbar.py:37 msgid "Record" msgstr "录制" @@ -257,15 +255,15 @@ msgstr "模型:" msgid "First time use of a model may take up to several minutest to load." msgstr "" -#: buzz/widgets/transcriber/transcription_options_group_box.py:113 +#: buzz/widgets/transcriber/transcription_options_group_box.py:114 msgid "Api Key:" msgstr "Api Key:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:114 +#: buzz/widgets/transcriber/transcription_options_group_box.py:115 msgid "Task:" msgstr "任务:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:115 +#: buzz/widgets/transcriber/transcription_options_group_box.py:116 msgid "Language:" msgstr "语言:" @@ -330,67 +328,73 @@ msgstr "模型的Huggingface ID " msgid "Advanced..." msgstr "高级..." -#: buzz/widgets/main_window_toolbar.py:39 -msgid "New Transcription" +#: buzz/widgets/main_window_toolbar.py:41 +#, fuzzy +msgid "New File Transcription" +msgstr "新识别" + +#: buzz/widgets/main_window_toolbar.py:48 +#, fuzzy +msgid "New URL Transcription" msgstr "新识别" -#: buzz/widgets/main_window_toolbar.py:46 +#: buzz/widgets/main_window_toolbar.py:55 msgid "Open Transcript" msgstr "打开识别结果" -#: buzz/widgets/main_window_toolbar.py:52 buzz/settings/shortcut.py:27 +#: buzz/widgets/main_window_toolbar.py:61 buzz/settings/shortcut.py:27 msgid "Cancel Transcription" msgstr "取消识别" -#: buzz/widgets/main_window_toolbar.py:60 buzz/widgets/main_window.py:223 +#: buzz/widgets/main_window_toolbar.py:69 buzz/widgets/main_window.py:228 #: buzz/settings/shortcut.py:26 msgid "Clear History" msgstr "清除历史纪录" -#: buzz/widgets/transcription_tasks_table_widget.py:64 +#: buzz/widgets/transcription_tasks_table_widget.py:66 msgid "In Progress" msgstr "运行中" -#: buzz/widgets/transcription_tasks_table_widget.py:67 +#: buzz/widgets/transcription_tasks_table_widget.py:69 msgid "Completed" msgstr "完成" -#: buzz/widgets/transcription_tasks_table_widget.py:74 +#: buzz/widgets/transcription_tasks_table_widget.py:76 msgid "Failed" msgstr "失败" -#: buzz/widgets/transcription_tasks_table_widget.py:77 +#: buzz/widgets/transcription_tasks_table_widget.py:79 msgid "Canceled" msgstr "取消" -#: buzz/widgets/transcription_tasks_table_widget.py:79 +#: buzz/widgets/transcription_tasks_table_widget.py:81 msgid "Queued" msgstr "队列中" -#: buzz/widgets/transcription_tasks_table_widget.py:86 +#: buzz/widgets/transcription_tasks_table_widget.py:88 #, fuzzy msgid "File Name / URL" msgstr "文件名称/URL" -#: buzz/widgets/transcription_tasks_table_widget.py:98 +#: buzz/widgets/transcription_tasks_table_widget.py:100 #, fuzzy msgid "Model" msgstr "模型" -#: buzz/widgets/transcription_tasks_table_widget.py:107 +#: buzz/widgets/transcription_tasks_table_widget.py:109 #, fuzzy msgid "Task" msgstr "任务:" -#: buzz/widgets/transcription_tasks_table_widget.py:116 +#: buzz/widgets/transcription_tasks_table_widget.py:118 msgid "Status" msgstr "状态" -#: buzz/widgets/transcription_tasks_table_widget.py:124 +#: buzz/widgets/transcription_tasks_table_widget.py:126 msgid "Date Added" msgstr "添加日期" -#: buzz/widgets/transcription_tasks_table_widget.py:135 +#: buzz/widgets/transcription_tasks_table_widget.py:137 #, fuzzy msgid "Date Completed" msgstr "完成时间" @@ -551,17 +555,17 @@ msgstr "帮助" msgid "File" msgstr "文件" -#: buzz/widgets/main_window.py:227 +#: buzz/widgets/main_window.py:232 msgid "" "Are you sure you want to delete the selected transcription(s)? This action " "cannot be undone." msgstr "您确定要删除所选录制吗?此操作无法撤消。" -#: buzz/widgets/main_window.py:255 +#: buzz/widgets/main_window.py:260 msgid "Select audio file" msgstr "选择音频文件" -#: buzz/widgets/main_window.py:291 +#: buzz/widgets/main_window.py:296 msgid "Unable to save OpenAI API key to keyring" msgstr "无法将OpenAI API密钥保存到密钥串" diff --git a/buzz/locale/zh_TW/LC_MESSAGES/buzz.po b/buzz/locale/zh_TW/LC_MESSAGES/buzz.po index 28a8dad03..1ba27d1dc 100644 --- a/buzz/locale/zh_TW/LC_MESSAGES/buzz.po +++ b/buzz/locale/zh_TW/LC_MESSAGES/buzz.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-03 08:32+0200\n" +"POT-Creation-Date: 2024-11-23 22:17+0200\n" "PO-Revision-Date: 2023-05-01 15:45+0800\n" "Last-Translator: \n" "Language-Team: Lamb\n" @@ -30,7 +30,7 @@ msgstr "" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:245 #: buzz/widgets/transcriber/advanced_settings_dialog.py:97 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:295 -#: buzz/widgets/main_window.py:234 +#: buzz/widgets/main_window.py:239 msgid "Ok" msgstr "" @@ -39,7 +39,7 @@ msgstr "" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:246 #: buzz/widgets/transcription_viewer/transcription_viewer_widget.py:296 #: buzz/widgets/model_download_progress_dialog.py:29 -#: buzz/widgets/main_window.py:235 +#: buzz/widgets/main_window.py:240 msgid "Cancel" msgstr "取消" @@ -222,12 +222,12 @@ msgid "Download failed" msgstr "下載模型" #: buzz/widgets/preferences_dialog/models_preferences_widget.py:269 -#: buzz/widgets/main_window.py:291 buzz/model_loader.py:503 +#: buzz/widgets/main_window.py:296 buzz/model_loader.py:503 msgid "Error" msgstr "" #: buzz/widgets/record_button.py:10 buzz/widgets/record_button.py:17 -#: buzz/widgets/main_window_toolbar.py:35 +#: buzz/widgets/main_window_toolbar.py:37 msgid "Record" msgstr "錄製" @@ -252,15 +252,15 @@ msgstr "模型:" msgid "First time use of a model may take up to several minutest to load." msgstr "" -#: buzz/widgets/transcriber/transcription_options_group_box.py:113 +#: buzz/widgets/transcriber/transcription_options_group_box.py:114 msgid "Api Key:" msgstr "" -#: buzz/widgets/transcriber/transcription_options_group_box.py:114 +#: buzz/widgets/transcriber/transcription_options_group_box.py:115 msgid "Task:" msgstr "任務:" -#: buzz/widgets/transcriber/transcription_options_group_box.py:115 +#: buzz/widgets/transcriber/transcription_options_group_box.py:116 msgid "Language:" msgstr "語言:" @@ -325,67 +325,73 @@ msgstr "" msgid "Advanced..." msgstr "" -#: buzz/widgets/main_window_toolbar.py:39 -msgid "New Transcription" +#: buzz/widgets/main_window_toolbar.py:41 +#, fuzzy +msgid "New File Transcription" +msgstr "新錄製" + +#: buzz/widgets/main_window_toolbar.py:48 +#, fuzzy +msgid "New URL Transcription" msgstr "新錄製" -#: buzz/widgets/main_window_toolbar.py:46 +#: buzz/widgets/main_window_toolbar.py:55 msgid "Open Transcript" msgstr "打開轉換結果" -#: buzz/widgets/main_window_toolbar.py:52 buzz/settings/shortcut.py:27 +#: buzz/widgets/main_window_toolbar.py:61 buzz/settings/shortcut.py:27 msgid "Cancel Transcription" msgstr "取消錄製" -#: buzz/widgets/main_window_toolbar.py:60 buzz/widgets/main_window.py:223 +#: buzz/widgets/main_window_toolbar.py:69 buzz/widgets/main_window.py:228 #: buzz/settings/shortcut.py:26 msgid "Clear History" msgstr "清除歷史紀錄" -#: buzz/widgets/transcription_tasks_table_widget.py:64 +#: buzz/widgets/transcription_tasks_table_widget.py:66 msgid "In Progress" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:67 +#: buzz/widgets/transcription_tasks_table_widget.py:69 msgid "Completed" msgstr "完成" -#: buzz/widgets/transcription_tasks_table_widget.py:74 +#: buzz/widgets/transcription_tasks_table_widget.py:76 msgid "Failed" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:77 +#: buzz/widgets/transcription_tasks_table_widget.py:79 msgid "Canceled" msgstr "取消" -#: buzz/widgets/transcription_tasks_table_widget.py:79 +#: buzz/widgets/transcription_tasks_table_widget.py:81 msgid "Queued" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:86 +#: buzz/widgets/transcription_tasks_table_widget.py:88 #, fuzzy msgid "File Name / URL" msgstr "檔案名稱" -#: buzz/widgets/transcription_tasks_table_widget.py:98 +#: buzz/widgets/transcription_tasks_table_widget.py:100 #, fuzzy msgid "Model" msgstr "模型:" -#: buzz/widgets/transcription_tasks_table_widget.py:107 +#: buzz/widgets/transcription_tasks_table_widget.py:109 #, fuzzy msgid "Task" msgstr "任務:" -#: buzz/widgets/transcription_tasks_table_widget.py:116 +#: buzz/widgets/transcription_tasks_table_widget.py:118 msgid "Status" msgstr "狀態" -#: buzz/widgets/transcription_tasks_table_widget.py:124 +#: buzz/widgets/transcription_tasks_table_widget.py:126 msgid "Date Added" msgstr "" -#: buzz/widgets/transcription_tasks_table_widget.py:135 +#: buzz/widgets/transcription_tasks_table_widget.py:137 #, fuzzy msgid "Date Completed" msgstr "完成" @@ -546,17 +552,17 @@ msgstr "幫助" msgid "File" msgstr "檔案" -#: buzz/widgets/main_window.py:227 +#: buzz/widgets/main_window.py:232 msgid "" "Are you sure you want to delete the selected transcription(s)? This action " "cannot be undone." msgstr "您確定要刪除所選錄製嗎?此操作無法撤消。" -#: buzz/widgets/main_window.py:255 +#: buzz/widgets/main_window.py:260 msgid "Select audio file" msgstr "選擇聲音檔案" -#: buzz/widgets/main_window.py:291 +#: buzz/widgets/main_window.py:296 msgid "Unable to save OpenAI API key to keyring" msgstr "" diff --git a/buzz/widgets/icon.py b/buzz/widgets/icon.py index 4dca94c4f..21c4327de 100644 --- a/buzz/widgets/icon.py +++ b/buzz/widgets/icon.py @@ -96,5 +96,6 @@ def __init__(self, parent: QWidget): RECORD_ICON_PATH = get_path("assets/mic_FILL0_wght700_GRAD0_opsz48.svg") EXPAND_ICON_PATH = get_path("assets/open_in_full_FILL0_wght700_GRAD0_opsz48.svg") ADD_ICON_PATH = get_path("assets/add_FILL0_wght700_GRAD0_opsz48.svg") +URL_ICON_PATH = get_path("assets/url.svg") TRASH_ICON_PATH = get_path("assets/delete_FILL0_wght700_GRAD0_opsz48.svg") CANCEL_ICON_PATH = get_path("assets/cancel_FILL0_wght700_GRAD0_opsz48.svg") diff --git a/buzz/widgets/main_window.py b/buzz/widgets/main_window.py index 78b1483b5..abe532b93 100644 --- a/buzz/widgets/main_window.py +++ b/buzz/widgets/main_window.py @@ -74,6 +74,9 @@ def __init__(self, transcription_service: TranscriptionService): self.toolbar.new_transcription_action_triggered.connect( self.on_new_transcription_action_triggered ) + self.toolbar.new_url_transcription_action_triggered.connect( + self.on_new_url_transcription_action_triggered + ) self.toolbar.open_transcript_action_triggered.connect( self.open_transcript_viewer ) diff --git a/buzz/widgets/main_window_toolbar.py b/buzz/widgets/main_window_toolbar.py index 74f4ced9c..7f9cba3ff 100644 --- a/buzz/widgets/main_window_toolbar.py +++ b/buzz/widgets/main_window_toolbar.py @@ -12,6 +12,7 @@ from buzz.widgets.icon import ( RECORD_ICON_PATH, ADD_ICON_PATH, + URL_ICON_PATH, EXPAND_ICON_PATH, CANCEL_ICON_PATH, TRASH_ICON_PATH, @@ -22,6 +23,7 @@ class MainWindowToolbar(ToolBar): new_transcription_action_triggered: pyqtSignal + new_url_transcription_action_triggered: pyqtSignal open_transcript_action_triggered: pyqtSignal clear_history_action_triggered: pyqtSignal ICON_LIGHT_THEME_BACKGROUND = "#555" @@ -35,13 +37,22 @@ def __init__(self, shortcuts: Shortcuts, parent: Optional[QWidget]): self.record_action = Action(Icon(RECORD_ICON_PATH, self), _("Record"), self) self.record_action.triggered.connect(self.on_record_action_triggered) + # Note: Changes to "New File Transcription" need to be reflected + # also in tests/widgets/main_window_test.py self.new_transcription_action = Action( - Icon(ADD_ICON_PATH, self), _("New Transcription"), self + Icon(ADD_ICON_PATH, self), _("New File Transcription"), self ) self.new_transcription_action_triggered = ( self.new_transcription_action.triggered ) + self.new_url_transcription_action = Action( + Icon(URL_ICON_PATH, self), _("New URL Transcription"), self + ) + self.new_url_transcription_action_triggered = ( + self.new_url_transcription_action.triggered + ) + self.open_transcript_action = Action( Icon(EXPAND_ICON_PATH, self), _("Open Transcript"), self ) @@ -69,6 +80,7 @@ def __init__(self, shortcuts: Shortcuts, parent: Optional[QWidget]): self.addActions( [ self.new_transcription_action, + self.new_url_transcription_action, self.open_transcript_action, self.stop_transcription_action, self.clear_history_action, @@ -84,6 +96,9 @@ def reset_shortcuts(self): self.new_transcription_action.setShortcut( QKeySequence.fromString(self.shortcuts.get(Shortcut.OPEN_IMPORT_WINDOW)) ) + self.new_url_transcription_action.setShortcut( + QKeySequence.fromString(self.shortcuts.get(Shortcut.OPEN_IMPORT_URL_WINDOW)) + ) self.stop_transcription_action.setShortcut( QKeySequence.fromString(self.shortcuts.get(Shortcut.STOP_TRANSCRIPTION)) ) diff --git a/docs/docs/cli.md b/docs/docs/cli.md index 6dcbb0a18..3172b21cf 100644 --- a/docs/docs/cli.md +++ b/docs/docs/cli.md @@ -67,7 +67,7 @@ Options: --srt Output result in an SRT file. --vtt Output result in a VTT file. --txt Output result in a TXT file. - --hide-gui Hide the main application window. + --hide-gui Hide the main application window. (available since 1.2.0) -h, --help Displays help on commandline options. --help-all Displays help including Qt specific options. -v, --version Displays version information. diff --git a/docs/docs/faq.md b/docs/docs/faq.md index 9e78b2218..662088c25 100644 --- a/docs/docs/faq.md +++ b/docs/docs/faq.md @@ -3,20 +3,20 @@ title: FAQ sidebar_position: 5 --- -#### 1. Where are the models stored? +### 1. Where are the models stored? The models are stored in `~/.cache/Buzz` (Linux), `~/Library/Caches/Buzz` (Mac OS) or `%USERPROFILE%\AppData\Local\Buzz\Buzz\Cache` (Windows). Paste the location in your file manager to access the models. -#### 2. What can I try if the transcription runs too slowly? +### 2. What can I try if the transcription runs too slowly? Speech recognition requires large amount of computation, so one option is to try using a lower Whisper model size or using a Whisper.cpp model to run speech recognition of your computer. If you have access to a computer with GPU that has at least 6GB of VRAM you can try using the Faster Whisper model. Buzz also supports using OpenAI API to do speech recognition on a remote server. To use this feature you need to set OpenAI API key in Preferences. See [Preferences](https://chidiwilliams.github.io/buzz/docs/preferences) section for more details. -#### 3. How to record system audio? +### 3. How to record system audio? To transcribe system audio you need to configure virtual audio device and connect output from the applications you want to transcribe to this virtual speaker. After that you can select it as source in the Buzz. See [Usage](https://chidiwilliams.github.io/buzz/docs/usage/live_recording) section for more details. @@ -25,13 +25,13 @@ sidebar_position: 5 - Windows - [VB CABLE](https://vb-audio.com/Cable/) - Linux - [PulseAudio Volume Control](https://wiki.ubuntu.com/record_system_sound) -#### 4. What model should I use? +### 4. What model should I use? Model size to use will depend on your hardware and use case. Smaller models will work faster but will have more inaccuracies. Larger models will be more accurate but will require more powerful hardware or longer time to transcribe. When choosing among large models consider the following. "Large" is the first released older model, "Large-V2" is later updated model with better accuracy, for some languages considered the most robust and stable. "Large-V3" is the latest model with the best accuracy in many cases, but some times can hallucinate or invent words that were never in the audio. "Turbo" model tries to get a good balance between speed and accuracy. The only sure way to know what model best suits your needs is to test them all in your language. -#### 5. How to get GPU acceleration for faster transcription? +### 5. How to get GPU acceleration for faster transcription? On Linux GPU acceleration is supported out of the box on Nvidia GPUs. If you still get any issues install [CUDA 12](https://developer.nvidia.com/cuda-downloads), [cuBLASS](https://developer.nvidia.com/cublas) and [cuDNN](https://developer.nvidia.com/cudnn). @@ -39,7 +39,7 @@ sidebar_position: 5 For Faster whisper CUDA 12 is required, computers with older CUDA versions will use CPU. -#### 6. How to fix `Unanticipated host error[PaErrorCode-9999]`? +### 6. How to fix `Unanticipated host error[PaErrorCode-9999]`? Check if there are any system settings preventing apps from accessing the microphone. @@ -49,11 +49,11 @@ sidebar_position: 5 For method 2 there is no need to uninstall the antivirus, but see if you can temporarily disable it or if there are settings that may prevent Buzz from accessing the microphone. -#### 7. Can I use Buzz on a computer without internet? +### 7. Can I use Buzz on a computer without internet? Yes, Buzz can be used without internet connection if you download the necessary models on some other computer that has the internet and manually move them to the offline computer. The easiest way to find where the models are stored is to go to Help -> Preferences -> Models. Then download some model, and push "Show file location" button. This will open the folder where the models are stored. Copy the models folder to the same location on the offline computer. F.e. for Linux it is `.cache/Buzz/models` in your home directory. -#### 8. Buzz crashes, what to do? +### 8. Buzz crashes, what to do? If a model download was incomplete or corrupted, Buzz may crash. Try to delete the downloaded model files in `Help -> Preferences -> Models` and re-download them. diff --git a/tests/widgets/main_window_test.py b/tests/widgets/main_window_test.py index 07967923d..fc6bdd9d8 100644 --- a/tests/widgets/main_window_test.py +++ b/tests/widgets/main_window_test.py @@ -253,7 +253,7 @@ def _import_file_and_start_transcription( "", ) new_transcription_action = TestMainWindow._get_toolbar_action( - window, _("New Transcription") + window, _("New File Transcription") ) new_transcription_action.trigger()