The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(tours): plural toast, repo route and test updates for the waypoint import
Maurice01c7bc9de235
diff --git a/client/src/components/Tours/TourGpxPreviewDialog.tsx b/client/src/components/Tours/TourGpxPreviewDialog.tsxindex c580db8dd..d4b1f7ecf 100644--- a/client/src/components/Tours/TourGpxPreviewDialog.tsx+++ b/client/src/components/Tours/TourGpxPreviewDialog.tsx@@ -199,6 +199,29 @@ export default function TourGpxPreviewDialog({const HIKE: TourGpxImportFields = { tour_type: 'hike' };+/** A fresh line needs its type complete; a file of known lines can still be confirmed for its points alone. */+function canConfirm(fresh: number, addsPoints: boolean, typeComplete: boolean): boolean {+ return fresh > 0 ? typeComplete : addsPoints;+}++/** The points offered as places, and below them whatever else stays out. */+function PreviewExtras({+ leftOut,+ withPoints,+ onTogglePoints,+}: {+ leftOut: TourFileLeftOut;+ withPoints: boolean;+ onTogglePoints: () => void;+}) {+ return (+ <>+ {leftOut.points > 0 && <PreviewPoints count={leftOut.points} on={withPoints} onToggle={onTogglePoints} />}+ <PreviewLeftOut leftOut={withPoints ? { ...leftOut, points: 0 } : leftOut} />+ </>+ );+}+function PreviewDialog({gpxImport,files,@@ -226,8 +249,8 @@ function PreviewDialog({[files]);const focusPoints = useMemo(() => lines.flat(), [lines]);- const canImport =- (fresh > 0 || addsPoints) && (fresh === 0 || importMissing(choices.chosen) === null) && !gpxImport.importing;+ const canImport = canConfirm(fresh, addsPoints, importMissing(choices.chosen) === null) && !gpxImport.importing;+ const confirmLabel = fresh > 0 ? t('tours.import.previewConfirm', { count: fresh }) : t('tours.import.pointsConfirm');const fields = importFields(choices.chosen);const title = files.length === 1 ? files[0].file.name : t('tours.import.previewFiles', { count: files.length });@@ -266,7 +289,7 @@ function PreviewDialog({disabled={!canImport}onClick={() => void gpxImport.confirm(fields, { points: addsPoints })}>- {fresh > 0 ? t('tours.import.previewConfirm', { count: fresh }) : t('tours.import.pointsConfirm')}+ {confirmLabel}</DialogButton></DialogFooter>}@@ -291,10 +314,7 @@ function PreviewDialog({<PreviewTrackRow key={`${file.name}-${index}`} name={file.name} number={index + 1} track={track} />))}</ul>- {leftOut.points > 0 && (- <PreviewPoints count={leftOut.points} on={withPoints} onToggle={() => setWithPoints((on) => !on)} />- )}- <PreviewLeftOut leftOut={withPoints ? { ...leftOut, points: 0 } : leftOut} />+ <PreviewExtras leftOut={leftOut} withPoints={withPoints} onTogglePoints={() => setWithPoints((on) => !on)} />{fresh === 0 && !addsPoints && (<div className="mt-2"><TourNotice tone="warning" icon={<AlertTriangle size={13} strokeWidth={2} />}>diff --git a/client/src/components/Tours/ToursSidebar.test.tsx b/client/src/components/Tours/ToursSidebar.test.tsxindex 9e3b2292e..ec3eac244 100644--- a/client/src/components/Tours/ToursSidebar.test.tsx+++ b/client/src/components/Tours/ToursSidebar.test.tsx@@ -6,6 +6,7 @@ import { useSettingsStore } from '../../store/settingsStore'import { useAuthStore } from '../../store/authStore'import { useTourMapVisibilityStore } from '../../store/tourMapVisibilityStore'import { useTripStore } from '../../store/tripStore'+import { placesApi } from '../../api/client'import { tourGpxApi } from '../../api/tourGpx'import ToursSidebar from './ToursSidebar'import { pickFiles } from '../../../tests/helpers/filePicker'@@ -457,6 +458,7 @@ describe('ToursSidebar', () => {left_out: { points: 3, areas: 1, other: 0 },})const importCall = vi.spyOn(tourGpxApi, 'import').mockResolvedValue({ tours: [tour], caution: false, skipped: 0 })+ const pinsCall = vi.spyOn(placesApi, 'importMapFile').mockResolvedValue({ count: 3 })seedStore(useTripStore, { refreshPlaces: vi.fn().mockResolvedValue(undefined) })render(<ToursSidebar tripId={1} days={[]} tours={[]} canEdit={true} onAssignToDay={vi.fn()} onSelectTour={vi.fn()} />@@ -469,9 +471,11 @@ describe('ToursSidebar', () => {const rows = screen.getAllByTestId('gpx-preview-track')expect(rows.map((row) => row.textContent?.slice(0, 1))).toEqual(['1', '2'])expect(rows[1]).toHaveTextContent('No heights in the file')+ // The pins are offered as places (#2969); only the area stays out.+ expect(screen.getByTestId('gpx-preview-points')).toHaveTextContent('3 pins')const leftOut = screen.getByTestId('gpx-preview-left-out')expect(leftOut).toHaveTextContent('Not imported')- expect(leftOut).toHaveTextContent('3 pins')+ expect(leftOut).not.toHaveTextContent('pins')expect(leftOut).toHaveTextContent('1 area')expect(leftOut).not.toHaveTextContent('other item')expect(within(leftOut).getByRole('button', { name: 'Not imported' })).toBeInTheDocument()@@ -479,6 +483,8 @@ describe('ToursSidebar', () => {fireEvent.click(screen.getByRole('button', { name: 'Import 2 tours' }))await waitFor(() => expect(importCall).toHaveBeenCalledWith(1, file, { tour_type: 'hike' }))await waitFor(() => expect(toast.success).toHaveBeenCalledWith('1 tour imported'))+ expect(pinsCall).toHaveBeenCalledWith(1, file, { points: true, paths: false })+ expect(toast.success).toHaveBeenCalledWith('3 places added')vi.restoreAllMocks()})diff --git a/client/src/components/Tours/horse/RecordedRideFacts.test.tsx b/client/src/components/Tours/horse/RecordedRideFacts.test.tsxindex aada4c7ea..013912c42 100644--- a/client/src/components/Tours/horse/RecordedRideFacts.test.tsx+++ b/client/src/components/Tours/horse/RecordedRideFacts.test.tsx@@ -121,7 +121,7 @@ describe('a ride taken from a GPX file (HOR-02)', () => {expect(gpxImport.confirm).not.toHaveBeenCalled();fireEvent.click(screen.getByTestId('gpx-preview-import'));- expect(gpxImport.confirm).toHaveBeenCalledWith({ tour_type: 'horse' });+ expect(gpxImport.confirm).toHaveBeenCalledWith({ tour_type: 'horse' }, { points: false });});it('FE-HORSE-IMPORT-005: a recorded ride in view carries the card, with the heights its file lacks named', () => {diff --git a/client/src/components/Tours/useTourGpxImport.ts b/client/src/components/Tours/useTourGpxImport.tsindex 60b4c7eec..f24c80efa 100644--- a/client/src/components/Tours/useTourGpxImport.ts+++ b/client/src/components/Tours/useTourGpxImport.ts@@ -1,6 +1,5 @@import type { TourFileLeftOut, TourGpxImportFields, TourGpxPreviewTrack, TourListItem } from '@trek/shared';import { useCallback, useState } from 'react';-import { placesApi } from '../../api/client';import { useTranslation } from '../../i18n';import { tourRepo } from '../../repo/tourRepo';import { useTripStore } from '../../store/tripStore';@@ -45,21 +44,58 @@ export interface GpxPreviewFile {leftOut?: TourFileLeftOut;}-/** The points of one file added as places of the trip, through the places import that has always taken them. */-async function importPoints(tripId: number, file: File): Promise<number> {- const isGpx = file.name.toLowerCase().endsWith('.gpx');- const result = isGpx- ? await placesApi.importGpx(tripId, file, { waypoints: true, routes: false, tracks: false })- : await placesApi.importMapFile(tripId, file, { points: true, paths: false });- return result.count ?? 0;-}-/** What to do with the previewed files besides their lines. */export interface TourImportExtras {/** Add each file's points (GPX waypoints, KML pins) as places of the trip (#2969). */points?: boolean;}+interface ToursImported {+ tours: TourListItem[];+ skipped: number;+ caution: boolean;+}++/** Each file with a line the trip does not hold yet, imported as tours; a file that fails is handed to `onError`. */+async function importTours(+ tripId: number,+ files: readonly GpxPreviewFile[],+ fields: TourGpxImportFields,+ onError: (error: unknown, file: File) => void+): Promise<ToursImported> {+ const sum: ToursImported = { tours: [], skipped: 0, caution: false };+ for (const { file, tracks } of files) {+ if (tracks.every((track) => track.duplicate)) continue;+ try {+ const result = await tourRepo.importGpx(tripId, file, fields);+ sum.tours.push(...result.tours);+ sum.skipped += result.skipped;+ sum.caution ||= result.caution;+ } catch (error: unknown) {+ onError(error, file);+ }+ }+ return sum;+}++/** The points of each file that holds any, added as places (#2969); a file that fails is handed to `onError`. */+async function importPoints(+ tripId: number,+ files: readonly GpxPreviewFile[],+ onError: (file: File) => void+): Promise<number> {+ let places = 0;+ for (const { file, leftOut } of files) {+ if (!leftOut?.points) continue;+ try {+ places += await tourRepo.importFilePoints(tripId, file);+ } catch {+ onError(file);+ }+ }+ return places;+}+interface TourGpxImportOptions {tripId: number;canEdit: boolean;@@ -142,30 +178,13 @@ export function useTourGpxImport({ tripId, canEdit, onToursChanged, onImported,async (fields: TourGpxImportFields, extras: TourImportExtras = {}) => {if (!canEdit || !preview || importing) return;setImporting(true);- const imported: TourListItem[] = [];- let skipped = 0;- let caution = false;- let places = 0;try {- for (const { file, tracks, leftOut } of preview) {- if (tracks.some((track) => !track.duplicate)) {- try {- const result = await tourRepo.importGpx(tripId, file, fields);- imported.push(...result.tours);- skipped += result.skipped;- caution ||= result.caution;- } catch (error: unknown) {- fileError(error, file);- }- }- if (extras.points && (leftOut?.points ?? 0) > 0) {- try {- places += await importPoints(tripId, file);- } catch {- toast.error(t('tours.import.pointsFailedIn', { name: file.name }));- }- }- }+ const { tours: imported, skipped, caution } = await importTours(tripId, preview, fields, fileError);+ const places = extras.points+ ? await importPoints(tripId, preview, (file) =>+ toast.error(t('tours.import.pointsFailedIn', { name: file.name }))+ )+ : 0;setPreview(null);if (places > 0) {if (imported.length === 0) await refreshPlaces(tripId);diff --git a/client/src/repo/tourRepo.ts b/client/src/repo/tourRepo.tsindex a7b55a242..df69b3925 100644--- a/client/src/repo/tourRepo.ts+++ b/client/src/repo/tourRepo.ts@@ -1,5 +1,5 @@import { computeTourMetrics, estimatePaddleTime, paddleCheckSummaryOf, paddleLayoutOfTrack, paddleMovingSeconds, recommendedPaddleSpeedKmh, type GeometryPoint, type TourActivityAssignRequest, type TourObstacleCheck, type TourObstacleReviewsRequest, type TourPaddlePlanRequest, type TourSkiClassificationRequest, type TourCreateRequest, type TourCreateResponse, type TourDetailResponse, type TourGpxImportFields, type TourGpxPreviewResponse, type TourImportGpxResponse, type TourListItem, type TourWaypoint, walkStationFacts } from '@trek/shared'-import { toursApi } from '../api/client'+import { placesApi, toursApi } from '../api/client'import { tourGpxApi } from '../api/tourGpx'import { recordedTrackApi } from '../api/recordedTrack'import { tourActivitiesApi } from '../api/tourActivities'@@ -499,6 +499,19 @@ export const tourRepo = {return result},+ /**+ * The single points of a file (GPX waypoints, KML pins) added as places of+ * the trip through the places import, which reads nothing else of it here+ * (#2969). Online only, like the Tours import beside it. Answers how many+ * places came in.+ */+ async importFilePoints(tripId: number | string, file: File): Promise<number> {+ const result = file.name.toLowerCase().endsWith('.gpx')+ ? await placesApi.importGpx(tripId, file, { waypoints: true, routes: false, tracks: false })+ : await placesApi.importMapFile(tripId, file, { points: true, paths: false })+ return result.count ?? 0+ },+/** Reads a GPX, KML or KMZ file for its preview; online only, like the import, and nothing is cached. */async previewGpx(tripId: number | string, file: File): Promise<TourGpxPreviewResponse> {return tourGpxApi.preview(tripId, file)diff --git a/server/tests/unit/nest/tours.file-import.test.ts b/server/tests/unit/nest/tours.file-import.test.tsindex c23e637da..93300e0e7 100644--- a/server/tests/unit/nest/tours.file-import.test.ts+++ b/server/tests/unit/nest/tours.file-import.test.ts@@ -20,10 +20,10 @@ const KML = Buffer.from(`<kml><Placemark><name>Coast</name><Placemark><Polygon/></Placemark></kml>`);describe('readTourFile', () => {- it('TOUR-FILE-001: reads a GPX file for its tracks, never its waypoints, and counts nothing left out', async () => {+ it('TOUR-FILE-001: reads a GPX file for its tracks, never its waypoints, and counts them as left out (#2969)', async () => {const read = await readTourFile(buildPlaceImportService(), GPX, 'ridge.gpx');expect(read.rows.map((row) => row.name)).toEqual(['ridge']);- expect(read.leftOut).toBeUndefined();+ expect(read.leftOut).toEqual({ points: 1, areas: 0, other: 0 });});it('TOUR-FILE-002: reads a file without a known extension, or without a name, as GPX as before', async () => {diff --git a/shared/src/i18n/ar/tours.ts b/shared/src/i18n/ar/tours.tsindex 91da46c49..c0630fdbb 100644--- a/shared/src/i18n/ar/tours.ts+++ b/shared/src/i18n/ar/tours.ts@@ -971,7 +971,12 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'النقاط المفردة ليست جزءًا من الجولة، بل تُضاف إلى أماكن الرحلة.','tours.import.pointsConfirm': 'أضف الأماكن','tours.import.pointsFailedIn': 'تعذّرت إضافة النقاط في {name} كأماكن.',- 'tours.import.pointsImported': 'الأماكن المضافة: {count}',+ 'tours.import.pointsImported': 'أُضيف {count} مكان',+ 'tours.import.pointsImported.zero': 'أُضيف {count} مكان',+ 'tours.import.pointsImported.one': 'أُضيف مكان واحد',+ 'tours.import.pointsImported.two': 'أُضيف مكانان',+ 'tours.import.pointsImported.few': 'أُضيفت {count} أماكن',+ 'tours.import.pointsImported.many': 'أُضيف {count} مكانًا','tours.import.unreadableIn': 'تعذّرت قراءة {name}: الملف تالف أو ليس GPX أو KML أو KMZ','tours.import.archiveNoKmlIn': 'لم يُعثر على ملف KML في {name}','tours.import.archiveTooLargeIn': '{name} كبير جدًا بعد فك الضغط',diff --git a/shared/src/i18n/az/tours.ts b/shared/src/i18n/az/tours.tsindex 62bd4f92e..604655dc2 100644--- a/shared/src/i18n/az/tours.ts+++ b/shared/src/i18n/az/tours.ts@@ -957,10 +957,12 @@ const tours: TranslationStrings = {'tours.import.leftOutOther': '{count} digər element','tours.import.leftOutOther.one': '{count} digər element','tours.import.pointsAsPlaces': 'Nöqtələri məkan kimi əlavə et',- 'tours.import.pointsAsPlacesHint': 'Tək nöqtələr turun bir hissəsi deyil. Onlar əvəzinə səyahətin məkanlarına əlavə olunur.',+ 'tours.import.pointsAsPlacesHint':+ 'Tək nöqtələr turun bir hissəsi deyil. Onlar əvəzinə səyahətin məkanlarına əlavə olunur.','tours.import.pointsConfirm': 'Məkanları əlavə et','tours.import.pointsFailedIn': '{name} faylındakı nöqtələr məkan kimi əlavə edilə bilmədi.',- 'tours.import.pointsImported': 'Əlavə edilən məkanlar: {count}',+ 'tours.import.pointsImported': '{count} məkan əlavə edildi',+ 'tours.import.pointsImported.one': '{count} məkan əlavə edildi','tours.import.unreadableIn': '{name} oxunmadı: fayl zədələnib və ya GPX, KML, KMZ deyil','tours.import.archiveNoKmlIn': '{name} içində KML faylı tapılmadı','tours.import.archiveTooLargeIn': '{name} açıldıqdan sonra çox böyükdür',diff --git a/shared/src/i18n/br/tours.ts b/shared/src/i18n/br/tours.tsindex 288d0b40b..94c26c410 100644--- a/shared/src/i18n/br/tours.ts+++ b/shared/src/i18n/br/tours.ts@@ -966,7 +966,8 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'Pontos avulsos não fazem parte de um passeio. Eles entram nos lugares da viagem.','tours.import.pointsConfirm': 'Adicionar lugares','tours.import.pointsFailedIn': 'Não foi possível adicionar os pontos de {name} como lugares.',- 'tours.import.pointsImported': 'Lugares adicionados: {count}',+ 'tours.import.pointsImported': '{count} lugares adicionados',+ 'tours.import.pointsImported.one': '{count} lugar adicionado','tours.import.unreadableIn': 'Não foi possível ler {name}: o arquivo está danificado ou não é GPX, KML nem KMZ','tours.import.archiveNoKmlIn': 'Nenhum arquivo KML encontrado em {name}','tours.import.archiveTooLargeIn': '{name} é grande demais depois de descompactado',diff --git a/shared/src/i18n/ca/tours.ts b/shared/src/i18n/ca/tours.tsindex a76090a1c..d6b5845e6 100644--- a/shared/src/i18n/ca/tours.ts+++ b/shared/src/i18n/ca/tours.ts@@ -968,7 +968,8 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'Els punts solts no formen part de cap ruta. S’afegeixen als llocs del viatge.','tours.import.pointsConfirm': 'Afegeix llocs','tours.import.pointsFailedIn': 'No s’han pogut afegir els punts de {name} com a llocs.',- 'tours.import.pointsImported': 'Llocs afegits: {count}',+ 'tours.import.pointsImported': '{count} llocs afegits',+ 'tours.import.pointsImported.one': '{count} lloc afegit','tours.import.unreadableIn': "No s'ha pogut llegir {name}: el fitxer està malmès o no és GPX, KML ni KMZ",'tours.import.archiveNoKmlIn': "No s'ha trobat cap fitxer KML a {name}",'tours.import.archiveTooLargeIn': '{name} és massa gran un cop descomprimit',diff --git a/shared/src/i18n/cs/tours.ts b/shared/src/i18n/cs/tours.tsindex 19d0adeaa..465ed00d9 100644--- a/shared/src/i18n/cs/tours.ts+++ b/shared/src/i18n/cs/tours.ts@@ -954,7 +954,9 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'Samostatné body nejsou součástí trasy. Přidají se místo toho k místům cesty.','tours.import.pointsConfirm': 'Přidat místa','tours.import.pointsFailedIn': 'Body ze souboru {name} se nepodařilo přidat jako místa.',- 'tours.import.pointsImported': 'Přidaná místa: {count}',+ 'tours.import.pointsImported': '{count} míst přidáno',+ 'tours.import.pointsImported.one': '{count} místo přidáno',+ 'tours.import.pointsImported.few': '{count} místa přidána','tours.import.unreadableIn': 'Soubor {name} nelze přečíst: je poškozený nebo to není GPX, KML ani KMZ','tours.import.archiveNoKmlIn': 'V souboru {name} není žádný soubor KML','tours.import.archiveTooLargeIn': 'Soubor {name} je po rozbalení příliš velký',diff --git a/shared/src/i18n/de/tours.ts b/shared/src/i18n/de/tours.tsindex 72d7488c6..d4a812d7a 100644--- a/shared/src/i18n/de/tours.ts+++ b/shared/src/i18n/de/tours.ts@@ -973,10 +973,12 @@ const tours: TranslationStrings = {'tours.import.leftOutOther': '{count} weitere Elemente','tours.import.leftOutOther.one': '{count} weiteres Element','tours.import.pointsAsPlaces': 'Punkte als Orte hinzufügen',- 'tours.import.pointsAsPlacesHint': 'Einzelne Punkte gehören zu keiner Tour. Sie kommen stattdessen zu den Orten der Reise.',+ 'tours.import.pointsAsPlacesHint':+ 'Einzelne Punkte gehören zu keiner Tour. Sie kommen stattdessen zu den Orten der Reise.','tours.import.pointsConfirm': 'Orte hinzufügen','tours.import.pointsFailedIn': 'Die Punkte aus {name} konnten nicht als Orte hinzugefügt werden.',- 'tours.import.pointsImported': 'Orte hinzugefügt: {count}',+ 'tours.import.pointsImported': '{count} Orte hinzugefügt',+ 'tours.import.pointsImported.one': '{count} Ort hinzugefügt','tours.import.unreadableIn':'{name} konnte nicht gelesen werden: Die Datei ist beschädigt oder kein GPX, KML oder KMZ','tours.import.archiveNoKmlIn': 'Keine KML-Datei in {name} gefunden',diff --git a/shared/src/i18n/en/tours.ts b/shared/src/i18n/en/tours.tsindex 134389c73..73a6e9964 100644--- a/shared/src/i18n/en/tours.ts+++ b/shared/src/i18n/en/tours.ts@@ -948,7 +948,8 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'Single points are not part of a tour. They join the places of the trip instead.','tours.import.pointsConfirm': 'Add places','tours.import.pointsFailedIn': 'The points in {name} could not be added as places.',- 'tours.import.pointsImported': 'Places added: {count}',+ 'tours.import.pointsImported': '{count} places added',+ 'tours.import.pointsImported.one': '{count} place added','tours.import.unreadableIn': 'Could not read {name}: the file is damaged or not GPX, KML or KMZ','tours.import.archiveNoKmlIn': 'No KML file found in {name}','tours.import.archiveTooLargeIn': '{name} is too large once unpacked',diff --git a/shared/src/i18n/es/tours.ts b/shared/src/i18n/es/tours.tsindex ed7ff0780..4123949db 100644--- a/shared/src/i18n/es/tours.ts+++ b/shared/src/i18n/es/tours.ts@@ -962,10 +962,12 @@ const tours: TranslationStrings = {'tours.import.leftOutOther': '{count} elementos más','tours.import.leftOutOther.one': '{count} elemento más','tours.import.pointsAsPlaces': 'Añadir los puntos como lugares',- 'tours.import.pointsAsPlacesHint': 'Los puntos sueltos no forman parte de una ruta. Se añaden a los lugares del viaje.',+ 'tours.import.pointsAsPlacesHint':+ 'Los puntos sueltos no forman parte de una ruta. Se añaden a los lugares del viaje.','tours.import.pointsConfirm': 'Añadir lugares','tours.import.pointsFailedIn': 'No se pudieron añadir los puntos de {name} como lugares.',- 'tours.import.pointsImported': 'Lugares añadidos: {count}',+ 'tours.import.pointsImported': '{count} lugares añadidos',+ 'tours.import.pointsImported.one': '{count} lugar añadido','tours.import.unreadableIn': 'No se ha podido leer {name}: el archivo está dañado o no es GPX, KML ni KMZ','tours.import.archiveNoKmlIn': 'No hay ningún archivo KML en {name}','tours.import.archiveTooLargeIn': '{name} es demasiado grande una vez descomprimido',diff --git a/shared/src/i18n/et/tours.ts b/shared/src/i18n/et/tours.tsindex e52e143fd..6af42b24e 100644--- a/shared/src/i18n/et/tours.ts+++ b/shared/src/i18n/et/tours.ts@@ -947,10 +947,12 @@ const tours: TranslationStrings = {'tours.import.leftOutOther': '{count} muud elementi','tours.import.leftOutOther.one': '{count} muu element','tours.import.pointsAsPlaces': 'Lisa punktid kohtadena',- 'tours.import.pointsAsPlacesHint': 'Üksikud punktid ei kuulu matka juurde. Need lisatakse hoopis reisi kohtade hulka.',+ 'tours.import.pointsAsPlacesHint':+ 'Üksikud punktid ei kuulu matka juurde. Need lisatakse hoopis reisi kohtade hulka.','tours.import.pointsConfirm': 'Lisa kohad','tours.import.pointsFailedIn': 'Faili {name} punkte ei õnnestunud kohtadena lisada.',- 'tours.import.pointsImported': 'Lisatud kohti: {count}',+ 'tours.import.pointsImported': '{count} kohta lisatud',+ 'tours.import.pointsImported.one': '{count} koht lisatud','tours.import.unreadableIn': 'Faili {name} ei saanud lugeda: see on vigane või pole GPX, KML ega KMZ','tours.import.archiveNoKmlIn': 'Failis {name} pole KML-faili','tours.import.archiveTooLargeIn': 'Fail {name} on lahtipakituna liiga suur',diff --git a/shared/src/i18n/fr/tours.ts b/shared/src/i18n/fr/tours.tsindex c73928472..9610e2718 100644--- a/shared/src/i18n/fr/tours.ts+++ b/shared/src/i18n/fr/tours.ts@@ -980,10 +980,12 @@ const tours: TranslationStrings = {'tours.import.leftOutOther': '{count} autres éléments','tours.import.leftOutOther.one': '{count} autre élément','tours.import.pointsAsPlaces': 'Ajouter les points comme lieux',- 'tours.import.pointsAsPlacesHint': 'Les points isolés ne font pas partie d’un parcours. Ils rejoignent les lieux du voyage.',+ 'tours.import.pointsAsPlacesHint':+ 'Les points isolés ne font pas partie d’un parcours. Ils rejoignent les lieux du voyage.','tours.import.pointsConfirm': 'Ajouter les lieux','tours.import.pointsFailedIn': 'Les points de {name} n’ont pas pu être ajoutés comme lieux.',- 'tours.import.pointsImported': 'Lieux ajoutés : {count}',+ 'tours.import.pointsImported': '{count} lieux ajoutés',+ 'tours.import.pointsImported.one': '{count} lieu ajouté','tours.import.unreadableIn': 'Impossible de lire {name} : le fichier est endommagé ou n’est pas un GPX, KML ou KMZ','tours.import.archiveNoKmlIn': 'Aucun fichier KML trouvé dans {name}','tours.import.archiveTooLargeIn': '{name} est trop volumineux une fois décompressé',diff --git a/shared/src/i18n/gr/tours.ts b/shared/src/i18n/gr/tours.tsindex 89bc86101..84590df98 100644--- a/shared/src/i18n/gr/tours.ts+++ b/shared/src/i18n/gr/tours.ts@@ -984,10 +984,12 @@ const tours: TranslationStrings = {'tours.import.leftOutOther': '{count} άλλα στοιχεία','tours.import.leftOutOther.one': '{count} άλλο στοιχείο','tours.import.pointsAsPlaces': 'Προσθήκη των σημείων ως τοποθεσίες',- 'tours.import.pointsAsPlacesHint': 'Τα μεμονωμένα σημεία δεν ανήκουν σε διαδρομή. Προστίθενται στις τοποθεσίες του ταξιδιού.',+ 'tours.import.pointsAsPlacesHint':+ 'Τα μεμονωμένα σημεία δεν ανήκουν σε διαδρομή. Προστίθενται στις τοποθεσίες του ταξιδιού.','tours.import.pointsConfirm': 'Προσθήκη τοποθεσιών','tours.import.pointsFailedIn': 'Δεν ήταν δυνατή η προσθήκη των σημείων του {name} ως τοποθεσίες.',- 'tours.import.pointsImported': 'Τοποθεσίες που προστέθηκαν: {count}',+ 'tours.import.pointsImported': '{count} τοποθεσίες προστέθηκαν',+ 'tours.import.pointsImported.one': '{count} τοποθεσία προστέθηκε','tours.import.unreadableIn':'Δεν ήταν δυνατή η ανάγνωση του {name}: το αρχείο είναι κατεστραμμένο ή δεν είναι GPX, KML ή KMZ','tours.import.archiveNoKmlIn': 'Δεν βρέθηκε αρχείο KML στο {name}',diff --git a/shared/src/i18n/he/tours.ts b/shared/src/i18n/he/tours.tsindex e1a16f9a4..6ca9c7235 100644--- a/shared/src/i18n/he/tours.ts+++ b/shared/src/i18n/he/tours.ts@@ -947,7 +947,9 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'נקודות בודדות אינן חלק ממסלול. הן מתווספות למקומות של הטיול.','tours.import.pointsConfirm': 'הוספת מקומות','tours.import.pointsFailedIn': 'לא ניתן היה להוסיף את הנקודות מ-{name} כמקומות.',- 'tours.import.pointsImported': 'מקומות שנוספו: {count}',+ 'tours.import.pointsImported': '{count} מקומות נוספו',+ 'tours.import.pointsImported.one': 'מקום אחד נוסף',+ 'tours.import.pointsImported.two': '{count} מקומות נוספו','tours.import.unreadableIn': 'לא ניתן לקרוא את {name}: הקובץ פגום או שאינו בפורמט GPX, KML או KMZ','tours.import.archiveNoKmlIn': 'לא נמצא קובץ KML בתוך {name}','tours.import.archiveTooLargeIn': '{name} גדול מדי לאחר חילוץ',diff --git a/shared/src/i18n/hu/tours.ts b/shared/src/i18n/hu/tours.tsindex 43940643f..c22e96a18 100644--- a/shared/src/i18n/hu/tours.ts+++ b/shared/src/i18n/hu/tours.ts@@ -962,10 +962,12 @@ const tours: TranslationStrings = {'tours.import.leftOutOther': '{count} egyéb elem','tours.import.leftOutOther.one': '{count} egyéb elem','tours.import.pointsAsPlaces': 'Pontok hozzáadása helyekként',- 'tours.import.pointsAsPlacesHint': 'Az önálló pontok nem részei egy túrának. Helyettük az utazás helyei közé kerülnek.',+ 'tours.import.pointsAsPlacesHint':+ 'Az önálló pontok nem részei egy túrának. Helyettük az utazás helyei közé kerülnek.','tours.import.pointsConfirm': 'Helyek hozzáadása','tours.import.pointsFailedIn': 'A(z) {name} pontjait nem sikerült helyekként hozzáadni.',- 'tours.import.pointsImported': 'Hozzáadott helyek: {count}',+ 'tours.import.pointsImported': '{count} hely hozzáadva',+ 'tours.import.pointsImported.one': '{count} hely hozzáadva','tours.import.unreadableIn': 'A(z) {name} nem olvasható: a fájl sérült, vagy nem GPX, KML vagy KMZ','tours.import.archiveNoKmlIn': 'A(z) {name} nem tartalmaz KML-fájlt','tours.import.archiveTooLargeIn': 'A(z) {name} kicsomagolva túl nagy',diff --git a/shared/src/i18n/id/tours.ts b/shared/src/i18n/id/tours.tsindex 76a74ba6f..f938ce5ea 100644--- a/shared/src/i18n/id/tours.ts+++ b/shared/src/i18n/id/tours.ts@@ -953,10 +953,11 @@ const tours: TranslationStrings = {'tours.import.leftOutAreas': '{count} wilayah','tours.import.leftOutOther': '{count} item lain','tours.import.pointsAsPlaces': 'Tambahkan titik sebagai tempat',- 'tours.import.pointsAsPlacesHint': 'Titik tunggal bukan bagian dari tur. Titik itu masuk ke tempat-tempat perjalanan.',+ 'tours.import.pointsAsPlacesHint':+ 'Titik tunggal bukan bagian dari tur. Titik itu masuk ke tempat-tempat perjalanan.','tours.import.pointsConfirm': 'Tambahkan tempat','tours.import.pointsFailedIn': 'Titik di {name} tidak dapat ditambahkan sebagai tempat.',- 'tours.import.pointsImported': 'Tempat ditambahkan: {count}',+ 'tours.import.pointsImported': '{count} tempat ditambahkan','tours.import.unreadableIn': '{name} tidak dapat dibaca: berkas rusak atau bukan GPX, KML, atau KMZ','tours.import.archiveNoKmlIn': 'Tidak ada berkas KML di {name}','tours.import.archiveTooLargeIn': '{name} terlalu besar setelah diekstrak',diff --git a/shared/src/i18n/it/tours.ts b/shared/src/i18n/it/tours.tsindex 1040c8da6..90f61ef07 100644--- a/shared/src/i18n/it/tours.ts+++ b/shared/src/i18n/it/tours.ts@@ -969,10 +969,12 @@ const tours: TranslationStrings = {'tours.import.leftOutOther': '{count} altri elementi','tours.import.leftOutOther.one': '{count} altro elemento','tours.import.pointsAsPlaces': 'Aggiungi i punti come luoghi',- 'tours.import.pointsAsPlacesHint': 'I punti singoli non fanno parte di un percorso. Vengono aggiunti ai luoghi del viaggio.',+ 'tours.import.pointsAsPlacesHint':+ 'I punti singoli non fanno parte di un percorso. Vengono aggiunti ai luoghi del viaggio.','tours.import.pointsConfirm': 'Aggiungi luoghi','tours.import.pointsFailedIn': 'Non è stato possibile aggiungere i punti di {name} come luoghi.',- 'tours.import.pointsImported': 'Luoghi aggiunti: {count}',+ 'tours.import.pointsImported': '{count} luoghi aggiunti',+ 'tours.import.pointsImported.one': '{count} luogo aggiunto','tours.import.unreadableIn': 'Impossibile leggere {name}: il file è danneggiato o non è GPX, KML o KMZ','tours.import.archiveNoKmlIn': 'Nessun file KML trovato in {name}','tours.import.archiveTooLargeIn': '{name} è troppo grande una volta decompresso',diff --git a/shared/src/i18n/ja/tours.ts b/shared/src/i18n/ja/tours.tsindex 888d9760e..5bd00f1e6 100644--- a/shared/src/i18n/ja/tours.ts+++ b/shared/src/i18n/ja/tours.ts@@ -932,7 +932,7 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': '単独のポイントはツアーに含まれません。代わりに旅行の場所に追加されます。','tours.import.pointsConfirm': '場所を追加','tours.import.pointsFailedIn': '{name} のポイントを場所として追加できませんでした。',- 'tours.import.pointsImported': '追加した場所: {count}',+ 'tours.import.pointsImported': '{count} 件の場所を追加しました','tours.import.unreadableIn': '{name}を読み込めませんでした:ファイルが破損しているか、GPX、KML、KMZではありません','tours.import.archiveNoKmlIn': '{name}にKMLファイルが見つかりません','tours.import.archiveTooLargeIn': '{name}は展開すると大きすぎます',diff --git a/shared/src/i18n/ko/tours.ts b/shared/src/i18n/ko/tours.tsindex 0d5fe7ae5..764e68625 100644--- a/shared/src/i18n/ko/tours.ts+++ b/shared/src/i18n/ko/tours.ts@@ -924,7 +924,7 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': '단일 포인트는 투어에 포함되지 않습니다. 대신 여행의 장소에 추가됩니다.','tours.import.pointsConfirm': '장소 추가','tours.import.pointsFailedIn': '{name}의 포인트를 장소로 추가하지 못했습니다.',- 'tours.import.pointsImported': '추가된 장소: {count}',+ 'tours.import.pointsImported': '장소 {count}개를 추가했습니다','tours.import.unreadableIn': '{name}을(를) 읽을 수 없습니다: 파일이 손상되었거나 GPX, KML, KMZ가 아닙니다','tours.import.archiveNoKmlIn': '{name}에 KML 파일이 없습니다','tours.import.archiveTooLargeIn': '{name}은(는) 압축을 풀면 너무 큽니다',diff --git a/shared/src/i18n/nl/tours.ts b/shared/src/i18n/nl/tours.tsindex 4cf11d6a7..b2d5f4ebf 100644--- a/shared/src/i18n/nl/tours.ts+++ b/shared/src/i18n/nl/tours.ts@@ -969,7 +969,8 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'Losse punten horen niet bij een tocht. Ze komen bij de plekken van de reis.','tours.import.pointsConfirm': 'Plekken toevoegen','tours.import.pointsFailedIn': 'De punten uit {name} konden niet als plekken worden toegevoegd.',- 'tours.import.pointsImported': 'Plekken toegevoegd: {count}',+ 'tours.import.pointsImported': '{count} plekken toegevoegd',+ 'tours.import.pointsImported.one': '{count} plek toegevoegd','tours.import.unreadableIn': '{name} kon niet worden gelezen: het bestand is beschadigd of geen GPX, KML of KMZ','tours.import.archiveNoKmlIn': 'Geen KML-bestand gevonden in {name}','tours.import.archiveTooLargeIn': '{name} is uitgepakt te groot',diff --git a/shared/src/i18n/pl/tours.ts b/shared/src/i18n/pl/tours.tsindex 73ab1c87a..c93fcab24 100644--- a/shared/src/i18n/pl/tours.ts+++ b/shared/src/i18n/pl/tours.ts@@ -987,7 +987,10 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'Pojedyncze punkty nie należą do trasy. Trafiają do miejsc podróży.','tours.import.pointsConfirm': 'Dodaj miejsca','tours.import.pointsFailedIn': 'Nie udało się dodać punktów z {name} jako miejsc.',- 'tours.import.pointsImported': 'Dodane miejsca: {count}',+ 'tours.import.pointsImported': 'Dodano {count} miejsca',+ 'tours.import.pointsImported.one': 'Dodano {count} miejsce',+ 'tours.import.pointsImported.few': 'Dodano {count} miejsca',+ 'tours.import.pointsImported.many': 'Dodano {count} miejsc','tours.import.unreadableIn':'Nie można odczytać pliku {name}: jest uszkodzony albo nie jest plikiem GPX, KML ani KMZ','tours.import.archiveNoKmlIn': 'W pliku {name} nie ma pliku KML',diff --git a/shared/src/i18n/ru/tours.ts b/shared/src/i18n/ru/tours.tsindex d5cb67b18..6c5f81097 100644--- a/shared/src/i18n/ru/tours.ts+++ b/shared/src/i18n/ru/tours.ts@@ -991,7 +991,10 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'Отдельные точки не входят в маршрут. Они добавляются к местам поездки.','tours.import.pointsConfirm': 'Добавить места','tours.import.pointsFailedIn': 'Не удалось добавить точки из {name} как места.',- 'tours.import.pointsImported': 'Добавлено мест: {count}',+ 'tours.import.pointsImported': 'Добавлено {count} места',+ 'tours.import.pointsImported.one': 'Добавлено {count} место',+ 'tours.import.pointsImported.few': 'Добавлено {count} места',+ 'tours.import.pointsImported.many': 'Добавлено {count} мест','tours.import.unreadableIn': 'Не удалось прочитать {name}: файл повреждён или это не GPX, KML или KMZ','tours.import.archiveNoKmlIn': 'В {name} не найден файл KML','tours.import.archiveTooLargeIn': '{name} слишком велик после распаковки',diff --git a/shared/src/i18n/sk/tours.ts b/shared/src/i18n/sk/tours.tsindex 2a1e27e6d..a5b68bbea 100644--- a/shared/src/i18n/sk/tours.ts+++ b/shared/src/i18n/sk/tours.ts@@ -956,7 +956,9 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'Samostatné body nie sú súčasťou trasy. Pridajú sa namiesto toho k miestam cesty.','tours.import.pointsConfirm': 'Pridať miesta','tours.import.pointsFailedIn': 'Body zo súboru {name} sa nepodarilo pridať ako miesta.',- 'tours.import.pointsImported': 'Pridané miesta: {count}',+ 'tours.import.pointsImported': '{count} miest pridaných',+ 'tours.import.pointsImported.one': '{count} miesto pridané',+ 'tours.import.pointsImported.few': '{count} miesta pridané','tours.import.unreadableIn': 'Súbor {name} sa nedá prečítať: je poškodený alebo nie je GPX, KML ani KMZ','tours.import.archiveNoKmlIn': 'V súbore {name} nie je žiadny súbor KML','tours.import.archiveTooLargeIn': 'Súbor {name} je po rozbalení príliš veľký',diff --git a/shared/src/i18n/sv/tours.ts b/shared/src/i18n/sv/tours.tsindex c57031907..5f92eb97b 100644--- a/shared/src/i18n/sv/tours.ts+++ b/shared/src/i18n/sv/tours.ts@@ -944,10 +944,12 @@ const tours: TranslationStrings = {'tours.import.leftOutOther': '{count} andra objekt','tours.import.leftOutOther.one': '{count} annat objekt','tours.import.pointsAsPlaces': 'Lägg till punkterna som platser',- 'tours.import.pointsAsPlacesHint': 'Enskilda punkter ingår inte i en tur. De läggs till bland resans platser i stället.',+ 'tours.import.pointsAsPlacesHint':+ 'Enskilda punkter ingår inte i en tur. De läggs till bland resans platser i stället.','tours.import.pointsConfirm': 'Lägg till platser','tours.import.pointsFailedIn': 'Punkterna i {name} kunde inte läggas till som platser.',- 'tours.import.pointsImported': 'Tillagda platser: {count}',+ 'tours.import.pointsImported': '{count} platser tillagda',+ 'tours.import.pointsImported.one': '{count} plats tillagd','tours.import.unreadableIn': 'Det gick inte att läsa {name}: filen är skadad eller inte GPX, KML eller KMZ','tours.import.archiveNoKmlIn': 'Ingen KML-fil hittades i {name}','tours.import.archiveTooLargeIn': '{name} är för stor när den packats upp',diff --git a/shared/src/i18n/th/tours.ts b/shared/src/i18n/th/tours.tsindex 819d5c6ce..ced15e4ee 100644--- a/shared/src/i18n/th/tours.ts+++ b/shared/src/i18n/th/tours.ts@@ -909,7 +909,7 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'จุดเดี่ยวไม่ได้เป็นส่วนหนึ่งของทัวร์ แต่จะถูกเพิ่มเข้าไปในสถานที่ของทริปแทน','tours.import.pointsConfirm': 'เพิ่มสถานที่','tours.import.pointsFailedIn': 'ไม่สามารถเพิ่มจุดใน {name} เป็นสถานที่ได้',- 'tours.import.pointsImported': 'เพิ่มสถานที่แล้ว: {count}',+ 'tours.import.pointsImported': 'เพิ่มสถานที่ {count} แห่งแล้ว','tours.import.unreadableIn': 'ไม่สามารถอ่าน {name} ได้: ไฟล์เสียหายหรือไม่ใช่ GPX, KML หรือ KMZ','tours.import.archiveNoKmlIn': 'ไม่พบไฟล์ KML ใน {name}','tours.import.archiveTooLargeIn': '{name} ใหญ่เกินไปเมื่อแตกไฟล์',diff --git a/shared/src/i18n/tours-locales.spec.ts b/shared/src/i18n/tours-locales.spec.tsindex abd9c6c47..32ebedaeb 100644--- a/shared/src/i18n/tours-locales.spec.ts+++ b/shared/src/i18n/tours-locales.spec.ts@@ -20,7 +20,7 @@ const toursModules = import.meta.glob<{ default: TranslationStrings }>('./*/tourconst TOUR_DOMAINS: { file: string; generalKeyCount: number; modules: DomainModules }[] = [{file: 'tours',- generalKeyCount: 1351,+ generalKeyCount: 1356,modules: toursModules,},{diff --git a/shared/src/i18n/tr/tours.ts b/shared/src/i18n/tr/tours.tsindex cc22db4ed..f6bd7228f 100644--- a/shared/src/i18n/tr/tours.ts+++ b/shared/src/i18n/tr/tours.ts@@ -955,10 +955,12 @@ const tours: TranslationStrings = {'tours.import.leftOutOther': '{count} diğer öğe','tours.import.leftOutOther.one': '{count} diğer öğe','tours.import.pointsAsPlaces': 'Noktaları yer olarak ekle',- 'tours.import.pointsAsPlacesHint': 'Tekil noktalar bir turun parçası değildir. Bunun yerine seyahatin yerlerine eklenir.',+ 'tours.import.pointsAsPlacesHint':+ 'Tekil noktalar bir turun parçası değildir. Bunun yerine seyahatin yerlerine eklenir.','tours.import.pointsConfirm': 'Yerleri ekle','tours.import.pointsFailedIn': '{name} içindeki noktalar yer olarak eklenemedi.',- 'tours.import.pointsImported': 'Eklenen yerler: {count}',+ 'tours.import.pointsImported': '{count} yer eklendi',+ 'tours.import.pointsImported.one': '{count} yer eklendi','tours.import.unreadableIn': '{name} okunamadı: dosya bozuk ya da GPX, KML veya KMZ değil','tours.import.archiveNoKmlIn': '{name} içinde KML dosyası bulunamadı','tours.import.archiveTooLargeIn': '{name} açıldığında çok büyük',diff --git a/shared/src/i18n/uk/tours.ts b/shared/src/i18n/uk/tours.tsindex 377f1dcbf..143cedbd1 100644--- a/shared/src/i18n/uk/tours.ts+++ b/shared/src/i18n/uk/tours.ts@@ -982,7 +982,10 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': 'Окремі точки не входять до маршруту. Вони додаються до місць подорожі.','tours.import.pointsConfirm': 'Додати місця','tours.import.pointsFailedIn': 'Не вдалося додати точки з {name} як місця.',- 'tours.import.pointsImported': 'Додано місць: {count}',+ 'tours.import.pointsImported': 'Додано {count} місця',+ 'tours.import.pointsImported.one': 'Додано {count} місце',+ 'tours.import.pointsImported.few': 'Додано {count} місця',+ 'tours.import.pointsImported.many': 'Додано {count} місць','tours.import.unreadableIn': 'Не вдалося прочитати {name}: файл пошкоджено або це не GPX, KML чи KMZ','tours.import.archiveNoKmlIn': 'У {name} не знайдено файлу KML','tours.import.archiveTooLargeIn': '{name} завеликий після розпакування',diff --git a/shared/src/i18n/vi/tours.ts b/shared/src/i18n/vi/tours.tsindex 5ccd09945..f2f82e629 100644--- a/shared/src/i18n/vi/tours.ts+++ b/shared/src/i18n/vi/tours.ts@@ -940,10 +940,11 @@ const tours: TranslationStrings = {'tours.import.leftOutAreas': '{count} vùng','tours.import.leftOutOther': '{count} mục khác','tours.import.pointsAsPlaces': 'Thêm các điểm làm địa điểm',- 'tours.import.pointsAsPlacesHint': 'Các điểm đơn lẻ không thuộc về chuyến đi bộ. Chúng được thêm vào các địa điểm của chuyến đi.',+ 'tours.import.pointsAsPlacesHint':+ 'Các điểm đơn lẻ không thuộc về chuyến đi bộ. Chúng được thêm vào các địa điểm của chuyến đi.','tours.import.pointsConfirm': 'Thêm địa điểm','tours.import.pointsFailedIn': 'Không thể thêm các điểm trong {name} làm địa điểm.',- 'tours.import.pointsImported': 'Đã thêm địa điểm: {count}',+ 'tours.import.pointsImported': 'Đã thêm {count} địa điểm','tours.import.unreadableIn': 'Không thể đọc {name}: tệp bị hỏng hoặc không phải GPX, KML hay KMZ','tours.import.archiveNoKmlIn': 'Không tìm thấy tệp KML trong {name}','tours.import.archiveTooLargeIn': '{name} quá lớn sau khi giải nén',diff --git a/shared/src/i18n/zh-TW/tours.ts b/shared/src/i18n/zh-TW/tours.tsindex dc3da4e97..f922521d9 100644--- a/shared/src/i18n/zh-TW/tours.ts+++ b/shared/src/i18n/zh-TW/tours.ts@@ -877,7 +877,7 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': '單一點不屬於路線,而是新增到行程的地點中。','tours.import.pointsConfirm': '新增地點','tours.import.pointsFailedIn': '無法將 {name} 中的點新增為地點。',- 'tours.import.pointsImported': '已新增地點:{count}',+ 'tours.import.pointsImported': '已新增 {count} 個地點','tours.import.unreadableIn': '無法讀取 {name}:檔案已損毀,或不是 GPX、KML 或 KMZ','tours.import.archiveNoKmlIn': '{name} 中沒有 KML 檔案','tours.import.archiveTooLargeIn': '{name} 解壓縮後過大',diff --git a/shared/src/i18n/zh/tours.ts b/shared/src/i18n/zh/tours.tsindex d03e14da0..72ad5136e 100644--- a/shared/src/i18n/zh/tours.ts+++ b/shared/src/i18n/zh/tours.ts@@ -878,7 +878,7 @@ const tours: TranslationStrings = {'tours.import.pointsAsPlacesHint': '单个点不属于路线,而是添加到行程的地点中。','tours.import.pointsConfirm': '添加地点','tours.import.pointsFailedIn': '无法将 {name} 中的点添加为地点。',- 'tours.import.pointsImported': '已添加地点:{count}',+ 'tours.import.pointsImported': '已添加 {count} 个地点','tours.import.unreadableIn': '无法读取 {name}:文件已损坏,或不是 GPX、KML 或 KMZ','tours.import.archiveNoKmlIn': '{name} 中没有 KML 文件','tours.import.archiveTooLargeIn': '{name} 解压后过大',