diff --git a/LabelStoreMax/lib/resources/widgets/compo_theme_widget.dart b/LabelStoreMax/lib/resources/widgets/compo_theme_widget.dart index 6b19730..6eafdd5 100644 --- a/LabelStoreMax/lib/resources/widgets/compo_theme_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/compo_theme_widget.dart @@ -22,6 +22,7 @@ import 'package:flutter_app/resources/pages/wishlist_page_widget.dart'; import 'package:flutter_app/resources/pages/home_search_page.dart'; import 'package:flutter_app/resources/widgets/app_loader_widget.dart'; import 'package:flutter_app/resources/widgets/compo_home_widget.dart'; +import 'package:nylo_framework/nylo_framework.dart'; import 'package:woosignal/models/response/woosignal_app.dart'; class CompoThemeWidget extends StatefulWidget { @@ -87,7 +88,7 @@ class CompoThemeWidgetState extends State { id: 1, bottomNavigationBarItem: BottomNavigationBarItem( icon: Icon(Icons.home), - label: 'Home', + label: 'Home'.tr(), ), tabWidget: CompoHomeWidget(wooSignalApp: widget.wooSignalApp)), ); @@ -97,7 +98,7 @@ class CompoThemeWidgetState extends State { id: 2, bottomNavigationBarItem: BottomNavigationBarItem( icon: Icon(Icons.search), - label: 'Search', + label: 'Search'.tr(), ), tabWidget: HomeSearchPage()), ); @@ -107,7 +108,7 @@ class CompoThemeWidgetState extends State { id: 3, bottomNavigationBarItem: BottomNavigationBarItem( icon: Icon(Icons.favorite_border), - label: 'Wishlist', + label: 'Wishlist'.tr(), ), tabWidget: WishListPageWidget(), )); @@ -116,7 +117,7 @@ class CompoThemeWidgetState extends State { items.add(BottomNavItem( id: 4, bottomNavigationBarItem: BottomNavigationBarItem( - icon: Icon(Icons.shopping_cart), label: 'Cart'), + icon: Icon(Icons.shopping_cart), label: 'Cart'.tr()), tabWidget: CartPage(), )); @@ -124,7 +125,7 @@ class CompoThemeWidgetState extends State { items.add(BottomNavItem( id: 5, bottomNavigationBarItem: - BottomNavigationBarItem(icon: Icon(Icons.person), label: 'Account'), + BottomNavigationBarItem(icon: Icon(Icons.person), label: 'Account'.tr()), tabWidget: (await authCheck()) ? AccountDetailPage(showLeadingBackButton: false) : AccountLandingPage( diff --git a/LabelStoreMax/lib/resources/widgets/notic_theme_widget.dart b/LabelStoreMax/lib/resources/widgets/notic_theme_widget.dart index d0ae109..d6147f2 100644 --- a/LabelStoreMax/lib/resources/widgets/notic_theme_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/notic_theme_widget.dart @@ -22,6 +22,7 @@ import 'package:flutter_app/resources/pages/wishlist_page_widget.dart'; import 'package:flutter_app/resources/pages/home_search_page.dart'; import 'package:flutter_app/resources/widgets/app_loader_widget.dart'; import 'package:flutter_app/resources/widgets/notic_home_widget.dart'; +import 'package:nylo_framework/nylo_framework.dart'; import 'package:woosignal/models/response/woosignal_app.dart'; class NoticThemeWidget extends StatefulWidget { @@ -86,7 +87,7 @@ class _NoticThemeWidgetState extends State { id: 1, bottomNavigationBarItem: BottomNavigationBarItem( icon: Icon(Icons.home), - label: 'Home', + label: 'Home'.tr(), ), tabWidget: NoticHomeWidget(wooSignalApp: widget.wooSignalApp)), ); @@ -96,7 +97,7 @@ class _NoticThemeWidgetState extends State { id: 2, bottomNavigationBarItem: BottomNavigationBarItem( icon: Icon(Icons.search), - label: 'Search', + label: 'Search'.tr(), ), tabWidget: HomeSearchPage()), ); @@ -106,7 +107,7 @@ class _NoticThemeWidgetState extends State { id: 3, bottomNavigationBarItem: BottomNavigationBarItem( icon: Icon(Icons.favorite_border), - label: 'Wishlist', + label: 'Wishlist'.tr(), ), tabWidget: WishListPageWidget(), )); @@ -115,7 +116,9 @@ class _NoticThemeWidgetState extends State { items.add(BottomNavItem( id: 4, bottomNavigationBarItem: BottomNavigationBarItem( - icon: Icon(Icons.shopping_cart), label: 'Cart'), + icon: Icon(Icons.shopping_cart), + label: 'Cart'.tr(), + ), tabWidget: CartPage(), )); @@ -123,7 +126,9 @@ class _NoticThemeWidgetState extends State { items.add(BottomNavItem( id: 5, bottomNavigationBarItem: - BottomNavigationBarItem(icon: Icon(Icons.person), label: 'Account'), + BottomNavigationBarItem(icon: Icon(Icons.person), + label: 'Account'.tr(), + ), tabWidget: (await authCheck()) ? AccountDetailPage(showLeadingBackButton: false) : AccountLandingPage(