Files
TREK/shared/src/i18n/ja/pdf.ts
T
Maurice a5de1bc52d feat(pdf): redesign the trip PDF
The trip PDF gets a new layout in the app's current look, with nothing it
printed before left out and more of each place on the page.

- Cover: the trip photo full bleed, title and dates over it, the trip's
  figures on frosted tiles.
- Overview: the route map, every day at a glance (colour, date, plan, the
  night's stay, stops, cost) and all bookings and stays with their codes.
- Days: the header in the day's map colour, a photo strip of the day's
  stops, where the night is spent, then the plan as a timeline with the
  times on the left.
- Places: photo or category tile, category, duration, price, rating, tags,
  address, coordinates, description, notes, opening hours of that day,
  phone, website, e-mail and the members going. The rating, e-mail, hours
  and reservation note come from the trip's place, since the assignment
  only carries a projection of it.
- Bookings: route first, then airline, number, seat or platform as badges,
  each leg with its own code, status and the booking's code.
- A second row of switches in the preview: overview, photos, coordinates,
  and contact and hours, next to page per day, large text and transport
  notes. Each one is a class on the document and remembered.

The document is split into modules for its helpers, icons, stylesheet,
cover and overview, and the day, so the export itself only gathers the data.
2026-11-22 21:34:29 +01:00

28 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.largeText': '大きな文字',
'pdf.mapTitle': 'ルート概要',
'pdf.distanceLabel': '距離',
'pdf.mapCredit': '国境線: geoBoundaries (CC BY 4.0)',
'pdf.showOverview': '概要',
'pdf.showPhotos': '写真',
'pdf.showDetails': '連絡先と営業時間',
'pdf.atAGlance': '一覧',
'pdf.bookings': '予約と宿泊',
'pdf.day': '日目',
'pdf.stay': '宿泊',
'pdf.plan': '予定',
};
export default pdf;