fix(journey): take a day over from the phone stay sheet, keep a picked position inside its group and send stays without a place unpinned

A journey on a phone with stays on days that hold no entry offers each waiting day in the Dawarich stay sheet, so a day can be built from its stays alone; desktop and phone read the same days through openStayDatesWithin. A position picked for a group falls back to the longest stay with a place once that stay is unchosen or split off, a merged entry of stays without a position goes out unpinned instead of being refused, and a stay taken over meanwhile is never joined across. review_journey_day_stays is no longer marked read-only, since it refreshes the caller's stored stays. The already-taken notice no longer claims the stays were in this journal. An e2e case checks the drafts stay off the public share.
This commit is contained in:
Maurice
2026-10-21 16:49:47 +02:00
parent 7c1de6ed82
commit 3f1d1a57cc
39 changed files with 265 additions and 104 deletions
@@ -1,4 +1,4 @@
// FE-DAWARICH-SUGMODEL-001 to FE-DAWARICH-SUGMODEL-014
// FE-DAWARICH-SUGMODEL-001 to FE-DAWARICH-SUGMODEL-019
import { describe, it, expect } from 'vitest'
import type { DawarichSuggestion } from '@trek/shared'
import {
@@ -7,6 +7,7 @@ import {
formatDayOption,
formatDuration,
groupByDay,
openStayDatesWithin,
openStaysByDate,
timeRange,
} from './dawarichSuggestionModel'
@@ -212,4 +213,20 @@ describe('openStaysByDate', () => {
expect(byDate.size).toBe(0)
})
it('FE-DAWARICH-SUGMODEL-019: the waiting days inside a journal span, oldest first, and none without a span', () => {
// The stays are the whole account's; a day outside the journal's entries and trips is
// not one it can take over.
const byDate = openStaysByDate([
stay({ id: 1, localDate: '2026-09-12' }),
stay({ id: 2, localDate: '2026-09-10' }),
stay({ id: 3, localDate: '2026-12-24' }),
])
expect(openStayDatesWithin(byDate, ['2026-09-11', null, '2026-09-09', undefined, '2026-09-14'])).toEqual([
'2026-09-10',
'2026-09-12',
])
expect(openStayDatesWithin(byDate, [null, undefined])).toEqual([])
})
})
@@ -71,6 +71,22 @@ export function openStaysByDate(suggestions: DawarichSuggestion[]): Map<string,
return byDate;
}
/**
* The days with waiting stays that fall inside a journal's span, oldest first. The span
* is whatever dates bound it (its entries, its trips' first and last days); without any
* there is nothing to place a stay against, because the stays are the whole account's.
*/
export function openStayDatesWithin(
byDate: Map<string, DawarichSuggestion[]>,
span: Array<string | null | undefined>
): string[] {
const bounds = span.filter((date): date is string => !!date).sort();
const first = bounds[0];
const last = bounds[bounds.length - 1];
if (!first || !last) return [];
return [...byDate.keys()].filter((date) => date >= first && date <= last).sort();
}
/** `HH:MM` out of an ISO timestamp, in the offset the timestamp carries. */
export function clockOf(iso: string): string {
return /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}/.test(iso) ? iso.slice(11, 16) : ''
@@ -1,4 +1,4 @@
// FE-JRN-DAYIMPORT-MODEL-001 to FE-JRN-DAYIMPORT-MODEL-008
// FE-JRN-DAYIMPORT-MODEL-001 to FE-JRN-DAYIMPORT-MODEL-011
//
// JRN-02: what the traveller decided in the day take-over, before anything is
// written. Two stays at San Marco, a parking stop and Rialto, as the review
@@ -110,4 +110,38 @@ describe('journeyDayImportModel', () => {
expect(defaultAnchor([buildDayStay({ suggestionId: 5, lat: null, lng: null })])).toBeNull();
expect(rename(rename(initialChoice(STAYS), MARKUS, 'X'), MARKUS, MARKUS.name).names).toEqual({});
});
it('FE-JRN-DAYIMPORT-MODEL-009: a picked position whose stay was unchosen or split off falls back to one in the group', () => {
const report = { ...initialChoice(STAYS), mode: 'report' as const, anchors: { [REPORT_KEY]: 10 } };
expect(requestOf(toggleStay(report, 10), STAYS, REPORT).groups[0]).toMatchObject({ anchorSuggestionId: 12 });
const three = { ...toggleJoin(initialChoice(STAYS), 13), anchors: { 11: 13 } };
expect(requestOf(three, STAYS, REPORT).groups[1]).toMatchObject({ kind: 'merged', anchorSuggestionId: 13 });
expect(requestOf(toggleJoin(three, 13), STAYS, REPORT).groups[1]).toMatchObject({
kind: 'merged',
anchorSuggestionId: 12,
});
});
it('FE-JRN-DAYIMPORT-MODEL-010: the same place twice without a position is joined and sent without a pin', () => {
const stays = [
buildDayStay({ suggestionId: 1, lat: null, lng: null }),
buildDayStay({ suggestionId: 2, lat: null, lng: null }),
];
const choice = initialChoice(stays);
expect(problemOf(choice, stays, REPORT)).toBeNull();
expect(requestOf(choice, stays, REPORT)).toEqual({
groups: [{ kind: 'merged', stays: [{ suggestionId: 1 }, { suggestionId: 2 }], title: 'Piazza San Marco' }],
});
});
it('FE-JRN-DAYIMPORT-MODEL-011: a stay taken over meanwhile is never joined across, even while still ticked', () => {
const stays = [
buildDayStay({ suggestionId: 1, name: 'Lido' }),
buildDayStay({ suggestionId: 2, name: 'Rialto', status: 'here' }),
buildDayStay({ suggestionId: 3, name: 'Zattere' }),
];
const choice = { ...initialChoice(stays), selected: new Set([1, 2, 3]), joined: new Set([3]) };
expect(canJoin(choice, stays, 2)).toBe(false);
expect(groupsOf(choice, stays).map((g) => g.stays.map((s) => s.suggestionId))).toEqual([[1], [3]]);
});
});
@@ -74,6 +74,8 @@ export function canJoin(choice: DayImportChoice, stays: JourneyDayStay[], index:
choice.mode === 'entries' &&
!!stay &&
!!before &&
isTakeable(stay) &&
isTakeable(before) &&
choice.selected.has(stay.suggestionId) &&
choice.selected.has(before.suggestionId)
);
@@ -107,9 +109,12 @@ export function defaultAnchor(stays: JourneyDayStay[]): number | null {
return best?.suggestionId ?? null;
}
/** The picked stay while it is still in the group; one unchosen or split off since falls back to the default. */
export function anchorOf(choice: DayImportChoice, group: DayImportGroup): number | null {
const picked = choice.anchors[group.key];
return picked === undefined ? defaultAnchor(group.stays) : picked;
if (picked === undefined) return defaultAnchor(group.stays);
if (picked !== null && !group.stays.some((stay) => stay.suggestionId === picked)) return defaultAnchor(group.stays);
return picked;
}
/** A group's title as typed, else what it starts with: the place for a merged entry, the given default for a report. */
@@ -146,12 +151,11 @@ export function requestOf(
return name === stay.name ? { suggestionId: stay.suggestionId } : { suggestionId: stay.suggestionId, name };
});
if (group.kind === 'single') return { kind: group.kind, stays: named };
return {
kind: group.kind,
stays: named,
title: titleOf(choice, group, reportDefault).trim(),
anchorSuggestionId: anchorOf(choice, group),
};
const title = titleOf(choice, group, reportDefault).trim();
const anchor = anchorOf(choice, group);
// A merged entry of stays without a position has nothing to pin; the server then writes it without one.
if (anchor === null && group.kind === 'merged') return { kind: group.kind, stays: named, title };
return { kind: group.kind, stays: named, title, anchorSuggestionId: anchor };
});
const skipSuggestionIds = stays
.filter((stay) => stay.status === 'open' && !choice.selected.has(stay.suggestionId))
@@ -50,7 +50,7 @@ export default function MJourneyDetail({ journeyId, embedded = false }: JourneyD
showInvite, setShowInvite,
showSettings, setShowSettings,
hideSkeletons, setHideSkeletons,
sidebarMapItems, tracks, recordings, canTakeOverRecording, dayImport, dawarichByDate,
sidebarMapItems, tracks, recordings, canTakeOverRecording, dayImport, dayImportDates, dawarichByDate,
dismissSuggestion, restoreSuggestions, openAtEntryId,
loadJourney, updateEntry, deleteEntry, reorderEntries, uploadPhotos,
addPickedProviderPhotos, addEntryProviderPhotos,
@@ -65,6 +65,25 @@ export default function MJourneyDetail({ journeyId, embedded = false }: JourneyD
return () => setMobileGalleryOpen(false)
}, [view, setMobileGalleryOpen])
const dayImportRow = (date: string, closeMenu: () => void) => {
const waiting = dawarichByDate.get(date)?.length ?? 0
return (
<MListRow
key={date}
icon={ListChecks}
label={t('journey.dayImport.openOn', {
date: new Date(date + 'T00:00:00').toLocaleDateString(locale, { day: 'numeric', month: 'long' }),
})}
trailing={waiting > 0 ? (
<span className="rounded-full bg-m-ic px-2 py-0.5 font-geist text-caption font-bold tabular-nums text-m-muted">
{waiting}
</span>
) : undefined}
onClick={() => { closeMenu(); dayImport.open(date) }}
/>
)
}
// Stable identity: the scroll effect in useJourneyCarouselSync re-attaches on every
// change and would otherwise drop the pending settle timer on any unrelated render.
const entries = useMemo(
@@ -428,6 +447,13 @@ export default function MJourneyDetail({ journeyId, embedded = false }: JourneyD
closeLabel={t('common.close')}
/>
<div className="min-h-0 flex-1 overflow-y-auto px-[14px] pb-4">
{/* Whole days first: a day with stays and nothing written yet is reached
from here, since it has no card to open the overflow menu on. */}
{dayImportDates.length > 0 && (
<div className="mb-2 flex flex-col border-b border-[color:var(--m-gbr)] pb-2">
{dayImportDates.map(date => dayImportRow(date, () => setDawarichOpen(false)))}
</div>
)}
{/* Journal entries and nothing else: a journey is for writing, and
the trip planner already offers the same stay as a place. */}
<DawarichSuggestionsPanel
@@ -522,20 +548,8 @@ export default function MJourneyDetail({ journeyId, embedded = false }: JourneyD
/>
)}
{/* The same day with its stays (JRN-02), counting the ones still waiting. */}
{canEditEntries && canTakeOverRecording && view === 'timeline' && entries[activeIndex] && (
<MListRow
icon={ListChecks}
label={t('journey.dayImport.openOn', {
date: new Date(entries[activeIndex].entry_date + 'T00:00:00').toLocaleDateString(locale, { day: 'numeric', month: 'long' }),
})}
trailing={dawarichByDate.get(entries[activeIndex].entry_date)?.length ? (
<span className="rounded-full bg-m-ic px-2 py-0.5 font-geist text-caption font-bold tabular-nums text-m-muted">
{dawarichByDate.get(entries[activeIndex].entry_date)?.length}
</span>
) : undefined}
onClick={() => { setShowActionMenu(false); dayImport.open(entries[activeIndex].entry_date) }}
/>
)}
{canEditEntries && canTakeOverRecording && view === 'timeline' && entries[activeIndex] &&
dayImportRow(entries[activeIndex].entry_date, () => setShowActionMenu(false))}
{canEditJourney && (
<MListRow
icon={Settings2}
+3 -5
View File
@@ -15,6 +15,7 @@ import {
} from 'lucide-react'
import MobileMapTimeline from '../components/Journey/MobileMapTimeline'
import JourneyDayDawarich from '../components/Journey/JourneyDayDawarich'
import { openStayDatesWithin } from '../components/Dawarich/dawarichSuggestionModel'
import JourneyDayImportButton from '../components/Journey/JourneyDayImportButton'
import JourneyDayImportDialog from '../components/Journey/JourneyDayImportDialog'
import JourneyDayRecordingButton from '../components/Journey/JourneyDayRecordingButton'
@@ -113,11 +114,8 @@ export function JourneyDetailPageDesktop({ journeyId, embedded = false }: Journe
// that trip's days. With no span at all there is nothing to place a stay against.
// Not while a search is running either: a day whose entries the query filtered out is not
// a day the reader is looking at.
const spanDates = [...dayGroups.keys(), tripDateMin, tripDateMax]
.filter((d): d is string => !!d)
.sort((a, b) => (a < b ? -1 : a > b ? 1 : 0))
const suggestionDates = canEditEntries && !query && spanDates.length
? [...dawarichByDate.keys()].filter(d => d >= spanDates[0] && d <= spanDates[spanDates.length - 1])
const suggestionDates = canEditEntries && !query
? openStayDatesWithin(dawarichByDate, [...dayGroups.keys(), tripDateMin, tripDateMax])
: []
// A day that keeps its recorded route stays a day of the journey, entries or not.
const recordedDates = query ? [] : [...recordings.byDate.keys()]
@@ -13,7 +13,7 @@ import { lockBodyScroll } from '../../utils/bodyScrollLock'
import type { JourneyEntry } from '../../store/journeyStore'
import { createDraftJourneyEntry, photoUrl } from './JourneyDetailPage.helpers'
import { useDawarichSuggestions } from '../../hooks/useDawarichSuggestions'
import { openStaysByDate } from '../../components/Dawarich/dawarichSuggestionModel'
import { openStayDatesWithin, openStaysByDate } from '../../components/Dawarich/dawarichSuggestionModel'
import type { DawarichSuggestion, DawarichSuggestionTarget } from '@trek/shared'
import { useDawarichJournalTrail } from '../../hooks/useDawarichJournalTrail'
@@ -557,6 +557,16 @@ export function useJourneyDetail({ journeyId, embedded = false }: JourneyDetailO
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
@@ -604,7 +614,7 @@ export function useJourneyDetail({ journeyId, embedded = false }: JourneyDetailO
galleryUploadProgress, setGalleryUploadProgress,
activeLocationId, handleMarkerClick, handleLocationClick,
mapEntries, sidebarMapItems, tripDates, isMobile, tracks: mapTracks, dawarichTrail,
recordings, canTakeOverRecording, recordingNeedsConnection, dayImport,
recordings, canTakeOverRecording, recordingNeedsConnection, dayImport, dayImportDates,
mapPhotos, openMapPhotos,
feedEdge, scrollFeedTo,
loadJourney, updateEntry, deleteEntry, reorderEntries, uploadPhotos, deletePhoto,
@@ -1,10 +1,11 @@
// FE-MOB-JDET-001 to FE-MOB-JDET-043
// FE-MOB-JDET-001 to FE-MOB-JDET-044
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
import { render, screen, fireEvent, waitFor, act } from '../../../helpers/render';
import MJourneyDetail from '../../../../src/mobile/screens/journey/MJourneyDetail';
import { addonsApi, journeyApi, memoriesApi } from '../../../../src/api/client';
import { useJourneyStore } from '../../../../src/store/journeyStore';
import { useAuthStore } from '../../../../src/store/authStore';
import { useAddonStore } from '../../../../src/store/addonStore';
import type { GalleryPhoto, JourneyDetail, JourneyEntry } from '../../../../src/store/journeyStore';
const mocks = vi.hoisted(() => ({
@@ -69,6 +70,10 @@ vi.mock('../../../../src/mobile/screens/journey/MJourneyEntrySheet', () => ({
},
}));
vi.mock('../../../../src/components/Dawarich/DawarichSuggestionsPanel', () => ({
default: () => <div data-testid="dawarich-panel" />,
}));
vi.mock('../../../../src/mobile/screens/journey/MJourneySettingsSheet', () => ({
default: (props: Record<string, unknown>) => {
mocks.captured.settings = props;
@@ -176,6 +181,7 @@ function buildHook(over: Record<string, unknown> = {}): Record<string, unknown>
recordings: { byDate: new Map(), dialog: null, open: vi.fn() },
canTakeOverRecording: false,
dayImport: { open: vi.fn(), dialog: null },
dayImportDates: [],
dawarichByDate: new Map(),
loadJourney: vi.fn(),
updateEntry: vi.fn(async () => {}),
@@ -220,6 +226,7 @@ afterEach(() => {
vi.restoreAllMocks();
vi.unstubAllGlobals();
useJourneyStore.setState(journeyStoreInitial, true);
useAddonStore.setState({ addons: [] });
});
// ── Tests ────────────────────────────────────────────────────────────────────
@@ -716,4 +723,23 @@ describe('MJourneyDetail', () => {
await waitFor(() => expect(toast.error).toHaveBeenCalledWith('common.error'));
expect(hook.loadJourney).toHaveBeenCalledWith(12);
});
it('FE-MOB-JDET-044: a journey holding only stays offers each waiting day for a take-over from the stay sheet', () => {
useAddonStore.setState({ addons: [{ id: 'dawarich', enabled: true }] as never, loaded: true });
const stays = new Map([['2026-05-03', [{ id: 1 }, { id: 2 }]]]);
const { hook } = setup({
current: buildDetail({ entries: [], stats: { entries: 0, photos: 0, places: 0 } }),
canTakeOverRecording: true,
dawarichByDate: stays,
dayImportDates: ['2026-05-03'],
});
fireEvent.click(screen.getByRole('button', { name: 'dawarich.suggestions.title' }));
const row = screen.getByRole('button', { name: /journey\.dayImport\.openOn/ });
expect(row).toHaveTextContent('2');
fireEvent.click(row);
expect((hook.dayImport as { open: ReturnType<typeof vi.fn> }).open).toHaveBeenCalledWith('2026-05-03');
expect(screen.queryByTestId('dawarich-panel')).not.toBeInTheDocument();
});
});
@@ -156,7 +156,6 @@ export class DawarichVisitSuggestionsRepository extends TrekRepository<DawarichV
return Number(result.numUpdatedRows ?? 0);
}
/** DWS3 — `getOne`: single-row variant of {@link list}'s join. */
/** One person's stays of one local day, in the order they were lived (JRN-02's day review). */
async listForDay(userId: number, localDate: string): Promise<SuggestionJoinRow[]> {
const rows = await this.joinedQuery()
@@ -168,6 +167,7 @@ export class DawarichVisitSuggestionsRepository extends TrekRepository<DawarichV
return rows as SuggestionJoinRow[];
}
/** DWS3 — `getOne`: single-row variant of {@link list}'s join. */
async getOne(userId: number, id: number): Promise<SuggestionJoinRow | null> {
const row = await this.joinedQuery().where('s.id', '=', id).where('s.user_id', '=', userId).executeTakeFirst();
return (row as SuggestionJoinRow) ?? null;
@@ -1,12 +1,5 @@
import { ADDON_IDS } from '../../addons';
import {
McpController,
TOOL_ANNOTATIONS_READONLY,
TOOL_ANNOTATIONS_WRITE,
Tool,
ok,
type McpContext,
} from '../../nest-mcp';
import { McpController, TOOL_ANNOTATIONS_WRITE, Tool, ok, type McpContext } from '../../nest-mcp';
import { addonGate, type HasAddons } from '../addons/addon-gate';
import { AddonsService } from '../addons/addons.service';
import { JourneyDayImportService } from './journey-day-import.service';
@@ -38,10 +31,11 @@ export class JourneyDayImportMcp {
@Tool({
name: 'review_journey_day_stays',
description:
"The stays Dawarich found on one local day, from the caller's own connection, as a journey would take them over: each with its suggestionId, name, place, arrival and departure, whether Dawarich only guessed it, and its status for this journey (open, skipped before, here with the entry holding it, or taken over elsewhere), plus the entries the journey has on the day. When Dawarich does not answer, the stays of the last sync are shown with fresh: false and the reason. Needs edit access to the journey.",
"The stays Dawarich found on one local day, from the caller's own connection, as a journey would take them over: each with its suggestionId, name, place, arrival and departure, whether Dawarich only guessed it, and its status for this journey (open, skipped before, here with the entry holding it, or taken over elsewhere), plus the entries the journey has on the day. When Dawarich does not answer, the stays of the last sync are shown with fresh: false and the reason. Reading the day again refreshes the caller's own stored stays of it, nothing in the journey. Needs edit access to the journey.",
inputSchema: { journeyId: idSchema, date: journeyRecordingDateSchema },
// Reaches the caller's own Dawarich instance and refreshes their stays of the day.
annotations: { ...TOOL_ANNOTATIONS_READONLY, openWorldHint: true },
// Reaches the caller's own Dawarich instance and refreshes their stored stays of the day; the journey
// scope's read access covers that, since only the caller's own stay list changes.
annotations: { ...TOOL_ANNOTATIONS_WRITE, openWorldHint: true },
when: bothAddonsOn,
access: { group: 'journey', mode: 'read' },
})
@@ -11,6 +11,7 @@
* The walk: review the day, take two stays over as one entry and leave the
* parking out, send the same take-over again without a second copy, and be
* refused for a stay that is not the caller's or a group the contract refuses.
* The drafts written stay off the journey's public share.
*/
import { DawarichConnections } from '../../src/db/entities/DawarichConnections.entity';
import { DawarichVisitSuggestions } from '../../src/db/entities/DawarichVisitSuggestions.entity';
@@ -21,10 +22,11 @@ import { TrekExceptionFilter } from '../../src/nest/common/trek-exception.filter
import { ZodValidationPipe } from '../../src/nest/common/zod-validation.pipe';
import { DawarichClient } from '../../src/nest/integrations/dawarich.client';
import { JourneyRecordingsModule } from '../../src/nest/journey-recordings/journey-recordings.module';
import { JourneyShareService } from '../../src/nest/journey/journey-share.service';
import { RealtimeModule } from '../../src/nest/realtime/realtime.module';
import { RealtimeService } from '../../src/nest/realtime/realtime.service';
import { createSnapshotTestDb } from '../helpers/db-mock';
import { addJourneyContributor, makeJourney } from '../helpers/factories/journeys';
import { addJourneyContributor, makeJourney, makeJourneyEntry } from '../helpers/factories/journeys';
import { countRows, deleteRows, findRows, insertRow } from '../helpers/factories/rows';
import { setAddonEnabled } from '../helpers/factories/settings';
import { makeUser } from '../helpers/factories/users';
@@ -255,4 +257,21 @@ describe('Journey day take-over e2e (real guards + temp SQLite)', () => {
).toBe(400);
expect(await countRows(orm, JourneyEntries)).toBe(0);
});
it('the drafts of a take-over stay off the public share while what the journal published is on it', async () => {
const [, first] = await reviewedIds();
await makeJourneyEntry(orm, journeyId, OWNER, { title: 'Arrival', entry_date: DAY });
expect((await takeOver({ groups: [{ kind: 'single', stays: [{ suggestionId: first }] }] })).status).toBe(200);
const share = app.get(JourneyShareService, { strict: false });
const link = await share.createOrUpdateJourneyShareLink(journeyId, OWNER, {
share_timeline: true,
share_map: true,
});
if (!link) throw new Error('no share link');
const published = await share.getPublicJourney(link.token);
expect(published?.entries.map((entry) => entry.title)).toEqual(['Arrival']);
expect(published?.stats.entries).toBe(1);
});
});
@@ -417,4 +417,33 @@ describe('JourneyDayImportService.takeOver', () => {
const [draftId = 0] = result.entries.map((entry) => entry.id);
expect(await findRow(orm, JourneyEntries, { id: draftId })).toMatchObject({ author_id: f.editor.id, is_draft: 1 });
});
it('JRNDAY-SVC-011: the same place twice without a position is joined without a map position', async () => {
const f = await fixture();
const blind = (v: DawarichVisitRaw): DawarichVisitRaw => ({
...v,
place: { latitude: null, longitude: null, id: null },
});
const stays = await reviewed(f.owner.id, f.journey.id, [blind(MARKUS_1), blind(MARKUS_2)]);
const result = await svc.takeOver(f.owner.id, f.journey.id, DAY, {
groups: [
{
kind: 'merged',
stays: [{ suggestionId: id(stays, 101) }, { suggestionId: id(stays, 102) }],
title: 'San Marco',
},
],
});
const [draftId = 0] = result.entries.map((entry) => entry.id);
expect(await findRow(orm, JourneyEntries, { id: draftId })).toMatchObject({
is_draft: 1,
title: 'San Marco',
location_name: 'Piazza San Marco',
location_lat: null,
location_lng: null,
});
expect(await countRows(orm, JourneyEntryStays, { entry: draftId })).toBe(2);
});
});
+6 -6
View File
@@ -887,12 +887,12 @@ const journey: TranslationStrings = {
'journey.dayImport.done.two': 'تم استيراد مسودتين',
'journey.dayImport.done.few': 'تم استيراد {count} مسودات',
'journey.dayImport.done.many': 'تم استيراد {count} مسودة',
'journey.dayImport.alreadyTaken': 'كانت {count} محطة توقف في اليوميات بالفعل. لم يُكتب شيء مرتين.',
'journey.dayImport.alreadyTaken.zero': 'لم تكن أي محطة توقف في اليوميات بالفعل. لم يُكتب شيء مرتين.',
'journey.dayImport.alreadyTaken.one': 'كانت محطة توقف واحدة في اليوميات بالفعل. لم يُكتب شيء مرتين.',
'journey.dayImport.alreadyTaken.two': 'كانت محطتا توقف في اليوميات بالفعل. لم يُكتب شيء مرتين.',
'journey.dayImport.alreadyTaken.few': 'كانت {count} محطات توقف في اليوميات بالفعل. لم يُكتب شيء مرتين.',
'journey.dayImport.alreadyTaken.many': 'كانت {count} محطة توقف في اليوميات بالفعل. لم يُكتب شيء مرتين.',
'journey.dayImport.alreadyTaken': 'كانت {count} محطة توقف قد نُقلت من قبل. لم يُكتب شيء مرتين.',
'journey.dayImport.alreadyTaken.zero': 'لم تكن أي محطة توقف قد نُقلت من قبل. لم يُكتب شيء مرتين.',
'journey.dayImport.alreadyTaken.one': 'كانت محطة توقف واحدة قد نُقلت من قبل. لم يُكتب شيء مرتين.',
'journey.dayImport.alreadyTaken.two': 'كانت محطتا توقف قد نُقلتا من قبل. لم يُكتب شيء مرتين.',
'journey.dayImport.alreadyTaken.few': 'كانت {count} محطات توقف قد نُقلت من قبل. لم يُكتب شيء مرتين.',
'journey.dayImport.alreadyTaken.many': 'كانت {count} محطة توقف قد نُقلت من قبل. لم يُكتب شيء مرتين.',
'journey.dayImport.failed':
'لم يُستورد شيء: {reason} تعرض القائمة ما تحتويه اليوميات الآن؛ المحاولة مجددًا لا تكتب شيئًا مرتين.',
'journey.dayImport.routeFailed': 'أُنشئت المسودات، لكن المسار لم يُحفظ: {reason}',
+2 -2
View File
@@ -898,8 +898,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Birləşdirilmiş hər qeydin və gün hesabatının başlığı olmalıdır.',
'journey.dayImport.done': '{count} qaralama köçürüldü',
'journey.dayImport.done.one': '{count} qaralama köçürüldü',
'journey.dayImport.alreadyTaken': '{count} dayanacaq artıq gündəlikdə idi. Heç nə iki dəfə yazılmadı.',
'journey.dayImport.alreadyTaken.one': '{count} dayanacaq artıq gündəlikdə idi. Heç nə iki dəfə yazılmadı.',
'journey.dayImport.alreadyTaken': '{count} dayanacaq artıq köçürülmüşdü. Heç nə iki dəfə yazılmadı.',
'journey.dayImport.alreadyTaken.one': '{count} dayanacaq artıq köçürülmüşdü. Heç nə iki dəfə yazılmadı.',
'journey.dayImport.failed':
'Heç nə köçürülmədi: {reason} Siyahı gündəliyin indi nəyi saxladığını göstərir; yenidən cəhd heç nəyi iki dəfə yazmır.',
'journey.dayImport.routeFailed': 'Qaralamalar əlavə olundu, amma marşrut saxlanmadı: {reason}',
+2 -2
View File
@@ -825,8 +825,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Cada entrada juntada e o relato do dia precisam de um título.',
'journey.dayImport.done': '{count} rascunhos importados',
'journey.dayImport.done.one': '{count} rascunho importado',
'journey.dayImport.alreadyTaken': '{count} paradas já estavam no diário. Nada foi gravado duas vezes.',
'journey.dayImport.alreadyTaken.one': '{count} parada já estava no diário. Nada foi gravado duas vezes.',
'journey.dayImport.alreadyTaken': '{count} paradas já tinham sido assumidas. Nada foi gravado duas vezes.',
'journey.dayImport.alreadyTaken.one': '{count} parada já tinha sido assumida. Nada foi gravado duas vezes.',
'journey.dayImport.failed':
'Nada foi importado: {reason} A lista mostra o que o diário contém agora; tentar de novo não grava nada duas vezes.',
'journey.dayImport.routeFailed': 'Os rascunhos foram criados, mas a rota não foi salva: {reason}',
+2 -2
View File
@@ -829,8 +829,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Cada entrada unida i la crònica del dia necessiten un títol.',
'journey.dayImport.done': '{count} esborranys incorporats',
'journey.dayImport.done.one': '{count} esborrany incorporat',
'journey.dayImport.alreadyTaken': '{count} estades ja eren al diari. No s’ha escrit res dues vegades.',
'journey.dayImport.alreadyTaken.one': '{count} estada ja era al diari. No s’ha escrit res dues vegades.',
'journey.dayImport.alreadyTaken': '{count} estades ja s’havien incorporat. No s’ha escrit res dues vegades.',
'journey.dayImport.alreadyTaken.one': '{count} estada ja s’havia incorporat. No s’ha escrit res dues vegades.',
'journey.dayImport.failed':
'No s’ha incorporat res: {reason} La llista mostra el que conté ara el diari; tornar-ho a provar no escriu res dues vegades.',
'journey.dayImport.routeFailed': 'Els esborranys s’han creat, però la ruta no s’ha desat: {reason}',
+3 -3
View File
@@ -838,9 +838,9 @@ const journey: TranslationStrings = {
'journey.dayImport.done': 'Převzato {count} konceptů',
'journey.dayImport.done.one': 'Převzat {count} koncept',
'journey.dayImport.done.few': 'Převzaty {count} koncepty',
'journey.dayImport.alreadyTaken': '{count} pobytů už bylo v deníku. Nic se nezapsalo dvakrát.',
'journey.dayImport.alreadyTaken.one': '{count} pobyt už byl v deníku. Nic se nezapsalo dvakrát.',
'journey.dayImport.alreadyTaken.few': '{count} pobyty už byly v deníku. Nic se nezapsalo dvakrát.',
'journey.dayImport.alreadyTaken': '{count} pobytů už bylo převzato. Nic se nezapsalo dvakrát.',
'journey.dayImport.alreadyTaken.one': '{count} pobyt už byl převzat. Nic se nezapsalo dvakrát.',
'journey.dayImport.alreadyTaken.few': '{count} pobyty už byly převzaty. Nic se nezapsalo dvakrát.',
'journey.dayImport.failed':
'Nic nebylo převzato: {reason} Seznam ukazuje, co deník teď obsahuje; nový pokus nic nezapíše dvakrát.',
'journey.dayImport.routeFailed': 'Koncepty jsou vytvořené, ale trasa se neuložila: {reason}',
+2 -2
View File
@@ -832,8 +832,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Jeder verbundene Eintrag und der Tagesbericht brauchen einen Titel.',
'journey.dayImport.done': '{count} Entwürfe übernommen',
'journey.dayImport.done.one': '{count} Entwurf übernommen',
'journey.dayImport.alreadyTaken': '{count} Aufenthalte waren schon im Journal. Nichts wurde doppelt angelegt.',
'journey.dayImport.alreadyTaken.one': '{count} Aufenthalt war schon im Journal. Nichts wurde doppelt angelegt.',
'journey.dayImport.alreadyTaken': '{count} Aufenthalte waren schon übernommen. Nichts wurde doppelt angelegt.',
'journey.dayImport.alreadyTaken.one': '{count} Aufenthalt war schon übernommen. Nichts wurde doppelt angelegt.',
'journey.dayImport.failed':
'Nichts wurde übernommen: {reason} Die Liste zeigt, was das Journal jetzt enthält; ein neuer Versuch legt nichts doppelt an.',
'journey.dayImport.routeFailed': 'Die Entwürfe sind angelegt, die Strecke wurde aber nicht gespeichert: {reason}',
+2 -2
View File
@@ -819,8 +819,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Every joined entry and the day report need a title.',
'journey.dayImport.done': '{count} drafts taken over',
'journey.dayImport.done.one': '{count} draft taken over',
'journey.dayImport.alreadyTaken': '{count} stays were in the journal already. Nothing was written twice.',
'journey.dayImport.alreadyTaken.one': '{count} stay was in the journal already. Nothing was written twice.',
'journey.dayImport.alreadyTaken': '{count} stays were taken over already. Nothing was written twice.',
'journey.dayImport.alreadyTaken.one': '{count} stay was taken over already. Nothing was written twice.',
'journey.dayImport.failed':
'Nothing was taken over: {reason} The list shows what the journal holds now; trying again writes nothing twice.',
'journey.dayImport.routeFailed': 'The drafts are in, but the route was not kept: {reason}',
+2 -2
View File
@@ -827,8 +827,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Cada entrada unida y la crónica del día necesitan un título.',
'journey.dayImport.done': '{count} borradores incorporados',
'journey.dayImport.done.one': '{count} borrador incorporado',
'journey.dayImport.alreadyTaken': '{count} estancias ya estaban en el diario. No se escribió nada dos veces.',
'journey.dayImport.alreadyTaken.one': '{count} estancia ya estaba en el diario. No se escribió nada dos veces.',
'journey.dayImport.alreadyTaken': '{count} estancias ya se habían incorporado. No se escribió nada dos veces.',
'journey.dayImport.alreadyTaken.one': '{count} estancia ya se había incorporado. No se escribió nada dos veces.',
'journey.dayImport.failed':
'No se incorporó nada: {reason} La lista muestra lo que contiene ahora el diario; volver a intentarlo no escribe nada dos veces.',
'journey.dayImport.routeFailed': 'Los borradores están creados, pero la ruta no se guardó: {reason}',
+2 -2
View File
@@ -822,8 +822,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Igal ühendatud sissekandel ja päevaülevaatel peab olema pealkiri.',
'journey.dayImport.done': '{count} mustandit üle võetud',
'journey.dayImport.done.one': '{count} mustand üle võetud',
'journey.dayImport.alreadyTaken': '{count} peatust oli juba päevikus. Midagi ei kirjutatud kaks korda.',
'journey.dayImport.alreadyTaken.one': '{count} peatus oli juba päevikus. Midagi ei kirjutatud kaks korda.',
'journey.dayImport.alreadyTaken': '{count} peatust oli juba üle võetud. Midagi ei kirjutatud kaks korda.',
'journey.dayImport.alreadyTaken.one': '{count} peatus oli juba üle võetud. Midagi ei kirjutatud kaks korda.',
'journey.dayImport.failed':
'Midagi ei võetud üle: {reason} Loend näitab, mis päevikus praegu on; uus katse ei kirjuta midagi kaks korda.',
'journey.dayImport.routeFailed': 'Mustandid on olemas, kuid teekonda ei hoitud: {reason}',
+2 -2
View File
@@ -826,8 +826,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Chaque entrée regroupée et le récit du jour doivent avoir un titre.',
'journey.dayImport.done': '{count} brouillons repris',
'journey.dayImport.done.one': '{count} brouillon repris',
'journey.dayImport.alreadyTaken': "{count} séjours étaient déjà dans le journal. Rien n'a été écrit deux fois.",
'journey.dayImport.alreadyTaken.one': "{count} séjour était déjà dans le journal. Rien n'a été écrit deux fois.",
'journey.dayImport.alreadyTaken': "{count} séjours avaient déjà été repris. Rien n'a été écrit deux fois.",
'journey.dayImport.alreadyTaken.one': "{count} séjour avait déjà été repris. Rien n'a été écrit deux fois.",
'journey.dayImport.failed':
"Rien n'a été repris : {reason} La liste montre ce que contient le journal maintenant ; un nouvel essai n'écrit rien deux fois.",
'journey.dayImport.routeFailed': "Les brouillons sont créés, mais le trajet n'a pas été gardé : {reason}",
+2 -2
View File
@@ -836,8 +836,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Κάθε ενωμένη καταχώριση και η αναφορά ημέρας χρειάζονται τίτλο.',
'journey.dayImport.done': '{count} πρόχειρα μεταφέρθηκαν',
'journey.dayImport.done.one': '{count} πρόχειρο μεταφέρθηκε',
'journey.dayImport.alreadyTaken': '{count} στάσεις υπήρχαν ήδη στο ημερολόγιο. Τίποτα δεν γράφτηκε δύο φορές.',
'journey.dayImport.alreadyTaken.one': '{count} στάση υπήρχε ήδη στο ημερολόγιο. Τίποτα δεν γράφτηκε δύο φορές.',
'journey.dayImport.alreadyTaken': '{count} στάσεις είχαν ήδη μεταφερθεί. Τίποτα δεν γράφτηκε δύο φορές.',
'journey.dayImport.alreadyTaken.one': '{count} στάση είχε ήδη μεταφερθεί. Τίποτα δεν γράφτηκε δύο φορές.',
'journey.dayImport.failed':
'Δεν μεταφέρθηκε τίποτα: {reason} Η λίστα δείχνει τι περιέχει τώρα το ημερολόγιο· μια νέα προσπάθεια δεν γράφει τίποτα δύο φορές.',
'journey.dayImport.routeFailed': 'Τα πρόχειρα δημιουργήθηκαν, αλλά η διαδρομή δεν αποθηκεύτηκε: {reason}',
+2 -2
View File
@@ -824,8 +824,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Minden összevont bejegyzésnek és a napi beszámolónak kell cím.',
'journey.dayImport.done': '{count} piszkozat átvéve',
'journey.dayImport.done.one': '{count} piszkozat átvéve',
'journey.dayImport.alreadyTaken': '{count} tartózkodás már a naplóban volt. Semmi sem lett kétszer felvéve.',
'journey.dayImport.alreadyTaken.one': '{count} tartózkodás már a naplóban volt. Semmi sem lett kétszer felvéve.',
'journey.dayImport.alreadyTaken': '{count} tartózkodást már korábban átvettek. Semmi sem lett kétszer felvéve.',
'journey.dayImport.alreadyTaken.one': '{count} tartózkodást már korábban átvettek. Semmi sem lett kétszer felvéve.',
'journey.dayImport.failed':
'Semmi sem lett átvéve: {reason} A lista azt mutatja, mi van most a naplóban; az újrapróbálás semmit sem ír kétszer.',
'journey.dayImport.routeFailed': 'A piszkozatok elkészültek, de az útvonal nem lett mentve: {reason}',
+1 -1
View File
@@ -804,7 +804,7 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.name': 'Setiap persinggahan yang dipilih perlu nama.',
'journey.dayImport.problem.title': 'Setiap catatan gabungan dan laporan harian perlu judul.',
'journey.dayImport.done': '{count} draf diambil',
'journey.dayImport.alreadyTaken': '{count} persinggahan sudah ada di jurnal. Tidak ada yang ditulis dua kali.',
'journey.dayImport.alreadyTaken': '{count} persinggahan sudah pernah diambil alih. Tidak ada yang ditulis dua kali.',
'journey.dayImport.failed':
'Tidak ada yang diambil: {reason} Daftar menunjukkan isi jurnal sekarang; mencoba lagi tidak menulis apa pun dua kali.',
'journey.dayImport.routeFailed': 'Draf sudah dibuat, tetapi rute tidak disimpan: {reason}',
+2 -2
View File
@@ -827,8 +827,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Ogni voce unita e il resoconto del giorno hanno bisogno di un titolo.',
'journey.dayImport.done': '{count} bozze riprese',
'journey.dayImport.done.one': '{count} bozza ripresa',
'journey.dayImport.alreadyTaken': '{count} soste erano già nel diario. Nulla è stato scritto due volte.',
'journey.dayImport.alreadyTaken.one': '{count} sosta era già nel diario. Nulla è stato scritto due volte.',
'journey.dayImport.alreadyTaken': '{count} soste erano già state riprese. Nulla è stato scritto due volte.',
'journey.dayImport.alreadyTaken.one': '{count} sosta era già stata ripresa. Nulla è stato scritto due volte.',
'journey.dayImport.failed':
'Non è stato ripreso nulla: {reason} L’elenco mostra ciò che il diario contiene ora; riprovare non scrive nulla due volte.',
'journey.dayImport.routeFailed': 'Le bozze sono state create, ma il percorso non è stato conservato: {reason}',
+1 -1
View File
@@ -793,7 +793,7 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.name': '選んだ滞在先にはすべて名前が必要です。',
'journey.dayImport.problem.title': 'まとめたエントリーと1日のレポートにはタイトルが必要です。',
'journey.dayImport.done': '下書き {count} 件を取り込みました',
'journey.dayImport.alreadyTaken': '{count} 件の滞在先はすでにジャーナルにありました。二重には書き込まれていません。',
'journey.dayImport.alreadyTaken': '{count} 件の滞在先はすでに取り込み済みでした。二重には書き込まれていません。',
'journey.dayImport.failed':
'何も取り込まれませんでした: {reason} リストは現在のジャーナルの内容を示しています。再試行しても二重には書き込まれません。',
'journey.dayImport.routeFailed': '下書きは作成されましたが、ルートは保存されませんでした: {reason}',
+1 -1
View File
@@ -790,7 +790,7 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.name': '선택한 머문 곳마다 이름이 필요합니다.',
'journey.dayImport.problem.title': '합친 항목과 하루 기록에는 제목이 필요합니다.',
'journey.dayImport.done': '초안 {count}개를 가져왔습니다',
'journey.dayImport.alreadyTaken': '머문 곳 {count}개는 이미 저널에 있었습니다. 중복으로 기록된 것은 없습니다.',
'journey.dayImport.alreadyTaken': '머문 곳 {count}개는 이미 가져온 상태였습니다. 중복으로 기록된 것은 없습니다.',
'journey.dayImport.failed':
'아무것도 가져오지 못했습니다: {reason} 목록은 지금 저널에 있는 내용을 보여 줍니다. 다시 시도해도 중복 기록되지 않습니다.',
'journey.dayImport.routeFailed': '초안은 만들어졌지만 경로는 저장되지 않았습니다: {reason}',
+2 -2
View File
@@ -829,8 +829,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Elk samengevoegd item en het dagverslag hebben een titel nodig.',
'journey.dayImport.done': '{count} concepten overgenomen',
'journey.dayImport.done.one': '{count} concept overgenomen',
'journey.dayImport.alreadyTaken': '{count} verblijven stonden al in het dagboek. Er is niets dubbel geschreven.',
'journey.dayImport.alreadyTaken.one': '{count} verblijf stond al in het dagboek. Er is niets dubbel geschreven.',
'journey.dayImport.alreadyTaken': '{count} verblijven waren al overgenomen. Er is niets dubbel geschreven.',
'journey.dayImport.alreadyTaken.one': '{count} verblijf was al overgenomen. Er is niets dubbel geschreven.',
'journey.dayImport.failed':
'Er is niets overgenomen: {reason} De lijst toont wat het dagboek nu bevat; opnieuw proberen schrijft niets dubbel.',
'journey.dayImport.routeFailed': 'De concepten staan erin, maar de route is niet bewaard: {reason}',
+4 -4
View File
@@ -866,10 +866,10 @@ const journey: TranslationStrings = {
'journey.dayImport.done.one': 'Przejęto {count} szkic',
'journey.dayImport.done.few': 'Przejęto {count} szkice',
'journey.dayImport.done.many': 'Przejęto {count} szkiców',
'journey.dayImport.alreadyTaken': '{count} postoju było już w dzienniku. Nic nie zapisano dwa razy.',
'journey.dayImport.alreadyTaken.one': '{count} postój był już w dzienniku. Nic nie zapisano dwa razy.',
'journey.dayImport.alreadyTaken.few': '{count} postoje były już w dzienniku. Nic nie zapisano dwa razy.',
'journey.dayImport.alreadyTaken.many': '{count} postojów było już w dzienniku. Nic nie zapisano dwa razy.',
'journey.dayImport.alreadyTaken': '{count} postoju było już przejęte. Nic nie zapisano dwa razy.',
'journey.dayImport.alreadyTaken.one': '{count} postój był już przejęty. Nic nie zapisano dwa razy.',
'journey.dayImport.alreadyTaken.few': '{count} postoje były już przejęte. Nic nie zapisano dwa razy.',
'journey.dayImport.alreadyTaken.many': '{count} postojów było już przejętych. Nic nie zapisano dwa razy.',
'journey.dayImport.failed':
'Nic nie przejęto: {reason} Lista pokazuje, co jest teraz w dzienniku; ponowna próba nic nie zapisze dwa razy.',
'journey.dayImport.routeFailed': 'Szkice zostały utworzone, ale trasy nie zapisano: {reason}',
+4 -4
View File
@@ -865,10 +865,10 @@ const journey: TranslationStrings = {
'journey.dayImport.done.one': 'Перенесён {count} черновик',
'journey.dayImport.done.few': 'Перенесено {count} черновика',
'journey.dayImport.done.many': 'Перенесено {count} черновиков',
'journey.dayImport.alreadyTaken': '{count} остановки уже были в дневнике. Ничего не записано дважды.',
'journey.dayImport.alreadyTaken.one': '{count} остановка уже была в дневнике. Ничего не записано дважды.',
'journey.dayImport.alreadyTaken.few': '{count} остановки уже были в дневнике. Ничего не записано дважды.',
'journey.dayImport.alreadyTaken.many': '{count} остановок уже было в дневнике. Ничего не записано дважды.',
'journey.dayImport.alreadyTaken': '{count} остановки уже были перенесены. Ничего не записано дважды.',
'journey.dayImport.alreadyTaken.one': '{count} остановка уже была перенесена. Ничего не записано дважды.',
'journey.dayImport.alreadyTaken.few': '{count} остановки уже были перенесены. Ничего не записано дважды.',
'journey.dayImport.alreadyTaken.many': '{count} остановок уже было перенесено. Ничего не записано дважды.',
'journey.dayImport.failed':
'Ничего не перенесено: {reason} Список показывает, что сейчас в дневнике; повторная попытка ничего не запишет дважды.',
'journey.dayImport.routeFailed': 'Черновики созданы, но маршрут не сохранён: {reason}',
+3 -3
View File
@@ -844,9 +844,9 @@ const journey: TranslationStrings = {
'journey.dayImport.done': 'Prevzatých {count} konceptov',
'journey.dayImport.done.one': 'Prevzatý {count} koncept',
'journey.dayImport.done.few': 'Prevzaté {count} koncepty',
'journey.dayImport.alreadyTaken': '{count} pobytov už bolo v denníku. Nič sa nezapísalo dvakrát.',
'journey.dayImport.alreadyTaken.one': '{count} pobyt už bol v denníku. Nič sa nezapísalo dvakrát.',
'journey.dayImport.alreadyTaken.few': '{count} pobyty už boli v denníku. Nič sa nezapísalo dvakrát.',
'journey.dayImport.alreadyTaken': '{count} pobytov už bolo prevzatých. Nič sa nezapísalo dvakrát.',
'journey.dayImport.alreadyTaken.one': '{count} pobyt už bol prevzatý. Nič sa nezapísalo dvakrát.',
'journey.dayImport.alreadyTaken.few': '{count} pobyty už boli prevzaté. Nič sa nezapísalo dvakrát.',
'journey.dayImport.failed':
'Nič nebolo prevzaté: {reason} Zoznam ukazuje, čo denník teraz obsahuje; nový pokus nič nezapíše dvakrát.',
'journey.dayImport.routeFailed': 'Koncepty sú vytvorené, ale trasa sa neuložila: {reason}',
+2 -2
View File
@@ -820,8 +820,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Varje ihopslaget inlägg och dagsrapporten behöver en rubrik.',
'journey.dayImport.done': '{count} utkast övertagna',
'journey.dayImport.done.one': '{count} utkast övertaget',
'journey.dayImport.alreadyTaken': '{count} vistelser fanns redan i dagboken. Inget skrevs två gånger.',
'journey.dayImport.alreadyTaken.one': '{count} vistelse fanns redan i dagboken. Inget skrevs två gånger.',
'journey.dayImport.alreadyTaken': '{count} vistelser var redan övertagna. Inget skrevs två gånger.',
'journey.dayImport.alreadyTaken.one': '{count} vistelse var redan övertagen. Inget skrevs två gånger.',
'journey.dayImport.failed':
'Inget togs över: {reason} Listan visar vad dagboken innehåller nu; ett nytt försök skriver inget två gånger.',
'journey.dayImport.routeFailed': 'Utkasten är sparade, men rutten sparades inte: {reason}',
+1 -1
View File
@@ -783,7 +783,7 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.name': 'จุดแวะพักที่เลือกทุกแห่งต้องมีชื่อ',
'journey.dayImport.problem.title': 'รายการที่รวมกันและบันทึกประจำวันต้องมีชื่อ',
'journey.dayImport.done': 'นำเข้าฉบับร่าง {count} รายการแล้ว',
'journey.dayImport.alreadyTaken': 'จุดแวะพัก {count} แห่งอยู่ในบันทึกแล้ว ไม่มีอะไรถูกเขียนซ้ำ',
'journey.dayImport.alreadyTaken': 'จุดแวะพัก {count} แห่งถูกนำเข้าไปแล้ว ไม่มีอะไรถูกเขียนซ้ำ',
'journey.dayImport.failed':
'ยังไม่ได้นำเข้าอะไร: {reason} รายการแสดงสิ่งที่อยู่ในบันทึกตอนนี้ การลองใหม่จะไม่เขียนซ้ำ',
'journey.dayImport.routeFailed': 'สร้างฉบับร่างแล้ว แต่ยังไม่ได้เก็บเส้นทาง: {reason}',
+2 -2
View File
@@ -821,8 +821,8 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.title': 'Birleştirilen her kaydın ve gün raporunun bir başlığı olmalı.',
'journey.dayImport.done': '{count} taslak aktarıldı',
'journey.dayImport.done.one': '{count} taslak aktarıldı',
'journey.dayImport.alreadyTaken': '{count} durak zaten günlükteydi. Hiçbir şey iki kez yazılmadı.',
'journey.dayImport.alreadyTaken.one': '{count} durak zaten günlükteydi. Hiçbir şey iki kez yazılmadı.',
'journey.dayImport.alreadyTaken': '{count} durak zaten aktarılmıştı. Hiçbir şey iki kez yazılmadı.',
'journey.dayImport.alreadyTaken.one': '{count} durak zaten aktarılmıştı. Hiçbir şey iki kez yazılmadı.',
'journey.dayImport.failed':
'Hiçbir şey aktarılmadı: {reason} Liste günlüğün şu an neleri içerdiğini gösteriyor; yeniden denemek hiçbir şeyi iki kez yazmaz.',
'journey.dayImport.routeFailed': 'Taslaklar eklendi ama rota saklanmadı: {reason}',
+4 -4
View File
@@ -872,10 +872,10 @@ const journey: TranslationStrings = {
'journey.dayImport.done.one': 'Перенесено {count} чернетку',
'journey.dayImport.done.few': 'Перенесено {count} чернетки',
'journey.dayImport.done.many': 'Перенесено {count} чернеток',
'journey.dayImport.alreadyTaken': '{count} зупинки вже були в щоденнику. Нічого не записано двічі.',
'journey.dayImport.alreadyTaken.one': '{count} зупинка вже була в щоденнику. Нічого не записано двічі.',
'journey.dayImport.alreadyTaken.few': '{count} зупинки вже були в щоденнику. Нічого не записано двічі.',
'journey.dayImport.alreadyTaken.many': '{count} зупинок уже було в щоденнику. Нічого не записано двічі.',
'journey.dayImport.alreadyTaken': '{count} зупинки вже були перенесені. Нічого не записано двічі.',
'journey.dayImport.alreadyTaken.one': '{count} зупинка вже була перенесена. Нічого не записано двічі.',
'journey.dayImport.alreadyTaken.few': '{count} зупинки вже були перенесені. Нічого не записано двічі.',
'journey.dayImport.alreadyTaken.many': '{count} зупинок уже було перенесено. Нічого не записано двічі.',
'journey.dayImport.failed':
'Нічого не перенесено: {reason} Список показує, що зараз у щоденнику; повторна спроба нічого не запише двічі.',
'journey.dayImport.routeFailed': 'Чернетки створено, але маршрут не збережено: {reason}',
+1 -1
View File
@@ -801,7 +801,7 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.name': 'Mỗi điểm dừng đã chọn cần có tên.',
'journey.dayImport.problem.title': 'Mỗi mục đã gộp và báo cáo ngày cần có tiêu đề.',
'journey.dayImport.done': 'Đã nhập {count} bản nháp',
'journey.dayImport.alreadyTaken': '{count} điểm dừng đã có trong nhật ký. Không có gì bị ghi hai lần.',
'journey.dayImport.alreadyTaken': '{count} điểm dừng đã được chuyển vào trước đó. Không có gì bị ghi hai lần.',
'journey.dayImport.failed':
'Chưa nhập được gì: {reason} Danh sách cho thấy nhật ký hiện có gì; thử lại sẽ không ghi trùng.',
'journey.dayImport.routeFailed': 'Bản nháp đã được tạo, nhưng lộ trình chưa được lưu: {reason}',
+1 -1
View File
@@ -774,7 +774,7 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.name': '每個選取的停留點都需要名稱。',
'journey.dayImport.problem.title': '每個合併的項目和當日記述都需要標題。',
'journey.dayImport.done': '已匯入 {count} 篇草稿',
'journey.dayImport.alreadyTaken': '{count} 個停留點已在日誌中,沒有重複寫入。',
'journey.dayImport.alreadyTaken': '{count} 個停留點之前已被採用,沒有重複寫入。',
'journey.dayImport.failed': '沒有匯入任何內容:{reason} 清單顯示日誌現在的內容;再試一次不會重複寫入。',
'journey.dayImport.routeFailed': '草稿已建立,但路線未儲存:{reason}',
'journey.dayImport.routeRetry': '再次儲存路線',
+1 -1
View File
@@ -774,7 +774,7 @@ const journey: TranslationStrings = {
'journey.dayImport.problem.name': '每个选中的停留点都需要名称。',
'journey.dayImport.problem.title': '每个合并的条目和当日记述都需要标题。',
'journey.dayImport.done': '已导入 {count} 篇草稿',
'journey.dayImport.alreadyTaken': '{count} 个停留点已在日志中,没有重复写入。',
'journey.dayImport.alreadyTaken': '{count} 个停留点之前已被采用,没有重复写入。',
'journey.dayImport.failed': '没有导入任何内容:{reason} 列表显示日志现在的内容;再试一次不会重复写入。',
'journey.dayImport.routeFailed': '草稿已创建,但路线未保存:{reason}',
'journey.dayImport.routeRetry': '再次保存路线',