mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-13 18:36:19 +00:00
0a1b024600
* Added oc.yml * Added `config/locales/oc.yml`. Translated in General Occitan (Quent-in). * Added oc.jsx (Occitan translation) * Written in General Occitan (lengadocian) * Added `app/assets/javascripts/components/locales/oc.js` * Added doorkeeper.oc.yml * Added `config/locales/doorkeeper.oc.yml` (Quent-in) * Added simple_form.oc.yml * Added `config/locales/simple_form.oc.yml` (Quent-in). * Merge en.yml changes into oc.yml Added new strings for translations * Fix typo in oc.yml * Update javascript locale support (oc) * Update ruby locale list (oc) * Fix oc.yml * Remove obsoleted translations * Moved old translation of `reports` to `admin.reports`
43 lines
660 B
JavaScript
43 lines
660 B
JavaScript
import en from './en';
|
|
import de from './de';
|
|
import es from './es';
|
|
import hr from './hr';
|
|
import hu from './hu';
|
|
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 bg from './bg';
|
|
|
|
const locales = {
|
|
en,
|
|
de,
|
|
es,
|
|
hr,
|
|
hu,
|
|
fr,
|
|
nl,
|
|
no,
|
|
pt,
|
|
'pt-BR': pt_br,
|
|
uk,
|
|
fi,
|
|
eo,
|
|
ru,
|
|
ja,
|
|
'zh-HK': zh_hk,
|
|
bg,
|
|
};
|
|
|
|
export default function getMessagesForLocale (locale) {
|
|
return locales[locale];
|
|
};
|