From c8f60679c51cdbc7c84cb809724ea782d69092db Mon Sep 17 00:00:00 2001 From: Hjort Date: Tue, 29 Aug 2023 15:29:41 +0200 Subject: [PATCH] Fix import button text + adjust size --- .../VerifiableCredentialBackup/VerifiableCredentialImport.tsx | 2 +- .../src/popup/pages/VerifiableCredentialBackup/i18n/da.ts | 1 + .../src/popup/pages/VerifiableCredentialBackup/i18n/en.ts | 1 + .../src/popup/shared/Form/FileInput/FileInput.tsx | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/VerifiableCredentialImport.tsx b/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/VerifiableCredentialImport.tsx index 9a82aa29..a981c7e3 100644 --- a/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/VerifiableCredentialImport.tsx +++ b/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/VerifiableCredentialImport.tsx @@ -130,7 +130,7 @@ export default function VerifiableCredentialImport() { {error &&

{error}

} diff --git a/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/i18n/da.ts b/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/i18n/da.ts index e810872c..14e3812e 100644 --- a/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/i18n/da.ts +++ b/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/i18n/da.ts @@ -4,6 +4,7 @@ const t: typeof en = { title: 'Importer Web3 ID Credentials', noImported: 'Ingen Web3 ID Credentials blev importeret', error: 'Det var ikke muligt at importere den valgte fil. Filen skal være en backup lavet med en samme seed phrase.', + importButton: 'Vælg fil at importere', close: 'Luk', }; diff --git a/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/i18n/en.ts b/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/i18n/en.ts index 5bc9130c..0494c5ca 100644 --- a/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/i18n/en.ts +++ b/packages/browser-wallet/src/popup/pages/VerifiableCredentialBackup/i18n/en.ts @@ -2,5 +2,6 @@ export default { title: 'Import Web3 ID Credentials', noImported: 'No Web3 ID Credentials were imported', error: 'Unable to import the chosen file. The file must be a backup created with the same seed phrase.', + importButton: 'Select file to import', close: 'Close', }; diff --git a/packages/browser-wallet/src/popup/shared/Form/FileInput/FileInput.tsx b/packages/browser-wallet/src/popup/shared/Form/FileInput/FileInput.tsx index 7943e356..c72244d3 100644 --- a/packages/browser-wallet/src/popup/shared/Form/FileInput/FileInput.tsx +++ b/packages/browser-wallet/src/popup/shared/Form/FileInput/FileInput.tsx @@ -81,7 +81,7 @@ export const FileInput = forwardRef( {f?.name} ))} -