Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/svg/storeinbox2.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-04-01 18:08:39 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-04-01 18:08:39 (GMT)
commit2d491e69a7ca740b4fadeba5c95a5e0f9d212ee3 (patch)
treeaf7077a968091f05267c3602749b5b0d9835f9ae /svg/storeinbox2.py
parentb6850a3e0b6dd3d56a3e50cdcb7e03cb75a3ef5e (diff)
fixed bug that was breaking genpot
Diffstat (limited to 'svg/storeinbox2.py')
-rw-r--r--svg/storeinbox2.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/svg/storeinbox2.py b/svg/storeinbox2.py
index a8f8194..8c6f667 100644
--- a/svg/storeinbox2.py
+++ b/svg/storeinbox2.py
@@ -29,9 +29,6 @@ import gettext
def main():
myname = "storeinbox2"
- mystring = "store in box 2"
- mygroup = "myblocks"
-
if len(sys.argv) != 2:
print "Error: Usage is " + myname + ".py lang"
return
@@ -40,7 +37,10 @@ def main():
_ = t.ugettext
t.install()
- print _(mystring)
+ mystring = _("store in box 2")
+ mygroup = "myblocks"
+
+ print mystring
data0 = \
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?> \n \
@@ -143,7 +143,7 @@ def main():
</text> \n \
</svg> \n"
- strings = _(mystring).split(" ",3)
+ strings = mystring.split(" ",3)
FILE = open(os.path.join("../images", sys.argv[1], mygroup, myname+".svg"), "w")
FILE.write(data0)
if len(strings) == 1: