From 5c89c0c21f8529a6034ec7d70e54d708a2eceb90 Mon Sep 17 00:00:00 2001 From: purringChaos Date: Sun, 18 Apr 2021 13:18:14 +0100 Subject: [PATCH] Load russian translation. --- src/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 75c3eec..27010fa 100644 --- a/src/main.js +++ b/src/main.js @@ -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); \ No newline at end of file +}, false);