Mercurial > pyntnclick
changeset 781:5fb962434159 pyntnclick
Translate the title (thanks Dmitrijs Ledkovs)
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 26 Jan 2013 18:54:34 +0200 |
parents | 0548894408a8 |
children | 6a3440c8be8d |
files | gamelib/constants.py po/ru.po po/suspended-sentence.pot |
diffstat | 3 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gamelib/constants.py Sat Jan 26 18:49:07 2013 +0200 +++ b/gamelib/constants.py Sat Jan 26 18:54:34 2013 +0200 @@ -1,7 +1,8 @@ from pyntnclick.constants import GameConstants +from pyntnclick.i18n import _ class SSConstants(GameConstants): - title = 'Suspended Sentence' + title = _('Suspended Sentence') icon = 'suspended_sentence24x24.png' i18n_name = 'suspended-sentence'
--- a/po/ru.po Sat Jan 26 18:49:07 2013 +0200 +++ b/po/ru.po Sat Jan 26 18:54:34 2013 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: suspended-sentence 1.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-01-26 18:15+0200\n" +"POT-Creation-Date: 2013-01-26 18:41+0200\n" "PO-Revision-Date: 2011-03-08 23:13+0600\n" "Last-Translator: Sergey Basalaev <sbasalaev@gmail.com>\n" "Language-Team: Russian\n" @@ -19,6 +19,10 @@ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +#: gamelib/constants.py:6 +msgid "Suspended Sentence" +msgstr "Анабиоз" + #: gamelib/scenes/bridge.py:58 msgid "The brightly coloured wires contrast with the drab walls." msgstr "Яркие разноцветные провода контрастируют с блеклыми стенами."
--- a/po/suspended-sentence.pot Sat Jan 26 18:49:07 2013 +0200 +++ b/po/suspended-sentence.pot Sat Jan 26 18:54:34 2013 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-01-26 18:15+0200\n" +"POT-Creation-Date: 2013-01-26 18:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -17,6 +17,10 @@ "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" +#: gamelib/constants.py:6 +msgid "Suspended Sentence" +msgstr "" + #: gamelib/scenes/bridge.py:58 msgid "The brightly coloured wires contrast with the drab walls." msgstr ""