Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins/camera_sensor
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-10-08 01:16:11 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-10-08 01:16:11 (GMT)
commit300661fedbbd5823f989c9397d9372fd5bf60a12 (patch)
tree904313757030b096edc2601e63923be23345f170 /plugins/camera_sensor
parent04a1a6a5d1c602a113756e2464f4f6b4a04a5232 (diff)
revised approach to i18n
Diffstat (limited to 'plugins/camera_sensor')
-rw-r--r--plugins/camera_sensor/camera_sensor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/camera_sensor/camera_sensor.py b/plugins/camera_sensor/camera_sensor.py
index 5d4b2a9..6509a88 100644
--- a/plugins/camera_sensor/camera_sensor.py
+++ b/plugins/camera_sensor/camera_sensor.py
@@ -57,12 +57,12 @@ class Camera_sensor(Plugin):
def setup(self):
''' Set up the palettes '''
- sensors_palette = make_palette(_('sensor'),
+ sensors_palette = make_palette('sensor',
colors=["#FF6060", "#A06060"],
help_string=_(
'Palette of sensor blocks'),
position=6)
- media_palette = make_palette(_('media'),
+ media_palette = make_palette('media',
colors=["#A0FF00", "#80A000"],
help_string=_('Palette of media objects'),
position=7)