]> git.0d.be Git - panikweb.git/commitdiff
translate labels
authorFrédéric Péters <fpeters@0d.be>
Sat, 7 Sep 2013 12:32:53 +0000 (14:32 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 7 Sep 2013 12:32:53 +0000 (14:32 +0200)
.gitignore
panikweb_templates/locale/fr/LC_MESSAGES/django.po [new file with mode: 0644]
panikweb_templates/templates/includes/metaNav.html
panikweb_templates/templates/includes/player.html
panikweb_templates/templates/news/roll.html

index 4f9ccea14a25533772cbd67e2fbd83fcec6f1c96..d8e795047a51c6a2e309c19dff3a1e44dea7b04f 100644 (file)
@@ -12,3 +12,4 @@ panikweb.sqlite3
 /emissions
 /newsletter
 local_settings.py
+django.mo
diff --git a/panikweb_templates/locale/fr/LC_MESSAGES/django.po b/panikweb_templates/locale/fr/LC_MESSAGES/django.po
new file mode 100644 (file)
index 0000000..1d53b38
--- /dev/null
@@ -0,0 +1,54 @@
+# Translation of panikweb_templates
+# Copyright (C) 2013
+# This file is distributed under the same license as the panikweb package.
+# Frederic Peters <fpeters@0d.be>, 2013.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: panikweb_templates 0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-09-07 14:29+0200\n"
+"PO-Revision-Date: 2013-09-07 14:22+0200\n"
+"Last-Translator: Frederic Peters <fpeters@0d.be>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: templates/includes/metaNav.html:7
+msgid "Home"
+msgstr "Accueil"
+
+#: templates/includes/metaNav.html:11
+msgid "News"
+msgstr "Actus"
+
+#: templates/includes/metaNav.html:15
+msgid "Listen"
+msgstr "Sons"
+
+#: templates/includes/metaNav.html:19
+msgid "Program"
+msgstr "Programme"
+
+#: templates/includes/metaNav.html:23
+msgid "About"
+msgstr "La radio"
+
+#: templates/includes/metaNav.html:27
+msgid "Search"
+msgstr "Recherche"
+
+#: templates/includes/player.html:8
+msgid "Get the stream on your player!"
+msgstr "Récupérez le stream sur votre lecteur !"
+
+#: templates/includes/player.html:10
+msgid "Need some help?"
+msgstr "Besoin d'aide ?"
+
+#: templates/includes/player.html:14
+msgid "live"
+msgstr "en direct"
index 2a4e47459d8412865410986e27145d4dd93c425c..96a01eac38c301786908b2a7d83c183b1c68037a 100644 (file)
@@ -1,30 +1,30 @@
-
+{% load i18n %}
 <nav class="contextual-menu wrapper">
                <ul class="distributed">
                        <!--<li><a href="{% url 'get' %}">☰</a></li>-->
                        <li class="{% if sectionName = "Home" %}active{% endif %}"><a href="{% url 'home' %}">
                                <span class="icon-home"></span>
-                               <span class="iconLabel">Home</span>
+                               <span class="iconLabel">{% trans 'Home' %}</span>
                        </a></li>
                        <li class="{% if sectionName = "News" %}active{% endif %}"><a href="{% url 'news' %}">
                                <span class="icon-bullhorn" ></span>
-                               <span class="iconLabel">News</span>
+                               <span class="iconLabel">{% trans 'News' %}</span>
                        </a></li>
                        <li class="{% if sectionName = "Listen" %}active{% endif %}"><a href="{% url 'listen' %}">
                                <span class="icon-headphones" ></span>
-                               <span class="iconLabel">Listen</span>
+                               <span class="iconLabel">{% trans 'Listen' %}</span>
                        </a></li>
                        <li class="{% if sectionName = "Emissions" %}active{% endif %}"><a href="{% url 'emissions' %}">
                                <span class="icon-calendar" ></span>
-                               <span class="iconLabel">Program</span>
+                               <span class="iconLabel">{% trans 'Program' %}</span>
                        </a></li>
                        <li class="{% if sectionName = "About" %}active{% endif %}"><a href="/la-radio/">
                                <span class="icon-info-sign" ></span>
-                               <span class="iconLabel">About</span>
+                               <span class="iconLabel">{% trans 'About' %}</span>
                        </a></li>
                        <li class="{% if sectionName = "Search" %}active{% endif %}"><a href="{% url 'search' %}">
                                <span class="icon-search" ></span>
-                               <span class="iconLabel">Search</span>
+                               <span class="iconLabel">{% trans 'Search' %}</span>
                        </a></li>
                </ul>
 </nav>
index 46819dd82c6771d9cbe20d6487a60a2fc670362e..0a8a85fcd04eadbf97f9cef3f45654999d8056b6 100644 (file)
@@ -1,17 +1,17 @@
-
+{% load i18n %}
 <div id="player-container" class="normal cf">
        <button id="togglePlayer" class="hidden left huge icon-double-angle-left "></button>
        <div id="player" class="wrapper cf">
                <div id="audioPlayer" class="cf">
                        <div class="padded cf">
                                <ul class="metas custom right big">
-                                       <li><a class="button resymbol icon-download inBlock" title="Get the stream on your player!" href="http://streaming.domainepublic.net:8000/radiopanik.ogg.m3u"></a></li>
+                                       <li><a class="button resymbol icon-download inBlock" title="{% trans 'Get the stream on your player!' %}" href="http://streaming.domainepublic.net:8000/radiopanik.ogg.m3u"></a></li>
                                        <!--<li><button class="icon-eye-open " title="Show/Hidden HTML5 audio player" onclick="$('#DirectStreamPanik').toggleClass('hidden');$(this).toggleClass('icon-eye-open icon-eye-close');return false;"></button></li>-->
-                                       <li><button title="Need some help?" onclick="$('#PlayerHelp').toggle();" class="icon-question-sign"></button></li>
+                                       <li><button title="{% trans 'Need some help?' %}" onclick="$('#PlayerHelp').toggle();" class="icon-question-sign"></button></li>
                                </ul>
                                <span class="button block" id="DirectStreamPanikControler">
                                        <div id="streamSymbol" class="icon-volume-up resymbol"></div>
-                                       <div class="label">en direct</div>
+                                       <div class="label">{% trans 'live' %}</div>
                                </span>
                                <div id="CurrentlyPlaying" class="ellipsis">
                                        <button class="icon-refresh" id="RefreshWhatsOnAir"></button>
index 0affc6f992c22c09b83e6a29df04d1d1b0c960c3..364d7b5716cf0a5c7ac4d4f520ff8195a8487ce1 100644 (file)
@@ -1,8 +1,8 @@
-{% load thumbnails %}
+{% load thumbnails %}{% load i18n %}
 <div class="newsRoll center wrapper">
        <ul class="custom distributed">
                <li class="title">
-                       <h4 class="label vertical">News</h4>
+                       <h4 class="label vertical">{% trans 'News' %}</h4>
                </li>
                {% for content in news %}
                        <li class="{% if forloop.counter > 3 %}largeScreens{% endif %}">