forked from MapComplete/MapComplete
Fix: URL-parameter language disables the language picker, fix #1506
This commit is contained in:
parent
aaaf7f4cab
commit
3ca8ba18fd
5 changed files with 36 additions and 5 deletions
|
@ -33,7 +33,16 @@
|
|||
"id": "language_picker",
|
||||
"render": {
|
||||
"*": "{language_picker()}"
|
||||
}
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "__url_parameter_initialized:language=yes",
|
||||
"icon": "./assets/layers/usersettings/translate_disabled.svg",
|
||||
"then": {
|
||||
"en": "The language was set via an URL-parameter and cannot be set by the user.²"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "inbox",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue