Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/svg/seth.py
diff options
context:
space:
mode:
Diffstat (limited to 'svg/seth.py')
-rw-r--r--svg/seth.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/svg/seth.py b/svg/seth.py
index 581d59d..fd55458 100644
--- a/svg/seth.py
+++ b/svg/seth.py
@@ -29,9 +29,6 @@ import gettext
def main():
myname = "seth"
- mystring1 = "set heading"
- mygroup = "turtle"
-
if len(sys.argv) != 2:
print "Error: Usage is " + myname + ".py lang"
return
@@ -40,6 +37,9 @@ def main():
_ = t.ugettext
t.install()
+ mystring1 = _("set heading")
+ mygroup = "turtle"
+
print _(mystring1)
data0 = \
@@ -112,7 +112,7 @@ def main():
FILE = open(os.path.join("../images", sys.argv[1], mygroup, myname + ".svg"), "w")
FILE.write(data0)
- strings = _(mystring1).split(" ",2)
+ strings = mystring1.split(" ",2)
if len(strings) == 1:
FILE.write(data1a)
FILE.write(strings[0].encode("utf-8"))