Skip to content

Commit

Permalink
Export tasks dialogue box translated
Browse files Browse the repository at this point in the history
  • Loading branch information
BrawlerXull committed Jul 27, 2024
1 parent 262ace5 commit db7f89c
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 7 deletions.
10 changes: 8 additions & 2 deletions lib/app/modules/profile/views/profile_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,21 @@ class ProfileView extends GetView<ProfileController> {
builder: (BuildContext context) {
return Utils.showAlertDialog(
title: Text(
"Export Format",
SentenceManager(
currentLanguage: AppSettings.selectedLanguage)
.sentences
.profilePageExportTasksDialogueTitle,
style: TextStyle(
color: AppSettings.isDarkMode
? TaskWarriorColors.white
: TaskWarriorColors.black,
),
),
content: Text(
"Choose the export format:",
SentenceManager(
currentLanguage: AppSettings.selectedLanguage)
.sentences
.profilePageExportTasksDialogueSubtitle,
style: TextStyle(
color: AppSettings.isDarkMode
? TaskWarriorColors.white
Expand Down
6 changes: 6 additions & 0 deletions lib/app/utils/language/english_sentences.dart
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,12 @@ class EnglishSentences extends Sentences {
@override
String get profilePageRenameAliasDialogueBoxSubmit => 'Submit';

@override
String get profilePageExportTasksDialogueTitle => 'Export format';
@override
String get profilePageExportTasksDialogueSubtitle =>
'Choose the export format';

@override
String get manageTaskServerPageConfigureTaskserver => 'Configure Task Server';
@override
Expand Down
5 changes: 5 additions & 0 deletions lib/app/utils/language/hindi_sentences.dart
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ class HindiSentences extends Sentences {
@override
String get profilePageRenameAliasDialogueBoxSubmit => 'प्रस्तुत करें';

@override
String get profilePageExportTasksDialogueTitle => 'निर्यात प्रारूप';
@override
String get profilePageExportTasksDialogueSubtitle => 'निर्यात प्रारूप चुनें';

@override
String get manageTaskServerPageConfigureTaskserver =>
'टास्क सर्वर कॉन्फ़िगर करें';
Expand Down
12 changes: 8 additions & 4 deletions lib/app/utils/language/marathi_sentences.dart
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@ class MarathiSentences extends Sentences {
@override
String get profilePageRenameAliasDialogueBoxSubmit => 'सादर करा';

@override
String get profilePageExportTasksDialogueTitle => 'निर्यात प्रारूप';
@override
String get profilePageExportTasksDialogueSubtitle => 'निर्यात प्रारूप निवडा';

@override
String get manageTaskServerPageConfigureTaskserver =>
'टास्क सर्व्हर कॉन्फिगर करा';
Expand All @@ -261,10 +266,9 @@ class MarathiSentences extends Sentences {
@override
String get manageTaskServerPageConfigureServerCertificate =>
'सर्व्हर सर्टिफिकेट कॉन्फिगर करा';
@override
String get manageTaskServerPageTaskRCFileIsVerified =>
'Task RC फाइल पडताळली गेली आहे';

@override
String get manageTaskServerPageTaskRCFileIsVerified =>
'Task RC फाइल पडताळली गेली आहे';

@override
String get manageTaskServerPageConfigureTaskRCDialogueBoxTitle =>
Expand Down
4 changes: 3 additions & 1 deletion lib/app/utils/language/sentences.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ abstract class Sentences {
String get profilePageDeleteProfile;
String get profilePageAddNewProfile;

String get profilePageExportTasksDialogueTitle;
String get profilePageExportTasksDialogueSubtitle;

String get profilePageRenameAliasDialogueBoxTitle;
String get profilePageRenameAliasDialogueBoxNewAlias;
String get profilePageRenameAliasDialogueBoxCancel;
Expand All @@ -138,5 +141,4 @@ abstract class Sentences {
String get manageTaskServerPageConfigureTaskRCDialogueBoxInputFieldText;
String get manageTaskServerPageConfigureTaskRCDialogueBoxOr;
String get manageTaskServerPageConfigureTaskRCDialogueBoxSelectTaskRC;

}

0 comments on commit db7f89c

Please sign in to comment.