mirror of
https://git.bolliret.ch/pcs/pcs-website
synced 2026-01-18 13:31:37 +01:00
Ugly quirk to wor around Lektors tupide limitation with default languages
This commit is contained in:
parent
134f3dedb2
commit
a2dbd0715b
2 changed files with 17 additions and 3 deletions
|
|
@ -1,11 +1,16 @@
|
|||
[project]
|
||||
name = PCS
|
||||
|
||||
[alternatives.de]
|
||||
[alternatives.xy]
|
||||
name = German
|
||||
primary = yes
|
||||
locale = de_CH
|
||||
|
||||
[alternatives.de]
|
||||
name = German
|
||||
url_prefix = /de/
|
||||
locale = de_CH
|
||||
|
||||
[alternatives.fr]
|
||||
name = French
|
||||
url_prefix = /fr/
|
||||
|
|
|
|||
|
|
@ -29,17 +29,26 @@
|
|||
|
||||
<ul class="nav navbar-nav">
|
||||
{% set navigation = {
|
||||
'xy': [
|
||||
['/termine', 'Termine'],
|
||||
['/vorstand', 'Vorstand'],
|
||||
['/about', 'Über uns'],
|
||||
['/kontakt', 'Kontakt aufnehmen'],
|
||||
['.'|url(alt='fr'), 'français']
|
||||
],
|
||||
'de': [
|
||||
['/termine', 'Termine'],
|
||||
['/vorstand', 'Vorstand'],
|
||||
['/about', 'Über uns'],
|
||||
['/kontakt', 'Kontakt aufnehmen']
|
||||
['/kontakt', 'Kontakt aufnehmen'],
|
||||
['.'|url(alt='fr'), 'français']
|
||||
],
|
||||
'fr': [
|
||||
['/termine', 'Événements'],
|
||||
['/vorstand', 'Direction'],
|
||||
['/about', 'À propos'],
|
||||
['/kontakt', 'Contactez-nous']
|
||||
['/kontakt', 'Contactez-nous'],
|
||||
['.'|url(alt='de'), 'deutsch']
|
||||
]
|
||||
} %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue