diff templates/sat_website/frontends.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 8cfc33e4d435
line wrap: on
line diff
--- a/templates/sat_website/frontends.html	Sun Jul 29 01:52:27 2012 +0200
+++ b/templates/sat_website/frontends.html	Mon Jul 30 02:09:38 2012 +0200
@@ -20,19 +20,20 @@
 along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
 {% endcomment %}
 
+{% load i18n %}
 {% load staticfiles %}
-{% block headline %}Salut à Toi's frontends{% endblock %}
-{% block subtext %}SàT is multi-frontends: use the one that best fit your needs{% endblock %}
-{# {% block extra %}<span class="label label-success">Click on the frontend screenshot to have a more detailed description</span>{% endblock %} #}
+{% block headline %}{% trans "Salut à Toi's frontends" %}{% endblock %}
+{% block subtext %}{% trans "SàT is multi-frontends: use the one that best fit your needs" %}{% endblock %}
+{# {% block extra %}<span class="label label-success">{% trans "Click on the frontend screenshot to have a more detailed description" %}</span>{% endblock %} #}
 {% block main_container %}
 <div class="row">
 	<div class="span4">
-	<h1>Primitivus <small>the console interface</small></h1>
+	<h1>{% trans "Primitivus" %} <small>{% trans "the console interface" %}</small></h1>
 		<div class="row">
 			<ul class="thumbnails">
 				<li class="span4">
 					<a href="#" class="thumbnail">
-						<img src="{% static "images/screenshots/primitivus/primitivus_tarot.png" %}" alt="Primitivus showing a french Tarot play">
+						<img src="{% static "images/screenshots/primitivus/primitivus_tarot.png" %}" alt="{% trans "Primitivus showing a french Tarot play" %}">
 					</a>
 				</li>
 			</ul>
@@ -40,12 +41,12 @@
 	</div>
 	
 	<div class="span4">
-	<h1>Libervia <small>the web frontend</small></h1>
+	<h1>{% trans "Libervia" %} <small>{% trans "the web frontend" %}</small></h1>
 		<div class="row">
 			<ul class="thumbnails">
 				<li class="span4">
 					<a href="#" class="thumbnail">
-						<img src="{% static "images/screenshots/libervia/libervia_discussions.png" %}" alt="Libervia's main view">
+						<img src="{% static "images/screenshots/libervia/libervia_discussions.png" %}" alt="{% trans "Libervia's main view" %}">
 					</a>
 				</li>
 			</ul>
@@ -53,12 +54,12 @@
 	</div>
 	
 	<div class="span4">
-	<h1>Wix <small>desktop</small></h1>
+	<h1>{% trans "Wix" %} <small>{% trans "desktop" %}</small></h1>
 		<div class="row">
 			<ul class="thumbnails">
 				<li class="span4">
 					<a href="#" class="thumbnail">
-						<img src="{% static "images/screenshots/wix/wix_tarot.png" %}" alt="Wix showing a french Tarot play">
+						<img src="{% static "images/screenshots/wix/wix_tarot.png" %}" alt="{% trans "Wix showing a french Tarot play" %}">
 					</a>
 				</li>
 			</ul>
@@ -69,12 +70,12 @@
 
 <div class="row">
 	<div class="span4">
-	<h1>Jp <small>command line</small></h1>
+	<h1>{% trans "Jp" %} <small>{% trans "command line" %}</small></h1>
 		<div class="row">
 			<ul class="thumbnails">
 				<li class="span4">
 					<a href="#" class="thumbnail">
-						<img src="{% static "images/screenshots/jp/jp.png" %}" alt="cowsay on jp">
+						<img src="{% static "images/screenshots/jp/jp.png" %}" alt="{% trans "cowsay on jp" %}">
 					</a>
 				</li>
 			</ul>
@@ -83,13 +84,13 @@
 
 	<div class="span4">
 		<p id="bigmark">?</p>
-		<h3 id="bigmark_subtext">Your idea here</h3>
+		<h3 id="bigmark_subtext">{% trans "Your idea here" %}</h3>
 	</div>
 
 	<div class="span4">
-		<h1>Bellaciao <small>next gen desktop</small></h1>
-		<h4 class="wip">[WORK IN PROGRESS]</h4>
-		<p class="desc">Bellaciao is a new desktop frontend made with Qt (and the first non-python one: it's made with C++). It intend to be really flexible: you'll be able to adapt it to your taste. Bellaciao is made with modern features in mind: it not only concentrate on instant messaging, but also integrate things like microblogging or file sharing.</p>
+		<h1>{% trans "Bellaciao" %} <small>{% trans "next gen desktop" %}</small></h1>
+		<h4 class="wip">{% trans "[WORK IN PROGRESS]" %}</h4>
+		<p class="desc">{% blocktrans %}Bellaciao is a new desktop frontend made with Qt (and the first non-python one: it's made with C++). It intend to be really flexible: you'll be able to adapt it to your taste. Bellaciao is made with modern features in mind: it not only concentrate on instant messaging, but also integrate things like microblogging or file sharing.{% endblocktrans %}</p>
 	</div>
 </div>