instante-social/app/javascript/mastodon/locales/index.js

10 lines
129 B
JavaScript

let theLocale;
export function setLocale(locale) {
theLocale = locale;
}
export function getLocale() {
return theLocale;
}