From edc9750415d44cfc761f8ef99a69df7973095f1d Mon Sep 17 00:00:00 2001 From: oleksis Date: Wed, 30 Jun 2021 15:32:55 -0400 Subject: [PATCH] Add Slovak translation to app Fix : #31 --- AUTHORS | 1 + README.md | 12 ++++++------ youtube_dl_gui/app.py | 3 ++- youtube_dl_gui/version.py | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/AUTHORS b/AUTHORS index 262ab26f..455cf822 100644 --- a/AUTHORS +++ b/AUTHORS @@ -27,5 +27,6 @@ oleksis d1t2 Besnik Bleta jakub-w +Jose Riha # Generated by update-authors.sh script diff --git a/README.md b/README.md index 5a3381af..237e9cb9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/youtube_dl_gui/app.py b/youtube_dl_gui/app.py index ed01ddd9..aad73350 100644 --- a/youtube_dl_gui/app.py +++ b/youtube_dl_gui/app.py @@ -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 @@ -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) diff --git a/youtube_dl_gui/version.py b/youtube_dl_gui/version.py index 9a93aa06..3d56b5a1 100644 --- a/youtube_dl_gui/version.py +++ b/youtube_dl_gui/version.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- -__version__ = "1.6.3" +__version__ = "1.7.0"