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

fix: enable spanish translation

This commit is contained in:
2022-03-28 16:28:47 +09:00
parent 09dd68fed7
commit 8dd1a0927a
3 changed files with 49 additions and 4 deletions

View File

@@ -46,6 +46,9 @@ const Languages = () => {
<li>
<a href="/?lng=pt-BR">Português-BR</a>
</li>
<li>
<a href="/?lng=es">Español</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 = '7';
const TRANSLATION_VERSION = '8';
i18n
.use(Backend)
@@ -24,6 +24,7 @@ i18n
'zh-Hans': TRANSLATION_VERSION,
'zh-Hant': TRANSLATION_VERSION,
'pt-BR': TRANSLATION_VERSION,
es: TRANSLATION_VERSION,
},
},
],