diff --git a/lib/pages/home_page.dart b/lib/pages/home_page.dart index 88f3adb..a2f6488 100644 --- a/lib/pages/home_page.dart +++ b/lib/pages/home_page.dart @@ -25,11 +25,11 @@ class HomePageController extends GetxController { String get currentPageName => pageNames[currentPage]!; final pageNames = { - PageType.none: "Home", - PageType.tables: "Tables", - PageType.users: "Users", - PageType.assets: "Assets", - PageType.settings: "Settings", + PageType.none: "Домашняя", + PageType.tables: "Таблицы", + PageType.users: "Пользователи", + PageType.assets: "Ресурсы", + PageType.settings: "Настройки", }; @override @@ -91,7 +91,7 @@ class HomePage extends GetView { Obx( () => ListTile( leading: const Icon(Icons.table_chart), - title: const Text("Tables"), + title: const Text("Таблицы"), onTap: () { controller.currentPage = PageType.tables; }, @@ -101,7 +101,7 @@ class HomePage extends GetView { Obx( () => ListTile( leading: const Icon(Icons.person), - title: const Text("Users"), + title: const Text("Пользователи"), onTap: () { controller.currentPage = PageType.users; }, @@ -111,7 +111,7 @@ class HomePage extends GetView { Obx( () => ListTile( leading: const Icon(Icons.dataset_outlined), - title: const Text("Assets"), + title: const Text("Ресурсы"), onTap: () { controller.currentPage = PageType.assets; }, @@ -121,7 +121,7 @@ class HomePage extends GetView { Obx( () => ListTile( leading: const Icon(Icons.settings), - title: const Text("Settings"), + title: const Text("Настройки"), onTap: () { controller.currentPage = PageType.settings; }, @@ -131,7 +131,7 @@ class HomePage extends GetView { const Divider(), ListTile( leading: const Icon(Icons.logout), - title: const Text("Logout"), + title: const Text("Выйти"), onTap: () => controller.logout(), ), ],