diff --git a/lib/pages/home_panels/settings_panel.dart b/lib/pages/home_panels/settings_panel.dart index 2f2265a..d1cbc65 100644 --- a/lib/pages/home_panels/settings_panel.dart +++ b/lib/pages/home_panels/settings_panel.dart @@ -25,7 +25,7 @@ class _SettingsPanelState extends State { mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, children: [ - const Text("Current user access token:") + const Text("Ключ доступа пользователя:") .textStyle(Get.textTheme.bodySmall!), [ Text(ApiController.to.token) @@ -37,8 +37,8 @@ class _SettingsPanelState extends State { ClipboardData(text: ApiController.to.token), ); Get.snackbar( - "Copied", - "Token copied to clipboard", + "Скопировано", + "Ключ скопирован в буфер обмена", snackPosition: SnackPosition.BOTTOM, ); }, @@ -50,21 +50,21 @@ class _SettingsPanelState extends State { TextFormField( enabled: false, decoration: const InputDecoration( - labelText: 'Endpoint', - hintText: 'Enter Tuuli Endpoint', + labelText: 'Адрес бэкенда', + hintText: 'Введите адрес бэкенда', ), initialValue: ApiController.to.endPoint, ).expanded(), ElevatedButton( onPressed: () => Get.find().logout(), - child: const Text("Logout to change"), + child: const Text("Выйти и изменить"), ) ].toRow(), const SizedBox(height: 16), [ ElevatedButton( onPressed: () => Get.bottomSheet(const LogPrintPanel()), - child: const Text("Show app logs"), + child: const Text("Показать лог приложения"), ).expanded(), ].toRow(), ],