From fe593a4a1bb7e00b1711b47cf2f4e3266e562499 Mon Sep 17 00:00:00 2001 From: gina contrino Date: Wed, 22 Nov 2017 14:59:39 +0100 Subject: [PATCH 1/6] LingoHub Update :rocket: Manual push by LingoHub User: gina contrino. Project: lisk-nano Made with :heart: by https://lingohub.com --- i18n/locales/de/common.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/locales/de/common.json b/i18n/locales/de/common.json index 9e914a08b..9af22551d 100644 --- a/i18n/locales/de/common.json +++ b/i18n/locales/de/common.json @@ -182,7 +182,7 @@ "Verify message": "Nachricht verifizieren", "Version": "Version", "View": "Ansicht", - "Vote": "Stimme", + "Vote": "Abstimmung", "Vote for delegates": "Für Delegierte stimmen", "Voting": "Abstimmung", "What's New...": "Neues...", From 91fbf8d86bc554e619e547b260db580e29023b1a Mon Sep 17 00:00:00 2001 From: gina contrino Date: Wed, 22 Nov 2017 15:06:17 +0100 Subject: [PATCH 2/6] LingoHub Update :rocket: Manual push by LingoHub User: gina contrino. Project: lisk-nano Made with :heart: by https://lingohub.com --- i18n/locales/de/common.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/locales/de/common.json b/i18n/locales/de/common.json index 9af22551d..cf7e1eb5c 100644 --- a/i18n/locales/de/common.json +++ b/i18n/locales/de/common.json @@ -182,7 +182,7 @@ "Verify message": "Nachricht verifizieren", "Version": "Version", "View": "Ansicht", - "Vote": "Abstimmung", + "Vote": "Abstimmen", "Vote for delegates": "Für Delegierte stimmen", "Voting": "Abstimmung", "What's New...": "Neues...", From 0351419331f4feea7e8ef62712a8a1206b4b03e9 Mon Sep 17 00:00:00 2001 From: gina contrino Date: Wed, 22 Nov 2017 15:43:37 +0100 Subject: [PATCH 3/6] LingoHub Update :rocket: Manual push by LingoHub User: gina contrino. Project: lisk-nano Made with :heart: by https://lingohub.com --- i18n/locales/de/common.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i18n/locales/de/common.json b/i18n/locales/de/common.json index cf7e1eb5c..c56b4911f 100644 --- a/i18n/locales/de/common.json +++ b/i18n/locales/de/common.json @@ -1,5 +1,7 @@ { " Make sure that you are using the latest version of Lisk Nano.": "Stelle sicher, dass du die neuste Version von Lisk Nano benutzt.", + "Vote_noun": "Abstimmung", + "Vote_verb": "Abstimmen", "About": "Über", "Account saved": "Konto gespeichert", "Account was successfully forgotten.": "Das Konto wurde erfolgreich vergessen.", @@ -184,7 +186,7 @@ "View": "Ansicht", "Vote": "Abstimmen", "Vote for delegates": "Für Delegierte stimmen", - "Voting": "Abstimmung", + "Voting": "Abstimmen", "What's New...": "Neues...", "When you have the signature, you only need the publicKey of the signer in order to verify that the message came from the right private/publicKey pair. Be aware, everybody knowing the signature and the publicKey can verify the message. If ever there is a dispute, everybody can take the publicKey and signature to a judge and prove that the message is coming from the specific private/publicKey pair.": "Wenn du eine Signatur hast, brauchst du nur noch den öffentlichen Schlüssel des Unterzeichners, um zu überprüfen, ob die Nachricht von dem korrekten privaten/öffentlichen Schlüssel-Paar kommt. Bedenke dass jeder, der den öffentlichen Schlüssel besitzt, die Nachricht verifizieren kann. Wenn es eine Streitigkeit geben sollte, kann jeder den öffentlichen Schlüssel und die Signatur zu einem Richter bringen und dort beweisen, dass die Nachricht von diesem speziellen privaten/öffentlichen Schlüssel-Paar kommt.", "Window": "Fenster", From 20ae3558f3b26a80f7690e8f285762c3d3d77b63 Mon Sep 17 00:00:00 2001 From: gina contrino Date: Wed, 22 Nov 2017 15:43:43 +0100 Subject: [PATCH 4/6] LingoHub Update :rocket: Manual push by LingoHub User: gina contrino. Project: lisk-nano Made with :heart: by https://lingohub.com --- i18n/locales/en/common.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i18n/locales/en/common.json b/i18n/locales/en/common.json index 6cce6e863..e7c686ec5 100644 --- a/i18n/locales/en/common.json +++ b/i18n/locales/en/common.json @@ -1,5 +1,7 @@ { " Make sure that you are using the latest version of Lisk Nano.": " Make sure that you are using the latest version of Lisk Nano.", + "Vote_noun": "Vote", + "Vote_verb": "Vote", "About": "About", "Account saved": "Account saved", "Account was successfully forgotten.": "Account was successfully forgotten.", @@ -223,4 +225,4 @@ "{{count}} of the delegate names selected for voting was already voted for for:_plural": "{{count}} of the delegate names selected for voting was already voted for for:", "{{count}} of the provided delegate names could not be resolved:": "{{count}} of the provided delegate names could not be resolved:", "{{count}} of the provided delegate names could not be resolved:_plural": "{{count}} of the provided delegate names could not be resolved:" -} +} \ No newline at end of file From 8a160ebb8b730ebcb6e1681518afd4574c2e986c Mon Sep 17 00:00:00 2001 From: Gina Contrino Date: Wed, 22 Nov 2017 15:47:43 +0100 Subject: [PATCH 5/6] Update context --- i18n/locales/en/common.json | 7 +++---- src/components/transactions/transactionType.js | 2 +- src/components/voting/voting.js | 2 +- src/components/voting/votingHeader.js | 4 ++-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/i18n/locales/en/common.json b/i18n/locales/en/common.json index e7c686ec5..1d3e4aa10 100644 --- a/i18n/locales/en/common.json +++ b/i18n/locales/en/common.json @@ -1,7 +1,5 @@ { " Make sure that you are using the latest version of Lisk Nano.": " Make sure that you are using the latest version of Lisk Nano.", - "Vote_noun": "Vote", - "Vote_verb": "Vote", "About": "About", "Account saved": "Account saved", "Account was successfully forgotten.": "Account was successfully forgotten.", @@ -184,8 +182,9 @@ "Verify message": "Verify message", "Version": "Version", "View": "View", - "Vote": "Vote", "Vote for delegates": "Vote for delegates", + "Vote_noun": "Vote", + "Vote_verb": "Vote", "Voting": "Voting", "What's New...": "What's New...", "When you have the signature, you only need the publicKey of the signer in order to verify that the message came from the right private/publicKey pair. Be aware, everybody knowing the signature and the publicKey can verify the message. If ever there is a dispute, everybody can take the publicKey and signature to a judge and prove that the message is coming from the specific private/publicKey pair.": "When you have the signature, you only need the publicKey of the signer in order to verify that the message came from the right private/publicKey pair. Be aware, everybody knowing the signature and the publicKey can verify the message. If ever there is a dispute, everybody can take the publicKey and signature to a judge and prove that the message is coming from the specific private/publicKey pair.", @@ -225,4 +224,4 @@ "{{count}} of the delegate names selected for voting was already voted for for:_plural": "{{count}} of the delegate names selected for voting was already voted for for:", "{{count}} of the provided delegate names could not be resolved:": "{{count}} of the provided delegate names could not be resolved:", "{{count}} of the provided delegate names could not be resolved:_plural": "{{count}} of the provided delegate names could not be resolved:" -} \ No newline at end of file +} diff --git a/src/components/transactions/transactionType.js b/src/components/transactions/transactionType.js index b3d8804ad..6ead67c51 100644 --- a/src/components/transactions/transactionType.js +++ b/src/components/transactions/transactionType.js @@ -15,7 +15,7 @@ const TransactionType = (props) => { type = t('Delegate Registration'); break; case 3: - type = t('Vote'); + type = t('Vote', { context: 'noun' }); break; case 4: type = t('Multisignature Creation'); diff --git a/src/components/voting/voting.js b/src/components/voting/voting.js index 63426f2a0..d4dde3f78 100644 --- a/src/components/voting/voting.js +++ b/src/components/voting/voting.js @@ -104,7 +104,7 @@ class Voting extends React.Component {
- {this.props.t('Vote')} + {this.props.t('Vote', { context: 'verb' })} {this.props.t('Rank')} {this.props.t('Name')} {this.props.t('Lisk Address')} diff --git a/src/components/voting/votingHeader.js b/src/components/voting/votingHeader.js index c4122be2c..0473ecc98 100644 --- a/src/components/voting/votingHeader.js +++ b/src/components/voting/votingHeader.js @@ -38,7 +38,7 @@ export class VotingHeaderRaw extends React.Component { } confirmVoteText() { - let info = this.props.t('Vote'); + let info = this.props.t('Vote', { context: 'verb' }); const { votes } = this.props; const votesList = Object.keys(votes); const voted = votesList.filter(item => @@ -49,7 +49,7 @@ export class VotingHeaderRaw extends React.Component { const separator = (voted > 0 && unvoted > 0) ? ' / ' : ''; // eslint-disable-line const votedHtml = voted > 0 ? +{voted} : ''; const unvotedHtml = unvoted > 0 ? -{unvoted} : ''; - info = {this.props.t('Vote')} ({votedHtml}{separator}{unvotedHtml}); + info = {this.props.t('Vote', { context: 'verb' })} ({votedHtml}{separator}{unvotedHtml}); } return info; } From f657368dcc0b9ddec931a83dccbef976bd605e74 Mon Sep 17 00:00:00 2001 From: gina contrino Date: Wed, 22 Nov 2017 18:18:06 +0100 Subject: [PATCH 6/6] LingoHub Update :rocket: Manual push by LingoHub User: gina contrino. Project: lisk-nano Made with :heart: by https://lingohub.com --- i18n/locales/de/common.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/locales/de/common.json b/i18n/locales/de/common.json index c56b4911f..17a2f5622 100644 --- a/i18n/locales/de/common.json +++ b/i18n/locales/de/common.json @@ -186,7 +186,7 @@ "View": "Ansicht", "Vote": "Abstimmen", "Vote for delegates": "Für Delegierte stimmen", - "Voting": "Abstimmen", + "Voting": "Abstimmung", "What's New...": "Neues...", "When you have the signature, you only need the publicKey of the signer in order to verify that the message came from the right private/publicKey pair. Be aware, everybody knowing the signature and the publicKey can verify the message. If ever there is a dispute, everybody can take the publicKey and signature to a judge and prove that the message is coming from the specific private/publicKey pair.": "Wenn du eine Signatur hast, brauchst du nur noch den öffentlichen Schlüssel des Unterzeichners, um zu überprüfen, ob die Nachricht von dem korrekten privaten/öffentlichen Schlüssel-Paar kommt. Bedenke dass jeder, der den öffentlichen Schlüssel besitzt, die Nachricht verifizieren kann. Wenn es eine Streitigkeit geben sollte, kann jeder den öffentlichen Schlüssel und die Signatur zu einem Richter bringen und dort beweisen, dass die Nachricht von diesem speziellen privaten/öffentlichen Schlüssel-Paar kommt.", "Window": "Fenster",