Skip to content

Commit

Permalink
Add Slovak translation to app
Browse files Browse the repository at this point in the history
Fix : #31
  • Loading branch information
oleksis committed Jun 30, 2021
1 parent f909f40 commit edc9750
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ oleksis <oleksis.fraga@gmail.com>
d1t2 <dieterplex@gmail.com>
Besnik Bleta <besnik@programeshqip.org>
jakub-w <jakub-w@riseup.net>
Jose Riha <jose1711@gmail.com>

# Generated by update-authors.sh script
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ A cross platform front-end GUI of the popular [youtube-dl](https://github.com/yt
* [GNU gettext](https://www.gnu.org/software/gettext/)

## Downloads
* [SHA2-256SUMS](https://github.com/oleksis/youtube-dl-gui/releases/download/v1.6.0/SHA2-256SUMS)
* [yt-dlg](https://github.com/oleksis/youtube-dl-gui/releases/download/v1.6.0/yt-dlg)
* [yt-dlg.exe](https://github.com/oleksis/youtube-dl-gui/releases/download/v1.6.0/yt-dlg.exe)
* [Source (.zip)](https://github.com/oleksis/youtube-dl-gui/archive/v1.6.0.zip)
* [Source (.tar.gz)](https://github.com/oleksis/youtube-dl-gui/archive/v1.6.0.tar.gz)
* [SHA2-256SUMS](https://github.com/oleksis/youtube-dl-gui/releases/download/v1.7.0/SHA2-256SUMS)
* [yt-dlg](https://github.com/oleksis/youtube-dl-gui/releases/download/v1.7.0/yt-dlg)
* [yt-dlg.exe](https://github.com/oleksis/youtube-dl-gui/releases/download/v1.7.0/yt-dlg.exe)
* [Source (.zip)](https://github.com/oleksis/youtube-dl-gui/archive/v1.7.0.zip)
* [Source (.tar.gz)](https://github.com/oleksis/youtube-dl-gui/archive/v1.7.0.tar.gz)

## Installation

### Install From Source
* Download & extract the source
* Change directory into *yt-dlg-1.6.0*
* Change directory into *yt-dlg-1.7.0*
* Create virtual environment
```bash
make clean-requirements
Expand Down
3 changes: 2 additions & 1 deletion youtube_dl_gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
if opt_manager.options.get("enable_log", True):
log_manager = LogManager(config_path, opt_manager.options.get("log_time", True))

locale_dir: Optional[str] = get_locale_file()
locale_dir: Optional[str] = get_locale_file() or "."


# noinspection PyPep8Naming
Expand Down Expand Up @@ -99,6 +99,7 @@ def updateLanguage(self, lang: str) -> None:
"ru_RU": wx.LANGUAGE_RUSSIAN,
"es_ES": wx.LANGUAGE_SPANISH,
"sq_AL": wx.LANGUAGE_ALBANIAN,
"sk_SK": wx.LANGUAGE_SLOVAK,
}

selLang: int = supLang.get(lang, wx.LANGUAGE_ENGLISH_US)
Expand Down
2 changes: 1 addition & 1 deletion youtube_dl_gui/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-


__version__ = "1.6.3"
__version__ = "1.7.0"

0 comments on commit edc9750

Please sign in to comment.