diff --git a/assets/i18n/en-US.json b/assets/i18n/en-US.json index 46607ddd..ad7ad9f9 100644 --- a/assets/i18n/en-US.json +++ b/assets/i18n/en-US.json @@ -1087,5 +1087,10 @@ "installUpdate": "Install update", "openReleasePage": "Open release page", "postCompose": "Compose Post", - "postPublish": "Publish Post" + "postPublish": "Publish Post", + "purchaseGift": "Purchase Gift", + "selectRecipient": "Select Recipient", + "changeRecipient": "Change Recipient", + "addMessage": "Add Message", + "skipRecipient": "Skip Recipient" } diff --git a/lib/widgets/account/stellar_program_tab.dart b/lib/widgets/account/stellar_program_tab.dart index b58de5d5..7420232b 100644 --- a/lib/widgets/account/stellar_program_tab.dart +++ b/lib/widgets/account/stellar_program_tab.dart @@ -91,7 +91,7 @@ class _PurchaseGiftSheetState extends State { @override Widget build(BuildContext context) { return SheetScaffold( - titleText: 'Purchase Gift', + titleText: 'purchaseGift'.tr(), child: Column( children: [ Expanded( @@ -102,7 +102,7 @@ class _PurchaseGiftSheetState extends State { children: [ // Recipient Selection Section Text( - 'Select Recipient', + 'selectRecipient'.tr(), style: TextStyle( fontSize: 16, fontWeight: FontWeight.w600, @@ -214,8 +214,8 @@ class _PurchaseGiftSheetState extends State { icon: const Icon(Icons.person_search), label: Text( selectedRecipient != null - ? 'Change Recipient' - : 'Select Recipient', + ? 'changeRecipient'.tr() + : 'selectRecipient'.tr(), ), style: OutlinedButton.styleFrom( minimumSize: const Size(double.infinity, 48), @@ -226,7 +226,7 @@ class _PurchaseGiftSheetState extends State { // Message Section Text( - 'Add Message', + 'addMessage'.tr(), style: TextStyle( fontSize: 16, fontWeight: FontWeight.w600, @@ -278,7 +278,7 @@ class _PurchaseGiftSheetState extends State { ? null : messageController.text.trim(), }), - child: Text('Skip Recipient'), + child: Text('skipRecipient'.tr()), ), ), const Gap(8), @@ -292,7 +292,7 @@ class _PurchaseGiftSheetState extends State { ? null : messageController.text.trim(), }), - child: Text('Purchase Gift'), + child: Text('purchaseGift'.tr()), ), ), ],