[tor-commits] [lego/master] another cheap solution for https://dip.torproject.org/torproject/web/tpo/issues/5, but we should really fix https://github.com/numericube/lektor-i18n-plugin/issues/11

gus at torproject.org gus at torproject.org
Tue Aug 31 18:05:29 UTC 2021


commit 7919ebbc9e74abce94a59639672af339352e12b9
Author: emma peel <emma.peel at riseup.net>
Date:   Fri Dec 13 12:52:16 2019 +0100

    another cheap solution for https://dip.torproject.org/torproject/web/tpo/issues/5, but we should really fix https://github.com/numericube/lektor-i18n-plugin/issues/11
---
 templates/navbar.html | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/templates/navbar.html b/templates/navbar.html
index 975cd78..71ca410 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -51,6 +51,18 @@
             </a>
         	</li>
   	{% endfor %}
+    <!--
+            I add some strings here because the i18n plugin does not pick them up from the Databags
+            {{ _('About') }}
+            {{ _('Documentation') }}
+            {{ _('Support') }}
+            {{ _('Community') }}
+            {{ _('Blog') }}
+            {{ _('Jobs') }}
+            {{ _('Contact') }}
+            {{ _('Press') }}
+            {{ _('Donate') }}
+    -->
         </ul>
       </div>
       {% set alts = bag('alternatives').items() %}





More information about the tor-commits mailing list