From 1604cba140f8b482b17f261450b73b372b7bcb8e Mon Sep 17 00:00:00 2001 From: Fatimah Alshammari Date: Tue, 26 Jul 2022 14:57:37 +0300 Subject: [PATCH] fix translation. --- assets/langs/ar-SA.json | 2 +- lib/generated/codegen_loader.g.dart | 2 +- lib/ui/attendance/monthly_attendance.dart | 3 ++- lib/widgets/shimmer/dashboard_shimmer_widget.dart | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/assets/langs/ar-SA.json b/assets/langs/ar-SA.json index 2a0ba20..60f956f 100644 --- a/assets/langs/ar-SA.json +++ b/assets/langs/ar-SA.json @@ -41,7 +41,7 @@ "confirmPassword": "تأكيد كلمة المرور", "update": "تحديث", "title": "عنوان", - "home": "مسكن", + "home": "الرئيسية", "mySalary": "راتبي", "createRequest": "إنشاء طلب", "forgotPassword": "هل نسيت كلمة السر", diff --git a/lib/generated/codegen_loader.g.dart b/lib/generated/codegen_loader.g.dart index 2d198cb..9fc4efe 100644 --- a/lib/generated/codegen_loader.g.dart +++ b/lib/generated/codegen_loader.g.dart @@ -57,7 +57,7 @@ class CodegenLoader extends AssetLoader{ "confirmPassword": "تأكيد كلمة المرور", "update": "تحديث", "title": "عنوان", - "home": "مسكن", + "home": "الرئيسية", "mySalary": "راتبي", "createRequest": "إنشاء طلب", "forgotPassword": "هل نسيت كلمة السر", diff --git a/lib/ui/attendance/monthly_attendance.dart b/lib/ui/attendance/monthly_attendance.dart index de5c9c9..5077c41 100644 --- a/lib/ui/attendance/monthly_attendance.dart +++ b/lib/ui/attendance/monthly_attendance.dart @@ -286,6 +286,7 @@ class _MonthlyAttendanceState extends State { showDatePickerButton: false, controller: _calendarController, headerHeight: 0, + viewNavigationMode: ViewNavigationMode.none, todayHighlightColor: MyColors.grey3AColor, showNavigationArrow: false, showCurrentTimeIndicator: false, @@ -302,7 +303,7 @@ class _MonthlyAttendanceState extends State { dayFormat: 'EEE', showTrailingAndLeadingDates: false, showAgenda: false, - navigationDirection: MonthNavigationDirection.horizontal, + //navigationDirection: MonthNavigationDirection.vertical, monthCellStyle: MonthCellStyle( textStyle: TextStyle( fontStyle: FontStyle.normal, diff --git a/lib/widgets/shimmer/dashboard_shimmer_widget.dart b/lib/widgets/shimmer/dashboard_shimmer_widget.dart index 5b5bd60..cd5d88f 100644 --- a/lib/widgets/shimmer/dashboard_shimmer_widget.dart +++ b/lib/widgets/shimmer/dashboard_shimmer_widget.dart @@ -174,7 +174,7 @@ class ServicesMenuShimmer extends StatelessWidget { crossAxisAlignment: CrossAxisAlignment.end, children: [ Expanded( - child: "Attendance".toText11(isBold: false).toShimmer(), + child: LocaleKeys.attendance.tr().toText11(isBold: false).toShimmer(), ), 6.width, SvgPicture.asset("assets/images/arrow_next.svg").paddingOnly(bottom: 4).toShimmer()