diff --git a/bitaddress.org.html b/bitaddress.org.html index 11803a4..3379734 100644 --- a/bitaddress.org.html +++ b/bitaddress.org.html @@ -710,6 +710,7 @@ - - - - - - - - + - - - - - + @@ -4712,7 +5215,7 @@ "vanityinvalidinputcouldnotcombinekeys": "Invalid input. Could not combine keys.", "vanityalertinvalidinputcompressedprivatekeys": "Invalid input. Compressed Private Keys not supported.", "vanityalertinvalidinputpublickeysmatch": "Invalid input. The Public Key of both entries match. You must input two different keys.", - "vanityalertinvalidinputcannotmultiple": "Invalid input. Cannot multiple two public keys. Select 'Add' to add two public keys to get a bitcoin address.", + "vanityalertinvalidinputcannotmultiple": "Invalid input. Cannot multiply two public keys. Select 'Add' to add two public keys to get a bitcoin address.", "vanityprivatekeyonlyavailable": "Only available when combining two private keys", "vanityalertinvalidinputprivatekeysmatch": "Invalid input. The Private Key of both entries match. You must input two different keys." }, @@ -4835,6 +5338,45 @@ } } }; + + ninja.translator.showEnglishJson = function () { + var english = ninja.translator.translations["en"]; + var spanish = ninja.translator.translations["es"]; + var spanishClone = {}; + for (var key in spanish) { + spanishClone[key] = spanish[key]; + } + var newLang = {}; + for (var key in english) { + newLang[key] = english[key]; + delete spanishClone[key]; + } + for (var key in spanishClone) { + if (document.getElementById(key)) { + if (document.getElementById(key).value) { + newLang[key] = document.getElementById(key).value; + } + else { + newLang[key] = document.getElementById(key).innerHTML; + } + } + } + var div = document.createElement("div"); + div.setAttribute("class", "englishjson"); + div.innerHTML = "