From cd82dcac371393f04f04932e1d6335430fdd657c Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Wed, 16 Nov 2016 18:05:27 +0200 Subject: [PATCH] Fix language codes --- .../{ar_AR => ar_SA}/LC_MESSAGES/youtube_dl_gui.mo | Bin .../{ar_AR => ar_SA}/LC_MESSAGES/youtube_dl_gui.po | 0 .../{he_IS => he_IL}/LC_MESSAGES/youtube_dl_gui.mo | Bin .../{he_IS => he_IL}/LC_MESSAGES/youtube_dl_gui.po | 0 youtube_dl_gui/optionsframe.py | 6 ++++-- 5 files changed, 4 insertions(+), 2 deletions(-) rename youtube_dl_gui/locale/{ar_AR => ar_SA}/LC_MESSAGES/youtube_dl_gui.mo (100%) rename youtube_dl_gui/locale/{ar_AR => ar_SA}/LC_MESSAGES/youtube_dl_gui.po (100%) rename youtube_dl_gui/locale/{he_IS => he_IL}/LC_MESSAGES/youtube_dl_gui.mo (100%) rename youtube_dl_gui/locale/{he_IS => he_IL}/LC_MESSAGES/youtube_dl_gui.po (100%) diff --git a/youtube_dl_gui/locale/ar_AR/LC_MESSAGES/youtube_dl_gui.mo b/youtube_dl_gui/locale/ar_SA/LC_MESSAGES/youtube_dl_gui.mo similarity index 100% rename from youtube_dl_gui/locale/ar_AR/LC_MESSAGES/youtube_dl_gui.mo rename to youtube_dl_gui/locale/ar_SA/LC_MESSAGES/youtube_dl_gui.mo diff --git a/youtube_dl_gui/locale/ar_AR/LC_MESSAGES/youtube_dl_gui.po b/youtube_dl_gui/locale/ar_SA/LC_MESSAGES/youtube_dl_gui.po similarity index 100% rename from youtube_dl_gui/locale/ar_AR/LC_MESSAGES/youtube_dl_gui.po rename to youtube_dl_gui/locale/ar_SA/LC_MESSAGES/youtube_dl_gui.po diff --git a/youtube_dl_gui/locale/he_IS/LC_MESSAGES/youtube_dl_gui.mo b/youtube_dl_gui/locale/he_IL/LC_MESSAGES/youtube_dl_gui.mo similarity index 100% rename from youtube_dl_gui/locale/he_IS/LC_MESSAGES/youtube_dl_gui.mo rename to youtube_dl_gui/locale/he_IL/LC_MESSAGES/youtube_dl_gui.mo diff --git a/youtube_dl_gui/locale/he_IS/LC_MESSAGES/youtube_dl_gui.po b/youtube_dl_gui/locale/he_IL/LC_MESSAGES/youtube_dl_gui.po similarity index 100% rename from youtube_dl_gui/locale/he_IS/LC_MESSAGES/youtube_dl_gui.po rename to youtube_dl_gui/locale/he_IL/LC_MESSAGES/youtube_dl_gui.po diff --git a/youtube_dl_gui/optionsframe.py b/youtube_dl_gui/optionsframe.py index 28cbfdf..8d5505c 100644 --- a/youtube_dl_gui/optionsframe.py +++ b/youtube_dl_gui/optionsframe.py @@ -265,13 +265,14 @@ class TabPanel(wx.Panel): class GeneralTab(TabPanel): + # Lang code = _ LOCALE_NAMES = twodict([ - ('ar_AR', 'Arabic'), + ('ar_SA', 'Arabic'), ('cs_CZ', 'Czech'), ('en_US', 'English'), ('fr_FR', 'French'), ('de_DE', 'German'), - ('he_IS', 'Hebrew'), + ('he_IL', 'Hebrew'), ('hu_HU', 'Hungarian'), ('it_IT', 'Italian'), ('es_MX', 'Mexican Spanish'), @@ -526,6 +527,7 @@ class FormatsTab(TabPanel): class DownloadsTab(TabPanel): + # Lang code = ISO 639-1 SUBS_LANG = twodict([ ("en", _("English")), ("fr", _("French")),