Replace i18next-http-backend with i18next-resources-to-backend (#1466)

* Replace i18next-http-backend with i18next-resources-to-backend

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2021-08-31 22:40:33 +02:00 committed by GitHub
parent dee494386a
commit 7fb7c55877
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 30 additions and 24 deletions

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { setUpI18n } from './i18n'
import { setUpI18n } from './i18n/i18n'
import { refreshHistoryState } from '../../../redux/history/methods'
import { fetchAndSetBanner } from './fetch-and-set-banner'
import { setApiUrl } from '../../../redux/api-url/methods'
@ -36,7 +36,7 @@ export const createSetUpTaskList = (
return [
{
name: 'Load Translations',
task: setUpI18n(frontendAssetsUrl)
task: setUpI18n()
},
{
name: 'Load config',