forked from MapComplete/MapComplete
Move 'translators'-logic into UserSettings
This commit is contained in:
parent
fad62a2877
commit
79a88401dc
22 changed files with 321 additions and 277 deletions
|
@ -5,6 +5,10 @@ import { QueryParameters } from "../../Logic/Web/QueryParameters"
|
|||
|
||||
export default class Locale {
|
||||
public static showLinkToWeblate: UIEventSource<boolean> = new UIEventSource<boolean>(false)
|
||||
/**
|
||||
* Indicates that -if showLinkToWeblate is true- a link on mobile mode is shown as well
|
||||
*/
|
||||
public static showLinkOnMobile: UIEventSource<boolean> = new UIEventSource<boolean>(false)
|
||||
public static language: UIEventSource<string> = Locale.setup()
|
||||
|
||||
private static setup() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue