From 8addc449842abf627f92af9a24e42c136bbc886a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Sat, 2 Sep 2017 17:46:51 +0900 Subject: [PATCH] add ukrainian translation, contribution from Dmytro --- Gruntfile.js | 27 ++++++------- index.html | 85 +++++++++++++++++++++++++++++++++++++++++ l10n/ua.js | 83 ++++++++++++++++++++++++++++++++++++++++ src/index.html | 1 + src/ninja.translator.js | 1 + 5 files changed, 184 insertions(+), 13 deletions(-) create mode 100644 l10n/ua.js diff --git a/Gruntfile.js b/Gruntfile.js index d2bc4de..a8b1300 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -35,25 +35,26 @@ module.exports = function (grunt) { { token: "//ninja.bulkwallet.js", file: "./src/ninja.bulkwallet.js" }, { token: "//ninja.brainwallet.js", file: "./src/ninja.brainwallet.js" }, { token: "//ninja.detailwallet.js", file: "./src/ninja.detailwallet.js" }, - { token: "//ninja.donatetab.js", file: "./src/ninja.donatetab.js" }, + { token: "//ninja.donatetab.js", file: "./src/ninja.donatetab.js" }, { token: "//qrcode.js", file: "./src/qrcode.js" }, { token: "//securerandom.js", file: "./src/securerandom.js" }, { token: "//janin.currency.js", file: "./src/janin.currency.js" }, { token: "//main.css", file: "./src/main.css" } ] }, - i18n: { - input: "./index.html", - output: "./index.html", - tokens: [ - { token: "//en.js", file: "./l10n/en.js" }, - { token: "//fr.js", file: "./l10n/fr.js" }, - { token: "//ru.js", file: "./l10n/ru.js" }, - { token: "//es.js", file: "./l10n/es.js" } - ] - } - } - + i18n: { + input: "./index.html", + output: "./index.html", + tokens: [ + { token: "//en.js", file: "./l10n/en.js" }, + { token: "//fr.js", file: "./l10n/fr.js" }, + { token: "//ru.js", file: "./l10n/ru.js" }, + { token: "//es.js", file: "./l10n/es.js" }, + { token: "//ua.js", file: "./l10n/ua.js" } + ] + } + } + }); grunt.file.defaultEncoding = 'utf-8'; diff --git a/index.html b/index.html index 594f49d..75b4ad8 100644 --- a/index.html +++ b/index.html @@ -9658,6 +9658,7 @@ h1 { margin: 0px; height: 91px; } Français | Русский | Spanish | + Українська |