Files
TREK/shared/src/i18n/ko/wandererWatch.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

35 lines
2.5 KiB
TypeScript

import type { TranslationStrings } from '../types';
const wandererWatch: TranslationStrings = {
'wanderer.watch.label': '내 트레일 변경 확인',
'wanderer.watch.hint': '가져온 트레일이 바뀌었을 수 있을 때 알림을 받습니다.',
'wanderer.watch.info':
'TREK은 가져온 각 트레일의 짧은 기록을 하루 최대 한 번 읽으며 GPX 파일은 읽지 않습니다. 알림만 보내며, 변경을 반영할지는 투어의 소스 확인에서 직접 결정합니다.',
'wanderer.watch.notConnected': '먼저 wanderer를 연결하세요',
'wanderer.watch.on': '백그라운드 확인을 켰습니다',
'wanderer.watch.off': '백그라운드 확인을 껐습니다',
'wanderer.watch.failed': '백그라운드 확인을 전환하지 못했습니다',
'wanderer.watch.lastRun': '마지막 확인 {date}',
'wanderer.watch.neverRun': '아직 확인하지 않음',
'wanderer.watch.paused': '{time}까지 일시 중지',
'wanderer.watch.pausedHint': 'wanderer가 응답하지 않았습니다. 실패할 때마다 TREK은 다시 묻기 전에 더 오래 기다립니다.',
'wanderer.watch.blocked': '토큰 거부됨',
'wanderer.watch.blockedHint': 'wanderer가 API 토큰을 거부했습니다. 연결 테스트가 통과하거나 새 토큰을 저장하면 확인이 다시 시작됩니다.',
'wanderer.watch.hints': '알림',
'wanderer.watch.hintsCount': '열린 알림 {count}개',
'wanderer.watch.empty': '열린 알림이 없습니다',
'wanderer.watch.dialogTitle': '내 트레일에 관한 알림',
'wanderer.watch.openTour': '투어 열기',
'wanderer.watch.checkedAt': '확인 {date}',
'wanderer.watch.noticeLabel': '백그라운드 확인',
'wanderer.watch.state.possible_change': '바뀌었을 수 있음',
'wanderer.watch.state.changed': '변경됨',
'wanderer.watch.state.unverifiable': '확인 불가',
'wanderer.watch.stateHint.possible_change': 'wanderer에서 트레일의 타임스탬프가 바뀌었습니다. 내용이 다른지는 소스 확인으로만 알 수 있습니다.',
'wanderer.watch.stateHint.changed': 'wanderer 기록에 다른 이름이나 설명이 있습니다. 소스 확인에서 바뀐 내용을 모두 볼 수 있습니다.',
'wanderer.watch.stateHint.unverifiable': 'TREK이 이 트레일을 판단할 수 없어 변경 여부에 대해 아무것도 말하지 않습니다.',
'wanderer.watch.reason.unavailable': '트레일에 접근할 수 없음',
'wanderer.watch.reason.no_change_time': '타임스탬프 없음',
};
export default wandererWatch;