nyastodon/app/javascript/locales/index.js

10 lines
129 B
JavaScript
Raw Normal View History

2017-11-21 07:13:37 +01:00
let theLocale;
export function setLocale(locale) {
theLocale = locale;
}
export function getLocale() {
return theLocale;
}