diff --git a/lib/core/localization/localization.dart b/lib/core/localization/localization.dart index c8937bb..eb1b8fd 100644 --- a/lib/core/localization/localization.dart +++ b/lib/core/localization/localization.dart @@ -4,6 +4,8 @@ class PagesTranslations implements Translations { @override Map> get keys => { 'en': { + 'english': 'EN', + 'arabic': 'AR', 'cancel_appointment': 'Cancel Appointment', 'appointment_canceling': 'Appontiment Canceling', 'are_you_sure_?': 'Are You Sure?', @@ -196,6 +198,8 @@ class PagesTranslations implements Translations { 'Enter your email to reset your password please \n We will send verification code to your Email.', }, 'ar': { + 'english': 'الإنجليزية', + 'arabic': 'العربية', 'cancel_appointment': 'إلغاء الموعد', 'appointment_canceling': 'إلغاء الموعد', 'are_you_sure_?': 'هل أنت متأكد؟', diff --git a/lib/features/account/presentation_layer/screens/account.dart b/lib/features/account/presentation_layer/screens/account.dart index d0e39c4..3ce2515 100644 --- a/lib/features/account/presentation_layer/screens/account.dart +++ b/lib/features/account/presentation_layer/screens/account.dart @@ -242,17 +242,17 @@ class AccountScreen extends StatelessWidget { DropdownMenuItem( value: 'english', child: SizedBox( - width: 40, - height: 40, - child: SvgPicture.asset('assets/icons/english.svg'), + width: 50, + height: 23, + child: BoldTextWidget('english'.tr), ), ), DropdownMenuItem( value: 'arabic', child: SizedBox( - width: 40, - height: 40, - child: SvgPicture.asset('assets/icons/arabic.svg'), + width: 50, + height: 23, + child: BoldTextWidget('arabic'.tr), ), ), ],