mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-11-01 23:31:13 +01:00
9d04de1c8d
* Only load Intl data for current language * Extract common chunk only from application.js and public.js * Generate locale packs, avoid caching on window object
9 lines
129 B
JavaScript
9 lines
129 B
JavaScript
let theLocale;
|
|
|
|
export function setLocale(locale) {
|
|
theLocale = locale;
|
|
}
|
|
|
|
export function getLocale() {
|
|
return theLocale;
|
|
}
|