diff templates/sat_website/community.html @ 2:0df46e87537d

i18n: marked translatable texts + add change language form on pages footer
author Goffi <goffi@goffi.org>
date Mon, 30 Jul 2012 02:09:38 +0200
parents 9305c6458e2f
children e45aed963722
line wrap: on
line diff
--- a/templates/sat_website/community.html	Sun Jul 29 01:52:27 2012 +0200
+++ b/templates/sat_website/community.html	Mon Jul 30 02:09:38 2012 +0200
@@ -20,36 +20,37 @@
 along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
 {% endcomment %}
 
+{% load i18n %}
 {% load staticfiles %}
-{% block headline %}Salut à Toi's community{% endblock %}
-{% block subtext %}Join us to talk, contribute, share around Salut à Toi{% endblock %}
+{% block headline %}{% trans "Salut à Toi's community" %}{% endblock %}
+{% block subtext %}{% trans "Join us to talk, contribute, share around Salut à Toi" %}{% endblock %}
 {% block main_container %}
 <div class="row">
     <h4 class="alert alert-success">
-    Join us on Jabber :)
+    {% trans "Join us on Jabber :)" %}
     </h4>
     <div class="info">
-        <p>Salut à Toi's MUC room is <strong>*the*</strong> place to discuss about the project: <a href="xmpp:sat@chat.jabberfr.org">sat@chat.jabberfr.org</a></p>
+        <p>{% blocktrans with sat_muc="<a href=\"xmpp:sat@chat.jabberfr.org\">sat@chat.jabberfr.org</a>" %}Salut à Toi's MUC room is <strong>*the*</strong> place to discuss about the project: {{ sat_muc }}{% endblocktrans %}</p>
     </div>
 </div>
 
 <div class="row">
     <h4 class="alert alert-success">
-    Follow the development, learn
+    {% trans "Follow the development, learn" %}
     </h4>
     <div class="info">
-        <p>you can subscribe to the mailing list to follow the progression, you're welcome to give your opinion (and to contribute): <a href="http://lists.goffi.org">http://lists.goffi.org</a></p>
-        <p>You'll find user documentation and more technical one on the wiki: <a href="http://wiki.goffi.org">http://wiki.goffi.org</a></p>
+        <p>{% blocktrans with mailing_list="<a href=\"http://lists.goffi.org\">http://lists.goffi.org</a>" %}you can subscribe to the mailing list to follow the progression, you're welcome to give your opinion (and to contribute): {{ mailing_list }}{% endblocktrans %}</p>
+        <p>{% blocktrans with wiki="<a href=\"http://wiki.goffi.org\">http://wiki.goffi.org</a>" %}You'll find user documentation and more technical one on the wiki: {{ wiki }}{% endblocktrans %}</p>
     </div>
     
 </div>
 
 <div class="row">
     <h4 class="alert alert-success">
-    Participate !
+    {% trans "Participate !" %}
     </h4>
     <div class="info">
-        <p>SàT is an open project: come and discuss, give your opinion, share your thoughts. The more people will participate, the better the project will be. Share your view not only on technical points, but also on philosophical or political ones. And if you are around, come to have a talk in real life :)</p>
+        <p>{% blocktrans %}SàT is an open project: come and discuss, give your opinion, share your thoughts. The more people will participate, the better the project will be. Share your view not only on technical points, but also on philosophical or political ones. And if you are around, come to have a talk in real life :){% endblocktrans %}</p>
     </div>
 </div>
 {% endblock %}