diff options
author | Ian Coleman <coleman.ian@gmail.com> | 2016-11-29 14:34:18 +1100 |
---|---|---|
committer | Ian Coleman <coleman.ian@gmail.com> | 2016-11-29 15:28:37 +1100 |
commit | 60599f7ae9f59d6f0abadee1e0dd952ce4019d3d (patch) | |
tree | 6d67ec8a9a239c09afbbc82237eea62149f3e5d2 /src/index.html | |
parent | 24ebb6998ee5bf036508333759908247a1aaabac (diff) | |
download | BIP39-60599f7ae9f59d6f0abadee1e0dd952ce4019d3d.tar.gz BIP39-60599f7ae9f59d6f0abadee1e0dd952ce4019d3d.tar.zst BIP39-60599f7ae9f59d6f0abadee1e0dd952ce4019d3d.zip |
Strings in UI marked for translation
in preparation for adding multiple languages to the interface.
Diffstat (limited to 'src/index.html')
-rw-r--r-- | src/index.html | 276 |
1 files changed, 152 insertions, 124 deletions
diff --git a/src/index.html b/src/index.html index 64a3bc0..9cb39ea 100644 --- a/src/index.html +++ b/src/index.html | |||
@@ -48,9 +48,13 @@ | |||
48 | width: auto!important; | 48 | width: auto!important; |
49 | display: inline-block; | 49 | display: inline-block; |
50 | } | 50 | } |
51 | .languages * { | 51 | .languages a { |
52 | padding-left: 10px; | 52 | padding-left: 10px; |
53 | } | 53 | } |
54 | .languages a:nth-of-type(1) { | ||
55 | margin-left: -12px; | ||
56 | padding-left: 0; | ||
57 | } | ||
54 | .monospace { | 58 | .monospace { |
55 | font-family: monospace; | 59 | font-family: monospace; |
56 | } | 60 | } |
@@ -91,8 +95,11 @@ | |||
91 | <div class="form-group"> | 95 | <div class="form-group"> |
92 | <div class="col-sm-2"></div> | 96 | <div class="col-sm-2"></div> |
93 | <div class="col-sm-10"> | 97 | <div class="col-sm-10"> |
94 | <p>You can enter an existing BIP39 mnemonic, or generate a new random one. Typing your own twelve words will probably not work how you expect, since the words require a particular structure (the last word is a checksum)</p> | 98 | <p data-translate>You can enter an existing BIP39 mnemonic, or generate a new random one. Typing your own twelve words will probably not work how you expect, since the words require a particular structure (the last word is a checksum).</p> |
95 | <p>For more info see the <a href="https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki" target="_blank">BIP39 spec</a></p> | 99 | <p data-translate-html> |
100 | For more info see the | ||
101 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki" target="_blank">BIP39 spec</a>. | ||
102 | </p> | ||
96 | </div> | 103 | </div> |
97 | </div> | 104 | </div> |
98 | <div class="form-group generate-container"> | 105 | <div class="form-group generate-container"> |
@@ -100,8 +107,8 @@ | |||
100 | <div class="col-sm-10"> | 107 | <div class="col-sm-10"> |
101 | <div class="form-inline"> | 108 | <div class="form-inline"> |
102 | <div class="input-group-inline"> | 109 | <div class="input-group-inline"> |
110 | <span data-translate>Generate a random mnemonic, or enter your own below</span>: | ||
103 | <button class="btn generate">Generate</button> | 111 | <button class="btn generate">Generate</button> |
104 | <span>a random</span> | ||
105 | <select id="strength" class="strength form-control"> | 112 | <select id="strength" class="strength form-control"> |
106 | <option value="3">3</option> | 113 | <option value="3">3</option> |
107 | <option value="6">6</option> | 114 | <option value="6">6</option> |
@@ -112,67 +119,66 @@ | |||
112 | <option value="21">21</option> | 119 | <option value="21">21</option> |
113 | <option value="24">24</option> | 120 | <option value="24">24</option> |
114 | </select> | 121 | </select> |
115 | word mnemonic, or enter your own below. | 122 | <span data-translate>words</span> |
116 | </div> | 123 | </div> |
117 | </div> | 124 | </div> |
118 | </div> | 125 | </div> |
119 | </div> | 126 | </div> |
120 | <div class="entropy-container hidden"> | 127 | <div class="entropy-container hidden"> |
121 | <div class="form-group text-danger"> | 128 | <div class="form-group text-danger"> |
122 | <label class="col-sm-2 control-label">Warning</label> | 129 | <label class="col-sm-2 control-label" data-translate>Warning</label> |
123 | <div class="col-sm-10 form-control-static"> | 130 | <div class="col-sm-10 form-control-static"> |
124 | Entropy is an advanced feature. | 131 | <span data-translate>Entropy is an advanced feature. Your mnemonic may be insecure if this feature is used incorrectly.</span> |
125 | Your mnemonic may be insecure if this feature is used incorrectly. | 132 | <a href="#entropy-notes" data-translate>Read more</a> |
126 | <a href="#entropy-notes">Read more</a> | ||
127 | </div> | 133 | </div> |
128 | </div> | 134 | </div> |
129 | <div class="form-group"> | 135 | <div class="form-group"> |
130 | <label for="entropy" class="col-sm-2 control-label">Entropy</label> | 136 | <label for="entropy" class="col-sm-2 control-label" data-translate>Entropy</label> |
131 | <div class="col-sm-7"> | 137 | <div class="col-sm-7"> |
132 | <textarea id="entropy" rows="2" class="entropy form-control" placeholder="Accepts binary, base 6, 6-sided dice, base 10, hexadecimal, cards"></textarea> | 138 | <textarea id="entropy" rows="2" class="entropy form-control" placeholder="Accepts binary, base 6, 6-sided dice, base 10, hexadecimal, cards" data-translate-placeholder></textarea> |
133 | <div class="row"> | 139 | <div class="row"> |
134 | <label class="col-sm-3 control-label">Strength</label> | 140 | <label class="col-sm-3 control-label" data-translate>Strength</label> |
135 | <div class="strength col-sm-3 form-control-static"></div> | 141 | <div class="strength col-sm-3 form-control-static"></div> |
136 | <label class="col-sm-3 control-label">Event Count</label> | 142 | <label class="col-sm-3 control-label" data-translate>Event Count</label> |
137 | <div class="event-count col-sm-3 form-control-static"></div> | 143 | <div class="event-count col-sm-3 form-control-static"></div> |
138 | </div> | 144 | </div> |
139 | <div class="row"> | 145 | <div class="row"> |
140 | <label class="col-sm-3 control-label">Entropy Type</label> | 146 | <label class="col-sm-3 control-label" data-translate>Entropy Type</label> |
141 | <div class="type col-sm-3 form-control-static"></div> | 147 | <div class="type col-sm-3 form-control-static"></div> |
142 | <label class="col-sm-3 control-label">Bits Per Event</label> | 148 | <label class="col-sm-3 control-label" data-translate>Bits Per Event</label> |
143 | <div class="bits-per-event col-sm-3 form-control-static"></div> | 149 | <div class="bits-per-event col-sm-3 form-control-static"></div> |
144 | </div> | 150 | </div> |
145 | <div class="row"> | 151 | <div class="row"> |
146 | <label class="col-sm-3 control-label">Word Count</label> | 152 | <label class="col-sm-3 control-label" data-translate>Word Count</label> |
147 | <div class="word-count col-sm-3 form-control-static"></div> | 153 | <div class="word-count col-sm-3 form-control-static"></div> |
148 | <label class="col-sm-3 control-label">Total Bits</label> | 154 | <label class="col-sm-3 control-label" data-translate>Total Bits</label> |
149 | <div class="bits col-sm-3 form-control-static"></div> | 155 | <div class="bits col-sm-3 form-control-static"></div> |
150 | </div> | 156 | </div> |
151 | <label class="col-sm-3 control-label">Filtered Entropy</label> | 157 | <label class="col-sm-3 control-label" data-translate>Filtered Entropy</label> |
152 | <div class="filtered col-sm-9 form-control-static"></div> | 158 | <div class="filtered col-sm-9 form-control-static"></div> |
153 | <label class="col-sm-3 control-label">Raw Binary</label> | 159 | <label class="col-sm-3 control-label" data-translate>Raw Binary</label> |
154 | <div class="binary col-sm-9 form-control-static"></div> | 160 | <div class="binary col-sm-9 form-control-static"></div> |
155 | <label class="col-sm-3 control-label">Mnemonic Length</label> | 161 | <label class="col-sm-3 control-label" data-translate>Mnemonic Length</label> |
156 | <div class="col-sm-9"> | 162 | <div class="col-sm-9"> |
157 | <select class="mnemonic-length form-control"> | 163 | <select class="mnemonic-length form-control"> |
158 | <option value="raw">From entropy length (3 words per 32 bits)</option> | 164 | <option value="raw" data-translate>From entropy length (3 words per 32 bits)</option> |
159 | <option value="12">12 Words</option> | 165 | <option value="12">12 <span data-translate>Words</span></option> |
160 | <option value="15" selected>15 Words</option> | 166 | <option value="15" selected>15 <span data-translate>Words</option> |
161 | <option value="18">18 Words</option> | 167 | <option value="18">18 <span data-translate>Words</span></option> |
162 | <option value="21">21 Words</option> | 168 | <option value="21">21 <span data-translate>Words</span></option> |
163 | <option value="24">24 Words</option> | 169 | <option value="24">24 <span data-translate>Words</span></option> |
164 | </select> | 170 | </select> |
165 | </div> | 171 | </div> |
166 | </div> | 172 | </div> |
167 | <div class="col-sm-3"> | 173 | <div class="col-sm-3"> |
168 | <p>Valid entropy values include:</p> | 174 | <p data-translate>Valid entropy values include:</p> |
169 | <ul> | 175 | <ul> |
170 | <li><strong>Binary</strong> [0-1]<br>101010011</li> | 176 | <li><strong data-translate>Binary</strong> [0-1]<br>101010011</li> |
171 | <li><strong>Base 6</strong> [0-5]<br>123434014</li> | 177 | <li><strong data-translate>Base 6</strong> [0-5]<br>123434014</li> |
172 | <li><strong>Dice</strong> [1-6]<br>62535634</li> | 178 | <li><strong data-translate>Dice</strong> [1-6]<br>62535634</li> |
173 | <li><strong>Base 10</strong> [0-9]<br>90834528</li> | 179 | <li><strong data-translate>Base 10</strong> [0-9]<br>90834528</li> |
174 | <li><strong>Hex</strong> [0-9A-F]<br>4187a8bfd9</li> | 180 | <li><strong data-translate>Hex</strong> [0-9A-F]<br>4187a8bfd9</li> |
175 | <li><strong>Card</strong> [A2-9TJQK][CDHS]<br>ahqs9dtc</li> | 181 | <li><strong data-translate>Card</strong> [A2-9TJQK][CDHS]<br>ahqs9dtc</li> |
176 | </ul> | 182 | </ul> |
177 | </div> | 183 | </div> |
178 | </div> | 184 | </div> |
@@ -182,42 +188,44 @@ | |||
182 | <div class="col-sm-10 checkbox"> | 188 | <div class="col-sm-10 checkbox"> |
183 | <label> | 189 | <label> |
184 | <input type="checkbox" class="use-entropy"> | 190 | <input type="checkbox" class="use-entropy"> |
185 | Supply my own source of entropy | 191 | <span data-translate>Supply my own source of entropy</span> |
186 | </label> | 192 | </label> |
187 | </div> | 193 | </div> |
188 | </div> | 194 | </div> |
189 | <div class="form-group"> | 195 | <div class="form-group"> |
190 | <label class="col-sm-2 control-label"></label> | 196 | <label class="col-sm-2 control-label" data-translate>Mnemonic Language</label> |
191 | <div class="col-sm-10 languages"> | 197 | <div class="col-sm-10 languages"> |
192 | <a href="#english">English</a> | 198 | <div class="form-control no-border"> |
193 | <a href="#japanese" title="Japanese">日本語</a> | 199 | <a href="#english">English</a> |
194 | <a href="#spanish" title="Spanish">Español</a> | 200 | <a href="#japanese" title="Japanese">日本語</a> |
195 | <a href="#chinese_simplified" title="Chinese (Simplified)">中文(简体)</a> | 201 | <a href="#spanish" title="Spanish">Español</a> |
196 | <a href="#chinese_traditional" title="Chinese (Traditional)">中文(繁體)</a> | 202 | <a href="#chinese_simplified" title="Chinese (Simplified)">中文(简体)</a> |
197 | <a href="#french" title="French">Français</a> | 203 | <a href="#chinese_traditional" title="Chinese (Traditional)">中文(繁體)</a> |
198 | <a href="#italian" title="Italian">Italiano</a> | 204 | <a href="#french" title="French">Français</a> |
205 | <a href="#italian" title="Italian">Italiano</a> | ||
206 | </div> | ||
199 | </div> | 207 | </div> |
200 | </div> | 208 | </div> |
201 | <div class="form-group"> | 209 | <div class="form-group"> |
202 | <label for="phrase" class="col-sm-2 control-label">BIP39 Mnemonic</label> | 210 | <label for="phrase" class="col-sm-2 control-label" data-translate>BIP39 Mnemonic</label> |
203 | <div class="col-sm-10"> | 211 | <div class="col-sm-10"> |
204 | <textarea id="phrase" class="phrase form-control"></textarea> | 212 | <textarea id="phrase" class="phrase form-control"></textarea> |
205 | </div> | 213 | </div> |
206 | </div> | 214 | </div> |
207 | <div class="form-group"> | 215 | <div class="form-group"> |
208 | <label for="passphrase" class="col-sm-2 control-label">BIP39 Passphrase (optional)</label> | 216 | <label for="passphrase" class="col-sm-2 control-label" data-translate>BIP39 Passphrase (optional)</label> |
209 | <div class="col-sm-10"> | 217 | <div class="col-sm-10"> |
210 | <textarea id="passphrase" class="passphrase form-control"></textarea> | 218 | <textarea id="passphrase" class="passphrase form-control"></textarea> |
211 | </div> | 219 | </div> |
212 | </div> | 220 | </div> |
213 | <div class="form-group"> | 221 | <div class="form-group"> |
214 | <label for="seed" class="col-sm-2 control-label">BIP39 Seed</label> | 222 | <label for="seed" class="col-sm-2 control-label" data-translate>BIP39 Seed</label> |
215 | <div class="col-sm-10"> | 223 | <div class="col-sm-10"> |
216 | <textarea id="seed" class="seed form-control" readonly="readonly"></textarea> | 224 | <textarea id="seed" class="seed form-control" readonly="readonly"></textarea> |
217 | </div> | 225 | </div> |
218 | </div> | 226 | </div> |
219 | <div class="form-group"> | 227 | <div class="form-group"> |
220 | <label for="network-phrase" class="col-sm-2 control-label">Coin</label> | 228 | <label for="network-phrase" class="col-sm-2 control-label" data-translate>Coin</label> |
221 | <div class="col-sm-10"> | 229 | <div class="col-sm-10"> |
222 | <select id="network-phrase" class="network form-control"> | 230 | <select id="network-phrase" class="network form-control"> |
223 | <!-- populated by javascript --> | 231 | <!-- populated by javascript --> |
@@ -225,7 +233,7 @@ | |||
225 | </div> | 233 | </div> |
226 | </div> | 234 | </div> |
227 | <div class="form-group"> | 235 | <div class="form-group"> |
228 | <label for="root-key" class="col-sm-2 control-label">BIP32 Root Key</label> | 236 | <label for="root-key" class="col-sm-2 control-label" data-translate>BIP32 Root Key</label> |
229 | <div class="col-sm-10"> | 237 | <div class="col-sm-10"> |
230 | <textarea id="root-key" class="root-key form-control"></textarea> | 238 | <textarea id="root-key" class="root-key form-control"></textarea> |
231 | </div> | 239 | </div> |
@@ -253,11 +261,14 @@ | |||
253 | <br> | 261 | <br> |
254 | <div class="col-sm-2"></div> | 262 | <div class="col-sm-2"></div> |
255 | <div class="col-sm-10"> | 263 | <div class="col-sm-10"> |
256 | <p>For more info see the <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target="_blank">BIP44 spec</a></p> | 264 | <p data-translate-html> |
265 | For more info see the | ||
266 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target="_blank">BIP44 spec</a>. | ||
267 | </p> | ||
257 | </div> | 268 | </div> |
258 | <div class="form-group"> | 269 | <div class="form-group"> |
259 | <label for="purpose" class="col-sm-2 control-label"> | 270 | <label for="purpose" class="col-sm-2 control-label"> |
260 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target="_blank">Purpose</a> | 271 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target="_blank" data-translate>Purpose</a> |
261 | </label> | 272 | </label> |
262 | <div class="col-sm-10"> | 273 | <div class="col-sm-10"> |
263 | <input id="purpose" type="text" class="purpose form-control" value="44"> | 274 | <input id="purpose" type="text" class="purpose form-control" value="44"> |
@@ -265,7 +276,7 @@ | |||
265 | </div> | 276 | </div> |
266 | <div class="form-group"> | 277 | <div class="form-group"> |
267 | <label for="coin" class="col-sm-2 control-label"> | 278 | <label for="coin" class="col-sm-2 control-label"> |
268 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target="_blank">Coin</a> | 279 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target="_blank" data-translate>Coin</a> |
269 | </label> | 280 | </label> |
270 | <div class="col-sm-10"> | 281 | <div class="col-sm-10"> |
271 | <input id="coin" type="text" class="coin form-control" value="0"> | 282 | <input id="coin" type="text" class="coin form-control" value="0"> |
@@ -273,7 +284,7 @@ | |||
273 | </div> | 284 | </div> |
274 | <div class="form-group"> | 285 | <div class="form-group"> |
275 | <label for="account" class="col-sm-2 control-label"> | 286 | <label for="account" class="col-sm-2 control-label"> |
276 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target="_blank">Account</a> | 287 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target="_blank" data-translate>Account</a> |
277 | </label> | 288 | </label> |
278 | <div class="col-sm-10"> | 289 | <div class="col-sm-10"> |
279 | <input id="account" type="text" class="account form-control" value="0"> | 290 | <input id="account" type="text" class="account form-control" value="0"> |
@@ -281,14 +292,14 @@ | |||
281 | </div> | 292 | </div> |
282 | <div class="form-group"> | 293 | <div class="form-group"> |
283 | <label for="change" class="col-sm-2 control-label"> | 294 | <label for="change" class="col-sm-2 control-label"> |
284 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target="_blank">External / Internal</a> | 295 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target="_blank" data-translate>External / Internal</a> |
285 | </label> | 296 | </label> |
286 | <div class="col-sm-10"> | 297 | <div class="col-sm-10"> |
287 | <input id="change" type="text" class="change form-control" value="0"> | 298 | <input id="change" type="text" class="change form-control" value="0"> |
288 | </div> | 299 | </div> |
289 | </div> | 300 | </div> |
290 | <div class="form-group"> | 301 | <div class="form-group"> |
291 | <label for="bip44-path" class="col-sm-2 control-label">BIP32 Derivation Path</label> | 302 | <label for="bip44-path" class="col-sm-2 control-label" data-translate>BIP32 Derivation Path</label> |
292 | <div class="col-sm-10"> | 303 | <div class="col-sm-10"> |
293 | <input id="bip44-path" type="text" class="path form-control" value="m/44'/0'/0'/0" readonly="readonly"> | 304 | <input id="bip44-path" type="text" class="path form-control" value="m/44'/0'/0'/0" readonly="readonly"> |
294 | </div> | 305 | </div> |
@@ -300,10 +311,13 @@ | |||
300 | <br> | 311 | <br> |
301 | <div class="col-sm-2"></div> | 312 | <div class="col-sm-2"></div> |
302 | <div class="col-sm-10"> | 313 | <div class="col-sm-10"> |
303 | <p>For more info see the <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target="_blank">BIP32 spec</a></p> | 314 | <p data-translate> |
315 | For more info see the | ||
316 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target="_blank">BIP32 spec</a> | ||
317 | </p> | ||
304 | </div> | 318 | </div> |
305 | <div class="form-group"> | 319 | <div class="form-group"> |
306 | <label for="bip32-path" class="col-sm-2 control-label">BIP32 Derivation Path</label> | 320 | <label for="bip32-path" class="col-sm-2 control-label" data-translate>BIP32 Derivation Path</label> |
307 | <div class="col-sm-10"> | 321 | <div class="col-sm-10"> |
308 | <input id="bip32-path" type="text" class="path form-control" value="m/0"> | 322 | <input id="bip32-path" type="text" class="path form-control" value="m/0"> |
309 | </div> | 323 | </div> |
@@ -312,49 +326,52 @@ | |||
312 | <div class="col-sm-2"></div> | 326 | <div class="col-sm-2"></div> |
313 | <label class="col-sm-10"> | 327 | <label class="col-sm-10"> |
314 | <input class="hardened-addresses" type="checkbox"> | 328 | <input class="hardened-addresses" type="checkbox"> |
315 | Use hardened addresses | 329 | <span data-translate>Use hardened addresses</span> |
316 | </label> | 330 | </label> |
317 | </div> | 331 | </div> |
318 | <div class="form-group"> | 332 | <div class="form-group"> |
319 | <label for="mycelium-path" class="col-sm-2 control-label">Mycelium Wallet</label> | 333 | <label for="mycelium-path" class="col-sm-2 control-label" data-translate>Mycelium Wallet</label> |
320 | <div class="col-sm-10"> | 334 | <div class="col-sm-10"> |
321 | <p class="form-control no-border"> | 335 | <p class="form-control no-border" data-translate-html> |
322 | <code>m/44'/0'/0'</code> generates extended keys for import / export. | 336 | <code>m/44'/0'/0'</code> generates extended keys for import / export |
323 | </p> | 337 | </p> |
324 | <p class="form-control no-border"> | 338 | <p class="form-control no-border" data-translate-html> |
325 | <code>m/44'/0'/1'</code> to generate the next account. Continue incrementing for more accounts (most use a single account). | 339 | <code>m/44'/0'/1'</code> for the next account. Continue incrementing for more accounts (most use a single account). |
326 | </p> | 340 | </p> |
327 | <p class="form-control no-border"> | 341 | <p class="form-control no-border" data-translate-html> |
328 | <code>m/44'/0'/0'/0</code> to generate public addresses. | 342 | <code>m/44'/0'/0'/0</code> generates public addresses |
329 | </p> | 343 | </p> |
330 | <p class="form-control no-border"> | 344 | <p class="form-control no-border" data-translate-html> |
331 | <code>m/44'/0'/0'/1</code> to generate change addresses. | 345 | <code>m/44'/0'/0'/1</code> generates change addresses |
332 | </p> | 346 | </p> |
333 | <p class="form-control no-border"> | 347 | <p class="form-control no-border" data-translate-html> |
334 | For more info see the <a href="http://www.mycelium.com/" target="_blank">Mycelium Wallet homepage</a> | 348 | For more info see the |
349 | <a href="http://www.mycelium.com/" target="_blank">Mycelium Wallet homepage</a> | ||
335 | </p> | 350 | </p> |
336 | </div> | 351 | </div> |
337 | </div> | 352 | </div> |
338 | <div class="form-group"> | 353 | <div class="form-group"> |
339 | <label for="core-path" class="col-sm-2 control-label">Bitcoin Core</label> | 354 | <label for="core-path" class="col-sm-2 control-label" data-translate>Bitcoin Core</label> |
340 | <div class="col-sm-10"> | 355 | <div class="col-sm-10"> |
341 | <p class="form-control no-border"> | 356 | <p class="form-control no-border" data-translate-html> |
342 | Use path <code>m/0'/0'</code> with hardened addresses. | 357 | Use path <code>m/0'/0'</code> with hardened addresses. |
343 | </p> | 358 | </p> |
344 | <p class="form-control no-border"> | 359 | <p class="form-control no-border" data-translate-html> |
345 | For more info see the <a href="https://github.com/bitcoin/bitcoin/pull/8035" target="_blank">Bitcoin Core BIP32 implementation</a> | 360 | For more info see the |
361 | <a href="https://github.com/bitcoin/bitcoin/pull/8035" target="_blank">Bitcoin Core BIP32 implementation</a> | ||
346 | </p> | 362 | </p> |
347 | </div> | 363 | </div> |
348 | </div> | 364 | </div> |
349 | <div class="form-group"> | 365 | <div class="form-group"> |
350 | <label class="col-sm-2 control-label">Block Explorers</label> | 366 | <label class="col-sm-2 control-label" data-translate>Block Explorers</label> |
351 | <div class="col-sm-10"> | 367 | <div class="col-sm-10"> |
352 | <p class="form-control no-border"> | 368 | <p class="form-control no-border"> |
353 | Use path <code>m/44'/0'/0'</code>. | 369 | <span data-translate-html>Use path <code>m/44'/0'/0'</code>.</span> |
354 | Only enter the <code>xpub</code> extended key into block explorer search fields, never the <code>xprv</code> key. | 370 | <span data-translate-html>Only enter the <code>xpub</code> extended key into block explorer search fields, never the <code>xprv</code> key.</span> |
355 | </p> | 371 | </p> |
356 | <p class="form-control no-border"> | 372 | <p class="form-control no-border"> |
357 | Supported by <a href="https://blockchain.info/" target="_blank">blockchain.info</a>. | 373 | <span data-translate>Can be used with</span>: |
374 | <a href="https://blockchain.info/" target="_blank">blockchain.info</a> | ||
358 | </p> | 375 | </p> |
359 | </div> | 376 | </div> |
360 | </div> | 377 | </div> |
@@ -363,13 +380,13 @@ | |||
363 | </div> | 380 | </div> |
364 | <form class="form-horizontal" role="form"> | 381 | <form class="form-horizontal" role="form"> |
365 | <div class="form-group"> | 382 | <div class="form-group"> |
366 | <label for="extended-priv-key" class="col-sm-2 control-label">BIP32 Extended Key</label> | 383 | <label for="extended-priv-key" class="col-sm-2 control-label" data-translate>BIP32 Extended Key</label> |
367 | <div class="col-sm-10"> | 384 | <div class="col-sm-10"> |
368 | <textarea id="extended-priv-key" class="extended-priv-key form-control" readonly="readonly"></textarea> | 385 | <textarea id="extended-priv-key" class="extended-priv-key form-control" readonly="readonly"></textarea> |
369 | </div> | 386 | </div> |
370 | </div> | 387 | </div> |
371 | <div class="form-group"> | 388 | <div class="form-group"> |
372 | <label for="extended-pub-key" class="col-sm-2 control-label">BIP32 Extended Key (addresses only)</label> | 389 | <label for="extended-pub-key" class="col-sm-2 control-label" data-translate>BIP32 Extended Key (addresses only)</label> |
373 | <div class="col-sm-10"> | 390 | <div class="col-sm-10"> |
374 | <textarea id="extended-pub-key" class="extended-pub-key form-control" readonly="readonly"></textarea> | 391 | <textarea id="extended-pub-key" class="extended-pub-key form-control" readonly="readonly"></textarea> |
375 | </div> | 392 | </div> |
@@ -383,31 +400,31 @@ | |||
383 | <div class="row"> | 400 | <div class="row"> |
384 | <div class="col-md-12"> | 401 | <div class="col-md-12"> |
385 | <h2>Derived Addresses</h2> | 402 | <h2>Derived Addresses</h2> |
386 | <p>Note these addreses are derived from the <strong>BIP32 Extended Key</strong></p> | 403 | <p data-translate>Note these addreses are derived from the BIP32 Extended Key</p> |
387 | <table class="table table-striped"> | 404 | <table class="table table-striped"> |
388 | <thead> | 405 | <thead> |
389 | <th> | 406 | <th> |
390 | <div class="input-group"> | 407 | <div class="input-group"> |
391 | Path | 408 | <span data-translate>Path</span> |
392 | <button class="index-toggle">Toggle</button> | 409 | <button class="index-toggle" data-translate>Toggle</button> |
393 | </div> | 410 | </div> |
394 | </th> | 411 | </th> |
395 | <th> | 412 | <th> |
396 | <div class="input-group"> | 413 | <div class="input-group"> |
397 | Address | 414 | <span data-translate>Address</span> |
398 | <button class="address-toggle">Toggle</button> | 415 | <button class="address-toggle" data-translate>Toggle</button> |
399 | </div> | 416 | </div> |
400 | </th> | 417 | </th> |
401 | <th> | 418 | <th> |
402 | <div class="input-group"> | 419 | <div class="input-group"> |
403 | Public Key | 420 | <span data-translate>Public Key</span> |
404 | <button class="public-key-toggle">Toggle</button> | 421 | <button class="public-key-toggle" data-translate>Toggle</button> |
405 | </div> | 422 | </div> |
406 | </th> | 423 | </th> |
407 | <th> | 424 | <th> |
408 | <div class="input-group"> | 425 | <div class="input-group"> |
409 | Private Key | 426 | <span data-translate>Private Key</span> |
410 | <button class="private-key-toggle">Toggle</button> | 427 | <button class="private-key-toggle" data-translate>Toggle</button> |
411 | </div> | 428 | </div> |
412 | </th> | 429 | </th> |
413 | </thead> | 430 | </thead> |
@@ -421,56 +438,66 @@ | |||
421 | </table> | 438 | </table> |
422 | </div> | 439 | </div> |
423 | </div> | 440 | </div> |
424 | <span>Show next </button> | 441 | <span data-translate>Show more rows</span>: |
425 | <input type="number" class="rows-to-add" value="20"> | 442 | <input type="number" class="rows-to-add" value="20"> |
426 | <button class="more">Show</button> | 443 | <button class="more" data-translate>Show</button> |
427 | 444 | ||
428 | <hr> | 445 | <hr> |
429 | 446 | ||
430 | <div class="row"> | 447 | <div class="row"> |
431 | <div class="col-md-12"> | 448 | <div class="col-md-12"> |
432 | <h2>More info</h2> | 449 | <h2 data-translate>More info</h2> |
433 | <h3>BIP39 <span class="small">Mnemonic code for generating deterministic keys</span></h3> | 450 | <h3>BIP39 <span class="small" data-translate>Mnemonic code for generating deterministic keys</span></h3> |
434 | <p> | 451 | <p data-translate-html> |
435 | Read more at the | 452 | Read more at the |
436 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec</a> | 453 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec</a> |
437 | </p> | 454 | </p> |
438 | <h3>BIP32 <span class="small">Hierarchical Deterministic Wallets</span></h3> | 455 | <h3>BIP32 <span class="small" data-translate>Hierarchical Deterministic Wallets</span></h3> |
439 | <p> | 456 | <p data-translate-html> |
440 | Read more at the | 457 | Read more at the |
441 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target="_blank">official BIP32 spec</a> | 458 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target="_blank">official BIP32 spec</a> |
442 | and see the demo at | 459 | </p> |
460 | <p data-translate-html> | ||
461 | See the demo at | ||
443 | <a href="http://bip32.org/" target="_blank">bip32.org</a> | 462 | <a href="http://bip32.org/" target="_blank">bip32.org</a> |
444 | </p> | 463 | </p> |
445 | <h3>BIP44 <span class="small">Multi-Account Hierarchy for Deterministic Wallets</span></h3> | 464 | <h3>BIP44 <span class="small" data-translate>Multi-Account Hierarchy for Deterministic Wallets</span></h3> |
446 | <p> | 465 | <p data-translate-html> |
447 | Read more at the | 466 | Read more at the |
448 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target="_blank">official BIP44 spec</a> | 467 | <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target="_blank">official BIP44 spec</a> |
449 | </p> | 468 | </p> |
450 | <h3>Private Keys</h3> | 469 | <h3 data-translate>Private Keys</h3> |
451 | <p> | 470 | <p> |
452 | Use private keys at | 471 | <span data-translate-html> |
453 | <a href="https://web.archive.org/web/20150707020924/https://brainwallet.org/" target="_blank">brainwallet.org</a>, | 472 | Use private keys at |
454 | but be careful - it can be easy to make mistakes if you | 473 | <a href="https://web.archive.org/web/20150707020924/https://brainwallet.org/" target="_blank">brainwallet.org</a>. |
455 | don't know what you're doing | 474 | </span> |
475 | <span data-translate>Be careful - it can be easy to make mistakes if you don't know what you're doing.</span> | ||
456 | </p> | 476 | </p> |
457 | <h3 id="entropy-notes">Entropy</h3> | 477 | <h3 id="entropy-notes" data-translate>Entropy</h3> |
458 | <p> | 478 | <p> |
459 | Entropy values must be sourced from a | 479 | <span data-translate-html> |
460 | <a href="https://en.wikipedia.org/wiki/Random_number_generation" target="_blank">strong source of randomness</a>. | 480 | Entropy values must be sourced from a |
461 | This means flipping a fair coin, rolling a fair dice, noise measurements etc. Do <strong>NOT</strong> use | 481 | <a href="https://en.wikipedia.org/wiki/Random_number_generation" target="_blank">strong source of randomness</a>. |
462 | phrases from books, lyrics from songs, your birthday or steet address, keyboard mashing, or anything you <i>think</i> | 482 | </span> |
463 | is random, because chances are <em>overwhelming</em> that it isn't random enough for the needs of this tool. | 483 | <span data-translate>This means flipping a fair coin, rolling a fair dice, noise measurements etc.</span> |
484 | <span data-translate-html> | ||
485 | Do <strong>NOT</strong> use phrases from books, lyrics from songs, your birthday or steet address, | ||
486 | keyboard mashing, or anything you <i>think</i> is random, because chances are overwhelming it isn't | ||
487 | random enough for the needs of this tool. | ||
488 | </span> | ||
464 | </p> | 489 | </p> |
465 | <p> | 490 | <p> |
466 | The random mnemonic generator on this page uses a | 491 | <span data-translate-html> |
467 | <a href="https://developer.mozilla.org/en-US/docs/Web/API/RandomSource/getRandomValues" target="_blank">cryptographically secure random number generator</a>, | 492 | The random mnemonic generator on this page uses a |
468 | and can generally be trusted more than your own intuition about randomness. | 493 | <a href="https://developer.mozilla.org/en-US/docs/Web/API/RandomSource/getRandomValues" target="_blank">cryptographically secure random number generator</a>. |
469 | If cryptographic randomness isn't available in your browser, this page will show a warning and <i>will not generate | 494 | </span> |
470 | random mnemonics</i>. | 495 | <span data-translate>The built in random generator can generally be trusted more than your own intuition about randomness.</span> |
496 | <span data-translate>If cryptographic randomness isn't available in your browser, this page will show a warning and the generate button will not work.</span> | ||
497 | <span data-translate>In that case you might choose to use your own source of entropy.</span> | ||
471 | </p> | 498 | </p> |
472 | <p> | 499 | <p> |
473 | <a href="https://bitcointalk.org/index.php?topic=311000.msg3345309#msg3345309" target="_blank">You are not a good source of entropy.</a> | 500 | <a href="https://bitcointalk.org/index.php?topic=311000.msg3345309#msg3345309" target="_blank" data-translate>You are not a good source of entropy.</a> |
474 | </p> | 501 | </p> |
475 | </div> | 502 | </div> |
476 | </div> | 503 | </div> |
@@ -480,24 +507,24 @@ | |||
480 | <div class="row"> | 507 | <div class="row"> |
481 | <div class="col-md-12"> | 508 | <div class="col-md-12"> |
482 | 509 | ||
483 | <h2>Offline Usage</h2> | 510 | <h2 data-translate>Offline Usage</h2> |
484 | 511 | ||
485 | <p> | 512 | <p data-translate> |
486 | You can use this tool without having to be online. | 513 | You can use this tool without having to be online. |
487 | </p> | 514 | </p> |
488 | <p> | 515 | <p data-translate> |
489 | In your browser, select file save-as, and save this page | 516 | In your browser, select file save-as, and save this page |
490 | as a file. | 517 | as a file. |
491 | </p> | 518 | </p> |
492 | <p> | 519 | <p data-translate> |
493 | Double-click that file to open it in a browser | 520 | Double-click that file to open it in a browser |
494 | on any offline computer. | 521 | on any offline computer. |
495 | </p> | 522 | </p> |
496 | <p> | 523 | <p> |
497 | Alternatively, download it from | 524 | <span data-translate>Alternatively, download the file from the repository</span> |
498 | <a href="https://github.com/iancoleman/bip39"> | 525 | - |
499 | https://github.com/iancoleman/bip39 | 526 | <a href="https://github.com/iancoleman/bip39">https://github.com/iancoleman/bip39</a> |
500 | </a> | 527 | </p> |
501 | 528 | ||
502 | </div> | 529 | </div> |
503 | </div> | 530 | </div> |
@@ -507,16 +534,17 @@ | |||
507 | <div class="row"> | 534 | <div class="row"> |
508 | <div class="col-md-12"> | 535 | <div class="col-md-12"> |
509 | 536 | ||
510 | <h2>This project is 100% open-source code</h2> | 537 | <h2 data-translate>This project is 100% open-source code</h2> |
511 | 538 | ||
512 | <p> | 539 | <p> |
513 | <span>Get the source code at - </span> | 540 | <span data-translate>Get the source code from the repository</span> |
541 | - | ||
514 | <a href="https://github.com/iancoleman/bip39" target="_blank"> | 542 | <a href="https://github.com/iancoleman/bip39" target="_blank"> |
515 | https://github.com/iancoleman/bip39 | 543 | https://github.com/iancoleman/bip39 |
516 | </a> | 544 | </a> |
517 | </p> | 545 | </p> |
518 | 546 | ||
519 | <h3>Libraries</h3> | 547 | <h3 data-translate>Libraries</h3> |
520 | 548 | ||
521 | <p> | 549 | <p> |
522 | <span>BitcoinJS - </span> | 550 | <span>BitcoinJS - </span> |