Fix for locales in *.whl and snaps (#806)

This commit is contained in:
Raivis Dejus 2024-06-20 20:09:19 +03:00 committed by GitHub
commit 0a9eddb346
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View file

@ -203,6 +203,10 @@ msgstr "Apstrādāt"
msgid "Model:"
msgstr "Modelis:"
#: buzz/widgets/transcriber/transcription_options_group_box.py:89
msgid "Access Token:"
msgstr "Pieejas atslēga:"
#: buzz/widgets/transcriber/transcription_options_group_box.py:90
msgid "Task:"
msgstr "Uzdevums:"

View file

@ -86,7 +86,7 @@ class TranscriptionOptionsGroupBox(QGroupBox):
self.form_layout.addRow(_("Model:"), self.model_type_combo_box)
self.form_layout.addRow("", self.whisper_model_size_combo_box)
self.form_layout.addRow("", self.hugging_face_search_line_edit)
self.form_layout.addRow("Access Token:", self.openai_access_token_edit)
self.form_layout.addRow(_("Access Token:"), self.openai_access_token_edit)
self.form_layout.addRow(_("Task:"), self.tasks_combo_box)
self.form_layout.addRow(_("Language:"), self.languages_combo_box)

View file

@ -5,7 +5,7 @@ description = ""
authors = ["Chidi Williams <williamschidi1@gmail.com>"]
license = "MIT"
readme = "README.md"
include = ["buzz/libwhisper.*", "buzz/whisper_cpp.py"]
include = ["buzz/libwhisper.*", "buzz/whisper_cpp.py", "buzz/locale/*/LC_MESSAGES/buzz.mo"]
repository = "https://github.com/chidiwilliams/buzz"
packages = [
{ include = "buzz" },