Skip to content

Commit 3c1c93f

Browse files
committed
logs option language adaptation
1 parent 6ebc5c8 commit 3c1c93f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

lib/app/modules/settings/views/settings_page_body.dart

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import 'package:get/get.dart';
55

66
import 'package:google_fonts/google_fonts.dart';
77
import 'package:taskwarrior/app/routes/app_pages.dart';
8+
import 'package:taskwarrior/app/utils/app_settings/app_settings.dart';
89
import 'package:taskwarrior/app/utils/constants/taskwarrior_fonts.dart';
910
import 'package:taskwarrior/app/utils/language/sentence_manager.dart';
1011
import 'package:taskwarrior/app/utils/themes/theme_extension.dart';
@@ -127,8 +128,14 @@ class SettingsPageBody extends StatelessWidget {
127128
),
128129
const Divider(),
129130
SettingsPageListTile(
130-
title: "Logs ",
131-
subTitle: "check all debug logs here",
131+
title:
132+
SentenceManager(currentLanguage: AppSettings.selectedLanguage)
133+
.sentences
134+
.logs,
135+
subTitle:
136+
SentenceManager(currentLanguage: AppSettings.selectedLanguage)
137+
.sentences
138+
.checkAllDebugLogsHere,
132139
trailing: IconButton(
133140
onPressed: () {
134141
Get.toNamed(Routes.LOGS);

0 commit comments

Comments
 (0)