Files
TREK/shared/src/i18n/gr/pdf.ts
T
Maurice f8e51cb83d fix(pdf): hand the trip PDF to Safari from the iOS Home Screen app
An iPhone or iPad running TREK from the Home Screen ignores print(), in
the page and in an iframe alike, so "Save as PDF" in the preview did
nothing there. Mobile Safari prints the same preview fine.

In the installed iOS app the preview now shows "Open in Safari" in
place of the dead button, with a line saying why. The link opens the
trip with ?export=pdf, and both shells open their export dialog or
sheet for it, so the PDF is one tap away once Safari is up. The
parameter is dropped once read and survives the login redirect.
Everywhere else the preview prints as before.

The preview overlay moves out of TripPDF.tsx into pdfPreview.ts, which
TripPDF had no room left for under lint:size, and its backdrop and
stacking now use the --overlay and --z-modal tokens.
2026-11-03 09:14:55 +01:00

19 lines
1.0 KiB
TypeScript

import type { TranslationStrings } from '../types';
const pdf: TranslationStrings = {
'pdf.travelPlan': 'Ταξιδιωτικό Πρόγραμμα',
'pdf.planned': 'Προγραμματισμένο',
'pdf.costLabel': 'Κόστος',
'pdf.preview': 'Προεπισκόπηση PDF',
'pdf.saveAsPdf': 'Αποθήκευση ως PDF',
'pdf.openInSafari': 'Άνοιγμα στο Safari',
'pdf.safariHint':
'Το iOS δεν μπορεί να εκτυπώσει από την εφαρμογή στην οθόνη Αφετηρίας. Το Safari ανοίγει αυτό το ταξίδι με έτοιμη την εξαγωγή, εκεί μπορείς να αποθηκεύσεις το PDF.',
'pdf.pageBreakPerDay': 'Αλλαγή σελίδας ανά ημέρα',
'pdf.transportNotes': 'Σημειώσεις μεταφορών',
'pdf.mapTitle': 'Επισκόπηση διαδρομής',
'pdf.distanceLabel': 'Απόσταση',
'pdf.mapCredit': 'Περιγράμματα χωρών: geoBoundaries (CC BY 4.0)',
};
export default pdf;