diff --git a/app/ui/epg_dialog.glade b/app/ui/epg_dialog.glade index 8033b983..f3e9c66b 100644 --- a/app/ui/epg_dialog.glade +++ b/app/ui/epg_dialog.glade @@ -170,6 +170,7 @@ Author: Dmitriy Yefremov True False + center Service names source: @@ -207,7 +208,7 @@ Author: Dmitriy Yefremov - XML file + XML file True True False @@ -235,6 +236,7 @@ Author: Dmitriy Yefremov False False vertical + 2 True @@ -250,24 +252,9 @@ Author: Dmitriy Yefremov - + True False - 10 - 2 - True - - - True - True - end - - - - 1 - 0 - - True @@ -277,8 +264,22 @@ Author: Dmitriy Yefremov Use web source - 0 - 0 + True + True + 0 + + + + + True + True + end + + + + False + True + 1 @@ -300,12 +301,12 @@ Author: Dmitriy Yefremov True False start - Url to channels*.xml.gz file: + Url to *.xml.gz file: False True - 0 + 1 @@ -318,7 +319,7 @@ Author: Dmitriy Yefremov False True - 1 + 2 @@ -357,6 +358,7 @@ Author: Dmitriy Yefremov True True + end @@ -384,7 +386,8 @@ Author: Dmitriy Yefremov True False - Epg.dat file source: + center + Paths to the epg.dat file: False @@ -397,7 +400,7 @@ Author: Dmitriy Yefremov True False start - Local: + Local path: False @@ -427,7 +430,7 @@ Author: Dmitriy Yefremov True False start - STB: + STB path: False diff --git a/app/ui/epg_dialog.py b/app/ui/epg_dialog.py index e7c710b1..90bb7e64 100644 --- a/app/ui/epg_dialog.py +++ b/app/ui/epg_dialog.py @@ -217,9 +217,10 @@ class EpgDialog: def on_auto_configuration(self, item): """ Simple mapping of services by name. """ - use_cyrillic = locale.getdefaultlocale()[0] in ("ru_RU",) # "be_BY", "uk_UA", "sr_RS" + use_cyrillic = locale.getdefaultlocale()[0] in ("ru_RU", "be_BY", "uk_UA", "sr_RS") tr = None if use_cyrillic: + # TODO add characters for: "be_BY", "uk_UA", "sr_RS" symbols = (u"АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯTB", u"ABVGDEEJZIJKLMNOPRSTUFHZCSS_Y_EUATV") tr = {ord(k): ord(v) for k, v in zip(*symbols)} diff --git a/app/ui/iptv.glade b/app/ui/iptv.glade index 4764e7fd..f27c997f 100644 --- a/app/ui/iptv.glade +++ b/app/ui/iptv.glade @@ -615,7 +615,7 @@ Author: Dmitriy Yefremov 1 400 False - IPTV streams list configuration + IPTV streams list configuration False True center