# HG changeset patch # User Reimar Bauer # Date 1390580038 -3600 # Node ID 2c7c55d66ec187c3dde8441ca610bf783ca652cb # Parent 6d1dda68ec4ceb2369fdf327f63c872d4c7788c5 translations for impressions diff -r 6d1dda68ec4c -r 2c7c55d66ec1 pymove3d.py --- a/pymove3d.py Fri Jan 24 14:13:43 2014 +0100 +++ b/pymove3d.py Fri Jan 24 17:13:58 2014 +0100 @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + import os import codecs @@ -129,8 +131,29 @@ @app.route("/competition/2013") def competition_2013(): + competition = _(u'Competition 2013') + introduction = _(u'The winners of the programming competition, ' + u'showed at the PyCon.DE 2013 in Cologne their results. ' + u'A short presentation inlcuding a movie about their work done.') + article = [_(u'Both students presented to the astonished audience of over 250 Python developers their work.'), + _(u'A long applause showed up.' + u' Valentin had 9 months ago learned Python and Blender discovered earlier. ' + u'His Skatsimulation even includes 3D sound.'), + _(u'The preparatory courses were made by volunteers, such as the ' + u'employees of the magazine "Time Online" performed. ' + u'The following blog entry is a little impression of the success of the courses'), + ] + game_of_life = _(u'Anne a 15 year old girl showed a 3D-Version of the »Game of life«') + skat_simulation = _(u'Valentin (13 years) demomstrates his »Skat-Simulation«') + awards = _(u'The award ceremony') return render_template("/impressions_2013.html", - act="competition_2013") + act="competition_2013", + competition=competition, + introduction=introduction, + article=article, + game_of_life=game_of_life, + skat_simulation=skat_simulation, + awards=awards) @app.errorhandler(404) diff -r 6d1dda68ec4c -r 2c7c55d66ec1 templates/impressions_2013.html --- a/templates/impressions_2013.html Fri Jan 24 14:13:43 2014 +0100 +++ b/templates/impressions_2013.html Fri Jan 24 17:13:58 2014 +0100 @@ -4,38 +4,32 @@

- Wettbewerb 2013 + {{ competion }}

- Die Gewinner des Programmierwettbewerbes, zeigten auf der - PyCon DE 2013 in Köln ihre Ergebnisse. In einem Kurzvortrag - wurde das Projekt vorgestellt und mit einem Film das Ergebnis - visualisiert. -

+ {{ introduction }} +

-

Beide Schüler präsentierten dem staunenden Publikum von über - 250 Pythonentwicklern ihre Werke.

-

Diese würdigten mit lang anhaltendem Applaus die Ergebnisse. Valentin hatte - vor 9 Monaten Python gelernt und Blender schon früher entdeckt. - Seine Skatsimulation enthält sogar 3D Sound.

-

Die Vorbereitungskurse wurden von freiwilligen Helfern, wie den Mitarbeitern - der Zeitschrift »Zeit Online« durchgeführt. Der Folgende Blogeintrag gibt eine kleinen Eindruck vom Erfolg der Kurse:

-

Blogeintrag zum Kurs

+ + {% for line in article %} +

{{ line }}

+ {% endfor %} +

Blogeintrag zum Kurs

Anne -

Anne (15 Jahre) zeigte das eine 3D-Version des »Game of life«

+

{{ game_of_life }}

Valentin -

Valentin (13 Jahre) demonstrierte seine »Skat-Simulation«

+

{{ skat_simulation }}

-

Die Preisverleihung

+

{{ awards }}

diff -r 6d1dda68ec4c -r 2c7c55d66ec1 translations/de/LC_MESSAGES/messages.mo Binary file translations/de/LC_MESSAGES/messages.mo has changed diff -r 6d1dda68ec4c -r 2c7c55d66ec1 translations/de/LC_MESSAGES/messages.po --- a/translations/de/LC_MESSAGES/messages.po Fri Jan 24 14:13:43 2014 +0100 +++ b/translations/de/LC_MESSAGES/messages.po Fri Jan 24 17:13:58 2014 +0100 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2014-01-19 18:55+0100\n" +"POT-Creation-Date: 2014-01-24 17:09+0100\n" "PO-Revision-Date: 2014-01-19 07:48+0100\n" "Last-Translator: Peter Koppatz \n" "Language-Team: de \n" @@ -17,40 +17,90 @@ "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" -#: pymove3d.py:39 +#: pymove3d.py:35 msgid "Competition" msgstr "Wettbewerb" -#: pymove3d.py:40 +#: pymove3d.py:36 msgid "Task" msgstr "Aufgabe" -#: pymove3d.py:41 +#: pymove3d.py:37 msgid "Submission" msgstr "Einreichnung" -#: pymove3d.py:42 +#: pymove3d.py:38 msgid "Coursematerial" msgstr "Kursmaterial" -#: pymove3d.py:62 pymove3d.py:74 pymove3d.py:86 +#: pymove3d.py:58 pymove3d.py:70 pymove3d.py:82 msgid "About Competition" msgstr "Der Wettbewerb" -#: pymove3d.py:63 pymove3d.py:75 pymove3d.py:87 +#: pymove3d.py:59 pymove3d.py:71 pymove3d.py:83 msgid "Dates" msgstr "Termine" -#: pymove3d.py:64 pymove3d.py:76 pymove3d.py:88 +#: pymove3d.py:60 pymove3d.py:72 pymove3d.py:84 msgid "Impressions" msgstr "Impressionen" +#: pymove3d.py:134 +msgid "Competition 2013" +msgstr "Wettbewerb 2013" + +#: pymove3d.py:135 +msgid "" +"The winners of the programming competition, showed at the PyCon.DE 2013 " +"in Cologne their results. A short presentation inlcuding a movie about " +"their work done." +msgstr "" +"Die Gewinner des Programmierwettbewerbes, zeigten auf der" +" PyCon DE 2013 in Köln ihre Ergebnisse. In einem Kurzvortrag wurde das " +"Projekt vorgestellt und mit einem Film das Ergebnis visualisiert." + +#: pymove3d.py:138 +msgid "" +"Both students presented to the astonished audience of over 250 Python " +"developers their work." +msgstr "" +"Beide Schüler präsentierten dem staunenden Publikum von über 250 " +"Pythonentwicklern ihre Werke." + +#: pymove3d.py:139 +msgid "" +"A long applause showed up. Valentin had 9 months ago learned Python and " +"Blender discovered earlier. His Skatsimulation even includes 3D sound." +msgstr "" +"Diese würdigten mit lang anhaltendem Applaus die Ergebnisse. Valentin " +"hatte vor 9 Monaten Python gelernt und Blender schon früher entdeckt. " +"Seine Skatsimulation enthält sogar 3D Sound." + +#: pymove3d.py:142 +msgid "" +"The preparatory courses were made by volunteers, such as the employees of" +" the magazine \"Time Online\" performed. The following blog entry is a " +"little impression of the success of the courses" +msgstr "" + +#: pymove3d.py:146 +msgid "Anne a 15 year old girl showed a 3D-Version of the »Game of life«" +msgstr "Anne (15 Jahre) zeigte eine 3D-Version des »Game of life«" + #: pymove3d.py:147 +msgid "Valentin (13 years) demomstrates his »Skat-Simulation«" +msgstr "Valentin (13 Jahre) demonstrierte seine »Skat-Simulation«" + +#: pymove3d.py:148 +msgid "The award ceremony" +msgstr "" + +#: pymove3d.py:161 #, python-format msgid "Url: %(url)s not found" msgstr "Url: %(url)s nicht gefunden" -#: pymove3d.py:148 +#: pymove3d.py:162 msgid "This information is not available!" msgstr "Diese Information ist nicht verfügbar" diff -r 6d1dda68ec4c -r 2c7c55d66ec1 translations/en/LC_MESSAGES/messages.po --- a/translations/en/LC_MESSAGES/messages.po Fri Jan 24 14:13:43 2014 +0100 +++ b/translations/en/LC_MESSAGES/messages.po Fri Jan 24 17:13:58 2014 +0100 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2014-01-19 18:55+0100\n" +"POT-Creation-Date: 2014-01-24 17:09+0100\n" "PO-Revision-Date: 2014-01-18 20:46+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: en \n" @@ -18,40 +18,82 @@ "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" -#: pymove3d.py:39 +#: pymove3d.py:35 msgid "Competition" msgstr "" -#: pymove3d.py:40 +#: pymove3d.py:36 msgid "Task" msgstr "" -#: pymove3d.py:41 +#: pymove3d.py:37 msgid "Submission" msgstr "" -#: pymove3d.py:42 +#: pymove3d.py:38 msgid "Coursematerial" msgstr "" -#: pymove3d.py:62 pymove3d.py:74 pymove3d.py:86 +#: pymove3d.py:58 pymove3d.py:70 pymove3d.py:82 msgid "About Competition" msgstr "" -#: pymove3d.py:63 pymove3d.py:75 pymove3d.py:87 +#: pymove3d.py:59 pymove3d.py:71 pymove3d.py:83 msgid "Dates" msgstr "" -#: pymove3d.py:64 pymove3d.py:76 pymove3d.py:88 +#: pymove3d.py:60 pymove3d.py:72 pymove3d.py:84 msgid "Impressions" msgstr "" +#: pymove3d.py:134 +msgid "Competition 2013" +msgstr "" + +#: pymove3d.py:135 +msgid "" +"The winners of the programming competition, showed at the PyCon.DE 2013 " +"in Cologne their results. A short presentation inlcuding a movie about " +"their work done." +msgstr "" + +#: pymove3d.py:138 +msgid "" +"Both students presented to the astonished audience of over 250 Python " +"developers their work." +msgstr "" + +#: pymove3d.py:139 +msgid "" +"A long applause showed up. Valentin had 9 months ago learned Python and " +"Blender discovered earlier. His Skatsimulation even includes 3D sound." +msgstr "" + +#: pymove3d.py:142 +msgid "" +"The preparatory courses were made by volunteers, such as the employees of" +" the magazine \"Time Online\" performed. The following blog entry is a " +"little impression of the success of the courses" +msgstr "" + +#: pymove3d.py:146 +msgid "Anne a 15 year old girl showed a 3D-Version of the »Game of life«" +msgstr "" + #: pymove3d.py:147 +msgid "Valentin (13 years) demomstrates his »Skat-Simulation«" +msgstr "" + +#: pymove3d.py:148 +msgid "The award ceremony" +msgstr "" + +#: pymove3d.py:161 #, python-format msgid "Url: %(url)s not found" msgstr "" -#: pymove3d.py:148 +#: pymove3d.py:162 msgid "This information is not available!" msgstr "" @@ -141,3 +183,16 @@ #~ msgid "dates" #~ msgstr "" +#~ msgid "" +#~ "The winners of the programming competition, showed at the\n" +#~ "PyCon.DE 2013 in Cologne their results." +#~ " A short presentation inlcuding a " +#~ "movie about their work done.\n" +#~ msgstr "" + +#~ msgid "Anne a 15 year old girl showed a 3D-Version of the »Game of life«" +#~ msgstr "" + +#~ msgid "Valentin (13 years) demomstrates his »Skat-Simulation«" +#~ msgstr "" + diff -r 6d1dda68ec4c -r 2c7c55d66ec1 translations/pymove3d.pot --- a/translations/pymove3d.pot Fri Jan 24 14:13:43 2014 +0100 +++ b/translations/pymove3d.pot Fri Jan 24 17:13:58 2014 +0100 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2014-01-19 18:55+0100\n" +"POT-Creation-Date: 2014-01-24 17:09+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,40 +17,82 @@ "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 1.3\n" -#: pymove3d.py:39 +#: pymove3d.py:35 msgid "Competition" msgstr "" -#: pymove3d.py:40 +#: pymove3d.py:36 msgid "Task" msgstr "" -#: pymove3d.py:41 +#: pymove3d.py:37 msgid "Submission" msgstr "" -#: pymove3d.py:42 +#: pymove3d.py:38 msgid "Coursematerial" msgstr "" -#: pymove3d.py:62 pymove3d.py:74 pymove3d.py:86 +#: pymove3d.py:58 pymove3d.py:70 pymove3d.py:82 msgid "About Competition" msgstr "" -#: pymove3d.py:63 pymove3d.py:75 pymove3d.py:87 +#: pymove3d.py:59 pymove3d.py:71 pymove3d.py:83 msgid "Dates" msgstr "" -#: pymove3d.py:64 pymove3d.py:76 pymove3d.py:88 +#: pymove3d.py:60 pymove3d.py:72 pymove3d.py:84 msgid "Impressions" msgstr "" +#: pymove3d.py:134 +msgid "Competition 2013" +msgstr "" + +#: pymove3d.py:135 +msgid "" +"The winners of the programming competition, showed at the PyCon.DE 2013 " +"in Cologne their results. A short presentation inlcuding a movie about " +"their work done." +msgstr "" + +#: pymove3d.py:138 +msgid "" +"Both students presented to the astonished audience of over 250 Python " +"developers their work." +msgstr "" + +#: pymove3d.py:139 +msgid "" +"A long applause showed up. Valentin had 9 months ago learned Python and " +"Blender discovered earlier. His Skatsimulation even includes 3D sound." +msgstr "" + +#: pymove3d.py:142 +msgid "" +"The preparatory courses were made by volunteers, such as the employees of" +" the magazine \"Time Online\" performed. The following blog entry is a " +"little impression of the success of the courses" +msgstr "" + +#: pymove3d.py:146 +msgid "Anne a 15 year old girl showed a 3D-Version of the »Game of life«" +msgstr "" + #: pymove3d.py:147 +msgid "Valentin (13 years) demomstrates his »Skat-Simulation«" +msgstr "" + +#: pymove3d.py:148 +msgid "The award ceremony" +msgstr "" + +#: pymove3d.py:161 #, python-format msgid "Url: %(url)s not found" msgstr "" -#: pymove3d.py:148 +#: pymove3d.py:162 msgid "This information is not available!" msgstr ""