# HG changeset patch # User Simon Cross # Date 1359220449 -7200 # Node ID eafa66caedd2f0c8aa4a503e39543ce61f63154c # Parent 6a3440c8be8da0aa6e8864e406373705f873a993 Fix trailing space and old reference to gamelib.i18n. diff -r 6a3440c8be8d -r eafa66caedd2 README-i18n.txt --- a/README-i18n.txt Sat Jan 26 19:13:07 2013 +0200 +++ b/README-i18n.txt Sat Jan 26 19:14:09 2013 +0200 @@ -27,13 +27,13 @@ == How can I mark the string in code as translatable? == -Just surround it with _( and ) like +Just surround it with _( and ) like "Hello, world" -> _("Hello, world!") _() is a function in `gamelib/i18n.py' file, so you might want to import it first. - from gamelib.i18n import _ + from pyntnclick.i18n import _ And don't forget to update message catalogs with new strings. To do that just execute `update-po.sh' script. It collects all translatable