Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-11-11 13:17:14 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-11-11 13:17:14 (GMT)
commitccc188bbd90dbf128c4e9239c05319fb1b31f54a (patch)
tree63e6a3477bd140552be01547a760744530052c53 /TurtleArt
parentc60318685f957b1d4d071be1900769533ac4def2 (diff)
force color names to appear in PO files
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/tabasics.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py
index a57216b..3d88ce4 100644
--- a/TurtleArt/tabasics.py
+++ b/TurtleArt/tabasics.py
@@ -544,6 +544,10 @@ pensize\nend\n')
color_names = ('red', 'orange', 'yellow', 'green', 'cyan', 'blue',
'purple', 'white', 'black')
+ # Need to make sure color names are included in the PO files
+ color_names_i18n = (_('red'), _('orange'), _('yellow'), _('green'),
+ _('cyan'), _('blue'), _('purple'), _('white'),
+ _('black'))
for name in color_names:
self._make_constant(palette, name, _(name), name)