mirror of
https://github.com/mue/mue.git
synced 2026-07-24 09:17:24 +02:00
feat(translations): Add Portuguese (Brazil) translation (#339)
* Update translations.js Signed-off-by: Spectro <44793891+jspectro@users.noreply.github.com> * Update languages.json Signed-off-by: Spectro <44793891+jspectro@users.noreply.github.com> * Update index.jsx Signed-off-by: Spectro <44793891+jspectro@users.noreply.github.com> Signed-off-by: Spectro <44793891+jspectro@users.noreply.github.com>
This commit is contained in:
@@ -39,6 +39,7 @@ variables.language = new I18n(variables.languagecode, {
|
|||||||
zh_CN: translations.zh_CN,
|
zh_CN: translations.zh_CN,
|
||||||
id_ID: translations.id_ID,
|
id_ID: translations.id_ID,
|
||||||
tr_TR: translations.tr_TR,
|
tr_TR: translations.tr_TR,
|
||||||
|
pt_BR: translations.pt_BR,
|
||||||
});
|
});
|
||||||
|
|
||||||
variables.getMessage = (text, optional) =>
|
variables.getMessage = (text, optional) =>
|
||||||
|
|||||||
@@ -42,5 +42,9 @@
|
|||||||
{
|
{
|
||||||
"name": "中文 (简体)",
|
"name": "中文 (简体)",
|
||||||
"value": "zh_CN"
|
"value": "zh_CN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Portuguese (Brazil)",
|
||||||
|
"value": "pt_BR"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import * as ru from '../translations/ru.json';
|
|||||||
import * as zh_CN from '../translations/zh_CN.json';
|
import * as zh_CN from '../translations/zh_CN.json';
|
||||||
import * as id_ID from '../translations/id_ID.json';
|
import * as id_ID from '../translations/id_ID.json';
|
||||||
import * as tr_TR from '../translations/tr_TR.json';
|
import * as tr_TR from '../translations/tr_TR.json';
|
||||||
|
import * as pt_BR from '../translations/pt_BR.json';
|
||||||
|
|
||||||
const translations = {
|
const translations = {
|
||||||
de_DE,
|
de_DE,
|
||||||
@@ -24,6 +25,7 @@ const translations = {
|
|||||||
zh_CN,
|
zh_CN,
|
||||||
id_ID,
|
id_ID,
|
||||||
tr_TR,
|
tr_TR,
|
||||||
|
pt_BR,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default translations;
|
export default translations;
|
||||||
|
|||||||
Reference in New Issue
Block a user