chore: build fixes, missing translations, PWA caching

This commit is contained in:
2025-05-02 17:18:00 +02:00
parent 2f946a37b4
commit 35ded92a64
4 changed files with 17 additions and 9 deletions
@@ -145,23 +145,19 @@ import { useGlobalStore } from '../../stores/global.store';
import type { StopRowCZ, TimetablePathData } from '../../types/common.types';
import { useApiStore } from '../../stores/api.store';
import {
ArrowRightIcon,
CalendarArrowDownIcon,
CalendarArrowUpIcon,
CircleAlertIcon,
CircleGaugeIcon,
CircleHelpIcon,
HandIcon,
MapPinIcon,
TimerIcon,
UniversityIcon
TimerIcon
} from 'lucide-vue-next';
const globalStore = useGlobalStore();
const apiStore = useApiStore();
const timetableDate = ref(new Date());
const headUnit = ref('');
const romanMonthDigits = ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'];
@@ -202,7 +198,7 @@ const computedTimetableRows = computed(() => {
timetableDate.value = new Date(stopList[0].departureTimestamp);
stopList.forEach((stop, i) => {
stopList.forEach((stop) => {
if (stop.arrivalLine && stop.arrivalLine == currentPath.arrivalLine) {
if (currentPath.arrivalLineData) {
arrivalSpeed = Math.min(currentPath.arrivalLineData.routeSpeed, stockVmax);
+3 -1
View File
@@ -36,7 +36,9 @@
"journal-preview-title": "TIMETABLES JOURNAL",
"journal-empty-info": "Enter timetable details in the text fields above (use at least one field).<br>Up to 15 newest timetables will be shown.",
"journal-search-placeholder": "nick:Spythere date:02.04.2025 from:Krnów to:Biała_Sudecka",
"journal-driver-search-placeholder": "Driver name / #ID",
"journal-date-search-placeholder": "Date",
"journal-route-search-placeholder": "Route",
"journal-preview-info": "Historical timetable {id} for user {driverName} from: {date}",
"journal-no-data": "No data for the current search! Check if the data you entered is correct.",