1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 18:08:11 +09:00

fix: add getting started button

This commit is contained in:
2020-03-06 23:46:19 +09:00
parent 9c096db248
commit ea61ecc9dc
6 changed files with 20 additions and 39 deletions

View File

@@ -5,6 +5,8 @@ import XHR from 'i18next-xhr-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import {initReactI18next} from 'react-i18next';
const TRANSLATION_VERSION = '1.11';
i18n
.use(Backend)
.use(LanguageDetector)
@@ -14,7 +16,7 @@ i18n
backends: [LocalStorageBackend, XHR],
backendOptions: [
{
versions: {en: '1.10', ja: '1.10'},
versions: {en: TRANSLATION_VERSION, ja: TRANSLATION_VERSION},
},
],
},