1
0
forked from firka/firka

Merge pull request 'Fixek + szöveg edit' (#31) from balint1414/firka:dev into dev

Reviewed-on: firka/firka#31
This commit is contained in:
2026-06-11 18:13:02 +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';
@@ -60,7 +59,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,
),