From e466dff4243724241abd86f992b3b8535a346536 Mon Sep 17 00:00:00 2001 From: Nilanjan Chakrabarti Date: Tue, 16 Sep 2025 16:47:01 +0530 Subject: [PATCH] Remarks Field in Transaction Page #3 --- .../fund_transfer/screens/fund_transfer_amount_screen.dart | 6 +++--- .../quick_pay/screens/quick_pay_outside_bank_screen.dart | 2 +- .../quick_pay/screens/quick_pay_within_bank_screen.dart | 2 +- lib/l10n/app_en.arb | 3 ++- lib/l10n/app_hi.arb | 3 ++- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/features/fund_transfer/screens/fund_transfer_amount_screen.dart b/lib/features/fund_transfer/screens/fund_transfer_amount_screen.dart index 2492edd..abbf314 100644 --- a/lib/features/fund_transfer/screens/fund_transfer_amount_screen.dart +++ b/lib/features/fund_transfer/screens/fund_transfer_amount_screen.dart @@ -404,9 +404,9 @@ class _FundTransferAmountScreenState extends State { //Remarks TextFormField( controller: _remarksController, - decoration: const InputDecoration( - labelText: 'Remarks (Optional)', - border: OutlineInputBorder(), + decoration: InputDecoration( + labelText: AppLocalizations.of(context).remarks, + border: const OutlineInputBorder(), ), ), const SizedBox(height: 24), diff --git a/lib/features/quick_pay/screens/quick_pay_outside_bank_screen.dart b/lib/features/quick_pay/screens/quick_pay_outside_bank_screen.dart index ec827ae..648a5d2 100644 --- a/lib/features/quick_pay/screens/quick_pay_outside_bank_screen.dart +++ b/lib/features/quick_pay/screens/quick_pay_outside_bank_screen.dart @@ -683,7 +683,7 @@ class _QuickPayOutsideBankScreen extends State { TextFormField( controller: remarksController, decoration: InputDecoration( - labelText: 'Remarks (Optional)', + labelText: AppLocalizations.of(context).remarks, border: const OutlineInputBorder(), isDense: true, filled: true, diff --git a/lib/features/quick_pay/screens/quick_pay_within_bank_screen.dart b/lib/features/quick_pay/screens/quick_pay_within_bank_screen.dart index b16621c..6c27b99 100644 --- a/lib/features/quick_pay/screens/quick_pay_within_bank_screen.dart +++ b/lib/features/quick_pay/screens/quick_pay_within_bank_screen.dart @@ -281,7 +281,7 @@ class _QuickPayWithinBankScreen extends State { TextFormField( controller: remarksController, decoration: InputDecoration( - labelText: 'Remarks (Optional)', + labelText: AppLocalizations.of(context).remarks, border: const OutlineInputBorder(), isDense: true, filled: true, diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index deb13e8..1b28e6b 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -313,5 +313,6 @@ "themeModeSystem": "System", "themeModeLight": "Light", "themeModeDark": "Dark", - "details": "Details" + "details": "Details", + "remarks": "Remarks (Optional)" } diff --git a/lib/l10n/app_hi.arb b/lib/l10n/app_hi.arb index 71b69aa..cbc2071 100644 --- a/lib/l10n/app_hi.arb +++ b/lib/l10n/app_hi.arb @@ -314,5 +314,6 @@ "themeModeSystem": "सिस्टम", "themeModeLight": "लाईट", "themeModeDark": "डार्क", -"details": "विवरण" +"details": "विवरण", + "remarks": "विचार (अनिवार्य नहीं)" }