Skip to content

Commit 0de59f6

Browse files
committed
Add a confirmation message (toast) when copy pubkey to clipboard - fix #64
1 parent 076615c commit 0de59f6

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

www/i18n/locale-en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@
224224
"POPUP_TITLE": "Information",
225225
"CERTIFICATION_DONE": "Identity successfully signed",
226226
"NOT_ENOUGH_CREDIT": "Not enough credit.",
227-
"TRANSFER_SENT": "Transaction successfully sent."
227+
"TRANSFER_SENT": "Transaction successfully sent.",
228+
"COPY_TO_CLIPBOARD_DONE": "Copy succeed."
228229
},
229230
"CONFIRM": {
230231
"POPUP_TITLE": "Confirmation",

www/i18n/locale-fr-FR.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@
225225
"CERTIFICATION_DONE": "Certification envoyée avec succès.",
226226
"NOT_ENOUGH_CREDIT": "Crédit insuffisant.",
227227
"TRANSFER_SENT": "La transaction a été envoyée avec succès.",
228+
"COPY_TO_CLIPBOARD_DONE": "Copie effectuée."
228229
},
229230
"CONFIRM": {
230231
"POPUP_TITLE": "Confirmation",

www/js/services/device-services.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ angular.module('cesium.device.services', ['ngResource', 'cesium.utils.services']
111111
callback();
112112
}
113113
else {
114+
UIUtils.toast.show('INFO.COPY_TO_CLIPBOARD_DONE');
114115
console.log("Copy text to clipboard: " + text);
115116
}
116117
}, function () {

0 commit comments

Comments
 (0)