From a9fea9e661394ac79bf74aec4b9a5a527c27d78a Mon Sep 17 00:00:00 2001 From: Riley Apeldoorn Date: Sun, 18 Apr 2021 20:59:25 +0200 Subject: [PATCH] Added Dutch translation --- src/main.js | 2 ++ src/translations/nl.js | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/translations/nl.js diff --git a/src/main.js b/src/main.js index 27010fa..e6ffb54 100644 --- a/src/main.js +++ b/src/main.js @@ -68,6 +68,7 @@ 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 translation_nl from './translations/nl.js' import formatDistance from 'date-fns/formatDistance'; @@ -177,6 +178,7 @@ document.addEventListener('DOMContentLoaded', function () { en: { translation: translation_en }, de: { translation: translation_de }, ru: { translation: translation_ru }, + nl: { translation: translation_nl }, }, interpolation: { format: function (value, format, _) { diff --git a/src/translations/nl.js b/src/translations/nl.js new file mode 100644 index 0000000..5683be8 --- /dev/null +++ b/src/translations/nl.js @@ -0,0 +1,20 @@ +module.exports = { + // These are the buttons on the top bar. + "home_btn": "Homepagina", + "back_btn": "Terug", + "refresh_btn": "Ververs", + "me_btn": "Profiel/Instellingen", + // These are the page titles + "me_page_title": "Profiel/Instellingen", + "home_page_title": "Homepagina", + + // These are all o the other translations + "log_out_btn": "Log Uit", + "copy_token_btn": "Kopieer Token", + "renew_lease_btn": "Vernieuw Token-lease", + + "vaulturl_text": "Vault URL: {{text}}", + "password_generator_btn": "Wachtwoordgenerator", + "your_token_expires_in": "Uw token vervalt in {{date, until_date}}" + +}