Skip to content

Commit

Permalink
Adding translations (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
raivisdejus committed Jul 2, 2024
1 parent 2eeb03a commit 300b4fe
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 34 deletions.
90 changes: 58 additions & 32 deletions buzz/locale/lv_LV/LC_MESSAGES/buzz.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-20 23:14+0300\n"
"PO-Revision-Date: 2024-06-21 14:22+0300\n"
"POT-Creation-Date: 2024-07-02 20:57+0300\n"
"PO-Revision-Date: 2024-07-02 21:00+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: lv_LV\n"
Expand All @@ -29,11 +29,13 @@ msgstr "https://example.com/audio.mp3"
#: buzz/widgets/import_url_dialog.py:28
#: buzz/widgets/preferences_dialog/preferences_dialog.py:69
#: buzz/widgets/transcriber/advanced_settings_dialog.py:97
#: buzz/widgets/main_window.py:234
msgid "Ok"
msgstr "Labi"

#: buzz/widgets/import_url_dialog.py:29
#: buzz/widgets/preferences_dialog/preferences_dialog.py:70
#: buzz/widgets/main_window.py:235
msgid "Cancel"
msgstr "Atcelt"

Expand Down Expand Up @@ -144,40 +146,52 @@ msgstr "Īsinājumi"
msgid "Folder Watch"
msgstr "Mapes vērošana"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:61
#: buzz/widgets/preferences_dialog/models_preferences_widget.py:68
msgid "Group"
msgstr "Veids"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:70
#: buzz/widgets/preferences_dialog/models_preferences_widget.py:80
msgid "Huggingface ID of a Faster whisper model"
msgstr "Faster Whisper modeļa Huggingface ID"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:91
msgid "Download"
msgstr "Lejupielādēt"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:75
#: buzz/widgets/preferences_dialog/models_preferences_widget.py:96
msgid "Show file location"
msgstr "Pādīt faila atrašanās vietu"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:83
#: buzz/widgets/preferences_dialog/models_preferences_widget.py:104
msgid "Delete"
msgstr "Dzēst"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:120
#: buzz/widgets/preferences_dialog/models_preferences_widget.py:135
msgid "Downloaded"
msgstr "Lejupielādēts"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:125
#: buzz/widgets/preferences_dialog/models_preferences_widget.py:140
msgid "Available for Download"
msgstr "Pieejams lejupielādei"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:171
#: buzz/widgets/preferences_dialog/models_preferences_widget.py:161
msgid "Download link to Whisper.cpp ggml model file"
msgstr "Whisper.cpp ggml modeļa datnes lejupielādes saite"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:237
msgid "Delete Model"
msgstr "Dzēst modeli"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:172
#: buzz/widgets/preferences_dialog/models_preferences_widget.py:238
msgid "Are you sure you want to delete the selected model?"
msgstr "Vai tiešām dzēst izvēlēto modeli?"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:191
#: buzz/widgets/main_window.py:282
#: buzz/widgets/preferences_dialog/models_preferences_widget.py:258
msgid "Download failed"
msgstr "Lejupielāde neizdevās"

#: buzz/widgets/preferences_dialog/models_preferences_widget.py:259
#: buzz/widgets/main_window.py:291 buzz/model_loader.py:450
msgid "Error"
msgstr "Kļūda"

Expand All @@ -199,19 +213,19 @@ msgstr "Noteikt valodu"
msgid "Run"
msgstr "Apstrādāt"

#: buzz/widgets/transcriber/transcription_options_group_box.py:86
#: buzz/widgets/transcriber/transcription_options_group_box.py:88
msgid "Model:"
msgstr "Modelis:"

#: buzz/widgets/transcriber/transcription_options_group_box.py:89
#: buzz/widgets/transcriber/transcription_options_group_box.py:91
msgid "Api Key:"
msgstr "API atslēga:"

#: buzz/widgets/transcriber/transcription_options_group_box.py:90
#: buzz/widgets/transcriber/transcription_options_group_box.py:92
msgid "Task:"
msgstr "Uzdevums:"

#: buzz/widgets/transcriber/transcription_options_group_box.py:91
#: buzz/widgets/transcriber/transcription_options_group_box.py:93
msgid "Language:"
msgstr "Valoda:"

Expand Down Expand Up @@ -269,6 +283,10 @@ msgstr "Dalīt pa vārdiem"
msgid "Export:"
msgstr "Eksportēt:"

#: buzz/widgets/transcriber/hugging_face_search_line_edit.py:36
msgid "Huggingface ID of a model"
msgstr "Modeļa Huggingface ID"

#: buzz/widgets/transcriber/advanced_settings_button.py:9
msgid "Advanced..."
msgstr "Papildu iestatījumi..."
Expand All @@ -285,7 +303,7 @@ msgstr "Atvērt transkriptu"
msgid "Cancel Transcription"
msgstr "Atcelt atpazīšanu"

#: buzz/widgets/main_window_toolbar.py:60 buzz/widgets/main_window.py:224
#: buzz/widgets/main_window_toolbar.py:60 buzz/widgets/main_window.py:223
#: buzz/settings/shortcut.py:26
msgid "Clear History"
msgstr "Notīrīt vēsturi"
Expand Down Expand Up @@ -334,27 +352,27 @@ msgstr "Pievienots"
msgid "Date Completed"
msgstr "Pabeigts"

#: buzz/widgets/recording_transcriber_widget.py:72
#: buzz/widgets/recording_transcriber_widget.py:73
msgid "Live Recording"
msgstr "Dzīvā ierakstīšana"

#: buzz/widgets/recording_transcriber_widget.py:136
#: buzz/widgets/recording_transcriber_widget.py:135
msgid "Click Record to begin..."
msgstr "Klikšķiniet Ierakstīt, lai sāktu..."

#: buzz/widgets/recording_transcriber_widget.py:139
#: buzz/widgets/recording_transcriber_widget.py:138
msgid "Waiting for AI translation..."
msgstr "Gaida MI tulkojumu..."

#: buzz/widgets/recording_transcriber_widget.py:151
#: buzz/widgets/recording_transcriber_widget.py:150
msgid "Microphone:"
msgstr "Mikrofons:"

#: buzz/widgets/recording_transcriber_widget.py:403
#: buzz/widgets/recording_transcriber_widget.py:413
msgid "An error occurred while starting a new recording:"
msgstr "Sākot jaunu ierakstu notikusi kļūda:"

#: buzz/widgets/recording_transcriber_widget.py:407
#: buzz/widgets/recording_transcriber_widget.py:417
msgid ""
"Please check your audio devices or check the application logs for more "
"information."
Expand Down Expand Up @@ -461,38 +479,46 @@ msgstr "Importēt failu..."
msgid "Import URL..."
msgstr "Importēt URL..."

#: buzz/widgets/menu_bar.py:47
#: buzz/widgets/menu_bar.py:44
msgid "About"
msgstr "Par"

#: buzz/widgets/menu_bar.py:48
msgid "Preferences..."
msgstr "Iestatījumi..."

#: buzz/widgets/menu_bar.py:55
msgid "File"
msgstr "Fails"

#: buzz/widgets/menu_bar.py:59
#: buzz/widgets/menu_bar.py:51 buzz/widgets/menu_bar.py:61
msgid "Help"
msgstr "Palīdzība"

#: buzz/widgets/main_window.py:226
#: buzz/widgets/menu_bar.py:57
msgid "File"
msgstr "Fails"

#: buzz/widgets/main_window.py:227
msgid ""
"Are you sure you want to delete the selected transcription(s)? This action "
"cannot be undone."
msgstr ""
"Vai tiešām vēlaties dzēst izvēlētos transkriptus? Šī ir neatgriezeniska "
"darbība."

#: buzz/widgets/main_window.py:246
#: buzz/widgets/main_window.py:255
msgid "Select audio file"
msgstr "Izvēlieties audio failu"

#: buzz/widgets/main_window.py:282
#: buzz/widgets/main_window.py:291
msgid "Unable to save OpenAI API key to keyring"
msgstr "Neizdevās saglabāt OpenAI API atslēgu atslēgu saišķī"

#: buzz/transcriber/transcriber.py:25
msgid "Tanscribe"
msgstr "Atpazīt"

#: buzz/model_loader.py:478
msgid "A connection error occurred"
msgstr "Notika savienojuma kļūda"

#: buzz/settings/shortcut.py:17
msgid "Open Record Window"
msgstr "Atvērt ieraksta logu"
Expand Down
6 changes: 4 additions & 2 deletions buzz/widgets/menu_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@ def __init__(
self.import_url_action = QAction(_("Import URL..."), self)
self.import_url_action.triggered.connect(self.import_url_action_triggered)

about_action = QAction(f'{_("About")} {APP_NAME}', self)
about_label = _("About")
about_action = QAction(f'{about_label} {APP_NAME}', self)
about_action.triggered.connect(self.on_about_action_triggered)

self.preferences_action = QAction(_("Preferences..."), self)
self.preferences_action.triggered.connect(self.on_preferences_action_triggered)

help_action = QAction(f'{_("Help")}', self)
help_label = _("Help")
help_action = QAction(f'{help_label}', self)
help_action.triggered.connect(self.on_help_action_triggered)

self.reset_shortcuts()
Expand Down

0 comments on commit 300b4fe

Please sign in to comment.