Fix english absence error + comment bugreports
This commit is contained in:
@@ -127,7 +127,7 @@ class AbsenceView extends StatelessWidget {
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
onPressed: () {
|
||||
onPressed: () { // https://discord.com/channels/1111649116020285532/1149964760130002945
|
||||
Navigator.of(context).pop();
|
||||
|
||||
if (outsideContext != null) {
|
||||
|
||||
@@ -57,7 +57,7 @@ class ChangedLessonTile extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
title: Text(
|
||||
lesson.substituteTeacher?.name != ""
|
||||
lesson.substituteTeacher?.name != "" || lesson.substituteTeacher?.name != null
|
||||
? "substituted".i18n
|
||||
: "cancelled".i18n,
|
||||
maxLines: 2,
|
||||
|
||||
@@ -40,7 +40,7 @@ class AbsenceSubjectView extends StatelessWidget {
|
||||
TimetablePage.jump(context, lesson: lesson);
|
||||
} else {
|
||||
ScaffoldMessenger.of(context).showSnackBar(CustomSnackBar(
|
||||
content: Text("Cannot find lesson".i18n,
|
||||
content: Text("lesson_not_found".i18n,
|
||||
style: const TextStyle(color: Colors.white)),
|
||||
backgroundColor: AppColors.of(context).red,
|
||||
context: context,
|
||||
|
||||
@@ -17,6 +17,7 @@ extension ScreensLocalization on String {
|
||||
"Subjects": "Subjects",
|
||||
"attention": "Attention!",
|
||||
"attention_body": "Percentage calculations are only an approximation so they may not be accurate.",
|
||||
"lesson_not_found": "Cannot find lesson",
|
||||
},
|
||||
"hu_hu": {
|
||||
"Absences": "Hiányzások",
|
||||
@@ -32,6 +33,7 @@ extension ScreensLocalization on String {
|
||||
"Subjects": "Tantárgyak",
|
||||
"attention": "Figyelem!",
|
||||
"attention_body": "A százalékos számítások csak közelítések, ezért előfordulhat, hogy nem pontosak.",
|
||||
"lesson_not_found": "Nem található óra",
|
||||
},
|
||||
"de_de": {
|
||||
"Absences": "Fehlen",
|
||||
@@ -47,6 +49,7 @@ extension ScreensLocalization on String {
|
||||
"Subjects": "Fächer",
|
||||
"attention": "Achtung!",
|
||||
"attention_body": "Prozentberechnungen sind nur eine Annäherung und können daher ungenau sein.",
|
||||
"lesson_not_found": "Lektion kann nicht gefunden werden",
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user