translations for impressions
authorReimar Bauer <rb.proj AT googlemail DOT com>
Fri, 24 Jan 2014 17:13:58 +0100
changeset 2172c7c55d66ec1
parent 216 6d1dda68ec4c
child 218 6c624624327c
translations for impressions
pymove3d.py
templates/impressions_2013.html
translations/de/LC_MESSAGES/messages.mo
translations/de/LC_MESSAGES/messages.po
translations/en/LC_MESSAGES/messages.po
translations/pymove3d.pot
     1.1 --- a/pymove3d.py	Fri Jan 24 14:13:43 2014 +0100
     1.2 +++ b/pymove3d.py	Fri Jan 24 17:13:58 2014 +0100
     1.3 @@ -1,3 +1,5 @@
     1.4 +# -*- coding: utf-8 -*-
     1.5 +
     1.6  import os
     1.7  import codecs
     1.8  
     1.9 @@ -129,8 +131,29 @@
    1.10  
    1.11  @app.route("/competition/2013")
    1.12  def competition_2013():
    1.13 +    competition = _(u'Competition 2013')
    1.14 +    introduction = _(u'The winners of the programming competition, '
    1.15 +                     u'showed at the PyCon.DE 2013 in Cologne their results. '
    1.16 +                     u'A short presentation inlcuding a movie about their work done.')
    1.17 +    article = [_(u'Both students presented to the astonished audience of over 250 Python developers their work.'),
    1.18 +               _(u'A long applause showed up.'
    1.19 +                 u' Valentin had 9 months ago learned Python and Blender discovered earlier. '
    1.20 +                 u'His Skatsimulation even includes 3D sound.'),
    1.21 +               _(u'The preparatory courses were made by volunteers, such as the '
    1.22 +                 u'employees of the magazine "Time Online" performed. '
    1.23 +                 u'The following blog entry is a little impression of the success of the courses'),
    1.24 +              ]
    1.25 +    game_of_life = _(u'Anne a 15 year old girl showed a 3D-Version of the »Game of life«')
    1.26 +    skat_simulation = _(u'Valentin (13 years) demomstrates his »Skat-Simulation«')
    1.27 +    awards = _(u'The award ceremony')
    1.28      return render_template("/impressions_2013.html",
    1.29 -                           act="competition_2013")
    1.30 +                           act="competition_2013",
    1.31 +                           competition=competition,
    1.32 +                           introduction=introduction,
    1.33 +                           article=article,
    1.34 +                           game_of_life=game_of_life,
    1.35 +                           skat_simulation=skat_simulation,
    1.36 +                           awards=awards)
    1.37  
    1.38  
    1.39  @app.errorhandler(404)
     2.1 --- a/templates/impressions_2013.html	Fri Jan 24 14:13:43 2014 +0100
     2.2 +++ b/templates/impressions_2013.html	Fri Jan 24 17:13:58 2014 +0100
     2.3 @@ -4,38 +4,32 @@
     2.4      <div class="col-md-6">
     2.5        <div class="row">
     2.6        <h2>
     2.7 -        Wettbewerb 2013
     2.8 +        {{ competion }}
     2.9        </h2>
    2.10        <p>
    2.11 -        Die Gewinner des Programmierwettbewerbes, zeigten auf der 
    2.12 -        PyCon DE 2013 in Köln ihre Ergebnisse. In einem Kurzvortrag 
    2.13 -        wurde das Projekt vorgestellt und mit einem  Film das Ergebnis
    2.14 -        visualisiert.
    2.15 -      </p> 
    2.16 +          {{ introduction }}
    2.17 +      </p>
    2.18  
    2.19 -      <p>Beide Schüler präsentierten dem staunenden Publikum von über
    2.20 -        250 Pythonentwicklern ihre Werke.</p>
    2.21 -        <p>Diese würdigten mit lang anhaltendem Applaus die Ergebnisse. Valentin hatte
    2.22 -          vor 9 Monaten Python gelernt und Blender schon früher entdeckt.
    2.23 -          Seine Skatsimulation enthält sogar 3D Sound.</p>
    2.24 -          <p>Die Vorbereitungskurse wurden von freiwilligen Helfern, wie den Mitarbeitern
    2.25 -            der Zeitschrift »Zeit Online« durchgeführt. Der Folgende Blogeintrag gibt eine kleinen Eindruck vom Erfolg der Kurse:</p>
    2.26 -            <p><a class="reference external" href="http://blog.zeit.de/dev/einfuehrung-programmieren-python-blender">Blogeintrag zum Kurs</a></p>
    2.27 +
    2.28 +      {% for line in article %}
    2.29 +         <p>{{ line }}</p>
    2.30 +      {% endfor %}
    2.31 +          <p><a class="reference external" href="http://blog.zeit.de/dev/einfuehrung-programmieren-python-blender">Blogeintrag zum Kurs</a></p>
    2.32            </div>
    2.33          </div>
    2.34          <div class="col-md-6">
    2.35            <div class="module-thumbnail">
    2.36                <img class="img-responsive img-thumbnail" src="/static/images/archive/competitions/2013/contest2013a.jpg" alt="Anne" />
    2.37 -              <p class="text-primary"><em>Anne (15 Jahre) zeigte das eine 3D-Version des »Game of life«</em></p>
    2.38 +              <p class="text-primary"><em>{{ game_of_life }}</em></p>
    2.39                <img class="img-responsive img-thumbnail" src="/static/images/archive/competitions/2013/contest2013b.jpg" alt="Valentin" />
    2.40 -              <p class="text-primary"><em>Valentin (13 Jahre) demonstrierte seine »Skat-Simulation«</em></p>
    2.41 +              <p class="text-primary"><em>{{ skat_simulation }}</em></p>
    2.42            </div>
    2.43            <div class="flex-video widescreen" style="margin: 0 auto;text-align:center;">
    2.44            <iframe frameborder="0"
    2.45            src="//www.youtube.com/embed/BfEcIAzdv9M"
    2.46            allowfullscreen="allowfullscreen">
    2.47          </iframe>
    2.48 -         <p class="text-primary"><em>Die Preisverleihung</em></p>
    2.49 +         <p class="text-primary"><em>{{ awards }}</em></p>
    2.50         </div>
    2.51        </div>
    2.52  </div>
     3.1 Binary file translations/de/LC_MESSAGES/messages.mo has changed
     4.1 --- a/translations/de/LC_MESSAGES/messages.po	Fri Jan 24 14:13:43 2014 +0100
     4.2 +++ b/translations/de/LC_MESSAGES/messages.po	Fri Jan 24 17:13:58 2014 +0100
     4.3 @@ -7,7 +7,7 @@
     4.4  msgstr ""
     4.5  "Project-Id-Version: PROJECT VERSION\n"
     4.6  "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
     4.7 -"POT-Creation-Date: 2014-01-19 18:55+0100\n"
     4.8 +"POT-Creation-Date: 2014-01-24 17:09+0100\n"
     4.9  "PO-Revision-Date: 2014-01-19 07:48+0100\n"
    4.10  "Last-Translator: Peter Koppatz <peter.koppatz@sudile.com>\n"
    4.11  "Language-Team: de <LL@li.org>\n"
    4.12 @@ -17,40 +17,90 @@
    4.13  "Content-Transfer-Encoding: 8bit\n"
    4.14  "Generated-By: Babel 1.3\n"
    4.15  
    4.16 -#: pymove3d.py:39
    4.17 +#: pymove3d.py:35
    4.18  msgid "Competition"
    4.19  msgstr "Wettbewerb"
    4.20  
    4.21 -#: pymove3d.py:40
    4.22 +#: pymove3d.py:36
    4.23  msgid "Task"
    4.24  msgstr "Aufgabe"
    4.25  
    4.26 -#: pymove3d.py:41
    4.27 +#: pymove3d.py:37
    4.28  msgid "Submission"
    4.29  msgstr "Einreichnung"
    4.30  
    4.31 -#: pymove3d.py:42
    4.32 +#: pymove3d.py:38
    4.33  msgid "Coursematerial"
    4.34  msgstr "Kursmaterial"
    4.35  
    4.36 -#: pymove3d.py:62 pymove3d.py:74 pymove3d.py:86
    4.37 +#: pymove3d.py:58 pymove3d.py:70 pymove3d.py:82
    4.38  msgid "About Competition"
    4.39  msgstr "Der Wettbewerb"
    4.40  
    4.41 -#: pymove3d.py:63 pymove3d.py:75 pymove3d.py:87
    4.42 +#: pymove3d.py:59 pymove3d.py:71 pymove3d.py:83
    4.43  msgid "Dates"
    4.44  msgstr "Termine"
    4.45  
    4.46 -#: pymove3d.py:64 pymove3d.py:76 pymove3d.py:88
    4.47 +#: pymove3d.py:60 pymove3d.py:72 pymove3d.py:84
    4.48  msgid "Impressions"
    4.49  msgstr "Impressionen"
    4.50  
    4.51 +#: pymove3d.py:134
    4.52 +msgid "Competition 2013"
    4.53 +msgstr "Wettbewerb 2013"
    4.54 +
    4.55 +#: pymove3d.py:135
    4.56 +msgid ""
    4.57 +"The winners of the programming competition, showed at the PyCon.DE 2013 "
    4.58 +"in Cologne their results. A short presentation inlcuding a movie about "
    4.59 +"their work done."
    4.60 +msgstr ""
    4.61 +"Die Gewinner des Programmierwettbewerbes, zeigten auf der"
    4.62 +" PyCon DE 2013 in Köln ihre Ergebnisse. In einem Kurzvortrag wurde das "
    4.63 +"Projekt vorgestellt und mit einem  Film das Ergebnis visualisiert."
    4.64 +
    4.65 +#: pymove3d.py:138
    4.66 +msgid ""
    4.67 +"Both students presented to the astonished audience of over 250 Python "
    4.68 +"developers their work."
    4.69 +msgstr ""
    4.70 +"Beide Schüler präsentierten dem staunenden Publikum von über 250 "
    4.71 +"Pythonentwicklern ihre Werke."
    4.72 +
    4.73 +#: pymove3d.py:139
    4.74 +msgid ""
    4.75 +"A long applause showed up. Valentin had 9 months ago learned Python and "
    4.76 +"Blender discovered earlier. His Skatsimulation even includes 3D sound."
    4.77 +msgstr ""
    4.78 +"Diese würdigten mit lang anhaltendem Applaus die Ergebnisse. Valentin "
    4.79 +"hatte vor 9 Monaten Python gelernt und Blender schon früher entdeckt. "
    4.80 +"Seine Skatsimulation enthält sogar 3D Sound."
    4.81 +
    4.82 +#: pymove3d.py:142
    4.83 +msgid ""
    4.84 +"The preparatory courses were made by volunteers, such as the employees of"
    4.85 +" the magazine \"Time Online\" performed. The following blog entry is a "
    4.86 +"little impression of the success of the courses"
    4.87 +msgstr ""
    4.88 +
    4.89 +#: pymove3d.py:146
    4.90 +msgid "Anne a 15 year old girl showed a 3D-Version of the »Game of life«"
    4.91 +msgstr "Anne (15 Jahre) zeigte eine 3D-Version des »Game of life«"
    4.92 +
    4.93  #: pymove3d.py:147
    4.94 +msgid "Valentin (13 years) demomstrates his »Skat-Simulation«"
    4.95 +msgstr "Valentin (13 Jahre) demonstrierte seine »Skat-Simulation«"
    4.96 +
    4.97 +#: pymove3d.py:148
    4.98 +msgid "The award ceremony"
    4.99 +msgstr ""
   4.100 +
   4.101 +#: pymove3d.py:161
   4.102  #, python-format
   4.103  msgid "Url: %(url)s not found"
   4.104  msgstr "Url: %(url)s nicht gefunden"
   4.105  
   4.106 -#: pymove3d.py:148
   4.107 +#: pymove3d.py:162
   4.108  msgid "This information is not available!"
   4.109  msgstr "Diese Information ist nicht verfügbar"
   4.110  
     5.1 --- a/translations/en/LC_MESSAGES/messages.po	Fri Jan 24 14:13:43 2014 +0100
     5.2 +++ b/translations/en/LC_MESSAGES/messages.po	Fri Jan 24 17:13:58 2014 +0100
     5.3 @@ -8,7 +8,7 @@
     5.4  msgstr ""
     5.5  "Project-Id-Version: PROJECT VERSION\n"
     5.6  "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
     5.7 -"POT-Creation-Date: 2014-01-19 18:55+0100\n"
     5.8 +"POT-Creation-Date: 2014-01-24 17:09+0100\n"
     5.9  "PO-Revision-Date: 2014-01-18 20:46+0100\n"
    5.10  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    5.11  "Language-Team: en <LL@li.org>\n"
    5.12 @@ -18,40 +18,82 @@
    5.13  "Content-Transfer-Encoding: 8bit\n"
    5.14  "Generated-By: Babel 1.3\n"
    5.15  
    5.16 -#: pymove3d.py:39
    5.17 +#: pymove3d.py:35
    5.18  msgid "Competition"
    5.19  msgstr ""
    5.20  
    5.21 -#: pymove3d.py:40
    5.22 +#: pymove3d.py:36
    5.23  msgid "Task"
    5.24  msgstr ""
    5.25  
    5.26 -#: pymove3d.py:41
    5.27 +#: pymove3d.py:37
    5.28  msgid "Submission"
    5.29  msgstr ""
    5.30  
    5.31 -#: pymove3d.py:42
    5.32 +#: pymove3d.py:38
    5.33  msgid "Coursematerial"
    5.34  msgstr ""
    5.35  
    5.36 -#: pymove3d.py:62 pymove3d.py:74 pymove3d.py:86
    5.37 +#: pymove3d.py:58 pymove3d.py:70 pymove3d.py:82
    5.38  msgid "About Competition"
    5.39  msgstr ""
    5.40  
    5.41 -#: pymove3d.py:63 pymove3d.py:75 pymove3d.py:87
    5.42 +#: pymove3d.py:59 pymove3d.py:71 pymove3d.py:83
    5.43  msgid "Dates"
    5.44  msgstr ""
    5.45  
    5.46 -#: pymove3d.py:64 pymove3d.py:76 pymove3d.py:88
    5.47 +#: pymove3d.py:60 pymove3d.py:72 pymove3d.py:84
    5.48  msgid "Impressions"
    5.49  msgstr ""
    5.50  
    5.51 +#: pymove3d.py:134
    5.52 +msgid "Competition 2013"
    5.53 +msgstr ""
    5.54 +
    5.55 +#: pymove3d.py:135
    5.56 +msgid ""
    5.57 +"The winners of the programming competition, showed at the PyCon.DE 2013 "
    5.58 +"in Cologne their results. A short presentation inlcuding a movie about "
    5.59 +"their work done."
    5.60 +msgstr ""
    5.61 +
    5.62 +#: pymove3d.py:138
    5.63 +msgid ""
    5.64 +"Both students presented to the astonished audience of over 250 Python "
    5.65 +"developers their work."
    5.66 +msgstr ""
    5.67 +
    5.68 +#: pymove3d.py:139
    5.69 +msgid ""
    5.70 +"A long applause showed up. Valentin had 9 months ago learned Python and "
    5.71 +"Blender discovered earlier. His Skatsimulation even includes 3D sound."
    5.72 +msgstr ""
    5.73 +
    5.74 +#: pymove3d.py:142
    5.75 +msgid ""
    5.76 +"The preparatory courses were made by volunteers, such as the employees of"
    5.77 +" the magazine \"Time Online\" performed. The following blog entry is a "
    5.78 +"little impression of the success of the courses"
    5.79 +msgstr ""
    5.80 +
    5.81 +#: pymove3d.py:146
    5.82 +msgid "Anne a 15 year old girl showed a 3D-Version of the »Game of life«"
    5.83 +msgstr ""
    5.84 +
    5.85  #: pymove3d.py:147
    5.86 +msgid "Valentin (13 years) demomstrates his »Skat-Simulation«"
    5.87 +msgstr ""
    5.88 +
    5.89 +#: pymove3d.py:148
    5.90 +msgid "The award ceremony"
    5.91 +msgstr ""
    5.92 +
    5.93 +#: pymove3d.py:161
    5.94  #, python-format
    5.95  msgid "Url: %(url)s not found"
    5.96  msgstr ""
    5.97  
    5.98 -#: pymove3d.py:148
    5.99 +#: pymove3d.py:162
   5.100  msgid "This information is not available!"
   5.101  msgstr ""
   5.102  
   5.103 @@ -141,3 +183,16 @@
   5.104  #~ msgid "dates"
   5.105  #~ msgstr ""
   5.106  
   5.107 +#~ msgid ""
   5.108 +#~ "The winners of the programming competition, showed at the\n"
   5.109 +#~ "PyCon.DE 2013 in Cologne their results."
   5.110 +#~ " A short presentation inlcuding a "
   5.111 +#~ "movie about their work done.\n"
   5.112 +#~ msgstr ""
   5.113 +
   5.114 +#~ msgid "Anne a 15 year old girl showed a 3D-Version of the »Game of life«"
   5.115 +#~ msgstr ""
   5.116 +
   5.117 +#~ msgid "Valentin (13 years) demomstrates his »Skat-Simulation«"
   5.118 +#~ msgstr ""
   5.119 +
     6.1 --- a/translations/pymove3d.pot	Fri Jan 24 14:13:43 2014 +0100
     6.2 +++ b/translations/pymove3d.pot	Fri Jan 24 17:13:58 2014 +0100
     6.3 @@ -8,7 +8,7 @@
     6.4  msgstr ""
     6.5  "Project-Id-Version: PROJECT VERSION\n"
     6.6  "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
     6.7 -"POT-Creation-Date: 2014-01-19 18:55+0100\n"
     6.8 +"POT-Creation-Date: 2014-01-24 17:09+0100\n"
     6.9  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    6.10  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    6.11  "Language-Team: LANGUAGE <LL@li.org>\n"
    6.12 @@ -17,40 +17,82 @@
    6.13  "Content-Transfer-Encoding: 8bit\n"
    6.14  "Generated-By: Babel 1.3\n"
    6.15  
    6.16 -#: pymove3d.py:39
    6.17 +#: pymove3d.py:35
    6.18  msgid "Competition"
    6.19  msgstr ""
    6.20  
    6.21 -#: pymove3d.py:40
    6.22 +#: pymove3d.py:36
    6.23  msgid "Task"
    6.24  msgstr ""
    6.25  
    6.26 -#: pymove3d.py:41
    6.27 +#: pymove3d.py:37
    6.28  msgid "Submission"
    6.29  msgstr ""
    6.30  
    6.31 -#: pymove3d.py:42
    6.32 +#: pymove3d.py:38
    6.33  msgid "Coursematerial"
    6.34  msgstr ""
    6.35  
    6.36 -#: pymove3d.py:62 pymove3d.py:74 pymove3d.py:86
    6.37 +#: pymove3d.py:58 pymove3d.py:70 pymove3d.py:82
    6.38  msgid "About Competition"
    6.39  msgstr ""
    6.40  
    6.41 -#: pymove3d.py:63 pymove3d.py:75 pymove3d.py:87
    6.42 +#: pymove3d.py:59 pymove3d.py:71 pymove3d.py:83
    6.43  msgid "Dates"
    6.44  msgstr ""
    6.45  
    6.46 -#: pymove3d.py:64 pymove3d.py:76 pymove3d.py:88
    6.47 +#: pymove3d.py:60 pymove3d.py:72 pymove3d.py:84
    6.48  msgid "Impressions"
    6.49  msgstr ""
    6.50  
    6.51 +#: pymove3d.py:134
    6.52 +msgid "Competition 2013"
    6.53 +msgstr ""
    6.54 +
    6.55 +#: pymove3d.py:135
    6.56 +msgid ""
    6.57 +"The winners of the programming competition, showed at the PyCon.DE 2013 "
    6.58 +"in Cologne their results. A short presentation inlcuding a movie about "
    6.59 +"their work done."
    6.60 +msgstr ""
    6.61 +
    6.62 +#: pymove3d.py:138
    6.63 +msgid ""
    6.64 +"Both students presented to the astonished audience of over 250 Python "
    6.65 +"developers their work."
    6.66 +msgstr ""
    6.67 +
    6.68 +#: pymove3d.py:139
    6.69 +msgid ""
    6.70 +"A long applause showed up. Valentin had 9 months ago learned Python and "
    6.71 +"Blender discovered earlier. His Skatsimulation even includes 3D sound."
    6.72 +msgstr ""
    6.73 +
    6.74 +#: pymove3d.py:142
    6.75 +msgid ""
    6.76 +"The preparatory courses were made by volunteers, such as the employees of"
    6.77 +" the magazine \"Time Online\" performed. The following blog entry is a "
    6.78 +"little impression of the success of the courses"
    6.79 +msgstr ""
    6.80 +
    6.81 +#: pymove3d.py:146
    6.82 +msgid "Anne a 15 year old girl showed a 3D-Version of the »Game of life«"
    6.83 +msgstr ""
    6.84 +
    6.85  #: pymove3d.py:147
    6.86 +msgid "Valentin (13 years) demomstrates his »Skat-Simulation«"
    6.87 +msgstr ""
    6.88 +
    6.89 +#: pymove3d.py:148
    6.90 +msgid "The award ceremony"
    6.91 +msgstr ""
    6.92 +
    6.93 +#: pymove3d.py:161
    6.94  #, python-format
    6.95  msgid "Url: %(url)s not found"
    6.96  msgstr ""
    6.97  
    6.98 -#: pymove3d.py:148
    6.99 +#: pymove3d.py:162
   6.100  msgid "This information is not available!"
   6.101  msgstr ""
   6.102  
Impressum Datenschutzerklärung