Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Extract newly available i18n strings #4623

Merged
merged 1 commit into from
Feb 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions js/src/i18n/_default/accounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

export default {
button: {
newAccount: `new account`,
newWallet: `new wallet`,
vaults: `vaults`
},
summary: {
minedBlock: `Mined at block #{blockNumber}`
},
title: `Accounts Overview`,
tooltip: {
actions: `actions relating to the current view are available on the toolbar for quick access, be it for performing actions or creating a new item`,
overview: `your accounts are visible for easy access, allowing you to edit the meta information, make transfers, view transactions and fund the account`
}
};
7 changes: 0 additions & 7 deletions js/src/i18n/_default/createAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@ export default {
label: `Import raw private key`
}
},
error: {
invalidKey: `the raw key needs to be hex, 64 characters in length and contain the prefix "0x"`,
noFile: `select a valid wallet file to import`,
noKey: `you need to provide the raw private key`,
noMatchPassword: `the supplied passwords does not match`,
noName: `you need to specify a valid name for the account`
},
newAccount: {
hint: {
hint: `(optional) a hint to help with remembering the password`,
Expand Down
24 changes: 24 additions & 0 deletions js/src/i18n/_default/errors.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.

// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// Parity is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

export default {
duplicateName: `the name already exists`,
invalidKey: `the raw key needs to be hex, 64 characters in length and contain the prefix "0x"`,
noFile: `select a valid wallet file to import`,
noKey: `you need to provide the raw private key`,
noMatchPassword: `the supplied passwords does not match`,
noName: `you need to specify a valid name`
};
3 changes: 3 additions & 0 deletions js/src/i18n/_default/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export dapps from './dapps';
export deleteAccount from './deleteAccount';
export deployContract from './deployContract';
export editMeta from './editMeta';
export errors from './errors';
export executeContract from './executeContract';
export extension from './extension';
export firstRun from './firstRun';
Expand All @@ -38,9 +39,11 @@ export parityBar from './parityBar';
export passwordChange from './passwordChange';
export settings from './settings';
export shapeshift from './shapeshift';
export tabBar from './tabBar';
export transfer from './transfer';
export txEditor from './txEditor';
export ui from './ui';
export upgradeParity from './upgradeParity';
export vaults from './vaults';
export walletSettings from './walletSettings';
export web from './web';
21 changes: 21 additions & 0 deletions js/src/i18n/_default/tabBar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.

// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// Parity is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

export default {
tooltip: {
overview: `navigate between the different parts and views of the application, switching between an account view, token view and distributed application view`
}
};
7 changes: 7 additions & 0 deletions js/src/i18n/_default/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ export default {
passwordStrength: {
label: `password strength`
},
tooltips: {
button: {
done: `Done`,
next: `Next`,
skip: `Skip`
}
},
txHash: {
confirmations: `{count} {value, plural, one {confirmation} other {confirmations}}`,
oog: `The transaction might have gone out of gas. Try again with more gas.`,
Expand Down
75 changes: 75 additions & 0 deletions js/src/i18n/_default/vaults.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.

// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// Parity is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

export default {
accounts: {
button: {
cancel: `Cancel`,
execute: `Set`
},
empty: `There are no accounts in this vault`,
title: `Manage Vault Accounts`
},
button: {
accounts: `accounts`,
add: `create vault`,
close: `close vault`,
open: `open vault`
},
confirmClose: {
info: `You are about to close a vault. Any accounts associated with the vault won't be visible after this operation concludes. To view the associated accounts, open the vault again.`,
title: `Close Vault`
},
confirmOpen: {
info: `You are about to open a vault. After confirming your password, all accounts associated with this vault will be visible. Closing the vault will remove the accounts from view until the vault is opened again.`,
password: {
hint: `the password specified when creating the vault`,
label: `vault password`
},
title: `Open Vault`
},
create: {
button: {
close: `close`,
vault: `create vault`
},
description: {
hint: `an extended description for the vault`
},
descriptions: {
label: `(optional) description`
},
hint: {
hint: `(optional) a hint to help with remembering the password`,
label: `password hint`
},
name: {
hint: `a name for the vault`,
label: `vault name`
},
password: {
hint: `a strong, unique password`,
label: `password`
},
password2: {
hint: `verify your password`,
label: `password (repeat)`
},
title: `Create a new vault`
},
empty: `There are currently no vaults to display.`,
title: `Vault Management`
};