Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions lib/python/Screens/Wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, session, showSteps=True, showStepSlider=True, showList=True,
self.showStepSlider = showStepSlider
self.showList = showList
self.showConfig = showConfig
self.setTitle(_("Welcome Wizard"))
self.setTitle(_("Setup Wizard"))
self.wizard = {}
parser = make_parser()
wizardHandler = self.parseWizard(self.wizard)
Expand Down Expand Up @@ -119,31 +119,31 @@ def __init__(self, session, showSteps=True, showStepSlider=True, showList=True,
# "9": (self.keyNumberGlobal, _("DIGIT button")),
# "0": (self.keyNumberGlobal, _("DIGIT button")),
# "gotAsciiCode": (self.keyGotAscii, _("ASCII button"))
# }, prio=-1, description=_("Wizard Actions"))
# }, prio=-1, description=_("Setup Wizard Actions"))
self["wizardActions"] = HelpableActionMap(self, ["WizardActions", "InputAsciiActions"], {
"ok": (self.keySelect, _("Proceed to the next step")),
"ok": (self.keySelect, _("Move to the next step")),
"back": (self.keyStepBack, _("Go back to the previous step")),
"gotAsciiCode": (self.keyGotAscii, _("Enter text via an attached keyboard"))
}, prio=0, description=_("Wizard Actions"))
"gotAsciiCode": (self.keyGotAscii, _("Enter text using a physical keyboard"))
}, prio=0, description=_("Setup Wizard Actions"))
self["debugActions"] = HelpableActionMap(self, ["WizardActions"], {
# "info": (self.dumpDictionary, _("Dump the current wizard dictionary into the logs (Debug mode only)")),
"info": (self.exit, _("Immediately exit the wizard (Debug mode only)")),
}, prio=0, description=_("Wizard Actions"))
"info": (self.exit, _("Quit the setup wizard instantly (Debug Mode only)")),
}, prio=0, description=_("Setup Wizard Actions"))
self["debugActions"].setEnabled(self.debugMode)
self["leftRightActions"] = HelpableActionMap(self, ["NavigationActions"], {
"left": (self.keyLeft, _("View the previous item in a list")),
"right": (self.keyRight, _("View the next item in a list"))
}, prio=0, description=_("Wizard Actions"))
"left": (self.keyLeft, _("Go to the previous item in a list")),
"right": (self.keyRight, _("Go to the next item in a list"))
}, prio=0, description=_("Setup Wizard Actions"))
self["leftRightActions"].setEnabled(False)
self["upDownActions"] = HelpableActionMap(self, ["NavigationActions"], {
"up": (self.keyUp, _("Move up a line")),
"down": (self.keyDown, _("Move down a line"))
}, prio=0, description=_("Wizard Actions"))
}, prio=0, description=_("Setup Wizard Actions"))
self["upDownActions"].setEnabled(False)
self["deleteActions"] = HelpableActionMap(self, ["SetupActions"], {
"deleteBackward": (self.keyBackspace, _("Delete the character to the left of the cursor")),
"deleteForward": (self.keyDelete, _("Delete the character under the cursor"))
}, prio=0, description=_("Wizard Actions"))
}, prio=0, description=_("Setup Wizard Actions"))
self["deleteActions"].setEnabled(False)
self["numberActions"] = HelpableNumberActionMap(self, ["NumberActions"], {
"1": (self.keyNumberGlobal, _("Select a menu item")),
Expand All @@ -156,27 +156,27 @@ def __init__(self, session, showSteps=True, showStepSlider=True, showList=True,
"8": (self.keyNumberGlobal, _("Select a menu item")),
"9": (self.keyNumberGlobal, _("Select a menu item")),
"0": (self.keyNumberGlobal, _("Select a menu item"))
}, prio=0, description=_("Wizard Actions"))
}, prio=0, description=_("Setup Wizard Actions"))
self["numberActions"].setEnabled(False)
self["redAction"] = HelpableActionMap(self, ["ColorActions"], {
"red": (self.keyRed, _("Process RED button action")),
}, prio=0, description=_("Wizard Actions"))
"red": (self.keyRed, _("Process RED button action")), # TODO: l10n
}, prio=0, description=_("Setup Wizard Actions"))
self["redAction"].setEnabled(False)
self["greenAction"] = HelpableActionMap(self, ["ColorActions"], {
"green": (self.keyGreen, _("Process GREEN button action")),
}, prio=0, description=_("Wizard Actions"))
"green": (self.keyGreen, _("Process GREEN button action")), # TODO: l10n
}, prio=0, description=_("Setup Wizard Actions"))
self["greenAction"].setEnabled(False)
self["yellowAction"] = HelpableActionMap(self, ["ColorActions"], {
"yellow": (self.keyYellow, _("Process YELLOW button action")),
}, prio=0, description=_("Wizard Actions"))
"yellow": (self.keyYellow, _("Process YELLOW button action")), # TODO: l10n
}, prio=0, description=_("Setup Wizard Actions"))
self["yellowAction"].setEnabled(False)
self["blueAction"] = HelpableActionMap(self, ["ColorActions"], {
"blue": (self.keyBlue, _("Process BLUE button action")),
}, prio=0, description=_("Wizard Actions"))
"blue": (self.keyBlue, _("Process BLUE button action")), # TODO: l10n
}, prio=0, description=_("Setup Wizard Actions"))
self["blueAction"].setEnabled(False)
self["VirtualKB"] = HelpableActionMap(self, ["VirtualKeyboardActions"], {
"showVirtualKeyboard": (self.keyText, _("Open the VirtualKeyBoard for text entry"))
}, prio=0, description=_("Wizard Actions"))
"showVirtualKeyboard": (self.keyText, _("Show an on-screen keyboard to enter text with"))
}, prio=0, description=_("Setup Wizard Actions"))
self["VirtualKB"].setEnabled(False)
self.screenInstance = None
self.disableKeys = False
Expand Down Expand Up @@ -391,7 +391,7 @@ def keyStepBack(self):
self.currStep = self.stepHistory[-2]
self.stepHistory = self.stepHistory[:-2]
else:
self.session.openWithCallback(self.exitWizardQuestion, MessageBox, (_("Are you sure you want to exit this wizard?")), windowTitle=self.getTitle())
self.session.openWithCallback(self.exitWizardQuestion, MessageBox, (_("Are you sure you want to quit the setup wizard?")), windowTitle=self.getTitle())
if self.currStep < 1:
self.currStep = 1
print("[Wizard] The current step is %d and the current step history is %s." % (self.currStep, self.stepHistory))
Expand Down
2 changes: 1 addition & 1 deletion lib/python/Screens/WizardOSDCalibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self, session, interface=None):
ShowRemoteControl.__init__(self)
self.skinName = "StartWizard"
self.session = session
Screen.setTitle(self, _("Welcome..."))
Screen.setTitle(self, _("Welcome...")) # TODO: l10n (is this shown anywhere?)
self.Console = Console()
self["wizard"] = Pixmap()
self["HelpWindow"] = Pixmap()
Expand Down
1 change: 1 addition & 0 deletions lib/python/Tools/WeatherID.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#-*- coding: UTF-8 -*-

# source: https://code.google.com/p/python-weather-api/
# TODO: redundant file? - https://stackoverflow.com/questions/54046823/yql-query-service-replacement-now-that-yahoo-shut-it-down

from json import loads
from re import search
Expand Down
18 changes: 9 additions & 9 deletions po/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -2663,7 +2663,7 @@ msgstr ""
msgid "Are you sure you want to delete this?"
msgstr ""

msgid "Are you sure you want to exit this wizard?"
msgid "Are you sure you want to quit the setup wizard?"
msgstr "هل أنت متأكد أنك تريد الخروج من هذه النافذه ؟"

msgid "Are you sure you want to reload the EPG data from:\n"
Expand Down Expand Up @@ -7604,7 +7604,7 @@ msgstr "أدخل الرمز السري"
msgid "Enter pin code"
msgstr "أدخل الرقم السري"

msgid "Enter text via an attached keyboard"
msgid "Enter text using a physical keyboard"
msgstr ""

msgid "Enter the frequency at which you LNB switches between low band and high band. For more information consult the specifications of your LNB."
Expand Down Expand Up @@ -9838,7 +9838,7 @@ msgstr ""
msgid "Immediate shut down"
msgstr "إغلاق فورى"

msgid "Immediately exit the wizard (Debug mode only)"
msgid "Quit the setup wizard instantly (Debug Mode only)"
msgstr ""

msgid "Immediately restart selected devices."
Expand Down Expand Up @@ -13058,7 +13058,7 @@ msgstr ""
msgid "Open the Plugin Browser settings screen"
msgstr ""

msgid "Open the VirtualKeyBoard for text entry"
msgid "Show an on-screen keyboard to enter text with"
msgstr ""

msgid "Open the context menu"
Expand Down Expand Up @@ -14370,7 +14370,7 @@ msgstr ""
msgid "Proc model"
msgstr ""

msgid "Proceed to the next step"
msgid "Move to the next step"
msgstr ""

msgid "Proceed with the update"
Expand Down Expand Up @@ -22447,13 +22447,13 @@ msgstr "مشاهدة نصوص الأخبار..."
msgid "View the archive contents"
msgstr ""

msgid "View the next item in a list"
msgid "Go to the next item in a list"
msgstr ""

msgid "View the package contents"
msgstr ""

msgid "View the previous item in a list"
msgid "Go to the previous item in a list"
msgstr ""

#
Expand Down Expand Up @@ -22692,7 +22692,7 @@ msgstr ""
msgid "Weekly"
msgstr "اسبوعى"

msgid "Welcome Wizard"
msgid "Setup Wizard"
msgstr ""

#, python-format
Expand Down Expand Up @@ -23062,7 +23062,7 @@ msgstr "دون المنبثقة"
msgid "Without query"
msgstr ""

msgid "Wizard Actions"
msgid "Setup Wizard Actions"
msgstr ""

msgid "Wolof"
Expand Down
18 changes: 9 additions & 9 deletions po/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -2422,7 +2422,7 @@ msgstr "Сигурен ли си че искаш да изтриеш този д
msgid "Are you sure you want to delete this?"
msgstr ""

msgid "Are you sure you want to exit this wizard?"
msgid "Are you sure you want to quit the setup wizard?"
msgstr "Сигурен ли си че искаш да излезеш от този помощник?"

msgid "Are you sure you want to reload the EPG data from:\n"
Expand Down Expand Up @@ -7183,7 +7183,7 @@ msgstr "Въведете устойчив ПИН-код"
msgid "Enter pin code"
msgstr "Въведете пин код"

msgid "Enter text via an attached keyboard"
msgid "Enter text using a physical keyboard"
msgstr ""

msgid "Enter the frequency at which you LNB switches between low band and high band. For more information consult the specifications of your LNB."
Expand Down Expand Up @@ -9351,7 +9351,7 @@ msgstr "Съветник за имидж"
msgid "Immediate shut down"
msgstr "Незабавно изключване"

msgid "Immediately exit the wizard (Debug mode only)"
msgid "Quit the setup wizard instantly (Debug Mode only)"
msgstr ""

msgid "Immediately restart selected devices."
Expand Down Expand Up @@ -12366,7 +12366,7 @@ msgstr "Отворете браузъра на плъгини"
msgid "Open the Plugin Browser settings screen"
msgstr ""

msgid "Open the VirtualKeyBoard for text entry"
msgid "Show an on-screen keyboard to enter text with"
msgstr ""

msgid "Open the context menu"
Expand Down Expand Up @@ -13611,7 +13611,7 @@ msgstr "Вероятните причини могат да бъдат"
msgid "Proc model"
msgstr ""

msgid "Proceed to the next step"
msgid "Move to the next step"
msgstr ""

msgid "Proceed with the update"
Expand Down Expand Up @@ -21331,13 +21331,13 @@ msgstr "Преглед на телетекст..."
msgid "View the archive contents"
msgstr ""

msgid "View the next item in a list"
msgid "Go to the next item in a list"
msgstr ""

msgid "View the package contents"
msgstr ""

msgid "View the previous item in a list"
msgid "Go to the previous item in a list"
msgstr ""

msgid "View video CD..."
Expand Down Expand Up @@ -21559,7 +21559,7 @@ msgstr ""
msgid "Weekly"
msgstr "Седмично"

msgid "Welcome Wizard"
msgid "Setup Wizard"
msgstr ""

#, python-format
Expand Down Expand Up @@ -21924,7 +21924,7 @@ msgstr "Без изскачащ"
msgid "Without query"
msgstr "без Запитване"

msgid "Wizard Actions"
msgid "Setup Wizard Actions"
msgstr ""

msgid "Wolof"
Expand Down
18 changes: 9 additions & 9 deletions po/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -2648,7 +2648,7 @@ msgid "Are you sure you want to delete this?"
msgstr ""

#
msgid "Are you sure you want to exit this wizard?"
msgid "Are you sure you want to quit the setup wizard?"
msgstr "Esteu segur que voleu sortir d’aquest assistent?"

msgid "Are you sure you want to reload the EPG data from:\n"
Expand Down Expand Up @@ -7703,7 +7703,7 @@ msgstr "Introduïu codi PIN persistent"
msgid "Enter pin code"
msgstr "Introduïu codi PIN"

msgid "Enter text via an attached keyboard"
msgid "Enter text using a physical keyboard"
msgstr ""

msgid "Enter the frequency at which you LNB switches between low band and high band. For more information consult the specifications of your LNB."
Expand Down Expand Up @@ -10006,7 +10006,7 @@ msgstr ""
msgid "Immediate shut down"
msgstr ""

msgid "Immediately exit the wizard (Debug mode only)"
msgid "Quit the setup wizard instantly (Debug Mode only)"
msgstr ""

msgid "Immediately restart selected devices."
Expand Down Expand Up @@ -13296,7 +13296,7 @@ msgstr ""
msgid "Open the Plugin Browser settings screen"
msgstr ""

msgid "Open the VirtualKeyBoard for text entry"
msgid "Show an on-screen keyboard to enter text with"
msgstr ""

msgid "Open the context menu"
Expand Down Expand Up @@ -14657,7 +14657,7 @@ msgstr ""
msgid "Proc model"
msgstr ""

msgid "Proceed to the next step"
msgid "Move to the next step"
msgstr ""

msgid "Proceed with the update"
Expand Down Expand Up @@ -22853,13 +22853,13 @@ msgstr "Veure teletext..."
msgid "View the archive contents"
msgstr ""

msgid "View the next item in a list"
msgid "Go to the next item in a list"
msgstr ""

msgid "View the package contents"
msgstr ""

msgid "View the previous item in a list"
msgid "Go to the previous item in a list"
msgstr ""

msgid "View video CD..."
Expand Down Expand Up @@ -23103,7 +23103,7 @@ msgstr ""
msgid "Weekly"
msgstr "setmanalment"

msgid "Welcome Wizard"
msgid "Setup Wizard"
msgstr ""

#, python-format
Expand Down Expand Up @@ -23473,7 +23473,7 @@ msgstr "Sense aparició"
msgid "Without query"
msgstr ""

msgid "Wizard Actions"
msgid "Setup Wizard Actions"
msgstr ""

msgid "Wolof"
Expand Down
Loading