1
0
mirror of https://github.com/uetchy/namae.git synced 2025-10-14 23:22:19 +09:00

Merge pull request #140 from miguelsmuller/feature/add-language-pt-br

feature: add add language pt-BR
This commit is contained in:
2022-03-07 02:53:25 +09:00
committed by GitHub
4 changed files with 1860 additions and 1867 deletions

View File

@@ -43,6 +43,9 @@ const Languages = () => {
<li>
<a href="/?lng=zh-Hant"></a>
</li>
<li>
<a href="/?lng=pt-BR">Português-BR</a>
</li>
</ul>
</Pane>
);

View File

@@ -5,7 +5,7 @@ import XHR from 'i18next-xhr-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import { initReactI18next } from 'react-i18next';
const TRANSLATION_VERSION = '6';
const TRANSLATION_VERSION = '7';
i18n
.use(Backend)
@@ -23,6 +23,7 @@ i18n
ja: TRANSLATION_VERSION,
'zh-Hans': TRANSLATION_VERSION,
'zh-Hant': TRANSLATION_VERSION,
'pt-BR': TRANSLATION_VERSION,
},
},
],