preparation for translations
authorAndreas Oberritter <obi@opendreambox.org>
Thu, 27 Mar 2008 17:35:34 +0000 (17:35 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Thu, 27 Mar 2008 17:35:34 +0000 (17:35 +0000)
lib/python/Plugins/SystemPlugins/VideoTune/VideoFinetune.py
lib/python/Plugins/SystemPlugins/VideoTune/plugin.py

index 85dd9660a9e4385eef99ff439abea1b710195aa1..e8331327ae681ee8e854ebb0779aefc99fcccce3 100644 (file)
@@ -80,11 +80,11 @@ class VideoFinetune(Screen):
                c.writeText(xres / 10, yres / 6 - 40, xres * 3 / 5, 40, RGB(128,255,255), RGB(0,0,0), gFont("Regular", 40), 
                        _("Brightness"))
                c.writeText(xres / 10, yres / 6, xres * 4 / 7, yres / 6, RGB(255,255,255), RGB(0,0,0), gFont("Regular", 20),
                c.writeText(xres / 10, yres / 6 - 40, xres * 3 / 5, 40, RGB(128,255,255), RGB(0,0,0), gFont("Regular", 40), 
                        _("Brightness"))
                c.writeText(xres / 10, yres / 6, xres * 4 / 7, yres / 6, RGB(255,255,255), RGB(0,0,0), gFont("Regular", 20),
-                       ("If your TV has a brightness or contrast enhancement, disable it. If there is something called \"dynamic\", "
-                               "set it to standard. Adjust the backlight level to your favourite value. "
+                       _("If your TV has a brightness or contrast enhancement, disable it. If there is something called \"dynamic\", "
+                               "set it to standard. Adjust the backlight level to a value suiting your taste. "
                                "Turn down contrast on your TV as much as possible.\nThen turn the brightness setting as "
                                "Turn down contrast on your TV as much as possible.\nThen turn the brightness setting as "
-                               "low as possible, but make sure that the two lowermost shades of gray are still distinguishable.\n"
-                               "Do not care for the bright shades now, they will be set up in the next step.\n"
+                               "low as possible, but make sure that the two lowermost shades of gray stay distinguishable.\n"
+                               "Do not care about the bright shades now. They will be set up in the next step.\n"
                                "If you are happy with the result, press OK."),
                                RT_WRAP)
 
                                "If you are happy with the result, press OK."),
                                RT_WRAP)
 
@@ -134,8 +134,8 @@ class VideoFinetune(Screen):
                c.writeText(xres / 10, yres / 6 - 40, xres * 3 / 5, 40, RGB(128,0,0), RGB(255,255,255), gFont("Regular", 40), 
                        _("Contrast"))
                c.writeText(xres / 10, yres / 6, xres / 2, yres / 6, RGB(0,0,0), RGB(255,255,255), gFont("Regular", 20),
                c.writeText(xres / 10, yres / 6 - 40, xres * 3 / 5, 40, RGB(128,0,0), RGB(255,255,255), gFont("Regular", 40), 
                        _("Contrast"))
                c.writeText(xres / 10, yres / 6, xres / 2, yres / 6, RGB(0,0,0), RGB(255,255,255), gFont("Regular", 20),
-                       ("Now, use the contrast setting to turn up the brightness of the background as much as possible, "
-                               "but make sure that you can still see the difference between the two brightest level of shades."
+                       _("Now, use the contrast setting to turn up the brightness of the background as much as possible, "
+                               "but make sure that you can still see the difference between the two brightest levels of shades."
                                "If you have done that, press OK."),
                                RT_WRAP)
 
                                "If you have done that, press OK."),
                                RT_WRAP)
 
@@ -192,8 +192,8 @@ class VideoFinetune(Screen):
                c.writeText(xres / 10, yres / 6 - 40, xres * 3 / 5, 40, RGB(128,0,0), RGB(255,255,255), gFont("Regular", 40), 
                        ("Color"))
                c.writeText(xres / 10, yres / 6, xres / 2, yres / 6, RGB(0,0,0), RGB(255,255,255), gFont("Regular", 20),
                c.writeText(xres / 10, yres / 6 - 40, xres * 3 / 5, 40, RGB(128,0,0), RGB(255,255,255), gFont("Regular", 40), 
                        ("Color"))
                c.writeText(xres / 10, yres / 6, xres / 2, yres / 6, RGB(0,0,0), RGB(255,255,255), gFont("Regular", 20),
-                       ("Adjust the color settings so that all the color shades are distinguishable, but appear as saturated as possible. "
-                               "If you are happy with the result, press OK to close the video finetuning, or use the number keys to select other test screens."),
+                       _("Adjust the color settings so that all the color shades are distinguishable, but appear as saturated as possible. "
+                               "If you are happy with the result, press OK to close the video fine-tuning, or use the number keys to select other test screens."),
                                RT_WRAP)
 
                c.flush()
                                RT_WRAP)
 
                c.flush()
index 913a60ae795a7d5096b997f5d898c5fbc5f7c7c9..1b62206fbf0603b9ecaef369e1688dc6622f0500 100644 (file)
@@ -11,7 +11,7 @@ def videoFinetuneWizard(*args, **kwargs):
                from Components.config import config
                show_testcard = config.misc.showtestcard.value
        except KeyError:
                from Components.config import config
                show_testcard = config.misc.showtestcard.value
        except KeyError:
-               print "not showing finetune wizard, config variable doesn't exist"
+               print "not showing fine-tuning wizard, config variable doesn't exist"
        if show_testcard:
                from VideoFinetune import VideoFinetune
                config.misc.showtestcard.value = False
        if show_testcard:
                from VideoFinetune import VideoFinetune
                config.misc.showtestcard.value = False
@@ -30,10 +30,10 @@ def startSetup(menuid):
        if menuid != "system": 
                return [ ]
 
        if menuid != "system": 
                return [ ]
 
-       return [(("Video Finetune"), videoFinetuneMain, "video_finetune", None)]
+       return [(_("Video Fine-Tuning"), videoFinetuneMain, "video_finetune", None)]
 
 def Plugins(**kwargs):
        return [
 
 def Plugins(**kwargs):
        return [
-               PluginDescriptor(name=("Video Finetune"), description=("Fine-tune your video"), where = PluginDescriptor.WHERE_MENU, fnc=startSetup),
-               PluginDescriptor(name=("Video Finetune Wizard"), where = PluginDescriptor.WHERE_WIZARD, fnc=(1, videoFinetuneWizard))
+               PluginDescriptor(name=_("Video Fine-Tuning"), description=_("fine-tune your display"), where = PluginDescriptor.WHERE_MENU, fnc=startSetup),
+               PluginDescriptor(name=_("Video Fine-Tuning Wizard"), where = PluginDescriptor.WHERE_WIZARD, fnc=(1, videoFinetuneWizard))
        ]
        ]