Mercurial > boomslang
diff README-i18n.txt @ 783:eafa66caedd2 pyntnclick
Fix trailing space and old reference to gamelib.i18n.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sat, 26 Jan 2013 19:14:09 +0200 |
parents | 4ea237bbcef8 |
children |
line wrap: on
line diff
--- 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