fix inverted setting (meaning was inverted too)
[enigma2.git] / lib / python / Components / Lcd.py
index 42f15698123ec71318c67dc3d2024b1360ebf315..552d548584a53e5fd9a5b0344d4813621f7bbf0a 100644 (file)
@@ -22,14 +22,13 @@ class LCD:
                if value:
                        value = 255
                eDBoxLCD.getInstance().setInverted(value)
                if value:
                        value = 255
                eDBoxLCD.getInstance().setInverted(value)
-               pass
 
 def InitLcd():
        config.lcd = ConfigSubsection();
 
 def InitLcd():
        config.lcd = ConfigSubsection();
-       config.lcd.bright = configElement("config.lcd.bright", ConfigSlider, 10, "");
-       config.lcd.contrast = configElement("config.lcd.contrast", ConfigSlider, 10, "");
-       config.lcd.standby = configElement("config.lcd.standby", ConfigSlider, 0, "");
-       config.lcd.invert = configElement("config.lcd.invert", configSelection, 0, ("Disable", "Enable") );
+       config.lcd.bright = configElement("config.lcd.bright", ConfigSlider, 10, "")
+       config.lcd.contrast = configElement("config.lcd.contrast", ConfigSlider, 10, "")
+       config.lcd.standby = configElement("config.lcd.standby", ConfigSlider, 0, "")
+       config.lcd.invert = configElement("config.lcd.invert", configSelection, 0, (("disable", _("Disable")), ("enable", _("Enable"))))
 
        ilcd = LCD()
 
 
        ilcd = LCD()
 
@@ -47,4 +46,4 @@ def InitLcd():
        config.lcd.invert.addNotifier(setLCDinverted);
        
 
        config.lcd.invert.addNotifier(setLCDinverted);
        
 
-       
\ No newline at end of file
+