diff options
author | Walter Bender <walter@sugarlabs.org> | 2010-06-03 23:25:38 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2010-06-03 23:25:38 (GMT) |
commit | ee5170d60de0d49d679c6f558faeba395996be29 (patch) | |
tree | 3b5549ea3b1fecb0cba7f7101f99d27e218441ac /turtleart.py | |
parent | 703b0e69a7c404b00122a78b28a0e86f511605ed (diff) |
i18n
Diffstat (limited to 'turtleart.py')
-rwxr-xr-x | turtleart.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/turtleart.py b/turtleart.py index 37e0c5c..ccda656 100755 --- a/turtleart.py +++ b/turtleart.py @@ -34,7 +34,8 @@ from tawindow import TurtleArtWindow from taexporthtml import save_html from taexportlogo import save_logo -HELP_MSG = "turtleart.py: usage is\nturtleart.py project.ta --output_png\n" +HELP_MSG = "turtleart.py: " + _("usage is") +\ + "\n\tturtleart.py project.ta --output_png" def makepath(path): """ Make a path if it doesn't previously exist """ @@ -72,7 +73,7 @@ class TurtleMain(): if not self.ta_file.endswith(('.ta')): self.ta_file += '.ta' if not os.path.exists(self.ta_file): - print("%s: file not found" % (self.ta_file)) + print("%s: %s" % (self.ta_file, _("file not found"))) return self.i = 0 |