# HG changeset patch # User Reimar Bauer # Date 1390034486 -3600 # Node ID 096c748b438a02bf17e510078631045fa515c98b # Parent 9fa249552dbacb96cba88291c1d2b19aaec528eb initial Makefile for writing po i18n files diff -r 9fa249552dba -r 096c748b438a Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Sat Jan 18 09:41:26 2014 +0100 @@ -0,0 +1,20 @@ +# +# Makefile for pymove3D +# + +# location for the pymove3d.py we use: +export PYTHONPATH=$(PWD) + +pylint: + pylint ./pymove3d.py + +pybabel_init: + pybabel extract -o ./translations/pymove3d.pot . + pybabel init -i ./translations/pymove3d.pot -d translations -l de + pybabel init -i ./translations/pymove3d.pot -d translations -l en + +pybabel_update: + pybabel extract -o ./translations/pymove3d.pot . + pybabel update -i ./translations/pymove3d.pot -d translations -l de + pybabel update -i ./translations/pymove3d.pot -d translations -l en + diff -r 9fa249552dba -r 096c748b438a translations/de/LC_MESSAGES/messages.po --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/translations/de/LC_MESSAGES/messages.po Sat Jan 18 09:41:26 2014 +0100 @@ -0,0 +1,80 @@ +# German translations for PROJECT. +# Copyright (C) 2014 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2014. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2014-01-18 09:40+0100\n" +"PO-Revision-Date: 2014-01-18 09:40+0100\n" +"Last-Translator: FULL NAME \n" +"Language-Team: de \n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 1.3\n" + +#: pymove3d.py:25 +msgid "/index" +msgstr "" + +#: pymove3d.py:27 +msgid "en/index.html" +msgstr "" + +#: pymove3d.py:29 +msgid "/competition" +msgstr "" + +#: pymove3d.py:31 +msgid "en/competition.html" +msgstr "" + +#: pymove3d.py:33 +msgid "/task" +msgstr "" + +#: pymove3d.py:35 +msgid "en/task.html" +msgstr "" + +#: pymove3d.py:37 +msgid "/submission" +msgstr "" + +#: pymove3d.py:39 +msgid "en/submission.html" +msgstr "" + +#: pymove3d.py:41 +msgid "/coursematerial" +msgstr "" + +#: pymove3d.py:43 +msgid "en/coursematerial.html" +msgstr "" + +#: pymove3d.py:45 +msgid "/imprint" +msgstr "" + +#: pymove3d.py:47 +msgid "en/imprint.html" +msgstr "" + +#: pymove3d.py:49 +msgid "/privacy" +msgstr "" + +#: pymove3d.py:51 +msgid "en/privacy.html" +msgstr "" + +#: pymove3d.py:56 +msgid "en/404.html" +msgstr "" + diff -r 9fa249552dba -r 096c748b438a translations/en/LC_MESSAGES/messages.po --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/translations/en/LC_MESSAGES/messages.po Sat Jan 18 09:41:26 2014 +0100 @@ -0,0 +1,80 @@ +# English translations for PROJECT. +# Copyright (C) 2014 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2014. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2014-01-18 09:40+0100\n" +"PO-Revision-Date: 2014-01-18 09:40+0100\n" +"Last-Translator: FULL NAME \n" +"Language-Team: en \n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 1.3\n" + +#: pymove3d.py:25 +msgid "/index" +msgstr "" + +#: pymove3d.py:27 +msgid "en/index.html" +msgstr "" + +#: pymove3d.py:29 +msgid "/competition" +msgstr "" + +#: pymove3d.py:31 +msgid "en/competition.html" +msgstr "" + +#: pymove3d.py:33 +msgid "/task" +msgstr "" + +#: pymove3d.py:35 +msgid "en/task.html" +msgstr "" + +#: pymove3d.py:37 +msgid "/submission" +msgstr "" + +#: pymove3d.py:39 +msgid "en/submission.html" +msgstr "" + +#: pymove3d.py:41 +msgid "/coursematerial" +msgstr "" + +#: pymove3d.py:43 +msgid "en/coursematerial.html" +msgstr "" + +#: pymove3d.py:45 +msgid "/imprint" +msgstr "" + +#: pymove3d.py:47 +msgid "en/imprint.html" +msgstr "" + +#: pymove3d.py:49 +msgid "/privacy" +msgstr "" + +#: pymove3d.py:51 +msgid "en/privacy.html" +msgstr "" + +#: pymove3d.py:56 +msgid "en/404.html" +msgstr "" + diff -r 9fa249552dba -r 096c748b438a translations/pymove3d.pot --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/translations/pymove3d.pot Sat Jan 18 09:41:26 2014 +0100 @@ -0,0 +1,79 @@ +# Translations template for PROJECT. +# Copyright (C) 2014 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2014. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2014-01-18 09:40+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 1.3\n" + +#: pymove3d.py:25 +msgid "/index" +msgstr "" + +#: pymove3d.py:27 +msgid "en/index.html" +msgstr "" + +#: pymove3d.py:29 +msgid "/competition" +msgstr "" + +#: pymove3d.py:31 +msgid "en/competition.html" +msgstr "" + +#: pymove3d.py:33 +msgid "/task" +msgstr "" + +#: pymove3d.py:35 +msgid "en/task.html" +msgstr "" + +#: pymove3d.py:37 +msgid "/submission" +msgstr "" + +#: pymove3d.py:39 +msgid "en/submission.html" +msgstr "" + +#: pymove3d.py:41 +msgid "/coursematerial" +msgstr "" + +#: pymove3d.py:43 +msgid "en/coursematerial.html" +msgstr "" + +#: pymove3d.py:45 +msgid "/imprint" +msgstr "" + +#: pymove3d.py:47 +msgid "en/imprint.html" +msgstr "" + +#: pymove3d.py:49 +msgid "/privacy" +msgstr "" + +#: pymove3d.py:51 +msgid "en/privacy.html" +msgstr "" + +#: pymove3d.py:56 +msgid "en/404.html" +msgstr "" +