[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-www] branch master updated: only show languages other than the cu
From: |
gnunet |
Subject: |
[taler-www] branch master updated: only show languages other than the currently selected one |
Date: |
Sat, 31 Oct 2020 20:02:13 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository www.
The following commit(s) were added to refs/heads/master by this push:
new 06e8dc5 only show languages other than the currently selected one
06e8dc5 is described below
commit 06e8dc517d55690a672d4f32452b34297adb5b0a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Oct 31 20:02:11 2020 +0100
only show languages other than the currently selected one
---
common/navigation.j2.inc | 6 ++++++
locale/messages.pot | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc
index 70431e6..c56f8d1 100644
--- a/common/navigation.j2.inc
+++ b/common/navigation.j2.inc
@@ -39,9 +39,15 @@
{{ lang_full }} [{{ lang }}]
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
+ {% if lang != 'en' %}
<li><a class="dropdown-item" href="{{ self_localized('en') }}">English
[en]</a></li>
+ {% endif %}
+ {% if lang != 'de' %}
<li><a class="dropdown-item" href="{{ self_localized('de') }}">Deutsch
[de]</a></li>
+ {% endif %}
+ {% if lang != 'es' %}
<li><a class="dropdown-item" href="{{ self_localized('es')
}}">Español [es]</a></li>
+ {% endif %}
<!--
<li><a class="dropdown-item" href="{{ self_localized('fr')
}}">Français [fr]</a></li>
<li><a class="dropdown-item" href="{{ self_localized('it')
}}">Italiano [it]</a></li>
diff --git a/locale/messages.pot b/locale/messages.pot
index a0abb4a..6581795 100644
--- a/locale/messages.pot
+++ b/locale/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-10-30 09:26+0100\n"
+"POT-Creation-Date: 2020-10-31 20:01+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-www] branch master updated: only show languages other than the currently selected one,
gnunet <=