diff --git a/app/picons/picons.py b/app/picons/picons.py index 4b946bde..342a017f 100644 --- a/app/picons/picons.py +++ b/app/picons/picons.py @@ -172,7 +172,6 @@ class ProviderParser(HTMLParser): def reset(self): super().reset() - self._counter = 0 def parse_providers(open_path): diff --git a/app/ui/lang/ru/LC_MESSAGES/demon-editor.mo b/app/ui/lang/ru/LC_MESSAGES/demon-editor.mo index 21d5368a..8b8e9417 100644 Binary files a/app/ui/lang/ru/LC_MESSAGES/demon-editor.mo and b/app/ui/lang/ru/LC_MESSAGES/demon-editor.mo differ diff --git a/app/ui/picons_dialog.glade b/app/ui/picons_dialog.glade index 866ece19..ea187745 100644 --- a/app/ui/picons_dialog.glade +++ b/app/ui/picons_dialog.glade @@ -768,22 +768,16 @@ True False + 2 True False - 6 end - - - - - - False @@ -794,25 +788,22 @@ False - 16 - - - True False - Info + Info + center + True + word-char + 2 False - True + False 1 - - - False @@ -820,9 +811,6 @@ 0 - - - False diff --git a/app/ui/picons_dialog.py b/app/ui/picons_dialog.py index 4923fc2a..a30afa37 100644 --- a/app/ui/picons_dialog.py +++ b/app/ui/picons_dialog.py @@ -79,6 +79,10 @@ class PiconsDialog: self._enigma2_picons_path = self._picons_path if profile is Profile.NEUTRINO_MP: self._enigma2_picons_path = options.get(Profile.ENIGMA_2.value).get("picons_dir_path", "") + if not len(self._picon_ids) and self._profile is Profile.ENIGMA_2: + message = get_message("To automatically set the identifiers for picons,\n" + "first load the required services list into the main application window.") + self.show_info_message(message, Gtk.MessageType.WARNING) def show(self): self._dialog.run() diff --git a/build-deb.sh b/build-deb.sh index a342c222..f5b95f72 100755 --- a/build-deb.sh +++ b/build-deb.sh @@ -5,7 +5,7 @@ DEB_PATH="$B_PATH/usr/share/demoneditor" mkdir -p $B_PATH cp -TRv deb $B_PATH -cp -Rv app $DEB_PATH +rsync --exclude=app/ui/lang -arv app $DEB_PATH cp -Rv start.py $DEB_PATH cd dist diff --git a/deb/usr/share/locale/ru/LC_MESSAGES/demon-editor.mo b/deb/usr/share/locale/ru/LC_MESSAGES/demon-editor.mo index 21d5368a..8b8e9417 100644 Binary files a/deb/usr/share/locale/ru/LC_MESSAGES/demon-editor.mo and b/deb/usr/share/locale/ru/LC_MESSAGES/demon-editor.mo differ diff --git a/po/ru/demon-editor.mo b/po/ru/demon-editor.mo index 21d5368a..8b8e9417 100644 Binary files a/po/ru/demon-editor.mo and b/po/ru/demon-editor.mo differ diff --git a/po/ru/demon-editor.po b/po/ru/demon-editor.po index 0dd7a6f2..80083d05 100644 --- a/po/ru/demon-editor.po +++ b/po/ru/demon-editor.po @@ -389,6 +389,9 @@ msgstr "Получение пиконов для провайдеров" msgid "Load satellite providers." msgstr "Загрузка провайдеров" +msgid "To automatically set the identifiers for picons,\nfirst load the required services list into the main application window." +msgstr "Для автоматического именования пиконов,\nзагрузите список необходимых сервисов в главное окно программы." + # Satellites editor msgid "Satellites edit tool" msgstr "Редактор спутников"