Mercurial > pyntnclick
changeset 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 | 6a3440c8be8d |
children | 29c5badeef98 |
files | README-i18n.txt |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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