Skip to content

Commit

Permalink
[flashimage] yet another rewording
Browse files Browse the repository at this point in the history
  • Loading branch information
henrylicious committed Mar 20, 2024
1 parent 0214db9 commit 66e5e6c
Show file tree
Hide file tree
Showing 41 changed files with 829 additions and 887 deletions.
18 changes: 11 additions & 7 deletions lib/python/Screens/FlashImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,27 +505,31 @@ def cleanUp(self):
def flashPostAction(self, retVal=True):
if retVal:
self.recordCheck = False
text = _("How should the image be installed?\n")
text = _("What should be restored?\n")
if getImageDistro() in self.imagename:
if os.path.exists("/media/hdd/images/config/myrestore.sh"):
text = "%s\n%s" % (text, _("(The file '/media/hdd/images/config/myrestore.sh' exists and will be run after the image is flashed.)"))
choices = [
(_("Restore everything"), "restoresettingsandallplugins"),
(_("Clean"), "wizard"),
(_("Restore settings"), "restoresettingsnoplugin"),
(_("Restore settings and selected plugins"), "restoresettings"),
(_("Everything"), "restoresettingsandallplugins"),
(_("Nothing"), "wizard"),
(_("Settings without plugins"), "restoresettingsnoplugin"),
(_("Settings and selected plugins"), "restoresettings"),
(_("Do not flash image"), "abort")
]
default = self.selectPrevPostFlashAction()
if "backup" in self.imagename:
text = _("Flash Backupimage")
text = "%s\n%s?" % (text, self.imagename)
choices = [
(_("Clean"), "nothing"),
(_("Yes"), "nothing"),
(_("Do not flash image"), "abort")
]
default = 0
else:
text = _("Flash Image")
text = "%s\n%s?" % (text, self.imagename)
choices = [
(_("Clean"), "wizard"),
(_("Yes"), "wizard"),
(_("Do not flash image"), "abort")
]
default = 0
Expand Down
39 changes: 19 additions & 20 deletions po/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: enigma2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-20 21:07+0100\n"
"POT-Creation-Date: 2024-03-20 23:33+0100\n"
"PO-Revision-Date: 2019-08-27 05:19+0200\n"
"Last-Translator: Andy Blackburn <[email protected]>\n"
"Language-Team: Arabic <[email protected]>\n"
Expand Down Expand Up @@ -3466,10 +3466,6 @@ msgstr "يسار دائرى"
msgid "Circular right"
msgstr "يمين دائرى"

#, fuzzy
msgid "Clean"
msgstr "تنظيف"

#, fuzzy
msgid "Clean network trash can's"
msgstr "مسح قبل البحث"
Expand Down Expand Up @@ -5786,6 +5782,10 @@ msgstr "معاينة القائمه"
msgid "Eventview:"
msgstr ""

#, fuzzy
msgid "Everything"
msgstr "إستعادة إعدادات النظام"

msgid "Everywhere"
msgstr ""

Expand Down Expand Up @@ -6223,6 +6223,10 @@ msgid ""
"Restart your %s %s now?"
msgstr ""

#, fuzzy
msgid "Flash Backupimage"
msgstr "شحن"

#, fuzzy
msgid "Flash Image"
msgstr "شحن"
Expand Down Expand Up @@ -7051,9 +7055,6 @@ msgstr ""
msgid "How many minutes do you want to record?"
msgstr "كم دقيقه تريد أن تسجل ؟"

msgid "How should the image be installed?\n"
msgstr ""

msgid "Http(s) stream start delay"
msgstr ""

Expand Down Expand Up @@ -11633,18 +11634,6 @@ msgstr "إستعادة النسخه الإحتياطيه "
msgid "Restore deleted images"
msgstr "نعم، أستعد الاعدادات الان"

#, fuzzy
msgid "Restore everything"
msgstr "إستعادة إعدادات النظام"

#, fuzzy
msgid "Restore settings"
msgstr "إستعادة إعدادات النظام"

#, fuzzy
msgid "Restore settings and selected plugins"
msgstr "خطأ فى تنفيذ البلج إن"

msgid "Restore settings backup after restart"
msgstr ""

Expand Down Expand Up @@ -12840,9 +12829,16 @@ msgstr ""
msgid "Settings"
msgstr "إعدادات"

#, fuzzy
msgid "Settings and selected plugins"
msgstr "خطأ فى تنفيذ البلج إن"

msgid "Settings over Ethernet"
msgstr ""

msgid "Settings without plugins"
msgstr ""

msgid "Settings..."
msgstr ""

Expand Down Expand Up @@ -17275,6 +17271,9 @@ msgstr ""
msgid "What do you want to scan?"
msgstr "ماذا تريد ان تبحث ؟"

msgid "What should be restored?\n"
msgstr ""

msgid "When enabled the PiP can be closed by the exit button."
msgstr ""

Expand Down
39 changes: 19 additions & 20 deletions po/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tuxbox-enigma 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-20 21:07+0100\n"
"POT-Creation-Date: 2024-03-20 23:33+0100\n"
"PO-Revision-Date: 2024-03-20 09:59+0100\n"
"Last-Translator: Andy Blackburn <[email protected]>\n"
"Language-Team: Bulgarian\n"
Expand Down Expand Up @@ -3251,10 +3251,6 @@ msgstr "Кръгова лява"
msgid "Circular right"
msgstr "Кръгова дясна"

#, fuzzy
msgid "Clean"
msgstr "Почистване"

#, fuzzy
msgid "Clean network trash can's"
msgstr "Изчистване преди сканиране"
Expand Down Expand Up @@ -5484,6 +5480,10 @@ msgstr "Меню преглед"
msgid "Eventview:"
msgstr ""

#, fuzzy
msgid "Everything"
msgstr "Надграждане (Възстановяване на всичко)"

msgid "Everywhere"
msgstr ""

Expand Down Expand Up @@ -5901,6 +5901,10 @@ msgid ""
"Restart your %s %s now?"
msgstr ""

#, fuzzy
msgid "Flash Backupimage"
msgstr "Грешка при флашване"

#, fuzzy
msgid "Flash Image"
msgstr "Грешка при флашване"
Expand Down Expand Up @@ -6692,9 +6696,6 @@ msgstr ""
msgid "How many minutes do you want to record?"
msgstr "Колко минути желаете да запишете?"

msgid "How should the image be installed?\n"
msgstr ""

msgid "Http(s) stream start delay"
msgstr ""

Expand Down Expand Up @@ -11008,18 +11009,6 @@ msgstr ""
msgid "Restore deleted images"
msgstr "Да, възстанови настройките сега"

#, fuzzy
msgid "Restore everything"
msgstr "Надграждане (Възстановяване на всичко)"

#, fuzzy
msgid "Restore settings"
msgstr "Възстановяване на системните настройки"

#, fuzzy
msgid "Restore settings and selected plugins"
msgstr "Грешка при стартиране на плъгина"

msgid "Restore settings backup after restart"
msgstr ""

Expand Down Expand Up @@ -12157,9 +12146,16 @@ msgstr ""
msgid "Settings"
msgstr "Настройки"

#, fuzzy
msgid "Settings and selected plugins"
msgstr "Грешка при стартиране на плъгина"

msgid "Settings over Ethernet"
msgstr ""

msgid "Settings without plugins"
msgstr ""

msgid "Settings..."
msgstr ""

Expand Down Expand Up @@ -16320,6 +16316,9 @@ msgstr ""
msgid "What do you want to scan?"
msgstr "Какво искате да търся?"

msgid "What should be restored?\n"
msgstr ""

msgid "When enabled the PiP can be closed by the exit button."
msgstr ""

Expand Down
46 changes: 22 additions & 24 deletions po/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: enigma2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-20 21:07+0100\n"
"POT-Creation-Date: 2024-03-20 23:33+0100\n"
"PO-Revision-Date: 2019-08-27 05:20+0200\n"
"Last-Translator: Andy Blackburn <[email protected]>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -3511,11 +3511,6 @@ msgstr ""
msgid "Circular right"
msgstr ""

#
#, fuzzy
msgid "Clean"
msgstr "Netejar"

#
#, fuzzy
msgid "Clean network trash can's"
Expand Down Expand Up @@ -5951,6 +5946,11 @@ msgstr ""
msgid "Eventview:"
msgstr ""

#
#, fuzzy
msgid "Everything"
msgstr "Si, restaura la configuració ara"

msgid "Everywhere"
msgstr ""

Expand Down Expand Up @@ -6431,6 +6431,11 @@ msgid ""
"Restart your %s %s now?"
msgstr ""

#
#, fuzzy
msgid "Flash Backupimage"
msgstr "no canviar"

msgid "Flash Image"
msgstr ""

Expand Down Expand Up @@ -7284,9 +7289,6 @@ msgstr ""
msgid "How many minutes do you want to record?"
msgstr "Quants minuts vols gravar?"

msgid "How should the image be installed?\n"
msgstr ""

msgid "Http(s) stream start delay"
msgstr ""

Expand Down Expand Up @@ -12044,21 +12046,6 @@ msgstr ""
msgid "Restore deleted images"
msgstr "Si, restaura la configuració ara"

#
#, fuzzy
msgid "Restore everything"
msgstr "Si, restaura la configuració ara"

#
#, fuzzy
msgid "Restore settings"
msgstr "EPG senzill"

#
#, fuzzy
msgid "Restore settings and selected plugins"
msgstr "Si, restaura la configuració ara"

msgid "Restore settings backup after restart"
msgstr ""

Expand Down Expand Up @@ -13310,9 +13297,17 @@ msgstr ""
msgid "Settings"
msgstr "Configuracions"

#
#, fuzzy
msgid "Settings and selected plugins"
msgstr "Si, restaura la configuració ara"

msgid "Settings over Ethernet"
msgstr ""

msgid "Settings without plugins"
msgstr ""

msgid "Settings..."
msgstr ""

Expand Down Expand Up @@ -17763,6 +17758,9 @@ msgstr ""
msgid "What do you want to scan?"
msgstr "Què vols buscar?"

msgid "What should be restored?\n"
msgstr ""

msgid "When enabled the PiP can be closed by the exit button."
msgstr ""

Expand Down
Loading

0 comments on commit 66e5e6c

Please sign in to comment.