Files
TREK/shared/src/i18n/ja/reservations.ts
T
Maurice 0a7e460253 fix(planner): keep a parked car off the days between drop-off and pickup
A parking booking spanning the trip showed up on every day, sometimes in between
planned activities. It now appears on its first and last day only, with drop-off
and pickup wording, and contributes nothing to the days in between, not even a
badge in the day header. Applied to the day plan, the mobile timeline, the PDF
export and the shared trip view, so a shared link shows what the app shows.

Rental cars stay as they are. The report names the car's smaller tag as the thing
it does not want for parking, not as something to change, and a car's middle days
move into the day header, which is what people expect from a vehicle they are
driving around.

The distance connector between legs is keyed off the row that gets hidden, so
hiding it naively takes the "2 km" label with it, which is what #1504 was about.
There is a test that fails without that guard.

Each segment of a stopover flight or train can also carry its own booking
reference now, since airlines often issue one per flight rather than one per
booking. Legs already live as a JSON array on the reservation, so this is an
optional field per entry: no migration, no contract change, and a booking without
it renders exactly as before. Readable everywhere it can be entered, desktop and
mobile, through the same blur treatment other booking codes get, plus the PDF and
the calendar description. create_transport and update_transport preserve it too,
otherwise they would accept the field and silently drop it.

Closes #1937
Closes #1943
2026-08-17 14:48:23 +02:00

180 lines
11 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { TranslationStrings } from '../types';
const reservations: TranslationStrings = {
'reservations.title': '予約',
'reservations.empty': '予約はまだありません',
'reservations.emptyHint': '航空券、ホテルなどの予約を追加しましょう',
'reservations.add': '予約を追加',
'reservations.addManual': '手動予約',
'reservations.placeHint': 'ヒント:予約は場所から直接作成すると、日別計画に紐づけやすくなります。',
'reservations.confirmed': '確定',
'reservations.pending': '保留',
'reservations.summary': '確定 {confirmed}件、保留 {pending}件',
'reservations.fromPlan': '計画から',
'reservations.showFiles': 'ファイルを表示',
'reservations.editTitle': '予約を編集',
'reservations.status': 'ステータス',
'reservations.datetime': '日時',
'reservations.startTime': '開始時刻',
'reservations.endTime': '終了時刻',
'reservations.date': '日付',
'reservations.time': '時間',
'reservations.timeAlt': '時間(代替、例:19:30)',
'reservations.notes': 'メモ',
'reservations.notesPlaceholder': '追加のメモ...',
'reservations.meta.airline': '航空会社',
'reservations.meta.flightNumber': '便名',
'reservations.meta.from': '出発地',
'reservations.meta.to': '到着地',
'reservations.layover.route': '経路',
'reservations.layover.stop': '経由地',
'reservations.layover.addStop': '経由地を追加',
'reservations.layover.connection': '乗り継ぎ便',
'reservations.layover.layover': '乗り継ぎ',
'reservations.needsReview': '要確認',
'reservations.needsReviewHint': '空港を自動で特定できませんでした。場所を確認してください。',
'reservations.searchLocation': '駅・港・住所を検索…',
'reservations.meta.trainNumber': '列車番号',
'reservations.meta.platform': 'ホーム',
'reservations.meta.seat': '座席',
'reservations.meta.checkIn': 'チェックイン',
'reservations.meta.checkOut': 'チェックアウト',
'reservations.meta.linkAccommodation': '宿泊先',
'reservations.meta.checkInUntil': 'チェックイン期限',
'reservations.meta.pickAccommodation': '宿泊先にリンク',
'reservations.meta.noAccommodation': 'なし',
'reservations.meta.hotelPlace': '宿泊先',
'reservations.meta.linkPlace': '場所 / アクティビティ',
'reservations.meta.pickPlace': '場所 / アクティビティを選択',
'reservations.meta.pickHotel': '宿泊先を選択',
'reservations.meta.fromDay': '開始',
'reservations.meta.toDay': '終了',
'reservations.meta.selectDay': '日を選択',
'reservations.type.flight': '航空便',
'reservations.type.hotel': '宿泊',
'reservations.type.restaurant': 'レストラン',
'reservations.type.train': '列車',
'reservations.type.car': 'レンタカー',
'reservations.type.cruise': 'クルーズ',
'reservations.type.event': 'イベント',
'reservations.type.tour': 'ツアー',
'reservations.type.parking': '駐車場',
'reservations.type.other': 'その他',
'reservations.type.bus': 'バス',
'reservations.type.ferry': 'フェリー',
'reservations.type.bicycle': '自転車',
'reservations.type.taxi': 'タクシー',
'reservations.type.transit': '公共交通機関',
'reservations.type.transport_other': 'その他',
'reservations.confirm.delete': '予約「{name}」を削除しますか?',
'reservations.confirm.deleteTitle': '予約を削除しますか?',
'reservations.confirm.deleteBody': '「{name}」は完全に削除されます。',
'reservations.toast.updated': '予約を更新しました',
'reservations.toast.removed': '予約を削除しました',
'reservations.toast.fileUploaded': 'ファイルをアップロードしました',
'reservations.toast.uploadError': 'アップロードに失敗しました',
'reservations.newTitle': '新しい予約',
'reservations.bookingType': '予約タイプ',
'reservations.titleLabel': 'タイトル',
'reservations.titlePlaceholder': '例:Lufthansa LH123、Hotel Adlon',
'reservations.locationAddress': '場所/住所',
'reservations.locationPlaceholder': '住所、空港、ホテル...',
'reservations.confirmationCode': '予約コード',
'reservations.confirmationPlaceholder': '例:ABC12345',
'reservations.day': '日',
'reservations.noDay': '日なし',
'reservations.place': '場所',
'reservations.noPlace': '場所なし',
'reservations.pendingSave': '保存されます…',
'reservations.uploading': 'アップロード中...',
'reservations.attachFile': 'ファイルを添付',
'reservations.linkExisting': '既存ファイルをリンク',
'reservations.toast.saveError': '保存に失敗しました',
'reservations.toast.updateError': '更新に失敗しました',
'reservations.toast.deleteError': '削除に失敗しました',
'reservations.confirm.remove': '「{name}」の予約を削除しますか?',
'reservations.linkAssignment': '日への割り当てにリンク',
'reservations.pickAssignment': '計画から割り当てを選択...',
'reservations.noAssignment': 'リンクなし(単独)',
'reservations.price': '価格',
'reservations.budgetCategory': '予算カテゴリ',
'reservations.budgetCategoryPlaceholder': '例:交通、宿泊',
'reservations.budgetCategoryAuto': '自動(予約タイプから)',
'reservations.budgetHint': '保存時に予算エントリが自動で作成されます。',
'reservations.departureDate': '出発',
'reservations.arrivalDate': '到着',
'reservations.departureTime': '出発時刻',
'reservations.arrivalTime': '到着時刻',
'reservations.pickupDate': '受取',
'reservations.returnDate': '返却',
'reservations.pickupTime': '受取時刻',
'reservations.returnTime': '返却時刻',
'reservations.endDate': '終了日',
'reservations.meta.departureTimezone': '出発TZ',
'reservations.meta.arrivalTimezone': '到着TZ',
'reservations.span.departure': '出発',
'reservations.span.arrival': '到着',
'reservations.span.inTransit': '移動中',
'reservations.span.pickup': '受取',
'reservations.span.dropOff': '預け入れ',
'reservations.span.return': '返却',
'reservations.span.active': '有効',
'reservations.span.start': '開始',
'reservations.span.end': '終了',
'reservations.span.ongoing': '進行中',
'reservations.validation.endBeforeStart': '終了日時は開始日時より後である必要があります',
'reservations.addBooking': '予約を追加',
'reservations.import.title': '予約確認書のインポート',
'reservations.import.cta': 'ファイルからインポート',
'reservations.import.dropHere': '予約確認ファイルをここにドロップするか、クリックして選択',
'reservations.import.dropActive': 'ファイルをドロップしてインポート',
'reservations.import.acceptedFormats': '対応形式:EML、PDF、PKPass、HTML、TXT(各最大 10 MB、最大 5 ファイル)',
'reservations.import.parsing': 'ファイルを解析中…',
'reservations.import.previewHeading': '{count} 件の予約が見つかりました',
'reservations.import.previewEmpty': 'アップロードされたファイルから予約を抽出できませんでした。',
'reservations.import.removeItem': '削除',
'reservations.import.needsReview': 'Review',
'reservations.import.tryAi': 'Try AI parsing',
'reservations.import.aiParsing': 'Parsing with AI…',
'reservations.import.confirm': '{count} 件の予約をインポート',
'reservations.import.back': '戻る',
'reservations.import.success': '{count} 件の予約をインポートしました',
'reservations.import.partialFailure': '{created} 件インポート済み、{failed} 件失敗',
'reservations.import.error': '解析に失敗しました。ファイルが有効な予約確認書であることを確認してください。',
'reservations.import.unavailable': 'このサーバーでは予約インポート機能が利用できません。',
'reservations.import.unsupportedFormat':
'対応していないファイル形式です。EML、PDF、PKPass、HTML、または TXT を使用してください。',
'reservations.import.fileTooLarge': 'ファイル「{name}」は 10 MB の制限を超えています。',
'reservations.airtrail.title': 'AirTrail からインポート',
'reservations.airtrail.cta': 'AirTrail',
'reservations.airtrail.synced': 'AirTrail',
'reservations.airtrail.syncedHint': 'AirTrail と同期済み — 編集は双方向で同期されます。',
'reservations.airtrail.notSynced': '未同期',
'reservations.airtrail.notSyncedHint': 'このフライトは AirTrail で削除されたため、同期されなくなりました。',
'reservations.airtrail.layoverHint':
'AirTrail からインポートしました。乗り継ぎのある複数区間のフライトは、同期先となる単一の AirTrail フライトがないため、一度限りのインポートのままになります。',
'reservations.airtrail.loadError': 'AirTrail のフライトを読み込めませんでした。',
'reservations.airtrail.imported': '{count} 件のフライトをインポートしました',
'reservations.airtrail.skippedDuplicate': '{count} 件はこの旅行に既に存在するためスキップしました',
'reservations.airtrail.nothingImported': 'インポートする項目がありません。',
'reservations.airtrail.importError': 'インポートに失敗しました。もう一度お試しください。',
'reservations.airtrail.undo': 'AirTrail からインポート',
'reservations.airtrail.alreadyImported': 'インポート済み',
'reservations.airtrail.duringTrip': 'この旅行の期間中',
'reservations.airtrail.otherFlights': 'その他のフライト',
'reservations.airtrail.empty': 'AirTrail アカウントにフライトが見つかりませんでした。',
'reservations.airtrail.importCta': '{count} 件をインポート',
'reservations.airtrail.joinConnection': '{stops}での乗り継ぎを含む1つのフライトとしてインポート',
'reservations.costsLabel': 'Costs',
'reservations.createExpense': 'Create expense',
'reservations.createExpenseHint': 'Saves the booking, then opens the Costs editor.',
'reservations.linkedExpense': 'Linked expense',
'reservations.removeExpense': 'Remove expense',
'reservations.urlLabel': 'リンク',
'reservations.urlPlaceholder': 'https://...',
'reservations.travelers.label': '同行者',
'reservations.travelers.assign': '同行者を割り当て',
'reservations.travelers.none': 'まだ旅行メンバーがいません。',
};
export default reservations;