4 Commits

Author SHA1 Message Date
3fb0fd55de gitmodules: github>gitea 2026-06-11 16:00:36 +02:00
4c06daf02f Órarend szövegek szerkesztése 2026-06-11 15:52:50 +02:00
3d07b2b2ce Fordítás fix 2026-06-11 15:52:04 +02:00
9a45c5c456 Fix: Német órarend 2026-06-11 15:31:11 +02:00
4 changed files with 37 additions and 12 deletions

4
.gitmodules vendored
View File

@@ -1,6 +1,6 @@
[submodule "firka/lib/l10n"]
path = firka/lib/l10n
url = https://github.com/QwIT-Development/firka-localization
url = https://git.firka.app/firka/firka-localization
[submodule "firka_wear/lib/l10n"]
path = firka_wear/lib/l10n
url = https://github.com/qwit-development/firka-localization
url = https://git.firka.app/firka/firka-localization

View File

@@ -54,12 +54,15 @@ class BottomNavIconWidget extends StatelessWidget {
size: 24,
),
const SizedBox(height: 2),
Text(
text,
style: appStyle.fonts.B_14R.apply(
color: active
? appStyle.colors.textPrimary
: appStyle.colors.textSecondary,
FittedBox(
fit: BoxFit.scaleDown,
child: Text(
text,
style: appStyle.fonts.B_14R.apply(
color: active
? appStyle.colors.textPrimary
: appStyle.colors.textSecondary,
),
),
),
],

View File

@@ -1,4 +1,5 @@
import 'package:firka/app/app_state.dart';
import 'package:firka/core/extensions.dart';
import 'package:firka/core/settings.dart';
import 'package:firka_common/firka_common.dart';
import 'package:firka_common/ui/components/filled_circle.dart';
@@ -138,9 +139,9 @@ class _GradeChartState extends State<GradeChart> {
final date = spots[_touchedIndex!].date;
content = tooltipFormat.format(date);
} else if (value == firstX) {
content = 'Szeptember';
content = DateFormat("MMMM", initData.l10n.localeName).format(DateTime(DateTime.now().year, DateTime.september)).firstUpper();
} else if (value == lastX && !shouldHideNow) {
content = 'Most';
content = initData.l10n.now;
}
final text = Text(

View File

@@ -7,7 +7,6 @@ import 'package:firka/app/app_state.dart';
import 'package:firka/ui/theme/style.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:majesticons_flutter/majesticons_flutter.dart';
import 'lesson.dart';
@@ -62,7 +61,29 @@ class TimeTableDayWidget extends StatelessWidget {
...events.map(
(event) => Center(
child: Text(
event.name.replaceAll(" (Nem órarendi nap)", ""),
event.name
.replaceAll(" (Nem órarendi nap)", "")
.replaceAll(" (Hétfő)", "")
.replaceAll(" (Kedd)", "")
.replaceAll(" (Szerda)", "")
.replaceAll(" (Csütörtök)", "")
.replaceAll(" (Péntek)", "")
.replaceAll(" (Szombat)", "")
.replaceAll(" (Vasárnap)", "")
.replaceAll("Tanítás nélküli munkanap", data.l10n.tt_non_instructional_day)
.replaceAll("Munkaszüneti nap", data.l10n.tt_public_holiday)
.replaceAll("Tavaszi szünet", data.l10n.tt_spring_break)
.replaceAll("Téli szünet", data.l10n.tt_winter_break)
.replaceAll("Őszi szünet", data.l10n.tt_autumn_break)
.replaceAll("Tanítási nap", data.l10n.tt_instructional_day)
.replaceAll("Első félév vége", data.l10n.tt_first_semester_end)
.replaceAll("Ünnepnap", data.l10n.tt_holiday)
.replaceAll("Pihenőnap", data.l10n.tt_rest_day)
.replaceAll("Első tanítási nap", data.l10n.tt_first_instructional_day)
.replaceAll("Utolsó tanítási nap", data.l10n.tt_last_instructional_day)
.replaceAll("Utolsó tanítási nap a végzős évfolyamokon", data.l10n.tt_last_instructional_day_graduates)
.replaceAll("Egész napos kirándulás", data.l10n.tt_full_day_trip)
.replaceAll("negyedév vége", data.l10n.tt_quarter_end),
style: appStyle.fonts.B_16R.apply(
color: appStyle.colors.textSecondary,
),