mirror of
https://github.com/Spythere/srjp-td2.git
synced 2026-05-03 05:28:12 +00:00
chore: build fixes, missing translations, PWA caching
This commit is contained in:
@@ -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
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user