Files
TREK/shared/src/i18n/ja/notif.ts
T
Maurice 2e1dca9fe9 feat(tours): let a background check hint at changes of your own wanderer trails
Settings, Integrations, wanderer gains an optional background check of the
trails you imported, off until you switch it on. While on, TREK reads the
short record of each such trail at most once a day (never its GPX file) and
leaves a hint when the trail may have moved on: "may have changed" when only
wanderer's change time moved, "changed" when its name or description proves
it, and "not checkable" when the trail is gone, no longer yours or carries no
change time. Nothing is ever said to be unchanged. A new hint arrives as a
notification that opens the tour (a new ?place= link in the planner); the
tour's provenance shows it with the source check right beside it, and the
card lists all open hints in a dialog, each leading to its tour. The check
reads the source in full as before and spends the hint; taking a change in
stays the confirmed reimport. No tour is ever changed or deleted.

The check only asks through your own connection, only about trails your
account imported into trips you can still open, and stops when you switch it
off, remove the connection, wanderer refuses the token (until a test passes
or a new token is saved) or the admin switches wanderer off; hints and
snapshots stay. A run asks at most 25 connections for at most 10 records
each, one after another, and an instance that fails (an outage, a rate
limit) is left alone for an hour, doubling up to two days.

Server: migration 046120 adds the switch and the run bookkeeping to
wanderer_connections and the tour_source_hints table (one row per snapshot,
for its importer, gone with it). WandererWatchService and an hourly
wanderer-watch job on the CronRegistrar live in the tours domain and read
through WandererService; GET and PUT /api/integrations/wanderer/watch and GET
/api/trips/:tripId/tours/wanderer/sources/:placeId/hint (place_edit, like the
check) answer with @trek/shared contracts. A new user notification event,
wanderer_source_hint, can be muted per channel. Saving a new token now clears
what the last check said about the old one. There is no MCP tool, as for the
rest of the personal wanderer connection. All 27 locales carry the strings,
and the admin wiki page says what the check does.
2026-10-20 15:35:32 +02:00

59 lines
3.9 KiB
TypeScript

import type { TranslationStrings } from '../types';
const notif: TranslationStrings = {
'notif.test.title': '[テスト] 通知',
'notif.test.simple.text': 'これはシンプルなテスト通知です。',
'notif.test.boolean.text': 'このテスト通知を承認しますか?',
'notif.test.navigate.text': '下をクリックしてダッシュボードに移動してください。',
'notif.trip_invite.title': '旅行への招待',
'notif.trip_invite.text': '{actor}が「{trip}」に招待しました',
'notif.booking_change.title': '予約が更新されました',
'notif.booking_change.text': '{actor}が「{trip}」の予約を更新しました',
'notif.trip_reminder.title': '旅行リマインド',
'notif.trip_reminder.text': '旅行「{trip}」がまもなく始まります!',
'notif.todo_due.title': 'ToDoの期限',
'notif.todo_due.text': '「{trip}」の{todo}は{due}が期限です',
'notif.vacay_invite.title': 'Vacay Fusionへの招待',
'notif.vacay_invite.text': '{actor}から旅行プランの統合に招待されました',
'notif.vacay_share.title': 'Vacayカレンダーが共有されました',
'notif.vacay_share.text': '{actor}が休暇カレンダーを共有しました',
'notif.collection_invite.title': 'コレクション招待',
'notif.collection_invite.text': '{actor}がコレクションに招待しました',
'notif.photos_shared.title': '写真が共有されました',
'notif.photos_shared.text': '{actor}が「{trip}」で{count}枚の写真を共有しました',
'notif.collab_message.title': '新しいメッセージ',
'notif.collab_message.text': '{actor}が「{trip}」でメッセージを送りました',
'notif.packing_tagged.title': '持ち物の割り当て',
'notif.packing_tagged.text': '{actor}が「{trip}」の{category}をあなたに割り当てました',
'notif.version_available.title': '新しいバージョンがあります',
'notif.version_available.text': 'TREK {version}が利用可能です',
'notif.replica_failure.title': 'ストレージレプリカの障害',
'notif.replica_failure.text': "レプリカ '{backend}' への書き込みに失敗しました:{op} / {key} — {error}",
'notif.replica_failure.textSuppressed':
"レプリカ '{backend}' への書き込みに失敗しました:{op} / {key} — {error}。前回の通知以降、{suppressed}件の追加の失敗が抑制されました。",
'notif.paddle_region_requested.title': 'パドル地域のリクエスト',
'notif.paddle_region_requested.text': '{actor}が{region}でパドルツアーを計画しています',
'notif.action.view_trip': '旅行を見る',
'notif.action.view_collab': 'メッセージを見る',
'notif.action.view_packing': '持ち物を見る',
'notif.action.view_photos': '写真を見る',
'notif.action.view_vacay': 'Vacayを見る',
'notif.action.view_collection': 'コレクションを見る',
'notif.action.view_admin': '管理画面へ',
'notif.wanderer_source_hint.title': 'wanderer のトレイル',
'notif.wanderer_source_hint.possible_change': '{trip} の「{tour}」が wanderer で変更された可能性があります',
'notif.wanderer_source_hint.changed': '{trip} の「{tour}」が wanderer で変更されました',
'notif.wanderer_source_hint.unverifiable': '{trip} の「{tour}」は wanderer で確認できなくなりました',
'notif.action.view_tour': 'ツアーを見る',
'notif.action.view': '表示',
'notif.action.accept': '承認',
'notif.action.decline': '拒否',
'notif.plugin.title': '{title}',
'notif.plugin.text': '{body}',
'notif.generic.title': '通知',
'notif.generic.text': '新しい通知があります',
'notif.dev.unknown_event.title': '[DEV] 不明なイベント',
'notif.dev.unknown_event.text': 'イベントタイプ「{event}」はEVENT_NOTIFICATION_CONFIGに登録されていません',
};
export default notif;