From ee5170d60de0d49d679c6f558faeba395996be29 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 03 Jun 2010 23:25:38 +0000 Subject: i18n --- (limited to 'turtleart.py') 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 -- cgit v0.9.1