mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02: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
10 lines
129 B
JavaScript
10 lines
129 B
JavaScript
let theLocale;
|
|
|
|
export function setLocale(locale) {
|
|
theLocale = locale;
|
|
}
|
|
|
|
export function getLocale() {
|
|
return theLocale;
|
|
}
|