fix(journey): keep the journey page and maps within their lint gates, format the journey locales

This commit is contained in:
Maurice
2026-10-21 20:00:07 +02:00
parent a1180b2b19
commit 5dc945145f
36 changed files with 380 additions and 247 deletions
+2 -2
View File
@@ -8,11 +8,11 @@
"trek/no-swallowed-catch": 133,
"max-params": 35,
"trek/store-without-selector": 69,
"react-hooks/refs": 558,
"react-hooks/refs": 557,
"react-hooks/set-state-in-effect": 196,
"@typescript-eslint/no-floating-promises": 167,
"react-hooks/exhaustive-deps": 121,
"@typescript-eslint/no-unused-vars": 129,
"@typescript-eslint/no-unused-vars": 127,
"react-hooks/immutability": 28,
"max-lines-per-function": 133,
"react-hooks/static-components": 78,
+19 -31
View File
@@ -155,6 +155,14 @@ function entryIcon(item: MapMarkerItem, highlighted: boolean, planned: boolean):
})
}
function paintEntryMarker(
marker: L.Marker | undefined, item: MapMarkerItem | undefined, highlighted: boolean, planned: ReadonlySet<string>,
): void {
if (!marker || !item) return
marker.setIcon(entryIcon(item, highlighted, planned.has(item.id)))
marker.setZIndexOffset(highlighted ? 1000 : 0)
}
/**
* Pan, don't zoom: the initial fitBounds decides how far out the reader starts,
* and a focus keeps that (discussion #2299).
@@ -231,7 +239,6 @@ function JourneyMap(
const markLayerRef = useRef<L.LayerGroup | null>(null)
const onMarksPickRef = useRef(onMarksPick)
const marksRef = useRef(marks)
marksRef.current = marks
// A journey with nothing located of its own opens on the world until its
// plan or stays arrive; those get the first view unless the reader moved it.
const awaitingMarksRef = useRef(false)
@@ -245,35 +252,19 @@ function JourneyMap(
// Before the map effects below, so a rebuild draws with what the reader shows now.
useEffect(() => {
onMarksPickRef.current = onMarksPick
marksRef.current = marks
visibilityRef.current = layerVisibility
plannedRef.current = plannedEntryIds
})
const darkRef = useRef(dark)
darkRef.current = dark
const highlightMarker = useCallback((id: string | null) => {
const prev = highlightedRef.current
highlightedRef.current = id
const isDark = !!darkRef.current
if (prev && prev !== id) {
const marker = markersRef.current.get(prev)
const item = itemsRef.current.find(i => i.id === prev)
if (marker && item) {
marker.setIcon(entryIcon(item, false, plannedRef.current.has(item.id)))
marker.setZIndexOffset(0)
}
}
if (id) {
const marker = markersRef.current.get(id)
const item = itemsRef.current.find(i => i.id === id)
if (marker && item) {
marker.setIcon(entryIcon(item, true, plannedRef.current.has(item.id)))
marker.setZIndexOffset(1000)
}
}
const paint = (target: string, highlighted: boolean) => paintEntryMarker(
markersRef.current.get(target), itemsRef.current.find(i => i.id === target), highlighted, plannedRef.current,
)
if (prev && prev !== id) paint(prev, false)
if (id) paint(id, true)
}, [])
/**
@@ -611,13 +602,10 @@ function JourneyMap(
return () => clearTimeout(timer)
}, [activeMarkerId])
const zoomIn = () => {
const zoom = (closer: boolean) => {
readerMovedRef.current = true
mapRef.current?.zoomIn()
}
const zoomOut = () => {
readerMovedRef.current = true
mapRef.current?.zoomOut()
if (closer) mapRef.current?.zoomIn()
else mapRef.current?.zoomOut()
}
return (
@@ -627,8 +615,8 @@ function JourneyMap(
style={{ width: '100%', height: '100%' }}
/>
<div style={{ position: 'absolute', bottom: 12, right: 12, zIndex: 400, display: 'flex', flexDirection: 'column', gap: 4 }}>
<button type="button" onClick={zoomIn} style={zoomButtonStyle(dark)}>+</button>
<button type="button" onClick={zoomOut} style={zoomButtonStyle(dark)}>−</button>
<button type="button" onClick={() => zoom(true)} style={zoomButtonStyle(dark)}>+</button>
<button type="button" onClick={() => zoom(false)} style={zoomButtonStyle(dark)}>−</button>
</div>
</div>
)
@@ -154,7 +154,7 @@ function markBounds(gl: Props['gl'], marks: JourneyMapMark[]) {
return bounds
}
function fitOptions(paddingBottom: number | undefined, tilted: boolean) {
function fitOptions(paddingBottom: number | undefined, tilted: boolean | undefined) {
return {
padding: { top: 50, bottom: paddingBottom || 50, left: 50, right: 50 },
maxZoom: 16,
@@ -200,7 +200,6 @@ function JourneyMapGL(
const markMarkersRef = useRef<{ remove: () => void }[]>([])
const onMarksPickRef = useRef(onMarksPick)
const marksRef = useRef(marks)
marksRef.current = marks
// As on the Leaflet map: nothing located of its own, so the plan or the
// stays get the first view once they arrive, unless the reader moved it.
const awaitingMarksRef = useRef(false)
@@ -212,6 +211,7 @@ function JourneyMapGL(
// Before the map effects below, so a rebuild draws with what the reader shows now.
useEffect(() => {
onMarksPickRef.current = onMarksPick
marksRef.current = marks
visibilityRef.current = layerVisibility
plannedRef.current = plannedEntryIds
})
@@ -417,7 +417,7 @@ function JourneyMapGL(
}
}
// Tracks — one source for all of them, coloured per feature so a journey
// Tracks, one source for all of them, coloured per feature so a journey
// with several routes keeps them apart. Casing underneath, same as the
// planner map, so a track stays readable on satellite tiles. A trip's GPX
// track is the plan and goes on a dashed layer, what was recorded on a solid
@@ -7,7 +7,9 @@ import ConfirmDialog from '../../../components/shared/ConfirmDialog'
import { useTranslation } from '../../../i18n'
import type { JourneyDetail, JourneyTripAccess } from '../../../store/journeyStore'
import { useJourneySettings, useJourneyTripLinking } from '../../../components/Journey/useJourneySettings'
import { SHARE_MAP_EXTRAS, useJourneyShareLink } from '../../../components/Journey/useJourneyShareLink'
import {
SHARE_MAP_EXTRAS, useJourneyShareLink, type JourneyShareLink, type JourneyShareMapExtra,
} from '../../../components/Journey/useJourneyShareLink'
import type { JourneyRecordingPrepState } from '../../../components/Journey/useJourneyRecordingPrep'
import { pickGradient } from '../../../pages/journeyDetail/JourneyDetailPage.helpers'
import { journeyCoverSrc } from './mobileJourneyMeta'
@@ -118,41 +120,7 @@ export default function MJourneySettingsSheet({
ariaLabel={t('journey.settings.showTripTracks')}
/>
</div>
{recordingPrep && (
<div className="mt-[6px] rounded-[14px] bg-[color:var(--m-ic)] px-3 py-[10px]">
<div className="flex items-center gap-[11px]">
<ListChecks size={16} strokeWidth={2} className="flex-none text-m-muted" />
<div className="min-w-0 flex-1">
<div className="text-body font-bold">{t('journey.settings.autoPrepare')}</div>
<div className="font-geist text-caption text-m-muted">{t('journey.settings.autoPrepareHint')}</div>
</div>
<MToggle
checked={!!journey.auto_prepare_recordings}
onChange={next => { void recordingPrep.setEnabled(next) }}
disabled={recordingPrep.saving}
ariaLabel={t('journey.settings.autoPrepare')}
/>
</div>
{recordingPrep.statusLine && (
<div className="mt-2 flex items-center gap-2 border-t border-[color:var(--m-rowbr)] pt-2">
<div className={`min-w-0 flex-1 font-geist text-caption leading-[1.45] ${recordingPrep.statusLine.tone === 'warning' ? 'text-warning' : 'text-m-muted'}`}>
{recordingPrep.statusLine.text}
</div>
{recordingPrep.canFetch && (
<button
type="button"
onClick={() => { void recordingPrep.fetchNow() }}
disabled={recordingPrep.fetching}
aria-label={t('journey.prep.fetchNow')}
className="grid h-8 w-8 flex-none place-items-center rounded-full bg-m-card text-m-muted disabled:opacity-50"
>
<RefreshCw size={14} strokeWidth={2.2} className={recordingPrep.fetching ? 'animate-spin' : undefined} />
</button>
)}
</div>
)}
</div>
)}
{recordingPrep && <MRecordingPrepRow prep={recordingPrep} enabled={!!journey.auto_prepare_recordings} />}
{/* The three fields a journey may put away (discussion #2299) */}
<div className={`${eyebrow} mb-[6px] mt-[14px]`}>{t('journey.settings.entryFields')}</div>
@@ -305,23 +273,7 @@ export default function MJourneySettingsSheet({
<MToggle checked={shareLink[key]} onChange={() => toggleSharePerm(key)} ariaLabel={label} />
</div>
))}
{/* What the shared map shows besides the entries (JRN-04), only while the map is shared. */}
{SHARE_MAP_EXTRAS.map(({ key, labelKey, hintKey }) => (
<div key={key} className={`flex items-center gap-[11px] py-[8px] ps-[29px] pe-[2px] ${shareLink.share_map ? '' : 'opacity-50'}`}>
<span className="flex min-w-0 flex-1 flex-col">
<span className="text-body font-bold">{t(labelKey)}</span>
<span className="font-geist text-caption text-m-muted">
{shareLink.share_map ? t(hintKey) : t('journey.share.needsMap')}
</span>
</span>
<MToggle
checked={!!shareLink.share_map && !!shareLink[key]}
onChange={() => { void toggleSharePerm(key) }}
ariaLabel={t(labelKey)}
disabled={!shareLink.share_map}
/>
</div>
))}
<MShareMapExtras link={shareLink} onToggle={toggleSharePerm} />
<button
type="button"
onClick={deleteShareLink}
@@ -411,3 +363,68 @@ function MTripAccessList({ access, eyebrow }: { access: JourneyTripAccess[] | un
</>
)
}
/** Preparing the recorded days (JRN-03): the owner's switch, the caller's own status and a fetch by hand. */
function MRecordingPrepRow({ prep, enabled }: { prep: JourneyRecordingPrepState; enabled: boolean }) {
const { t } = useTranslation()
return (
<div className="mt-[6px] rounded-[14px] bg-[color:var(--m-ic)] px-3 py-[10px]">
<div className="flex items-center gap-[11px]">
<ListChecks size={16} strokeWidth={2} className="flex-none text-m-muted" />
<div className="min-w-0 flex-1">
<div className="text-body font-bold">{t('journey.settings.autoPrepare')}</div>
<div className="font-geist text-caption text-m-muted">{t('journey.settings.autoPrepareHint')}</div>
</div>
<MToggle
checked={enabled}
onChange={next => { void prep.setEnabled(next) }}
disabled={prep.saving}
ariaLabel={t('journey.settings.autoPrepare')}
/>
</div>
{prep.statusLine && (
<div className="mt-2 flex items-center gap-2 border-t border-[color:var(--m-rowbr)] pt-2">
<div className={`min-w-0 flex-1 font-geist text-caption leading-[1.45] ${prep.statusLine.tone === 'warning' ? 'text-warning' : 'text-m-muted'}`}>
{prep.statusLine.text}
</div>
{prep.canFetch && (
<button
type="button"
onClick={() => { void prep.fetchNow() }}
disabled={prep.fetching}
aria-label={t('journey.prep.fetchNow')}
className="grid h-8 w-8 flex-none place-items-center rounded-full bg-m-card text-m-muted disabled:opacity-50"
>
<RefreshCw size={14} strokeWidth={2.2} className={prep.fetching ? 'animate-spin' : undefined} />
</button>
)}
</div>
)}
</div>
)
}
/** What the shared map shows besides the entries (JRN-04), only while the map is shared. */
function MShareMapExtras({ link, onToggle }: { link: JourneyShareLink; onToggle: (key: JourneyShareMapExtra) => unknown }) {
const { t } = useTranslation()
return (
<>
{SHARE_MAP_EXTRAS.map(({ key, labelKey, hintKey }) => (
<div key={key} className={`flex items-center gap-[11px] py-[8px] ps-[29px] pe-[2px] ${link.share_map ? '' : 'opacity-50'}`}>
<span className="flex min-w-0 flex-1 flex-col">
<span className="text-body font-bold">{t(labelKey)}</span>
<span className="font-geist text-caption text-m-muted">
{link.share_map ? t(hintKey) : t('journey.share.needsMap')}
</span>
</span>
<MToggle
checked={!!link.share_map && !!link[key]}
onChange={() => { void onToggle(key) }}
ariaLabel={t(labelKey)}
disabled={!link.share_map}
/>
</div>
))}
</>
)
}
@@ -4,7 +4,6 @@ import { useJourneyStore } from '../../store/journeyStore'
import { useTranslation } from '../../i18n'
import { addListener, removeListener } from '../../api/websocket'
import { journeyApi } from '../../api/client'
import type { JourneyTrack } from '@trek/shared'
import { DAY_COLORS } from '../../components/Journey/dayColors'
import type { JourneyMapAutoHandle as JourneyMapHandle } from '../../components/Journey/JourneyMapAuto'
import { useToast } from '../../components/shared/Toast'
@@ -13,19 +12,13 @@ import { lockBodyScroll } from '../../utils/bodyScrollLock'
import type { JourneyEntry } from '../../store/journeyStore'
import { createDraftJourneyEntry, photoUrl } from './JourneyDetailPage.helpers'
import { useDawarichSuggestions } from '../../hooks/useDawarichSuggestions'
import { openStayDatesWithin, openStaysByDate } from '../../components/Dawarich/dawarichSuggestionModel'
import { openStaysByDate } from '../../components/Dawarich/dawarichSuggestionModel'
import type { DawarichSuggestion, DawarichSuggestionTarget } from '@trek/shared'
import { useDawarichJournalTrail } from '../../hooks/useDawarichJournalTrail'
import { useJourneyRecordingPrep } from '../../components/Journey/useJourneyRecordingPrep'
import { useAddonStore } from '../../store/addonStore'
import { useJourneyDetailDayImport } from './useJourneyDetailDayImport'
import { useJourneyDetailRecordings } from './useJourneyDetailRecordings'
import { useJourneyMapLayers } from '../../components/Journey/useJourneyMapLayers'
import { useJourneyDetailLayers } from './useJourneyDetailLayers'
import { useProviderPhotoAdds } from './useProviderPhotoAdds'
/** Stable identity for "this journey draws no trip tracks" (#2194). */
const NO_TRACKS: JourneyTrack[] = []
/**
* Journey detail page logic — owns the journey load + WebSocket live sync, the
@@ -513,85 +506,14 @@ export function useJourneyDetail({ journeyId, embedded = false }: JourneyDetailO
// asked for should not reach across the network for it.
const dawarichTrail = useDawarichJournalTrail(tripDates, showTripTracks)
// The recorded days of the linked trips prepared in the background (JRN-03): the editor's
// own status, the owner's switch, and where each day of the trips stands.
const isAddonEnabled = useAddonStore(s => s.isEnabled)
const reloadJourney = useCallback(() => { if (current) void loadJourney(current.id) }, [current, loadJourney])
const recordingPrep = useJourneyRecordingPrep({
journeyId: journeyLoaded && current ? current.id : null,
enabled: !!current?.auto_prepare_recordings,
active: canEditEntries && isAddonEnabled('dawarich'),
periodDates: tripDates,
onSwitched: reloadJourney,
onFetched: dawarich.reload,
const {
recordingPrep, recordings, canTakeOverRecording, recordingNeedsConnection, mapTracks, mapLayers, entryTitleOf,
dayImport, dayImportDates,
} = useJourneyDetailLayers({
journey: current, loaded: journeyLoaded, canEditEntries, loadJourney, dawarich, dawarichByDate, dawarichTrail,
tripDates, sidebarMapItems, photoCount: mapPhotos.length, showTripTracks,
})
const { recordings, colorOfDay, canTakeOverRecording, recordingNeedsConnection, mapTracks } = useJourneyDetailRecordings({
loaded: journeyLoaded,
journey: current,
canEdit: canEditEntries,
dawarichStatus: dawarich.status,
sidebarMapItems,
tripTracks: NO_TRACKS,
liveTracks: dawarichTrail.tracks,
})
// The map's layers (JRN-04): the plan of the linked trips, what was recorded,
// the entries with the stays of their day reports, the photos. Read again
// when an entry comes, goes or changes the place it came from, and when a
// trip is linked or the track switch flips.
const entryIdsOnMap = useMemo(() => new Set(sidebarMapItems.map(m => m.id)), [sidebarMapItems])
const entryById = useMemo(() => new Map((current?.entries ?? []).map(e => [e.id, e])), [current?.entries])
const dateOfEntry = useCallback((entryId: number) => entryById.get(entryId)?.entry_date ?? null, [entryById])
const entryTitleOf = useCallback((entryId: number) => {
const entry = entryById.get(entryId)
return entry ? entry.title || entry.location_name || null : null
}, [entryById])
const mapRefreshKey = useMemo(() => [
(current?.entries ?? []).filter(e => e.type !== 'skeleton').map(e => `${e.id}:${e.source_place_id ?? ''}`).join(','),
(current?.trips ?? []).map(trip => trip.trip_id).join(','),
showTripTracks ? 'tracks' : '',
].join('|'), [current?.entries, current?.trips, showTripTracks])
// The kept days and the live trail are read by this screen, not by the layers' read.
const recordedRead = recordings.status === 'failed' || dawarichTrail.status === 'unavailable'
? 'unavailable'
: recordings.status === 'loading' || dawarichTrail.status === 'loading' ? 'loading' : 'ready'
const mapLayers = useJourneyMapLayers({
source: journeyLoaded && current ? { journeyId: current.id } : null,
refreshKey: mapRefreshKey,
entryIdsOnMap,
photoCount: mapPhotos.length,
recordedTracks: mapTracks,
recordedRead,
colorOfDay,
dateOfEntry,
})
// The drafts a day's take-over wrote reach the timeline, and its stays leave the pending list.
const afterDayTakeOver = useCallback(() => {
if (current) void loadJourney(current.id)
dawarich.reload()
}, [current, loadJourney, dawarich])
const recordedDayOf = useCallback((date: string) => recordings.byDate.get(date), [recordings.byDate])
const dayImport = useJourneyDetailDayImport({
loaded: journeyLoaded,
journey: current,
colorOfDay,
recordedDayOf,
onKept: recordings.kept,
onTakenOver: afterDayTakeOver,
})
// The days a phone can take over from the stay sheet, a day with no entry or card on it included.
const dayImportDates = useMemo(
() => current && canEditEntries && canTakeOverRecording
? openStayDatesWithin(dawarichByDate, [
...current.entries.map(e => e.entry_date),
...current.trips.flatMap(trip => [trip.start_date, trip.end_date]),
])
: [],
[current, canEditEntries, canTakeOverRecording, dawarichByDate],
)
/** Studio's margin to the window on all four sides — see `.st-root` in studio.css. */
const STUDIO_INSET = 16
@@ -0,0 +1,153 @@
import type { JourneyTrack } from '@trek/shared';
import { useCallback, useMemo } from 'react';
import { openStayDatesWithin, type openStaysByDate } from '../../components/Dawarich/dawarichSuggestionModel';
import { useJourneyMapLayers } from '../../components/Journey/useJourneyMapLayers';
import { useJourneyRecordingPrep } from '../../components/Journey/useJourneyRecordingPrep';
import type { useDawarichJournalTrail } from '../../hooks/useDawarichJournalTrail';
import type { useDawarichSuggestions } from '../../hooks/useDawarichSuggestions';
import { useAddonStore } from '../../store/addonStore';
import type { JourneyDetail } from '../../store/journeyStore';
import { useJourneyDetailDayImport } from './useJourneyDetailDayImport';
import { useJourneyDetailRecordings } from './useJourneyDetailRecordings';
/** The trips' GPX tracks reach the map with its plan layer, not as recorded lines. */
const NO_TRIP_TRACKS: JourneyTrack[] = [];
/**
* What the journey page draws and offers beyond its entries: the recorded days
* prepared in the background (JRN-03), the days the journey keeps (JRN-01),
* the map's layers (JRN-04) and the take-over of a day with its stays (JRN-02).
*/
export function useJourneyDetailLayers({
journey: current,
loaded: journeyLoaded,
canEditEntries,
loadJourney,
dawarich,
dawarichByDate,
dawarichTrail,
tripDates,
sidebarMapItems,
photoCount,
showTripTracks,
}: {
journey: JourneyDetail | null;
/** Whether `journey` is the one the route names yet: the store keeps the last one while the next loads. */
loaded: boolean;
canEditEntries: boolean;
loadJourney: (id: number) => Promise<unknown>;
dawarich: ReturnType<typeof useDawarichSuggestions>;
dawarichByDate: ReturnType<typeof openStaysByDate>;
dawarichTrail: ReturnType<typeof useDawarichJournalTrail>;
tripDates: ReadonlySet<string>;
sidebarMapItems: ReadonlyArray<{ id: string; entry_date: string; dayColor: string }>;
photoCount: number;
showTripTracks: boolean;
}) {
// The editor's own status, the owner's switch, and where each day of the trips stands.
const isAddonEnabled = useAddonStore((s) => s.isEnabled);
const reloadJourney = useCallback(() => {
if (current) void loadJourney(current.id);
}, [current, loadJourney]);
const recordingPrep = useJourneyRecordingPrep({
journeyId: journeyLoaded && current ? current.id : null,
enabled: !!current?.auto_prepare_recordings,
active: canEditEntries && isAddonEnabled('dawarich'),
periodDates: tripDates,
onSwitched: reloadJourney,
onFetched: dawarich.reload,
});
const { recordings, colorOfDay, canTakeOverRecording, recordingNeedsConnection, mapTracks } =
useJourneyDetailRecordings({
loaded: journeyLoaded,
journey: current,
canEdit: canEditEntries,
dawarichStatus: dawarich.status,
sidebarMapItems,
tripTracks: NO_TRIP_TRACKS,
liveTracks: dawarichTrail.tracks,
});
// The plan of the linked trips, what was recorded, the entries with the stays
// of their day reports, the photos. Read again when an entry comes, goes or
// changes the place it came from, and when a trip is linked or the track
// switch flips.
const entryIdsOnMap = useMemo(() => new Set(sidebarMapItems.map((m) => m.id)), [sidebarMapItems]);
const entryById = useMemo(() => new Map((current?.entries ?? []).map((e) => [e.id, e])), [current?.entries]);
const dateOfEntry = useCallback((entryId: number) => entryById.get(entryId)?.entry_date ?? null, [entryById]);
const entryTitleOf = useCallback(
(entryId: number) => {
const entry = entryById.get(entryId);
return entry ? entry.title || entry.location_name || null : null;
},
[entryById]
);
const mapRefreshKey = useMemo(
() =>
[
(current?.entries ?? [])
.filter((e) => e.type !== 'skeleton')
.map((e) => `${e.id}:${e.source_place_id ?? ''}`)
.join(','),
(current?.trips ?? []).map((trip) => trip.trip_id).join(','),
showTripTracks ? 'tracks' : '',
].join('|'),
[current?.entries, current?.trips, showTripTracks]
);
// The kept days and the live trail are read by this screen, not by the layers' read.
const recordedRead =
recordings.status === 'failed' || dawarichTrail.status === 'unavailable'
? 'unavailable'
: recordings.status === 'loading' || dawarichTrail.status === 'loading'
? 'loading'
: 'ready';
const mapLayers = useJourneyMapLayers({
source: journeyLoaded && current ? { journeyId: current.id } : null,
refreshKey: mapRefreshKey,
entryIdsOnMap,
photoCount,
recordedTracks: mapTracks,
recordedRead,
colorOfDay,
dateOfEntry,
});
// The drafts a day's take-over wrote reach the timeline, and its stays leave the pending list.
const afterDayTakeOver = useCallback(() => {
if (current) void loadJourney(current.id);
dawarich.reload();
}, [current, loadJourney, dawarich]);
const recordedDayOf = useCallback((date: string) => recordings.byDate.get(date), [recordings.byDate]);
const dayImport = useJourneyDetailDayImport({
loaded: journeyLoaded,
journey: current,
colorOfDay,
recordedDayOf,
onKept: recordings.kept,
onTakenOver: afterDayTakeOver,
});
// The days a phone can take over from the stay sheet, a day with no entry or card on it included.
const dayImportDates = useMemo(
() =>
current && canEditEntries && canTakeOverRecording
? openStayDatesWithin(dawarichByDate, [
...current.entries.map((e) => e.entry_date),
...current.trips.flatMap((trip) => [trip.start_date, trip.end_date]),
])
: [],
[current, canEditEntries, canTakeOverRecording, dawarichByDate]
);
return {
recordingPrep,
recordings,
canTakeOverRecording,
recordingNeedsConnection,
mapTracks,
mapLayers,
entryTitleOf,
dayImport,
dayImportDates,
};
}
+1 -1
View File
@@ -16,7 +16,7 @@
"no-misleading-character-class": 1
},
"tests": {
"@typescript-eslint/no-explicit-any": 1565,
"@typescript-eslint/no-explicit-any": 1564,
"@typescript-eslint/no-non-null-assertion": 1757,
"@typescript-eslint/no-require-imports": 25,
"@typescript-eslint/no-unsafe-function-type": 7,
@@ -112,7 +112,7 @@ export class JourneyShareTokensRepository extends TrekRepository<JourneyShareTok
/**
* JS2 — the update branch: `UPDATE journey_share_tokens SET
* share_timeline=?, share_gallery=?, share_map=?, newest_first=? WHERE
* journey_id=?` (and the two map flags of JRN-04). A plain write, NOT a `presenceSet` call — the
* journey_id=?` (and the two map flags of JRN-04). A plain write, NOT a `presenceSet` call: the
* service resolves every flag's final value (the `permissions.X ?? !!
* existing.X` fallback merge) before calling this, so every call writes
* every column, present or not.
@@ -41,7 +41,7 @@ export function offsetMinutesOf(iso: string): number {
return sign * (Number(match[2]) * 60 + Number(match[3]));
}
/** Local wall-clock milliseconds — the instant shifted into the string's own offset, or into `offset` when given. */
/** Local wall-clock milliseconds: the instant shifted into the string's own offset, or into `offset` when given. */
function localMs(iso: string, offset?: number): number {
return Date.parse(iso) + (offset ?? offsetMinutesOf(iso)) * 60_000;
}
@@ -1212,7 +1212,7 @@ describe('DawarichSyncService — runSync', () => {
// ── One day read again (JRN-02) ──────────────────────────────────────────────
describe('DawarichSyncService — refreshing one day', () => {
describe('DawarichSyncService, refreshing one day', () => {
const CREDS: DawarichCreds = { baseUrl: 'https://dawarich.test', apiKey: 'secret-key', allowInsecureTls: false };
it('DAWARICH-SYNC-080: asks a window a day past both sides and files a new stay under the trip that holds it', async () => {
@@ -297,20 +297,14 @@ describe('createOrUpdateJourneyShareLink', () => {
const journey = createJourney(testDb, user.id);
await svc.createOrUpdateJourneyShareLink(journey.id, user.id, {});
let link = await svc.getJourneyShareLink(journey.id);
expect(link!.share_plan).toBe(false);
expect(link!.share_recordings).toBe(false);
expect(await svc.getJourneyShareLink(journey.id)).toMatchObject({ share_plan: false, share_recordings: false });
await svc.createOrUpdateJourneyShareLink(journey.id, user.id, { share_plan: true });
link = await svc.getJourneyShareLink(journey.id);
expect(link!.share_plan).toBe(true);
expect(link!.share_recordings).toBe(false);
expect(await svc.getJourneyShareLink(journey.id)).toMatchObject({ share_plan: true, share_recordings: false });
await svc.createOrUpdateJourneyShareLink(journey.id, user.id, { share_recordings: true, share_gallery: false });
await svc.createOrUpdateJourneyShareLink(journey.id, user.id, { share_timeline: false });
link = await svc.getJourneyShareLink(journey.id);
expect(link!.share_plan).toBe(true);
expect(link!.share_recordings).toBe(true);
expect(await svc.getJourneyShareLink(journey.id)).toMatchObject({ share_plan: true, share_recordings: true });
});
it('JOURNEY-SHARE-004: different journeys get different tokens', async () => {
+4 -2
View File
@@ -954,7 +954,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'المسارات',
'journey.map.legend.plannedRoute': 'مسار مخطَّط (GPX لرحلة)',
'journey.map.legend.recordedRoute': 'مسار مسجَّل',
'journey.map.legend.planIsNoVisit': 'المكان المخطَّط ليس دليلًا على الزيارة. وحدها التدوينات والصور والتسجيلات تُظهر أين كنت.',
'journey.map.legend.planIsNoVisit':
'المكان المخطَّط ليس دليلًا على الزيارة. وحدها التدوينات والصور والتسجيلات تُظهر أين كنت.',
'journey.map.pick.openEntry': 'فتح التدوينة',
'journey.map.pick.planned': 'مخطَّط',
'journey.map.pick.notWritten': 'لم يُكتب عنه شيء بعد.',
@@ -966,7 +967,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'خطة الرحلة',
'journey.share.planHint': 'الأماكن المخطَّطة ومسارات GPX للرحلات المرتبطة على الخريطة',
'journey.share.recordings': 'المسارات المسجَّلة',
'journey.share.recordingsHint': 'الأيام المسجَّلة ومحطات التوقف المأخوذة منها، للأيام التي لها تدوينة منشورة. تُظهر أين كنت ومتى، بما في ذلك مكان إقامتك.',
'journey.share.recordingsHint':
'الأيام المسجَّلة ومحطات التوقف المأخوذة منها، للأيام التي لها تدوينة منشورة. تُظهر أين كنت ومتى، بما في ذلك مكان إقامتك.',
'journey.share.needsMap': 'شارك الخريطة لتفعيل هذا',
};
export default journey;
+4 -2
View File
@@ -955,7 +955,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Marşrutlar',
'journey.map.legend.plannedRoute': 'Planlaşdırılmış marşrut (səyahətin GPX-i)',
'journey.map.legend.recordedRoute': 'Qeydə alınmış marşrut',
'journey.map.legend.planIsNoVisit': 'Planlaşdırılmış yer səfərin sübutu deyil. Harada olduğunu yalnız qeydlər, fotolar və yazılar göstərir.',
'journey.map.legend.planIsNoVisit':
'Planlaşdırılmış yer səfərin sübutu deyil. Harada olduğunu yalnız qeydlər, fotolar və yazılar göstərir.',
'journey.map.pick.openEntry': 'Qeydi aç',
'journey.map.pick.planned': 'Planlaşdırılıb',
'journey.map.pick.notWritten': 'Bu barədə hələ heç nə yazılmayıb.',
@@ -967,7 +968,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Səyahət planı',
'journey.share.planHint': 'Bağlı səyahətlərin planlaşdırılmış yerləri və GPX marşrutları xəritədə',
'journey.share.recordings': 'Qeydə alınmış marşrutlar',
'journey.share.recordingsHint': 'Dərc olunmuş qeydi olan qeydə alınmış günlər və onlardan götürülmüş dayanacaqlar. Harada və nə vaxt olduğunu, qaldığın yeri də göstərir.',
'journey.share.recordingsHint':
'Dərc olunmuş qeydi olan qeydə alınmış günlər və onlardan götürülmüş dayanacaqlar. Harada və nə vaxt olduğunu, qaldığın yeri də göstərir.',
'journey.share.needsMap': 'Bunu açmaq üçün xəritəni paylaş',
};
export default journey;
+6 -3
View File
@@ -873,7 +873,8 @@ const journey: TranslationStrings = {
'journey.map.layer.recordedEmpty': 'ainda não há rota gravada',
'journey.map.layer.recordedUnavailable': 'não foi possível carregar os dias gravados',
'journey.map.layer.entriesEmpty': 'nenhum registro tem lugar ainda',
'journey.map.layer.entriesUnavailable': 'não foi possível carregar as paradas dos relatos do dia, os registros continuam visíveis',
'journey.map.layer.entriesUnavailable':
'não foi possível carregar as paradas dos relatos do dia, os registros continuam visíveis',
'journey.map.layer.photosEmpty': 'ainda não há foto com localização',
'journey.map.legend': 'Legenda',
'journey.map.legend.planned': 'Lugar planejado',
@@ -884,7 +885,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Rotas',
'journey.map.legend.plannedRoute': 'Rota planejada (GPX de uma viagem)',
'journey.map.legend.recordedRoute': 'Rota gravada',
'journey.map.legend.planIsNoVisit': 'Um lugar planejado não comprova uma visita. Só registros, fotos e gravações mostram onde você esteve.',
'journey.map.legend.planIsNoVisit':
'Um lugar planejado não comprova uma visita. Só registros, fotos e gravações mostram onde você esteve.',
'journey.map.pick.openEntry': 'Abrir registro',
'journey.map.pick.planned': 'Planejado',
'journey.map.pick.notWritten': 'Nada escrito sobre ele ainda.',
@@ -896,7 +898,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Plano da viagem',
'journey.share.planHint': 'Lugares planejados e rotas GPX das viagens vinculadas no mapa',
'journey.share.recordings': 'Rotas gravadas',
'journey.share.recordingsHint': 'Dias gravados e as paradas tiradas deles, nos dias com um registro publicado. Mostram onde e quando você esteve, inclusive sua hospedagem.',
'journey.share.recordingsHint':
'Dias gravados e as paradas tiradas deles, nos dias com um registro publicado. Mostram onde e quando você esteve, inclusive sua hospedagem.',
'journey.share.needsMap': 'Compartilhe o mapa para ativar isto',
};
export default journey;
+6 -3
View File
@@ -876,7 +876,8 @@ const journey: TranslationStrings = {
'journey.map.layer.recordedEmpty': 'encara no hi ha cap ruta enregistrada',
'journey.map.layer.recordedUnavailable': 'no s’han pogut carregar els dies enregistrats',
'journey.map.layer.entriesEmpty': 'cap entrada no té lloc encara',
'journey.map.layer.entriesUnavailable': 'no s’han pogut carregar les parades dels resums del dia, les entrades continuen visibles',
'journey.map.layer.entriesUnavailable':
'no s’han pogut carregar les parades dels resums del dia, les entrades continuen visibles',
'journey.map.layer.photosEmpty': 'encara no hi ha cap foto amb ubicació',
'journey.map.legend': 'Llegenda',
'journey.map.legend.planned': 'Lloc planificat',
@@ -887,7 +888,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Rutes',
'journey.map.legend.plannedRoute': 'Ruta planificada (GPX d’un viatge)',
'journey.map.legend.recordedRoute': 'Ruta enregistrada',
'journey.map.legend.planIsNoVisit': 'Un lloc planificat no demostra una visita. Només les entrades, les fotos i els enregistraments mostren on eres.',
'journey.map.legend.planIsNoVisit':
'Un lloc planificat no demostra una visita. Només les entrades, les fotos i els enregistraments mostren on eres.',
'journey.map.pick.openEntry': 'Obre l’entrada',
'journey.map.pick.planned': 'Planificat',
'journey.map.pick.notWritten': 'Encara no hi ha res escrit sobre aquest lloc.',
@@ -899,7 +901,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Pla del viatge',
'journey.share.planHint': 'Llocs planificats i rutes GPX dels viatges vinculats al mapa',
'journey.share.recordings': 'Rutes enregistrades',
'journey.share.recordingsHint': 'Dies enregistrats i les parades que se\'n treuen, en els dies amb una entrada publicada. Mostren on i quan eres, també el teu allotjament.',
'journey.share.recordingsHint':
"Dies enregistrats i les parades que se'n treuen, en els dies amb una entrada publicada. Mostren on i quan eres, també el teu allotjament.",
'journey.share.needsMap': 'Comparteix el mapa per activar-ho',
};
export default journey;
+4 -2
View File
@@ -898,7 +898,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Trasy',
'journey.map.legend.plannedRoute': 'Plánovaná trasa (GPX cesty)',
'journey.map.legend.recordedRoute': 'Zaznamenaná trasa',
'journey.map.legend.planIsNoVisit': 'Plánované místo není důkazem návštěvy. Kde jste byli, ukazují jen záznamy, fotky a nahrávky.',
'journey.map.legend.planIsNoVisit':
'Plánované místo není důkazem návštěvy. Kde jste byli, ukazují jen záznamy, fotky a nahrávky.',
'journey.map.pick.openEntry': 'Otevřít záznam',
'journey.map.pick.planned': 'Plánováno',
'journey.map.pick.notWritten': 'Zatím o něm nic nenapsáno.',
@@ -910,7 +911,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Plán cesty',
'journey.share.planHint': 'Plánovaná místa a trasy GPX propojených cest na mapě',
'journey.share.recordings': 'Zaznamenané trasy',
'journey.share.recordingsHint': 'Zaznamenané dny a zastávky z nich převzaté, u dnů se zveřejněným záznamem. Ukazují, kde a kdy jste byli, i vaše ubytování.',
'journey.share.recordingsHint':
'Zaznamenané dny a zastávky z nich převzaté, u dnů se zveřejněným záznamem. Ukazují, kde a kdy jste byli, i vaše ubytování.',
'journey.share.needsMap': 'Pro zapnutí sdílejte mapu',
};
export default journey;
+6 -3
View File
@@ -881,7 +881,8 @@ const journey: TranslationStrings = {
'journey.map.layer.recordedEmpty': 'noch keine aufgezeichnete Strecke',
'journey.map.layer.recordedUnavailable': 'die aufgezeichneten Tage konnten nicht geladen werden',
'journey.map.layer.entriesEmpty': 'noch kein Eintrag hat einen Ort',
'journey.map.layer.entriesUnavailable': 'die Aufenthalte der Tagesberichte konnten nicht geladen werden, die Einträge bleiben sichtbar',
'journey.map.layer.entriesUnavailable':
'die Aufenthalte der Tagesberichte konnten nicht geladen werden, die Einträge bleiben sichtbar',
'journey.map.layer.photosEmpty': 'noch kein Foto mit Standort',
'journey.map.legend': 'Legende',
'journey.map.legend.planned': 'Geplanter Ort',
@@ -892,7 +893,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Strecken',
'journey.map.legend.plannedRoute': 'Geplante Strecke (GPX einer Reise)',
'journey.map.legend.recordedRoute': 'Aufgezeichnete Strecke',
'journey.map.legend.planIsNoVisit': 'Ein geplanter Ort ist kein Besuchsnachweis. Nur Einträge, Fotos und Aufzeichnungen zeigen, wo du warst.',
'journey.map.legend.planIsNoVisit':
'Ein geplanter Ort ist kein Besuchsnachweis. Nur Einträge, Fotos und Aufzeichnungen zeigen, wo du warst.',
'journey.map.pick.openEntry': 'Eintrag öffnen',
'journey.map.pick.planned': 'Geplant',
'journey.map.pick.notWritten': 'Noch nichts darüber geschrieben.',
@@ -904,7 +906,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Reiseplanung',
'journey.share.planHint': 'Geplante Orte und GPX-Strecken der verknüpften Reisen auf der Karte',
'journey.share.recordings': 'Aufgezeichnete Strecken',
'journey.share.recordingsHint': 'Aufgezeichnete Tage und die daraus übernommenen Aufenthalte, an Tagen mit veröffentlichtem Eintrag. Sie zeigen, wo und wann du warst, auch deine Unterkunft.',
'journey.share.recordingsHint':
'Aufgezeichnete Tage und die daraus übernommenen Aufenthalte, an Tagen mit veröffentlichtem Eintrag. Sie zeigen, wo und wann du warst, auch deine Unterkunft.',
'journey.share.needsMap': 'Teile die Karte, um das einzuschalten',
};
export default journey;
+4 -2
View File
@@ -874,7 +874,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Routes',
'journey.map.legend.plannedRoute': 'Planned route (GPX of a trip)',
'journey.map.legend.recordedRoute': 'Recorded route',
'journey.map.legend.planIsNoVisit': 'A planned place is no proof of a visit. Only entries, photos and recordings show where you were.',
'journey.map.legend.planIsNoVisit':
'A planned place is no proof of a visit. Only entries, photos and recordings show where you were.',
'journey.map.pick.openEntry': 'Open entry',
'journey.map.pick.planned': 'Planned',
'journey.map.pick.notWritten': 'Nothing written about it yet.',
@@ -886,7 +887,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Trip plan',
'journey.share.planHint': 'Planned places and GPX routes of the linked trips on the map',
'journey.share.recordings': 'Recorded routes',
'journey.share.recordingsHint': 'Recorded days and the stays taken from them, on days with a published entry. They show where and when you were, your accommodation too.',
'journey.share.recordingsHint':
'Recorded days and the stays taken from them, on days with a published entry. They show where and when you were, your accommodation too.',
'journey.share.needsMap': 'Share the map to switch this on',
};
export default journey;
+6 -3
View File
@@ -875,7 +875,8 @@ const journey: TranslationStrings = {
'journey.map.layer.recordedEmpty': 'aún no hay ninguna ruta grabada',
'journey.map.layer.recordedUnavailable': 'no se pudieron cargar los días grabados',
'journey.map.layer.entriesEmpty': 'ninguna entrada tiene lugar todavía',
'journey.map.layer.entriesUnavailable': 'no se pudieron cargar las paradas de los resúmenes del día, las entradas siguen visibles',
'journey.map.layer.entriesUnavailable':
'no se pudieron cargar las paradas de los resúmenes del día, las entradas siguen visibles',
'journey.map.layer.photosEmpty': 'aún no hay fotos con ubicación',
'journey.map.legend': 'Leyenda',
'journey.map.legend.planned': 'Lugar planificado',
@@ -886,7 +887,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Rutas',
'journey.map.legend.plannedRoute': 'Ruta planificada (GPX de un viaje)',
'journey.map.legend.recordedRoute': 'Ruta grabada',
'journey.map.legend.planIsNoVisit': 'Un lugar planificado no demuestra una visita. Solo las entradas, las fotos y las grabaciones muestran dónde estuviste.',
'journey.map.legend.planIsNoVisit':
'Un lugar planificado no demuestra una visita. Solo las entradas, las fotos y las grabaciones muestran dónde estuviste.',
'journey.map.pick.openEntry': 'Abrir entrada',
'journey.map.pick.planned': 'Planificado',
'journey.map.pick.notWritten': 'Todavía no hay nada escrito sobre él.',
@@ -898,7 +900,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Plan del viaje',
'journey.share.planHint': 'Lugares planificados y rutas GPX de los viajes vinculados en el mapa',
'journey.share.recordings': 'Rutas grabadas',
'journey.share.recordingsHint': 'Días grabados y las paradas tomadas de ellos, en los días con una entrada publicada. Muestran dónde y cuándo estuviste, también tu alojamiento.',
'journey.share.recordingsHint':
'Días grabados y las paradas tomadas de ellos, en los días con una entrada publicada. Muestran dónde y cuándo estuviste, también tu alojamiento.',
'journey.share.needsMap': 'Comparte el mapa para activarlo',
};
export default journey;
+4 -2
View File
@@ -878,7 +878,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Marsruudid',
'journey.map.legend.plannedRoute': 'Planeeritud marsruut (reisi GPX)',
'journey.map.legend.recordedRoute': 'Salvestatud marsruut',
'journey.map.legend.planIsNoVisit': 'Planeeritud koht ei tõenda külastust. Kus sa olid, näitavad ainult sissekanded, fotod ja salvestused.',
'journey.map.legend.planIsNoVisit':
'Planeeritud koht ei tõenda külastust. Kus sa olid, näitavad ainult sissekanded, fotod ja salvestused.',
'journey.map.pick.openEntry': 'Ava sissekanne',
'journey.map.pick.planned': 'Planeeritud',
'journey.map.pick.notWritten': 'Selle kohta pole veel midagi kirjutatud.',
@@ -890,7 +891,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Reisiplaan',
'journey.share.planHint': 'Seotud reiside planeeritud kohad ja GPX-marsruudid kaardil',
'journey.share.recordings': 'Salvestatud marsruudid',
'journey.share.recordingsHint': 'Salvestatud päevad ja neist võetud peatused päevadel, millel on avaldatud sissekanne. Need näitavad, kus ja millal sa olid, ka su majutust.',
'journey.share.recordingsHint':
'Salvestatud päevad ja neist võetud peatused päevadel, millel on avaldatud sissekanne. Need näitavad, kus ja millal sa olid, ka su majutust.',
'journey.share.needsMap': 'Selle sisselülitamiseks jaga kaarti',
};
export default journey;
+6 -3
View File
@@ -874,7 +874,8 @@ const journey: TranslationStrings = {
'journey.map.layer.recordedEmpty': 'aucun trajet enregistré pour l’instant',
'journey.map.layer.recordedUnavailable': 'les jours enregistrés n’ont pas pu être chargés',
'journey.map.layer.entriesEmpty': 'aucun récit n’a encore de lieu',
'journey.map.layer.entriesUnavailable': 'les étapes des comptes rendus n’ont pas pu être chargées, les récits restent visibles',
'journey.map.layer.entriesUnavailable':
'les étapes des comptes rendus n’ont pas pu être chargées, les récits restent visibles',
'journey.map.layer.photosEmpty': 'aucune photo localisée pour l’instant',
'journey.map.legend': 'Légende',
'journey.map.legend.planned': 'Lieu prévu',
@@ -885,7 +886,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Trajets',
'journey.map.legend.plannedRoute': 'Trajet prévu (GPX d’un voyage)',
'journey.map.legend.recordedRoute': 'Trajet enregistré',
'journey.map.legend.planIsNoVisit': 'Un lieu prévu ne prouve pas une visite. Seuls les récits, les photos et les enregistrements montrent où vous étiez.',
'journey.map.legend.planIsNoVisit':
'Un lieu prévu ne prouve pas une visite. Seuls les récits, les photos et les enregistrements montrent où vous étiez.',
'journey.map.pick.openEntry': 'Ouvrir le récit',
'journey.map.pick.planned': 'Prévu',
'journey.map.pick.notWritten': 'Rien d’écrit à ce sujet pour l’instant.',
@@ -897,7 +899,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Programme du voyage',
'journey.share.planHint': 'Lieux prévus et trajets GPX des voyages liés sur la carte',
'journey.share.recordings': 'Trajets enregistrés',
'journey.share.recordingsHint': 'Jours enregistrés et les arrêts qui en sont tirés, les jours ayant un récit publié. Ils montrent où et quand vous étiez, y compris votre hébergement.',
'journey.share.recordingsHint':
'Jours enregistrés et les arrêts qui en sont tirés, les jours ayant un récit publié. Ils montrent où et quand vous étiez, y compris votre hébergement.',
'journey.share.needsMap': 'Partagez la carte pour activer ceci',
};
export default journey;
+6 -3
View File
@@ -884,7 +884,8 @@ const journey: TranslationStrings = {
'journey.map.layer.recordedEmpty': 'καμία καταγεγραμμένη διαδρομή ακόμα',
'journey.map.layer.recordedUnavailable': 'οι καταγεγραμμένες μέρες δεν φορτώθηκαν',
'journey.map.layer.entriesEmpty': 'καμία καταχώριση δεν έχει ακόμα μέρος',
'journey.map.layer.entriesUnavailable': 'οι στάσεις των ημερήσιων αναφορών δεν φορτώθηκαν, οι καταχωρίσεις παραμένουν ορατές',
'journey.map.layer.entriesUnavailable':
'οι στάσεις των ημερήσιων αναφορών δεν φορτώθηκαν, οι καταχωρίσεις παραμένουν ορατές',
'journey.map.layer.photosEmpty': 'καμία φωτογραφία με τοποθεσία ακόμα',
'journey.map.legend': 'Υπόμνημα',
'journey.map.legend.planned': 'Προγραμματισμένο μέρος',
@@ -895,7 +896,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Διαδρομές',
'journey.map.legend.plannedRoute': 'Προγραμματισμένη διαδρομή (GPX ταξιδιού)',
'journey.map.legend.recordedRoute': 'Καταγεγραμμένη διαδρομή',
'journey.map.legend.planIsNoVisit': 'Ένα προγραμματισμένο μέρος δεν αποδεικνύει επίσκεψη. Μόνο οι καταχωρίσεις, οι φωτογραφίες και οι καταγραφές δείχνουν πού ήσουν.',
'journey.map.legend.planIsNoVisit':
'Ένα προγραμματισμένο μέρος δεν αποδεικνύει επίσκεψη. Μόνο οι καταχωρίσεις, οι φωτογραφίες και οι καταγραφές δείχνουν πού ήσουν.',
'journey.map.pick.openEntry': 'Άνοιγμα καταχώρισης',
'journey.map.pick.planned': 'Προγραμματισμένο',
'journey.map.pick.notWritten': 'Δεν έχει γραφτεί τίποτα ακόμα γι’ αυτό.',
@@ -907,7 +909,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Σχέδιο ταξιδιού',
'journey.share.planHint': 'Προγραμματισμένα μέρη και διαδρομές GPX των συνδεδεμένων ταξιδιών στον χάρτη',
'journey.share.recordings': 'Καταγεγραμμένες διαδρομές',
'journey.share.recordingsHint': 'Καταγεγραμμένες μέρες και οι στάσεις που προέρχονται από αυτές, σε μέρες με δημοσιευμένη καταχώριση. Δείχνουν πού και πότε ήσουν, και το κατάλυμά σου.',
'journey.share.recordingsHint':
'Καταγεγραμμένες μέρες και οι στάσεις που προέρχονται από αυτές, σε μέρες με δημοσιευμένη καταχώριση. Δείχνουν πού και πότε ήσουν, και το κατάλυμά σου.',
'journey.share.needsMap': 'Μοιράσου τον χάρτη για να το ενεργοποιήσεις',
};
export default journey;
+6 -3
View File
@@ -871,7 +871,8 @@ const journey: TranslationStrings = {
'journey.map.layer.recordedEmpty': 'még nincs rögzített útvonal',
'journey.map.layer.recordedUnavailable': 'a rögzített napokat nem sikerült betölteni',
'journey.map.layer.entriesEmpty': 'még egyetlen bejegyzésnek sincs helye',
'journey.map.layer.entriesUnavailable': 'a napi beszámolók megállóit nem sikerült betölteni, a bejegyzések láthatók maradnak',
'journey.map.layer.entriesUnavailable':
'a napi beszámolók megállóit nem sikerült betölteni, a bejegyzések láthatók maradnak',
'journey.map.layer.photosEmpty': 'még nincs helyadattal rendelkező fotó',
'journey.map.legend': 'Jelmagyarázat',
'journey.map.legend.planned': 'Tervezett hely',
@@ -882,7 +883,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Útvonalak',
'journey.map.legend.plannedRoute': 'Tervezett útvonal (egy út GPX-e)',
'journey.map.legend.recordedRoute': 'Rögzített útvonal',
'journey.map.legend.planIsNoVisit': 'Egy tervezett hely nem bizonyítja a látogatást. Csak a bejegyzések, fotók és felvételek mutatják, hol jártál.',
'journey.map.legend.planIsNoVisit':
'Egy tervezett hely nem bizonyítja a látogatást. Csak a bejegyzések, fotók és felvételek mutatják, hol jártál.',
'journey.map.pick.openEntry': 'Bejegyzés megnyitása',
'journey.map.pick.planned': 'Tervezett',
'journey.map.pick.notWritten': 'Még semmit sem írtál róla.',
@@ -894,7 +896,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Úti terv',
'journey.share.planHint': 'A kapcsolt utak tervezett helyei és GPX-útvonalai a térképen',
'journey.share.recordings': 'Rögzített útvonalak',
'journey.share.recordingsHint': 'Rögzített napok és a belőlük átvett megállók azokon a napokon, amelyekhez közzétett bejegyzés tartozik. Megmutatják, hol és mikor jártál, a szállásodat is.',
'journey.share.recordingsHint':
'Rögzített napok és a belőlük átvett megállók azokon a napokon, amelyekhez közzétett bejegyzés tartozik. Megmutatják, hol és mikor jártál, a szállásodat is.',
'journey.share.needsMap': 'Oszd meg a térképet a bekapcsoláshoz',
};
export default journey;
+4 -2
View File
@@ -859,7 +859,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Rute',
'journey.map.legend.plannedRoute': 'Rute yang direncanakan (GPX perjalanan)',
'journey.map.legend.recordedRoute': 'Rute terekam',
'journey.map.legend.planIsNoVisit': 'Tempat yang direncanakan bukan bukti kunjungan. Hanya catatan, foto, dan rekaman yang menunjukkan di mana kamu berada.',
'journey.map.legend.planIsNoVisit':
'Tempat yang direncanakan bukan bukti kunjungan. Hanya catatan, foto, dan rekaman yang menunjukkan di mana kamu berada.',
'journey.map.pick.openEntry': 'Buka catatan',
'journey.map.pick.planned': 'Direncanakan',
'journey.map.pick.notWritten': 'Belum ada yang ditulis tentangnya.',
@@ -871,7 +872,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Rencana perjalanan',
'journey.share.planHint': 'Tempat yang direncanakan dan rute GPX dari perjalanan tertaut di peta',
'journey.share.recordings': 'Rute terekam',
'journey.share.recordingsHint': 'Hari terekam dan persinggahan yang diambil darinya, pada hari yang punya catatan terbit. Menunjukkan di mana dan kapan kamu berada, termasuk penginapanmu.',
'journey.share.recordingsHint':
'Hari terekam dan persinggahan yang diambil darinya, pada hari yang punya catatan terbit. Menunjukkan di mana dan kapan kamu berada, termasuk penginapanmu.',
'journey.share.needsMap': 'Bagikan peta untuk mengaktifkan ini',
};
export default journey;
+4 -2
View File
@@ -886,7 +886,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Percorsi',
'journey.map.legend.plannedRoute': 'Percorso pianificato (GPX di un viaggio)',
'journey.map.legend.recordedRoute': 'Percorso registrato',
'journey.map.legend.planIsNoVisit': 'Un luogo pianificato non prova una visita. Solo voci, foto e registrazioni mostrano dove sei stato.',
'journey.map.legend.planIsNoVisit':
'Un luogo pianificato non prova una visita. Solo voci, foto e registrazioni mostrano dove sei stato.',
'journey.map.pick.openEntry': 'Apri la voce',
'journey.map.pick.planned': 'Pianificato',
'journey.map.pick.notWritten': 'Ancora niente di scritto su questo.',
@@ -898,7 +899,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Programma del viaggio',
'journey.share.planHint': 'Luoghi pianificati e percorsi GPX dei viaggi collegati sulla mappa',
'journey.share.recordings': 'Percorsi registrati',
'journey.share.recordingsHint': 'Giorni registrati e le soste ricavate da essi, nei giorni con una voce pubblicata. Mostrano dove e quando sei stato, anche il tuo alloggio.',
'journey.share.recordingsHint':
'Giorni registrati e le soste ricavate da essi, nei giorni con una voce pubblicata. Mostrano dove e quando sei stato, anche il tuo alloggio.',
'journey.share.needsMap': 'Condividi la mappa per attivarlo',
};
export default journey;
+6 -3
View File
@@ -834,7 +834,8 @@ const journey: TranslationStrings = {
'journey.map.layer.recordedEmpty': '記録したルートはまだありません',
'journey.map.layer.recordedUnavailable': '記録した日を読み込めませんでした',
'journey.map.layer.entriesEmpty': '場所のあるエントリーはまだありません',
'journey.map.layer.entriesUnavailable': '日のまとめの立ち寄り先を読み込めませんでした。エントリーは表示されたままです',
'journey.map.layer.entriesUnavailable':
'日のまとめの立ち寄り先を読み込めませんでした。エントリーは表示されたままです',
'journey.map.layer.photosEmpty': '位置情報のある写真はまだありません',
'journey.map.legend': '凡例',
'journey.map.legend.planned': '予定の場所',
@@ -845,7 +846,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'ルート',
'journey.map.legend.plannedRoute': '予定のルート(旅行のGPX)',
'journey.map.legend.recordedRoute': '記録したルート',
'journey.map.legend.planIsNoVisit': '予定の場所は訪問の証明ではありません。どこにいたかを示すのはエントリー、写真、記録だけです。',
'journey.map.legend.planIsNoVisit':
'予定の場所は訪問の証明ではありません。どこにいたかを示すのはエントリー、写真、記録だけです。',
'journey.map.pick.openEntry': 'エントリーを開く',
'journey.map.pick.planned': '予定',
'journey.map.pick.notWritten': 'まだ何も書かれていません。',
@@ -857,7 +859,8 @@ const journey: TranslationStrings = {
'journey.share.plan': '旅行の予定',
'journey.share.planHint': 'リンクした旅行の予定の場所とGPXルートを地図に表示',
'journey.share.recordings': '記録したルート',
'journey.share.recordingsHint': '公開済みのエントリーがある日の記録と、そこから取り込んだ滞在。宿泊先も含め、いつどこにいたかがわかります。',
'journey.share.recordingsHint':
'公開済みのエントリーがある日の記録と、そこから取り込んだ滞在。宿泊先も含め、いつどこにいたかがわかります。',
'journey.share.needsMap': '有効にするには地図を共有してください',
};
export default journey;
+4 -2
View File
@@ -842,7 +842,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': '경로',
'journey.map.legend.plannedRoute': '계획한 경로(여행의 GPX)',
'journey.map.legend.recordedRoute': '기록된 경로',
'journey.map.legend.planIsNoVisit': '계획한 장소는 방문의 증거가 아닙니다. 어디에 있었는지는 항목, 사진, 기록만 보여줍니다.',
'journey.map.legend.planIsNoVisit':
'계획한 장소는 방문의 증거가 아닙니다. 어디에 있었는지는 항목, 사진, 기록만 보여줍니다.',
'journey.map.pick.openEntry': '항목 열기',
'journey.map.pick.planned': '계획',
'journey.map.pick.notWritten': '아직 아무것도 쓰지 않았습니다.',
@@ -854,7 +855,8 @@ const journey: TranslationStrings = {
'journey.share.plan': '여행 계획',
'journey.share.planHint': '연결된 여행의 계획한 장소와 GPX 경로를 지도에 표시',
'journey.share.recordings': '기록된 경로',
'journey.share.recordingsHint': '게시된 항목이 있는 날의 기록과 거기서 가져온 머문 곳. 숙소를 포함해 언제 어디에 있었는지 보여줍니다.',
'journey.share.recordingsHint':
'게시된 항목이 있는 날의 기록과 거기서 가져온 머문 곳. 숙소를 포함해 언제 어디에 있었는지 보여줍니다.',
'journey.share.needsMap': '이 기능을 켜려면 지도를 공유하세요',
};
export default journey;
+6 -3
View File
@@ -876,7 +876,8 @@ const journey: TranslationStrings = {
'journey.map.layer.recordedEmpty': 'nog geen opgenomen route',
'journey.map.layer.recordedUnavailable': 'de opgenomen dagen konden niet worden geladen',
'journey.map.layer.entriesEmpty': 'nog geen verhaal heeft een plek',
'journey.map.layer.entriesUnavailable': 'de verblijven van dagverslagen konden niet worden geladen, de verhalen blijven zichtbaar',
'journey.map.layer.entriesUnavailable':
'de verblijven van dagverslagen konden niet worden geladen, de verhalen blijven zichtbaar',
'journey.map.layer.photosEmpty': 'nog geen foto met locatie',
'journey.map.legend': 'Legenda',
'journey.map.legend.planned': 'Geplande plek',
@@ -887,7 +888,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Routes', // same-as-en
'journey.map.legend.plannedRoute': 'Geplande route (GPX van een reis)',
'journey.map.legend.recordedRoute': 'Opgenomen route',
'journey.map.legend.planIsNoVisit': 'Een geplande plek bewijst geen bezoek. Alleen verhalen, foto’s en opnames tonen waar je was.',
'journey.map.legend.planIsNoVisit':
'Een geplande plek bewijst geen bezoek. Alleen verhalen, foto’s en opnames tonen waar je was.',
'journey.map.pick.openEntry': 'Verhaal openen',
'journey.map.pick.planned': 'Gepland',
'journey.map.pick.notWritten': 'Er is nog niets over geschreven.',
@@ -899,7 +901,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Reisplanning',
'journey.share.planHint': 'Geplande plekken en GPX-routes van de gekoppelde reizen op de kaart',
'journey.share.recordings': 'Opgenomen routes',
'journey.share.recordingsHint': 'Opgenomen dagen en de stops die eruit zijn overgenomen, op dagen met een gepubliceerd verhaal. Ze tonen waar en wanneer je was, ook je verblijf.',
'journey.share.recordingsHint':
'Opgenomen dagen en de stops die eruit zijn overgenomen, op dagen met een gepubliceerd verhaal. Ze tonen waar en wanneer je was, ook je verblijf.',
'journey.share.needsMap': 'Deel de kaart om dit aan te zetten',
};
export default journey;
+4 -2
View File
@@ -929,7 +929,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Trasy',
'journey.map.legend.plannedRoute': 'Zaplanowana trasa (GPX podróży)',
'journey.map.legend.recordedRoute': 'Nagrana trasa',
'journey.map.legend.planIsNoVisit': 'Zaplanowane miejsce nie dowodzi wizyty. Tylko wpisy, zdjęcia i nagrania pokazują, gdzie byłeś.',
'journey.map.legend.planIsNoVisit':
'Zaplanowane miejsce nie dowodzi wizyty. Tylko wpisy, zdjęcia i nagrania pokazują, gdzie byłeś.',
'journey.map.pick.openEntry': 'Otwórz wpis',
'journey.map.pick.planned': 'Zaplanowane',
'journey.map.pick.notWritten': 'Nic jeszcze o nim nie napisano.',
@@ -941,7 +942,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Plan podróży',
'journey.share.planHint': 'Zaplanowane miejsca i trasy GPX powiązanych podróży na mapie',
'journey.share.recordings': 'Nagrane trasy',
'journey.share.recordingsHint': 'Nagrane dni i przejęte z nich postoje, w dniach z opublikowanym wpisem. Pokazują, gdzie i kiedy byłeś, także nocleg.',
'journey.share.recordingsHint':
'Nagrane dni i przejęte z nich postoje, w dniach z opublikowanym wpisem. Pokazują, gdzie i kiedy byłeś, także nocleg.',
'journey.share.needsMap': 'Udostępnij mapę, aby to włączyć',
};
export default journey;
+4 -2
View File
@@ -928,7 +928,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Маршруты',
'journey.map.legend.plannedRoute': 'Запланированный маршрут (GPX поездки)',
'journey.map.legend.recordedRoute': 'Записанный маршрут',
'journey.map.legend.planIsNoVisit': 'Запланированное место не доказывает посещение. Где вы были, показывают только записи, фото и треки.',
'journey.map.legend.planIsNoVisit':
'Запланированное место не доказывает посещение. Где вы были, показывают только записи, фото и треки.',
'journey.map.pick.openEntry': 'Открыть запись',
'journey.map.pick.planned': 'Запланировано',
'journey.map.pick.notWritten': 'Об этом пока ничего не написано.',
@@ -940,7 +941,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'План поездки',
'journey.share.planHint': 'Запланированные места и GPX-маршруты связанных поездок на карте',
'journey.share.recordings': 'Записанные маршруты',
'journey.share.recordingsHint': 'Записанные дни и взятые из них остановки, в дни с опубликованной записью. Они показывают, где и когда вы были, в том числе ваше жильё.',
'journey.share.recordingsHint':
'Записанные дни и взятые из них остановки, в дни с опубликованной записью. Они показывают, где и когда вы были, в том числе ваше жильё.',
'journey.share.needsMap': 'Откройте доступ к карте, чтобы включить это',
};
export default journey;
+4 -2
View File
@@ -904,7 +904,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Trasy',
'journey.map.legend.plannedRoute': 'Plánovaná trasa (GPX cesty)',
'journey.map.legend.recordedRoute': 'Zaznamenaná trasa',
'journey.map.legend.planIsNoVisit': 'Plánované miesto nie je dôkazom návštevy. Kde ste boli, ukazujú len záznamy, fotky a nahrávky.',
'journey.map.legend.planIsNoVisit':
'Plánované miesto nie je dôkazom návštevy. Kde ste boli, ukazujú len záznamy, fotky a nahrávky.',
'journey.map.pick.openEntry': 'Otvoriť záznam',
'journey.map.pick.planned': 'Plánované',
'journey.map.pick.notWritten': 'Zatiaľ o ňom nič nenapísané.',
@@ -916,7 +917,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Plán cesty',
'journey.share.planHint': 'Plánované miesta a trasy GPX prepojených ciest na mape',
'journey.share.recordings': 'Zaznamenané trasy',
'journey.share.recordingsHint': 'Zaznamenané dni a zastávky z nich prevzaté, v dňoch so zverejneným záznamom. Ukazujú, kde a kedy ste boli, aj vaše ubytovanie.',
'journey.share.recordingsHint':
'Zaznamenané dni a zastávky z nich prevzaté, v dňoch so zverejneným záznamom. Ukazujú, kde a kedy ste boli, aj vaše ubytovanie.',
'journey.share.needsMap': 'Ak to chcete zapnúť, zdieľajte mapu',
};
export default journey;
+4 -2
View File
@@ -878,7 +878,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Rutter',
'journey.map.legend.plannedRoute': 'Planerad rutt (en resas GPX)',
'journey.map.legend.recordedRoute': 'Inspelad rutt',
'journey.map.legend.planIsNoVisit': 'En planerad plats bevisar inget besök. Bara inlägg, foton och inspelningar visar var du var.',
'journey.map.legend.planIsNoVisit':
'En planerad plats bevisar inget besök. Bara inlägg, foton och inspelningar visar var du var.',
'journey.map.pick.openEntry': 'Öppna inlägg',
'journey.map.pick.planned': 'Planerad',
'journey.map.pick.notWritten': 'Inget skrivet om den ännu.',
@@ -890,7 +891,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Resplan',
'journey.share.planHint': 'Planerade platser och GPX-rutter för de länkade resorna på kartan',
'journey.share.recordings': 'Inspelade rutter',
'journey.share.recordingsHint': 'Inspelade dagar och de stopp som hämtats från dem, på dagar med ett publicerat inlägg. De visar var och när du var, även ditt boende.',
'journey.share.recordingsHint':
'Inspelade dagar och de stopp som hämtats från dem, på dagar med ett publicerat inlägg. De visar var och när du var, även ditt boende.',
'journey.share.needsMap': 'Dela kartan för att slå på detta',
};
export default journey;
+4 -2
View File
@@ -835,7 +835,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'เส้นทาง',
'journey.map.legend.plannedRoute': 'เส้นทางตามแผน (GPX ของทริป)',
'journey.map.legend.recordedRoute': 'เส้นทางที่บันทึก',
'journey.map.legend.planIsNoVisit': 'สถานที่ตามแผนไม่ใช่หลักฐานว่าไปมาแล้ว มีเพียงบันทึก รูปภาพ และการบันทึกเส้นทางที่แสดงว่าคุณอยู่ที่ไหน',
'journey.map.legend.planIsNoVisit':
'สถานที่ตามแผนไม่ใช่หลักฐานว่าไปมาแล้ว มีเพียงบันทึก รูปภาพ และการบันทึกเส้นทางที่แสดงว่าคุณอยู่ที่ไหน',
'journey.map.pick.openEntry': 'เปิดบันทึก',
'journey.map.pick.planned': 'ตามแผน',
'journey.map.pick.notWritten': 'ยังไม่มีการเขียนถึงที่นี่',
@@ -847,7 +848,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'แผนการเดินทาง',
'journey.share.planHint': 'สถานที่ตามแผนและเส้นทาง GPX ของทริปที่เชื่อมโยงบนแผนที่',
'journey.share.recordings': 'เส้นทางที่บันทึก',
'journey.share.recordingsHint': 'วันที่บันทึกและจุดแวะที่นำมาจากวันนั้น ในวันที่มีบันทึกที่เผยแพร่แล้ว แสดงว่าคุณอยู่ที่ไหนและเมื่อไร รวมถึงที่พักด้วย',
'journey.share.recordingsHint':
'วันที่บันทึกและจุดแวะที่นำมาจากวันนั้น ในวันที่มีบันทึกที่เผยแพร่แล้ว แสดงว่าคุณอยู่ที่ไหนและเมื่อไร รวมถึงที่พักด้วย',
'journey.share.needsMap': 'แชร์แผนที่เพื่อเปิดใช้งานนี้',
};
export default journey;
+4 -2
View File
@@ -876,7 +876,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Rotalar',
'journey.map.legend.plannedRoute': 'Planlanan rota (bir gezinin GPX’i)',
'journey.map.legend.recordedRoute': 'Kaydedilen rota',
'journey.map.legend.planIsNoVisit': 'Planlanan bir yer ziyaretin kanıtı değildir. Nerede olduğunu yalnızca girdiler, fotoğraflar ve kayıtlar gösterir.',
'journey.map.legend.planIsNoVisit':
'Planlanan bir yer ziyaretin kanıtı değildir. Nerede olduğunu yalnızca girdiler, fotoğraflar ve kayıtlar gösterir.',
'journey.map.pick.openEntry': 'Girdiyi aç',
'journey.map.pick.planned': 'Planlandı',
'journey.map.pick.notWritten': 'Hakkında henüz bir şey yazılmadı.',
@@ -888,7 +889,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Gezi planı',
'journey.share.planHint': 'Bağlı gezilerin planlanan yerleri ve GPX rotaları haritada',
'journey.share.recordings': 'Kaydedilen rotalar',
'journey.share.recordingsHint': 'Yayınlanmış bir girdisi olan günlerde kaydedilmiş günler ve onlardan alınan duraklar. Nerede ve ne zaman olduğunu, konakladığın yeri de gösterir.',
'journey.share.recordingsHint':
'Yayınlanmış bir girdisi olan günlerde kaydedilmiş günler ve onlardan alınan duraklar. Nerede ve ne zaman olduğunu, konakladığın yeri de gösterir.',
'journey.share.needsMap': 'Bunu açmak için haritayı paylaş',
};
export default journey;
+4 -2
View File
@@ -935,7 +935,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Маршрути',
'journey.map.legend.plannedRoute': 'Запланований маршрут (GPX подорожі)',
'journey.map.legend.recordedRoute': 'Записаний маршрут',
'journey.map.legend.planIsNoVisit': 'Заплановане місце не доводить відвідування. Де ви були, показують лише записи, фото й треки.',
'journey.map.legend.planIsNoVisit':
'Заплановане місце не доводить відвідування. Де ви були, показують лише записи, фото й треки.',
'journey.map.pick.openEntry': 'Відкрити запис',
'journey.map.pick.planned': 'Заплановано',
'journey.map.pick.notWritten': 'Про це ще нічого не написано.',
@@ -947,7 +948,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'План подорожі',
'journey.share.planHint': 'Заплановані місця й GPX-маршрути пов’язаних подорожей на карті',
'journey.share.recordings': 'Записані маршрути',
'journey.share.recordingsHint': 'Записані дні та взяті з них зупинки, у дні з опублікованим записом. Вони показують, де і коли ви були, зокрема ваше житло.',
'journey.share.recordingsHint':
'Записані дні та взяті з них зупинки, у дні з опублікованим записом. Вони показують, де і коли ви були, зокрема ваше житло.',
'journey.share.needsMap': 'Відкрийте доступ до карти, щоб увімкнути це',
};
export default journey;
+4 -2
View File
@@ -854,7 +854,8 @@ const journey: TranslationStrings = {
'journey.map.legend.lines': 'Tuyến đường',
'journey.map.legend.plannedRoute': 'Tuyến dự kiến (GPX của chuyến đi)',
'journey.map.legend.recordedRoute': 'Tuyến đã ghi',
'journey.map.legend.planIsNoVisit': 'Địa điểm dự kiến không chứng minh bạn đã đến. Chỉ bài viết, ảnh và bản ghi mới cho thấy bạn đã ở đâu.',
'journey.map.legend.planIsNoVisit':
'Địa điểm dự kiến không chứng minh bạn đã đến. Chỉ bài viết, ảnh và bản ghi mới cho thấy bạn đã ở đâu.',
'journey.map.pick.openEntry': 'Mở bài viết',
'journey.map.pick.planned': 'Dự kiến',
'journey.map.pick.notWritten': 'Chưa viết gì về nơi này.',
@@ -866,7 +867,8 @@ const journey: TranslationStrings = {
'journey.share.plan': 'Kế hoạch chuyến đi',
'journey.share.planHint': 'Địa điểm dự kiến và tuyến GPX của các chuyến đi liên kết trên bản đồ',
'journey.share.recordings': 'Tuyến đã ghi',
'journey.share.recordingsHint': 'Những ngày đã ghi và các điểm dừng lấy từ đó, vào những ngày có bài viết được đăng. Cho thấy bạn đã ở đâu và khi nào, kể cả chỗ ở.',
'journey.share.recordingsHint':
'Những ngày đã ghi và các điểm dừng lấy từ đó, vào những ngày có bài viết được đăng. Cho thấy bạn đã ở đâu và khi nào, kể cả chỗ ở.',
'journey.share.needsMap': 'Chia sẻ bản đồ để bật mục này',
};
export default journey;