VirtualKeyBoard/NetworkSetup: update title string
authorDima73 <Dima-73@inbox.lv>
Mon, 30 Nov 2015 17:45:36 +0000 (19:45 +0200)
committerDima73 <Dima-73@inbox.lv>
Mon, 30 Nov 2015 17:45:36 +0000 (19:45 +0200)
lib/python/Screens/NetworkSetup.py
lib/python/Screens/VirtualKeyBoard.py

index 9491dd2..566df46 100644 (file)
@@ -26,7 +26,7 @@ class NetworkAdapterSelection(Screen,HelpableScreen):
        def __init__(self, session):
                Screen.__init__(self, session)
                HelpableScreen.__init__(self)
-
+               self.setTitle(_("Select a network adapter"))
                self.wlan_errortext = _("No working wireless network adapter found.\nPlease verify that you have attached a compatible WLAN device and your network is configured correctly.")
                self.lan_errortext = _("No working local network adapter found.\nPlease verify that you have attached a network cable and your network is configured correctly.")
                self.oktext = _("Press OK on your remote control to continue.")
@@ -215,6 +215,7 @@ class NameserverSetup(Screen, ConfigListScreen, HelpableScreen):
        def __init__(self, session):
                Screen.__init__(self, session)
                HelpableScreen.__init__(self)
+               self.setTitle(_("Configure nameservers"))
                self.backupNameserverList = iNetwork.getNameserverList()[:]
                print "backup-list:", self.backupNameserverList
 
@@ -361,6 +362,7 @@ class AdapterSetup(Screen, ConfigListScreen, HelpableScreen):
                self["HelpWindow"].hide()
 
        def layoutFinished(self):
+               self.setTitle(_("Network setup"))
                self["DNS1"].setText(self.primaryDNS.getText())
                self["DNS2"].setText(self.secondaryDNS.getText())
                if self.ipConfigEntry.getText() is not None:
@@ -372,7 +374,7 @@ class AdapterSetup(Screen, ConfigListScreen, HelpableScreen):
                        self["IP"].setText(_("N/A"))
                if self.netmaskConfigEntry.getText() is not None:
                        if self.netmaskConfigEntry.getText() == "0.0.0.0":
-                                       self["Mask"].setText(_("N/A"))
+                               self["Mask"].setText(_("N/A"))
                        else:
                                self["Mask"].setText(self.netmaskConfigEntry.getText())
                else:
@@ -788,6 +790,7 @@ class AdapterSetupConfiguration(Screen, HelpableScreen):
                self.loadDescription()
 
        def layoutFinished(self):
+               self.setTitle(_("Network configuration"))
                idx = 0
                self["menulist"].moveToIndex(idx)
                self.loadDescription()
index 1b0ee9f..ac85559 100644 (file)
@@ -28,7 +28,7 @@ class VirtualKeyBoard(Screen):
 
        def __init__(self, session, title="", **kwargs):
                Screen.__init__(self, session)
-               self.setTitle(_("Virtual KeyBoard"))
+               self.setTitle(_("Virtual keyboard"))
                self.keys_list = []
                self.shiftkeys_list = []
                self.lang = language.getLanguage()