Files
TREK/shared/src/i18n/az/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

60 lines
3.8 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 notif: TranslationStrings = {
'notif.test.title': '[Test] Bildiriş',
'notif.test.simple.text': 'Bu, sadə test bildirişidir.',
'notif.test.boolean.text': 'Bu test bildirişini qəbul edirsiniz?',
'notif.test.navigate.text': 'İdarə panelinə keçmək üçün aşağıya klikləyin.',
'notif.trip_invite.title': 'Səyahət dəvəti',
'notif.trip_invite.text': '{actor} sizi {trip} səyahətinə dəvət etdi',
'notif.booking_change.title': 'Rezervasiya yeniləndi',
'notif.booking_change.text': '{actor} {trip} səyahətindəki rezervasiyanı yenilədi',
'notif.trip_reminder.title': 'Səyahət xatırlatması',
'notif.trip_reminder.text': '{trip} səyahətiniz yaxınlaşır!',
'notif.todo_due.title': 'Tapşırığın son tarixi',
'notif.todo_due.text': '{trip} səyahətindəki {todo} tapşırığının son tarixi: {due}',
'notif.vacay_invite.title': 'Tətil planlarını birləşdirmə dəvəti',
'notif.vacay_invite.text': '{actor} sizi tətil planlarını birləşdirməyə dəvət etdi',
'notif.vacay_share.title': 'Tətil təqvimi paylaşıldı',
'notif.vacay_share.text': '{actor} tətil təqvimini sizinlə paylaşdı',
'notif.collection_invite.title': 'Kolleksiyaya dəvət',
'notif.collection_invite.text': '{actor} sizi kolleksiyanı paylaşmağa dəvət etdi',
'notif.photos_shared.title': 'Fotolar paylaşıldı',
'notif.photos_shared.text': '{actor} {trip} səyahətində {count} foto paylaşdı',
'notif.photos_shared.text.one': '{actor} {trip} səyahətində {count} foto paylaşdı',
'notif.collab_message.title': 'Yeni mesaj',
'notif.collab_message.text': '{actor} {trip} səyahətində mesaj göndərdi',
'notif.packing_tagged.title': 'Çamadan tapşırığı',
'notif.packing_tagged.text': '{actor} {trip} səyahətindəki {category} kateqoriyasını sizə tapşırdı',
'notif.version_available.title': 'Yeni versiya mövcuddur',
'notif.version_available.text': 'TREK {version} artıq mövcuddur',
'notif.replica_failure.title': 'Yaddaş replikasında xəta',
'notif.replica_failure.text': "'{backend}' replikasına yazmaq mümkün olmadı: {key} üçün {op} — {error}",
'notif.replica_failure.textSuppressed':
"'{backend}' replikasına yazmaq mümkün olmadı: {key} üçün {op} — {error}. Son bildirişdən bəri daha {suppressed} xəta üçün bildiriş göstərilmədi.",
'notif.paddle_region_requested.title': 'Avarçəkmə regionu sorğulanıb',
'notif.paddle_region_requested.text': '{actor} {region} ərazisində avarçəkmə turu planlaşdırır',
'notif.action.view_trip': 'Səyahətə bax',
'notif.action.view_collab': 'Mesajlara bax',
'notif.action.view_packing': 'Çamadan siyahısına bax',
'notif.action.view_photos': 'Fotolara bax',
'notif.action.view_vacay': 'Tətilə bax',
'notif.action.view_collection': 'Kolleksiyaya bax',
'notif.action.view_admin': 'İdarəetməyə keç',
'notif.wanderer_source_hint.title': 'wanderer marşrutu',
'notif.wanderer_source_hint.possible_change': '{trip} içində "{tour}" wanderer-də dəyişmiş ola bilər',
'notif.wanderer_source_hint.changed': '{trip} içində "{tour}" wanderer-də dəyişdirildi',
'notif.wanderer_source_hint.unverifiable': '{trip} içində "{tour}" artıq wanderer-də yoxlanıla bilmir',
'notif.action.view_tour': 'Tura bax',
'notif.action.view': 'Bax',
'notif.action.accept': 'Qəbul et',
'notif.action.decline': 'İmtina et',
'notif.plugin.title': '{title}',
'notif.plugin.text': '{body}',
'notif.generic.title': 'Bildiriş',
'notif.generic.text': 'Yeni bildirişiniz var',
'notif.dev.unknown_event.title': '[DEV] Naməlum hadisə',
'notif.dev.unknown_event.text': '"{event}" hadisə növü EVENT_NOTIFICATION_CONFIG daxilində qeydiyyatdan keçməyib',
};
export default notif;