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

Copy all existing i18n strings into zh (as-is translation aid) #5305

Merged
merged 4 commits into from
Mar 27, 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
2 changes: 1 addition & 1 deletion js/scripts/test.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// test script 8
// test script 9
// trigger rebuild on master 15 Mar 2017, 11:19
39 changes: 39 additions & 0 deletions js/src/i18n/zh/account.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// 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 {
button: {
delete: `delete`,
edit: `edit`,
faucet: `Kovan ETH`,
password: `password`,
shapeshift: `shapeshift`,
transfer: `transfer`,
verify: `verify`
},
hardware: {
confirmDelete: `Are you sure you want to remove the following hardware address from your account list?`
},
header: {
outgoingTransactions: `{count} outgoing transactions`,
uuid: `uuid: {uuid}`
},
title: `Account Management`,
transactions: {
poweredBy: `Transaction list powered by {etherscan}`,
title: `transactions`
}
};
34 changes: 34 additions & 0 deletions js/src/i18n/zh/accounts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// 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 {
button: {
newAccount: `account`,
newWallet: `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`
},
tooltips: {
owner: `{name} (owner)`
}
};
38 changes: 38 additions & 0 deletions js/src/i18n/zh/addAddress.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// 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 {
button: {
add: `Save Address`,
close: `Cancel`
},
header: `To add a new entry to your addressbook, you need the network address of the account and can supply an optional description. Once added it will reflect in your address book.`,
input: {
address: {
hint: `the network address for the entry`,
label: `network address`
},
description: {
hint: `an expanded description for the entry`,
label: `(optional) address description`
},
name: {
hint: `a descriptive name for the entry`,
label: `address name`
}
},
label: `add saved address`
};
60 changes: 60 additions & 0 deletions js/src/i18n/zh/addContract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
// 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 {
abi: {
hint: `the abi for the contract`,
label: `contract abi`
},
abiType: {
custom: {
description: `Contract created from custom ABI`,
label: `Custom Contract`
},
multisigWallet: {
description: `Ethereum Multisig contract {link}`,
label: `Multisig Wallet`,
link: `see contract code`
},
token: {
description: `A standard {erc20} token`,
erc20: `ERC 20`,
label: `Token`
}
},
address: {
hint: `the network address for the contract`,
label: `network address`
},
button: {
add: `Add Contract`,
cancel: `Cancel`,
next: `Next`,
prev: `Back`
},
description: {
hint: `an expanded description for the entry`,
label: `(optional) contract description`
},
name: {
hint: `a descriptive name for the contract`,
label: `contract name`
},
title: {
details: `enter contract details`,
type: `choose a contract type`
}
};
28 changes: 28 additions & 0 deletions js/src/i18n/zh/address.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// 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 {
buttons: {
edit: `edit`,
forget: `forget`,
save: `save`
},
delete: {
confirmInfo: `Are you sure you want to remove the following address from your addressbook?`,
title: `confirm removal`
},
title: `Address Information`
};
26 changes: 26 additions & 0 deletions js/src/i18n/zh/addressSelect.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// 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 {
fromEmail: `Verified using email {email}`,
fromRegistry: `{name} (from registry)`,
labels: {
accounts: `accounts`,
contacts: `contacts`,
contracts: `contracts`
},
noAccount: `No account matches this query...`
};
25 changes: 25 additions & 0 deletions js/src/i18n/zh/addresses.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// 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 {
buttons: {
add: `address`
},
errors: {
invalidFile: `The provided file is invalid...`
},
title: `Saved Addresses`
};
30 changes: 30 additions & 0 deletions js/src/i18n/zh/application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// 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 {
frame: {
error: `ERROR: This application cannot and should not be loaded in an embedded iFrame`
},
status: {
consensus: {
capable: `Capable`,
capableUntil: `Capable until #{blockNumber}`,
incapableSince: `Incapable since #{blockNumber}`,
unknown: `Unknown capability`
},
upgrade: `Upgrade`
}
};
26 changes: 26 additions & 0 deletions js/src/i18n/zh/connection.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// 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 {
connectingAPI: `Connecting to the Parity Secure API.`,
connectingNode: `Connecting to the Parity Node. If this informational message persists, please ensure that your Parity node is running and reachable on the network.`,
invalidToken: `invalid signer token`,
noConnection: `Unable to make a connection to the Parity Secure API. To update your secure token or to generate a new one, run {newToken} and paste the generated token into the space below.`,
token: {
hint: `a generated token from Parity`,
label: `secure token`
}
};
41 changes: 41 additions & 0 deletions js/src/i18n/zh/contract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// 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 {
buttons: {
close: `Close`,
details: `details`,
edit: `edit`,
execute: `execute`,
forget: `forget`
},
details: {
title: `contract details`
},
events: {
eventPending: `pending`,
noEvents: `No events has been sent from this contract.`,
title: `events`
},
minedBlock: `Mined at block #{blockNumber}`,
queries: {
buttons: {
query: `Query`
},
title: `queries`
},
title: `Contract Information`
};
28 changes: 28 additions & 0 deletions js/src/i18n/zh/contracts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// 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 {
buttons: {
deploy: `deploy`,
develop: `develop`,
watch: `watch`
},
sortOrder: {
date: `date`,
minedBlock: `mined block`
},
title: `Contracts`
};
Loading