mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-15 20:54:01 -05:00
6685106daa
* update portuguese translation added the missing fields and improved the translation * pt translations fix * improve last translation commit * fix damn quotes * add pt_br to index.jsx * add pt-BR to import index.jsx * add pt-BR to mastodon.jsx * add pt-BR to settings_helper.rb * add pt-BR to application.rb * order alphabetically pt.jsx * create pt-BR.jsx * Create devise.pt-BR.yml * language improvements to devise.pt.yml * created doorkeeper.pt-BR.yml * fixes to doorkeeper.pt.yml * create pt-BR.yml * improvements to pt.yml * Create simple_form.pt-BR.yml * Improvements to simple_form.pt.yml * improvements to pt.yml
42 lines
637 B
JavaScript
42 lines
637 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 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];
|
|
};
|