diff --git a/_locales/en/messages.json b/_locales/en/messages.json index e7a051888..125279dc8 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1011,6 +1011,9 @@ "showPairingWordsTitle": { "message": "Pairing Secret Words" }, + "secretPrompt": { + "message": "Here is your secret" + }, "confirmUnpairingTitle": { "message": "Please confirm you want to unpair the following device:" }, diff --git a/ts/components/session/RegistrationTabs.tsx b/ts/components/session/RegistrationTabs.tsx index f70dd9f79..eee4c1a5e 100644 --- a/ts/components/session/RegistrationTabs.tsx +++ b/ts/components/session/RegistrationTabs.tsx @@ -864,7 +864,8 @@ export class RegistrationTabs extends React.Component<{}, State> { const words = window.mnemonic.pubkey_to_secret_words(pubkey); window.console.log(`Here is your secret:\n${words}`); window.pushToast({ - title: `${window.i18n('secretPrompt')} ${words}`, + title: `${window.i18n('secretPrompt')}`, + description: words, id: 'yourSecret', shouldFade: false, });