From d3aff6eca0c9cc0b02832c08b155fe164310d92e Mon Sep 17 00:00:00 2001 From: pointbiz Date: Sat, 16 Jan 2016 23:09:34 -0400 Subject: [PATCH] put each culture in separate file --- Gruntfile.js | 14 +- bitaddress.org.html | 3767 +++++++++++++++++++-------------------- package.json | 6 +- src/bitaddress-ui.html | 11 + src/culture/cs.js | 166 ++ src/culture/de.js | 166 ++ src/culture/el.js | 166 ++ src/culture/es.js | 166 ++ src/culture/fr.js | 166 ++ src/culture/hu.js | 173 ++ src/culture/it.js | 166 ++ src/culture/jp.js | 173 ++ src/culture/pt-br.js | 166 ++ src/culture/ru.js | 165 ++ src/culture/zh-cn.js | 172 ++ src/ninja.translator.js | 2080 ++------------------- 16 files changed, 3805 insertions(+), 3918 deletions(-) create mode 100644 src/culture/cs.js create mode 100644 src/culture/de.js create mode 100644 src/culture/el.js create mode 100644 src/culture/es.js create mode 100644 src/culture/fr.js create mode 100644 src/culture/hu.js create mode 100644 src/culture/it.js create mode 100644 src/culture/jp.js create mode 100644 src/culture/pt-br.js create mode 100644 src/culture/ru.js create mode 100644 src/culture/zh-cn.js diff --git a/Gruntfile.js b/Gruntfile.js index f77957a..9dfbd87 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -44,7 +44,19 @@ module.exports = function (grunt) { { token: "//qrcode.js", file: "./src/qrcode.js" }, { token: "//securerandom.js", file: "./src/securerandom.js" }, { token: "//main.css", file: "./src/main.css" }, - { token: "//version", string: packageObject.version } + { token: "//version", string: packageObject.version }, + // cultures + { token: "//cs.js", file: "./src/culture/cs.js" }, + { token: "//de.js", file: "./src/culture/de.js" }, + { token: "//el.js", file: "./src/culture/el.js" }, + { token: "//es.js", file: "./src/culture/es.js" }, + { token: "//fr.js", file: "./src/culture/fr.js" }, + { token: "//hu.js", file: "./src/culture/hu.js" }, + { token: "//it.js", file: "./src/culture/it.js" }, + { token: "//jp.js", file: "./src/culture/jp.js" }, + { token: "//pt-br.js", file: "./src/culture/pt-br.js" }, + { token: "//ru.js", file: "./src/culture/ru.js" }, + { token: "//zh-cn.js", file: "./src/culture/zh-cn.js" } ] } }, diff --git a/bitaddress.org.html b/bitaddress.org.html index af4b8b6..d095b54 100644 --- a/bitaddress.org.html +++ b/bitaddress.org.html @@ -7016,7 +7016,7 @@ input[type=checkbox] { position: relative; z-index: 20; }
⚠ Think twice! You appear to be running this generator online from a live website. For valuable wallets it is recommended to - download + download the zip file from GitHub and run this generator offline as a local html file.

@@ -7041,12 +7041,12 @@ input[type=checkbox] { position: relative; z-index: 20; } Donations: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN GitHub Repository - (zip) + (zip)
- Version History (3.1.0) + Version History (3.1.1) 527B 5C82 B1F6 B2DB 72A0
ECBF 8749 7B91 6397 4F5A
@@ -7776,1964 +7776,1813 @@ ninja.foreachSerialized = function (collection, whatToDo, onComplete) { };