1
0
Fork 0

Load russian translation.

This commit is contained in:
purringChaos 2021-04-18 13:18:14 +01:00 committed by GitHub
parent f8b3a900e8
commit 5c89c0c21f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +67,7 @@ const pages = {
import i18next from 'i18next';
import translation_en from './translations/en.js'
import translation_de from './translations/de.js'
import translation_ru from './translations/ru.js'
import formatDistance from 'date-fns/formatDistance';
@ -175,6 +176,7 @@ document.addEventListener('DOMContentLoaded', function () {
resources: {
en: { translation: translation_en },
de: { translation: translation_de },
ru: { translation: translation_ru },
},
interpolation: {
format: function (value, format, _) {
@ -185,4 +187,4 @@ document.addEventListener('DOMContentLoaded', function () {
}).then(function (t) {
onLoad();
});
}, false);
}, false);