forked from MapComplete/MapComplete
Docs: Improve docs, fix doc script
This commit is contained in:
parent
193b8b4672
commit
4a26563356
142 changed files with 9404 additions and 908 deletions
|
@ -67,12 +67,15 @@ Finally, the URL-hash is the part after the `#`. It is `node/1234` in this case.
|
|||
|
||||
The language to display MapComplete in.
|
||||
The user display language is determined in the following order:
|
||||
- If the user did log in and did set their language before with MapComplete, use this language
|
||||
- If the user visited MapComplete before and did change their language, use the language as set by this URL-parameter. This will _disable_ saving the language to localStorage in case a non-logged-in user changes their language
|
||||
- Use the navigator-language (if available)
|
||||
- Use English
|
||||
|
||||
1. If the user did log in and did set their language before with MapComplete, use this language. This language selection is synchronized accross devices using the openstreetmap.org user preferences.
|
||||
2. Use the language as set by the URL-parameter `language`. This will _disable_ saving the language to localStorage in case a non-logged-in user changes their language
|
||||
3. If the user visited MapComplete before and did change their language manually, this changed language will be saved in local storage. Use the language from local storage
|
||||
4. Use the navigator-language (if available)
|
||||
5. Use English
|
||||
|
||||
Note that this URL-parameter is not added to the URL-bar by default.
|
||||
Note that the _loading_ screen will always use the navigator language.
|
||||
|
||||
Translations are never complete. If a translation in a certain language is missing, English is used as fallback. No default value set
|
||||
|
||||
|
@ -244,4 +247,4 @@ Translations are never complete. If a translation in a certain language is missi
|
|||
|
||||
Wether or not the layer with id <layer-id> is shown The default value is _true_
|
||||
|
||||
This document is autogenerated from [Logic/Web/QueryParameters.ts](https://github.com/pietervdvn/MapComplete/blob/develop/Logic/Web/QueryParameters.ts), [UI/QueryParameterDocumentation.ts](https://github.com/pietervdvn/MapComplete/blob/develop/UI/QueryParameterDocumentation.ts)
|
||||
This document is autogenerated from [src/Logic/Web/QueryParameters.ts](https://github.com/pietervdvn/MapComplete/blob/develop/src/Logic/Web/QueryParameters.ts), [src/UI/QueryParameterDocumentation.ts](https://github.com/pietervdvn/MapComplete/blob/develop/src/UI/QueryParameterDocumentation.ts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue