From 60599f7ae9f59d6f0abadee1e0dd952ce4019d3d Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Tue, 29 Nov 2016 14:34:18 +1100 Subject: [PATCH] Strings in UI marked for translation in preparation for adding multiple languages to the interface. --- src/index.html | 276 +++++++++++++++++++++++++++---------------------- 1 file 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 @@ width: auto!important; display: inline-block; } - .languages * { + .languages a { padding-left: 10px; } + .languages a:nth-of-type(1) { + margin-left: -12px; + padding-left: 0; + } .monospace { font-family: monospace; } @@ -91,8 +95,11 @@
-

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)

-

For more info see the BIP39 spec

+

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).

+

+ For more info see the + BIP39 spec. +

@@ -100,8 +107,8 @@
+ Generate a random mnemonic, or enter your own below: - a random - word mnemonic, or enter your own below. + words
- +
- +
- +
- +
- +
@@ -253,11 +261,14 @@
-

For more info see the BIP44 spec

+

+ For more info see the + BIP44 spec. +

@@ -265,7 +276,7 @@
@@ -273,7 +284,7 @@
@@ -281,14 +292,14 @@
- +
@@ -300,10 +311,13 @@
-

For more info see the BIP32 spec

+

+ For more info see the + BIP32 spec +

- +
@@ -312,49 +326,52 @@
- +
-

- m/44'/0'/0' generates extended keys for import / export. +

+ m/44'/0'/0' generates extended keys for import / export

-

- m/44'/0'/1' to generate the next account. Continue incrementing for more accounts (most use a single account). +

+ m/44'/0'/1' for the next account. Continue incrementing for more accounts (most use a single account).

-

- m/44'/0'/0'/0 to generate public addresses. +

+ m/44'/0'/0'/0 generates public addresses

-

- m/44'/0'/0'/1 to generate change addresses. +

+ m/44'/0'/0'/1 generates change addresses

-

- For more info see the Mycelium Wallet homepage +

+ For more info see the + Mycelium Wallet homepage

- +
-

+

Use path m/0'/0' with hardened addresses.

-

- For more info see the Bitcoin Core BIP32 implementation +

+ For more info see the + Bitcoin Core BIP32 implementation

- +

- Use path m/44'/0'/0'. - Only enter the xpub extended key into block explorer search fields, never the xprv key. + Use path m/44'/0'/0'. + Only enter the xpub extended key into block explorer search fields, never the xprv key.

- Supported by blockchain.info. + Can be used with: + blockchain.info

@@ -363,13 +380,13 @@
- +
- +
@@ -383,31 +400,31 @@

Derived Addresses

-

Note these addreses are derived from the BIP32 Extended Key

+

Note these addreses are derived from the BIP32 Extended Key

@@ -421,56 +438,66 @@
- Path   - + Path   +
- Address   - + Address   +
- Public Key   - + Public Key   +
- Private Key   - + Private Key   +
- Show next + Show more rows: - +
-

More info

-

BIP39 Mnemonic code for generating deterministic keys

-

+

More info

+

BIP39 Mnemonic code for generating deterministic keys

+

Read more at the official BIP39 spec

-

BIP32 Hierarchical Deterministic Wallets

-

+

BIP32 Hierarchical Deterministic Wallets

+

Read more at the official BIP32 spec - and see the demo at +

+

+ See the demo at bip32.org

-

BIP44 Multi-Account Hierarchy for Deterministic Wallets

-

+

BIP44 Multi-Account Hierarchy for Deterministic Wallets

+

Read more at the official BIP44 spec

-

Private Keys

+

Private Keys

- Use private keys at - brainwallet.org, - but be careful - it can be easy to make mistakes if you - don't know what you're doing + + Use private keys at + brainwallet.org. + + Be careful - it can be easy to make mistakes if you don't know what you're doing.

-

Entropy

+

Entropy

- Entropy values must be sourced from a - strong source of randomness. - This means flipping a fair coin, rolling a fair dice, noise measurements etc. Do NOT use - phrases from books, lyrics from songs, your birthday or steet address, keyboard mashing, or anything you think - is random, because chances are overwhelming that it isn't random enough for the needs of this tool. + + Entropy values must be sourced from a + strong source of randomness. + + This means flipping a fair coin, rolling a fair dice, noise measurements etc. + + Do NOT use phrases from books, lyrics from songs, your birthday or steet address, + keyboard mashing, or anything you think is random, because chances are overwhelming it isn't + random enough for the needs of this tool. +

- The random mnemonic generator on this page uses a - cryptographically secure random number generator, - and can generally be trusted more than your own intuition about randomness. - If cryptographic randomness isn't available in your browser, this page will show a warning and will not generate - random mnemonics. + + The random mnemonic generator on this page uses a + cryptographically secure random number generator. + + The built in random generator can generally be trusted more than your own intuition about randomness. + If cryptographic randomness isn't available in your browser, this page will show a warning and the generate button will not work. + In that case you might choose to use your own source of entropy.

- You are not a good source of entropy. + You are not a good source of entropy.

@@ -480,24 +507,24 @@
-

Offline Usage

+

Offline Usage

-

+

You can use this tool without having to be online.

-

+

In your browser, select file save-as, and save this page as a file.

-

+

Double-click that file to open it in a browser on any offline computer.

- Alternatively, download it from - - https://github.com/iancoleman/bip39 - + Alternatively, download the file from the repository + - + https://github.com/iancoleman/bip39 +

@@ -507,16 +534,17 @@
-

This project is 100% open-source code

+

This project is 100% open-source code

- Get the source code at - + Get the source code from the repository + - https://github.com/iancoleman/bip39

-

Libraries

+

Libraries

BitcoinJS - -- 2.41.0