Skip to content

Commit

Permalink
chore: enable third party imports (#2241)
Browse files Browse the repository at this point in the history
* fix: localisation strings

* enable feature flags

---------

Co-authored-by: Tuditi <[email protected]>
  • Loading branch information
nicole-obrien and Tuditi authored Apr 2, 2024
1 parent 8cf01ef commit 5a3822b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/desktop/features/electron.features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const electronFeatures: IElectronFeatures = {
},
},
importFromThirdParty: {
enabled: false,
enabled: true,
},
}

Expand Down
2 changes: 1 addition & 1 deletion packages/desktop/features/onboarding.features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const onboardingFeatures: OnboardingFeatures = {
testnet: onboardingFeaturesForTestnet,
custom: onboardingFeaturesForCustom,
importFromThirdParty: {
enabled: false,
enabled: true,
},
strongholdVersionCheck: {
enabled: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@

<svelte:component
this={popup ? PopupTemplate : OnboardingLayout}
title={localize(`${LOCALE_NAMESPACE}.title`)}
description={`${localize(`${LOCALE_NAMESPACE}.description`)} ${popup ? '' : localize(`${LOCALE_NAMESPACE}.descriptionExtension`)}`}
title={popup ? localize(`${LOCALE_NAMESPACE}.title`) : localize(`${LOCALE_NAMESPACE}.onboardingTitle`)}
description={popup
? localize(`${LOCALE_NAMESPACE}.description`)
: localize(`${LOCALE_NAMESPACE}.onboardingDescription`)}
backButton={{
text: localize(popup ? 'actions.cancel' : 'actions.skip'),
onClick: popup ? onCancelClick : onSkipClick,
Expand Down
11 changes: 6 additions & 5 deletions packages/shared/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,23 @@
},
"importThirdPartyProfiles": {
"selectApps": {
"title": "Select apps to import",
"onboardingTitle": "Third-party wallets found",
"title": "Import from third-party apps",
"onboardingDescription": "We have detected you are using compatible third-party wallets. You can import your profiles now or do this later.",
"description": "Select the apps you want to import profiles from.",
"descriptionExtension": "You can skip this step and import profiles later.",
"empty": "No apps found",
"import": "Import"
},
"importProfiles": {
"title": "Import profiles",
"description": "We found existing compatible profiles from other apps. Select the profiles you want to import.",
"title": "Import third-party profiles",
"description": "Select the profiles you want to import.",
"empty": "No profiles found",
"warnings": {
"alreadyImported": "Already imported",
"needsMigration": "Needs database migration"
},
"errors": {
"appIsOpen": "Please close the apps before importing",
"appIsOpen": "The third-party wallet you are trying to import from is open. Please close the wallet and try again.",
"unknown": "An unknown error occurred while trying to import the profiles"
},
"notifications": {
Expand Down

0 comments on commit 5a3822b

Please sign in to comment.