Skip to content

Commit

Permalink
fix(cat-voices): update wallet link button label and localization key…
Browse files Browse the repository at this point in the history
…s for registration transaction review (#1088) (#1137)

Co-authored-by: Damian Moliński <47773413+damian-molinski@users.noreply.github.com>
  • Loading branch information
LynxLynxx and damian-molinski authored Nov 6, 2024
1 parent 69772c8 commit 2f4534b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class RolesSummaryPanel extends StatelessWidget {
onTap: () {
RegistrationCubit.of(context).nextStep();
},
child: Text(context.l10n.walletLinkRoleSummaryButton),
child: Text(context.l10n.reviewRegistrationTransaction),
),
const SizedBox(height: 10),
VoicesTextButton(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -886,12 +886,6 @@ abstract class VoicesLocalizations {
/// **' in Catalyst.'**
String get walletLinkRoleSummaryContent3;

/// A button label on the role summary screen in registration for the next step.
///
/// In en, this message translates to:
/// **'Confirm & Sign with wallet'**
String get walletLinkRoleSummaryButton;

/// Message shown when redirecting to external content that describes which wallets are supported.
///
/// In en, this message translates to:
Expand Down Expand Up @@ -1905,6 +1899,12 @@ abstract class VoicesLocalizations {
/// In en, this message translates to:
/// **'Connect a different wallet'**
String get connectDifferentWallet;

/// A button label to review the registration transaction in wallet detail panel.
///
/// In en, this message translates to:
/// **'Review registration transaction'**
String get reviewRegistrationTransaction;
}

class _VoicesLocalizationsDelegate extends LocalizationsDelegate<VoicesLocalizations> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,6 @@ class VoicesLocalizationsEn extends VoicesLocalizations {
@override
String get walletLinkRoleSummaryContent3 => ' in Catalyst.';

@override
String get walletLinkRoleSummaryButton => 'Confirm & Sign with wallet';

@override
String get seeAllSupportedWallets => 'See all supported wallets';

Expand Down Expand Up @@ -997,4 +994,7 @@ class VoicesLocalizationsEn extends VoicesLocalizations {

@override
String get connectDifferentWallet => 'Connect a different wallet';

@override
String get reviewRegistrationTransaction => 'Review registration transaction';
}
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,6 @@ class VoicesLocalizationsEs extends VoicesLocalizations {
@override
String get walletLinkRoleSummaryContent3 => ' in Catalyst.';

@override
String get walletLinkRoleSummaryButton => 'Confirm & Sign with wallet';

@override
String get seeAllSupportedWallets => 'See all supported wallets';

Expand Down Expand Up @@ -997,4 +994,7 @@ class VoicesLocalizationsEs extends VoicesLocalizations {

@override
String get connectDifferentWallet => 'Connect a different wallet';

@override
String get reviewRegistrationTransaction => 'Review registration transaction';
}
Original file line number Diff line number Diff line change
Expand Up @@ -595,10 +595,6 @@
"@walletLinkRoleSummaryContent3": {
"description": "The last part of the message on the role summary screen in registration."
},
"walletLinkRoleSummaryButton": "Confirm & Sign with wallet",
"@walletLinkRoleSummaryButton": {
"description": "A button label on the role summary screen in registration for the next step."
},
"seeAllSupportedWallets": "See all supported wallets",
"@seeAllSupportedWallets": {
"description": "Message shown when redirecting to external content that describes which wallets are supported."
Expand Down Expand Up @@ -966,5 +962,9 @@
"connectDifferentWallet": "Connect a different wallet",
"@connectDifferentWallet": {
"description": "A button label to connect a different wallet in wallet detail panel."
},
"reviewRegistrationTransaction": "Review registration transaction",
"@reviewRegistrationTransaction": {
"description": "A button label to review the registration transaction in wallet detail panel."
}
}

0 comments on commit 2f4534b

Please sign in to comment.