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

fix: example query

This commit is contained in:
2020-07-29 13:44:03 +09:00
committed by uetchy
parent 96c2c70e28
commit 0c64e7b2df
7 changed files with 36 additions and 40 deletions

View File

@@ -3,9 +3,9 @@ import Backend from 'i18next-chained-backend';
import LocalStorageBackend from 'i18next-localstorage-backend';
import XHR from 'i18next-xhr-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import {initReactI18next} from 'react-i18next';
import { initReactI18next } from 'react-i18next';
const TRANSLATION_VERSION = '1.17';
const TRANSLATION_VERSION = '1.18';
i18n
.use(Backend)
@@ -16,7 +16,7 @@ i18n
backends: [LocalStorageBackend, XHR],
backendOptions: [
{
versions: {en: TRANSLATION_VERSION, ja: TRANSLATION_VERSION},
versions: { en: TRANSLATION_VERSION, ja: TRANSLATION_VERSION },
},
],
},