mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-08 08:44:27 +00:00
bb04a9be52
* Persian translation * adding :fa to make the site use the rtl stylesheet based on [this comment](https://github.com/tootsuite/mastodon/pull/2405#issuecomment-296721105) * fix missing quotes * add 'fa' locale
56 lines
858 B
JavaScript
56 lines
858 B
JavaScript
import ar from './ar';
|
|
import en from './en';
|
|
import de from './de';
|
|
import es from './es';
|
|
import fa from './fa';
|
|
import hr from './hr';
|
|
import hu from './hu';
|
|
import io from './io';
|
|
import it from './it';
|
|
import fr from './fr';
|
|
import nl from './nl';
|
|
import no from './no';
|
|
import oc from './oc';
|
|
import pt from './pt';
|
|
import pt_br from './pt-br';
|
|
import uk from './uk';
|
|
import fi from './fi';
|
|
import eo from './eo';
|
|
import ru from './ru';
|
|
import ja from './ja';
|
|
import zh_hk from './zh-hk';
|
|
import zh_cn from './zh-cn';
|
|
import bg from './bg';
|
|
import id from './id';
|
|
|
|
const locales = {
|
|
ar,
|
|
en,
|
|
de,
|
|
es,
|
|
fa,
|
|
hr,
|
|
hu,
|
|
io,
|
|
it,
|
|
fr,
|
|
nl,
|
|
no,
|
|
oc,
|
|
pt,
|
|
'pt-BR': pt_br,
|
|
uk,
|
|
fi,
|
|
eo,
|
|
ru,
|
|
ja,
|
|
'zh-HK': zh_hk,
|
|
'zh-CN': zh_cn,
|
|
bg,
|
|
id,
|
|
};
|
|
|
|
export default function getMessagesForLocale (locale) {
|
|
return locales[locale];
|
|
};
|