mapcomplete/UI/i18n/Locale.ts

8 lines
243 B
TypeScript
Raw Normal View History

2020-07-21 00:07:04 +02:00
import {UIEventSource} from "../UIEventSource";
import {LocalStorageSource} from "../../Logic/LocalStorageSource";
2020-07-20 12:39:43 +02:00
export default class Locale {
public static language: UIEventSource<string> = LocalStorageSource.Get('language', "en");
2020-07-20 12:39:43 +02:00
}