annotate templates/sat_website/base.html @ 3:43d8c6d59557

i18n: french translation
author Goffi <goffi@goffi.org>
date Mon, 30 Jul 2012 02:10:14 +0200
parents 0df46e87537d
children 755ccdb0c62a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% comment %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
2 SàT website: Salut à Toi's presentation website
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
3 Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org)
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
4
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
5 This file is part of SàT website.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
6
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
7 SàT website is free software: you can redistribute it and/or modify
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
8 it under the terms of the GNU Affero General Public License as published by
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
9 the Free Software Foundation, either version 3 of the License, or
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
10 (at your option) any later version.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
11
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
12 Foobar is distributed in the hope that it will be useful,
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
15 GNU Affero General Public License for more details.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
16
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
17 You should have received a copy of the GNU Affero General Public License
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
18 along with Foobar. If not, see <http://www.gnu.org/licenses/>.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
19 {% endcomment %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
20
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
21 {% load staticfiles %}
2
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
22 {% load i18n %}
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
23
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
24 <!DOCTYPE html>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
25 <html lang="en">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
26 <meta charset="utf-8">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
27 <head>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
28 <link rel="stylesheet" href="{% static "css/bootstrap.css" %}">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
29 <link rel="stylesheet" href="{% static "css/bootstrap-responsive.css" %}">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
30 <link rel="stylesheet" href="{% static "css/sat_website.css" %}">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
31 <link rel="icon" type="image/png" href="{% static "images/sat_logo_32.png" %}">
2
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
32 <title>{% block title %}{% trans "Salut à Toi: the multi-frontends, multi-purposes communication tool" %}{% endblock %}</title>
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
33 </head>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
34 <body>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
35 <div class="navbar navbar-fixed-top">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
36 <div class="navbar-inner">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
37 <div class="container">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
38 <ul class="nav">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
39 <img id="sat_logo" src="{% static "images/sat_logo_32.png" %}"></li>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
40 <a class="brand" href="overview.html">Salut à Toi</a>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
41 {#<li><a href="#">Overview</a></li>#}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
42 {% for cat_url,cat_name in categories.items %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
43 <li><a href="{{ cat_url }}.html">{{ cat_name }}</a></li>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
44 {% endfor %}
1
a49aa1b823f6 added SàT archive download link (detect the last version)
Goffi <goffi@goffi.org>
parents: 0
diff changeset
45 </ul>
a49aa1b823f6 added SàT archive download link (detect the last version)
Goffi <goffi@goffi.org>
parents: 0
diff changeset
46 {% if latest_dl_path and latest_version %}
a49aa1b823f6 added SàT archive download link (detect the last version)
Goffi <goffi@goffi.org>
parents: 0
diff changeset
47 <ul class="nav pull-right">
2
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
48 <li><a href="{{ latest_dl_path }}"><strong>{% trans "Download SàT" %} {{ latest_version }}</strong></a> </li>
1
a49aa1b823f6 added SàT archive download link (detect the last version)
Goffi <goffi@goffi.org>
parents: 0
diff changeset
49
a49aa1b823f6 added SàT archive download link (detect the last version)
Goffi <goffi@goffi.org>
parents: 0
diff changeset
50 </ul>
a49aa1b823f6 added SàT archive download link (detect the last version)
Goffi <goffi@goffi.org>
parents: 0
diff changeset
51 {% endif %}
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
52 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
53 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
54 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
55 {% block content %}{% endblock %}
2
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
56 <div class="container">
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
57 <div class="row" id="language">
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
58
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
59 <form class="well form-inline" action="/i18n/setlang/" method="post">
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
60 {% csrf_token %}
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
61 <input name="next" type="hidden" value="{{ redirect_to }}" />
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
62 <select name="language">
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
63 {% get_language_info_list for available_languages as languages %}
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
64 {% for language in languages %}
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
65 <option value="{{ language.code }}">{{ language.name_local }} ({{ language.code }})</option>
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
66 {% endfor %}
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
67 </select>
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
68 <input type="submit" value="{% trans "Change language" %}" />
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
69 </form>
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
70 </div>
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 1
diff changeset
71 </div>
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
72 </body>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
73 </html>