Skip to content

Commit

Permalink
Fix for locales in *.whl and snaps (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
raivisdejus authored Jun 20, 2024
1 parent 9b45e4d commit 0a9eddb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions buzz/locale/lv_LV/LC_MESSAGES/buzz.po
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def __init__(
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)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = ""
authors = ["Chidi Williams <[email protected]>"]
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" },
Expand Down

0 comments on commit 0a9eddb

Please sign in to comment.