diff --git a/lib/features/beneficiaries/screens/beneficiary_details_screen.dart b/lib/features/beneficiaries/screens/beneficiary_details_screen.dart index 97d0ed1..03c4449 100644 --- a/lib/features/beneficiaries/screens/beneficiary_details_screen.dart +++ b/lib/features/beneficiaries/screens/beneficiary_details_screen.dart @@ -22,7 +22,7 @@ class BeneficiaryDetailsScreen extends StatelessWidget { _showSuccessDialog(context); } catch (e) { ScaffoldMessenger.of(context).showSnackBar( - SnackBar(content: Text('Failed to delete beneficiary: $e')), + SnackBar(content: Text('${AppLocalizations.of(context).failedToDeleteBeneficiary} : $e')), ); } } @@ -32,11 +32,11 @@ class BeneficiaryDetailsScreen extends StatelessWidget { context: context, builder: (BuildContext context) { return AlertDialog( - title: const Text('Success'), - content: const Text('Beneficiary deleted successfully.'), + title: Text(AppLocalizations.of(context).success), + content: Text(AppLocalizations.of(context).beneficiaryDeletedSuccessfully), actions: [ TextButton( - child: const Text('OK'), + child: Text(AppLocalizations.of(context).ok), onPressed: () { Navigator.of(context).popUntil((route) => route.isFirst); }, @@ -52,18 +52,18 @@ class BeneficiaryDetailsScreen extends StatelessWidget { context: context, builder: (BuildContext context) { return AlertDialog( - title: const Text('Delete Beneficiary'), + title: Text(AppLocalizations.of(context).deleteBeneficiary), content: - const Text('Are you sure you want to delete this beneficiary?'), + Text(AppLocalizations.of(context).areYouSureYouWantToDeleteThisBeneficiary), actions: [ TextButton( - child: const Text('Cancel'), + child: Text(AppLocalizations.of(context).cancel), onPressed: () { Navigator.of(context).pop(); }, ), TextButton( - child: const Text('Delete'), + child: Text(AppLocalizations.of(context).delete), onPressed: () { _deleteBeneficiary(context); }, 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 3e0a0bf..95106ca 100644 --- a/lib/features/fund_transfer/screens/fund_transfer_amount_screen.dart +++ b/lib/features/fund_transfer/screens/fund_transfer_amount_screen.dart @@ -492,7 +492,7 @@ class _FundTransferAmountScreenState extends State { }, ), const SizedBox(height: 8), - if (_isLoadingLimit) const Text('Fetching daily limit...'), + if (_isLoadingLimit) Text(AppLocalizations.of(context).fetchingDailyLimit), if (!_isLoadingLimit && _limit != null) Text( 'Remaining Daily Limit: ${_formatCurrency.format(_limit!.dailyLimit - _limit!.usedLimit)}', diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index a6524d9..ecaaeab 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -338,5 +338,71 @@ "deregistercheck": "Are you sure you want to De-Register?", "biometricsNotAvailable": "Biometrics not available on this device", "disableFingerprintLogin": "Disable Fingerprint Login", - "disableFingerprintMessage": "Are you sure you want to disable fingerprint login?" + "disableFingerprintMessage": "Are you sure you want to disable fingerprint login?", + "selectAccount": "Select Account", + "noOtherAccountsFound": "No other accounts found", + "selfPay": "Self Pay", + "fundTransfer": "Fund Transfer", + "fetchingDailyLimit": "Fetching daily limit...", + "okay": "Okay", + "limitUpdated": "Limit Updated", + "changeTpin": "Change TPIN", + "currentTpin": "Current TPIN", + "newTpin": "New TPIN", + "confirmNewTpin": "Confirm New TPIN", + "pleaseEnterAValid6DigitOtp": "Please enter a valid 6-digit OTP", + "tpinChangedSuccessfully": "TPIN changed successfully!", + "verifyChangeTpin": "Verify & Change TPIN", + "tpinNotSet": "TPIN Not Set", + "back": "Back", + "appVersion": "App Version", + "error": "Error", + "atmLocator": "ATM Locator", + "nationalBankOfAgricultureRuralDevelopment": "National Bank of Agriculture & Rural Development", + "reserveBankOfIndia": "Reserve Bank of India", + "indianInstituteOfBankingFinance": "Indian Institute of Banking & Finance", + "indianBankAssociation": "Indian Bank Association", + "ministryOfFinance": "Ministry of Finance", + "securitiesExchangeBoardOfIndia": "Securities Exchange Board of India", + "insuranceRegulatoryDevelopmentAuthority": "Insurance Regulatory & Development Authority", + "noMatchingBranchesFound": "No matching branches found", + "nameAddress": "Name/Address", + "noMatchingAtmsFound": "No matching ATMs found", + "myCards": "My Cards", + "validFrom": "VALID FROM", + "validUpto": "VALID UPTO", + "termsAndConditions": "Terms and Conditions", + "goBack": "Go Back", + "noTransactionsToExport": "No transactions to export.", + "accountStatementKccb": "Account Statement - KCCB", + "description": "Description", + "balance": "Balance", + "storagePermissionIsRequiredToSavePdf": "Storage permission is required to save PDF", + "setNewPassword": "Set New Password", + "setPassword": "Set Password", + "backToLogin": "Back to Login", + "enterDigitPin": "Enter {length}-digit PIN", + "couldNotLaunch": "Could not launch {url}", + "selected": "Selected {atmName}", + "currencySymbol": "₹", + "iAgreeToTheTermsAndConditions": "I agree to the Terms and Conditions", + "disagree": "Disagree", + "couldNotOpenEmailAppFor": "Could not open email app for {email}", + "couldNotOpenDialerFor": "Could not open dialer for {phone}", + "failedToSendOtp": "Failed to send OTP: {error}", + "anErrorOccurred": "An error occurred: {error}", + "pdfSavedTo": "PDF saved to: {filePath}", + "errorSavingPdf": "Error saving PDF: {error}", + "limitToBeSetMustBeLessThan200000": "Limit To be Set must be less than 200000", + "remainingLimitToday": "Remaining Limit Today", + "hindiLanguage": "हनद", + "pleaseFillBothPasswordFields": "Please fill both password fields", + "enter": "Enter", + "setLimit": "Set Limit", + "tehsil": "Tehsil", + "district": "District", + "postOffice": "Post Office", + "rbiCode1": "RBI Code 1", + "rbiCode2": "RBI Code 2", + "latitude": "Latitude" } diff --git a/lib/l10n/app_hi.arb b/lib/l10n/app_hi.arb index a46be90..9e72807 100644 --- a/lib/l10n/app_hi.arb +++ b/lib/l10n/app_hi.arb @@ -339,5 +339,71 @@ "deregistercheck": "क्या आप वाकई पंजीकरण रद्द करना चाहते हैं??", "biometricsNotAvailable": "इस डिवाइस पर बायोमेट्रिक्स उपलब्ध नहीं है", "disableFingerprintLogin": "फ़िंगरप्रिंट लॉगिन अक्षम करें", - "disableFingerprintMessage": "क्या आप फ़िंगरप्रिंट लॉगिन अक्षम करना चाहते हैं?" + "disableFingerprintMessage": "क्या आप फ़िंगरप्रिंट लॉगिन अक्षम करना चाहते हैं?", + "selectAccount": "खाता चुनें", + "noOtherAccountsFound": "कोई अन्य खाता नहीं मिला", + "selfPay": "स्वयं भुगतान", + "fundTransfer": "धन हस्तांतरण", + "fetchingDailyLimit": "दैनिक सीमा प्राप्त की जा रही है...", + "okay": "ठीक है", + "limitUpdated": "सीमा अपडेट की गई", + "changeTpin": "टी-पिन बदलें", + "currentTpin": "वर्तमान टी-पिन", + "newTpin": "नया टी-पिन", + "confirmNewTpin": "नए टी-पिन की पुष्टि करें", + "pleaseEnterAValid6DigitOtp": "कृपया एक मान्य 6-अंकीय ओटीपी दर्ज करें", + "tpinChangedSuccessfully": "टी-पिन सफलतापूर्वक बदला गया!", + "verifyChangeTpin": "सत्यापित करें और टी-पिन बदलें", + "tpinNotSet": "टी-पिन सेट नहीं है", + "back": "वापस", + "appVersion": "ऐप संस्करण", + "error": "त्रुटि", + "atmLocator": "एटीएम लोकेटर", + "nationalBankOfAgricultureRuralDevelopment": "राष्ट्रीय कृषि और ग्रामीण विकास बैंक", + "reserveBankOfIndia": "भारतीय रिज़र्व बैंक", + "indianInstituteOfBankingFinance": "भारतीय बैंकिंग और वित्त संस्थान", + "indianBankAssociation": "भारतीय बैंक संघ", + "ministryOfFinance": "वित्त मंत्रालय", + "securitiesExchangeBoardOfIndia": "भारतीय प्रतिभूति और विनिमय बोर्ड", + "insuranceRegulatoryDevelopmentAuthority": "बीमा नियामक और विकास प्राधिकरण", + "noMatchingBranchesFound": "कोई मिलती-जुलती शाखा नहीं मिली", + "nameAddress": "नाम/पता", + "noMatchingAtmsFound": "कोई मिलते-जुलते एटीएम नहीं मिले", + "myCards": "मेरे कार्ड", + "validFrom": "से मान्य", + "validUpto": "तक मान्य", + "termsAndConditions": "नियम और शर्तें", + "goBack": "वापस जाएं", + "noTransactionsToExport": "निर्यात करने के लिए कोई लेन-देन नहीं है।", + "accountStatementKccb": "खाता विवरण - KCCB", + "description": "विवरण", + "balance": "शेष राशि", + "storagePermissionIsRequiredToSavePdf": "पीडीएफ सहेजने के लिए स्टोरेज अनुमति आवश्यक है", + "setNewPassword": "नया पासवर्ड सेट करें", + "setPassword": "पासवर्ड सेट करें", + "backToLogin": "लॉगिन पर वापस जाएं", + "enterDigitPin": "{length}-अंकीय पिन दर्ज करें", + "couldNotLaunch": "{url} लॉन्च नहीं किया जा सका", + "selected": "{atmName} चयनित", + "currencySymbol": "₹", + "iAgreeToTheTermsAndConditions": "मैं नियम और शर्तों से सहमत हूं", + "disagree": "असहमत", + "couldNotOpenEmailAppFor": "{email} के लिए ईमेल ऐप नहीं खोला जा सका", + "couldNotOpenDialerFor": "{phone} के लिए डायलर नहीं खोला जा सका", + "failedToSendOtp": "ओटीपी भेजने में विफल: {error}", + "anErrorOccurred": "एक त्रुटि हुई: {error}", + "pdfSavedTo": "पीडीएफ यहां सहेजा गया: {filePath}", + "errorSavingPdf": "पीडीएफ सहेजने में त्रुटि: {error}", + "limitToBeSetMustBeLessThan200000": "सेट की जाने वाली सीमा 200000 से कम होनी चाहिए", + "remainingLimitToday": "आज की शेष सीमा", + "hindiLanguage": "हिन्दी", + "pleaseFillBothPasswordFields": "कृपया दोनों पासवर्ड फ़ील्ड भरें", + "enter": "दर्ज करें", + "setLimit": "सीमा सेट करें", + "tehsil": "तहसील", + "district": "जिला", + "postOffice": "डाकघर", + "rbiCode1": "आरबीआई कोड 1", + "rbiCode2": "आरबीआई कोड 2", + "latitude": "अक्षांश" }