mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 00:43:15 +00:00
fix(ci): resolve Journey strict checks and test contexts
Give the upload DTO an object for file-only requests, make UI error keys discoverable, and run the digest fixtures with the same ORM context as scheduled jobs.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// FE-API-JOURNEY-SOCIAL-001
|
||||
//
|
||||
// #1702, #1669: every call pins its method and path and hands back what the server answered.
|
||||
import { http, HttpResponse } from 'msw';
|
||||
import { http, HttpResponse, type JsonBodyType } from 'msw';
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { server } from '../../tests/helpers/msw/server';
|
||||
import { journeySocialApi } from './journeySocial';
|
||||
@@ -10,7 +10,7 @@ describe('journeySocialApi', () => {
|
||||
it('FE-API-JOURNEY-SOCIAL-001: calls the comment, follower and link routes', async () => {
|
||||
const seen: string[] = [];
|
||||
const record =
|
||||
(body: unknown) =>
|
||||
(body: JsonBodyType) =>
|
||||
({ request }: { request: Request }) => {
|
||||
seen.push(`${request.method} ${new URL(request.url).pathname}`);
|
||||
return HttpResponse.json(body);
|
||||
|
||||
@@ -149,7 +149,7 @@ export default function JourneyDayRecordingButton({
|
||||
}
|
||||
aria-disabled={!canTakeOver}
|
||||
aria-label={label}
|
||||
aria-haspopup={canTakeOver && canImportGpx ? 'menu' : undefined}
|
||||
aria-haspopup={canImportGpx ? 'menu' : undefined}
|
||||
data-testid="journey-day-recording"
|
||||
className={ROUND}
|
||||
style={{ background: 'var(--vg-surf2)' }}
|
||||
|
||||
@@ -6,7 +6,7 @@ import { useToast } from '../shared/Toast';
|
||||
import { Tooltip } from '../shared/Tooltip';
|
||||
|
||||
/** One comment as the thread draws it: in the app and on the shared page alike. */
|
||||
export interface EntryCommentItem {
|
||||
interface EntryCommentItem {
|
||||
id: number;
|
||||
author_name?: string | null;
|
||||
is_guest: boolean;
|
||||
@@ -285,18 +285,17 @@ interface GuestThreadState {
|
||||
addComment: (entryId: number, name: string, body: string) => Promise<GuestOutcome>;
|
||||
}
|
||||
|
||||
const GUEST_OUTCOME_KEYS: Record<Exclude<GuestOutcome, 'ok'>, string> = {
|
||||
closed: 'journey.comments.closed',
|
||||
gone: 'journey.public.notFoundMessage',
|
||||
locked: 'journey.comments.locked',
|
||||
rate_limited: 'common.tooManyAttempts',
|
||||
invalid: 'journey.comments.invalid',
|
||||
failed: 'journey.comments.failed',
|
||||
};
|
||||
|
||||
/** The thread under an entry on the shared page, for readers who sign with a name. */
|
||||
export function GuestEntryComments({ entryId, thread }: { entryId: number; thread: GuestThreadState }) {
|
||||
const { t } = useTranslation();
|
||||
const messages = {
|
||||
closed: t('journey.comments.closed'),
|
||||
gone: t('journey.public.notFoundMessage'),
|
||||
locked: t('journey.comments.locked'),
|
||||
rate_limited: t('common.tooManyAttempts'),
|
||||
invalid: t('journey.comments.invalid'),
|
||||
failed: t('journey.comments.failed'),
|
||||
};
|
||||
if (!thread.commentsOpen) return null;
|
||||
return (
|
||||
<JourneyEntryComments
|
||||
@@ -305,7 +304,7 @@ export function GuestEntryComments({ entryId, thread }: { entryId: number; threa
|
||||
guest
|
||||
onAdd={async (body, name) => {
|
||||
const outcome = await thread.addComment(entryId, name, body);
|
||||
return outcome === 'ok' ? null : t(GUEST_OUTCOME_KEYS[outcome]);
|
||||
return outcome === 'ok' ? null : messages[outcome];
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -8,18 +8,19 @@ export function useJourneyLiveData<T>(journeyId: number | null, eventName: strin
|
||||
const [loaded, setLoaded] = useState<{ journeyId: number; data: T } | null>(null);
|
||||
const [failedFor, setFailedFor] = useState<number | null>(null);
|
||||
const activeId = useRef(journeyId);
|
||||
const latestRead = useRef(0);
|
||||
const latestRead = useRef<symbol | null>(null);
|
||||
useLayoutEffect(() => {
|
||||
activeId.current = journeyId;
|
||||
return () => {
|
||||
activeId.current = null;
|
||||
latestRead.current++;
|
||||
latestRead.current = null;
|
||||
};
|
||||
}, [journeyId]);
|
||||
|
||||
const refresh = useCallback(async () => {
|
||||
if (journeyId === null) return;
|
||||
const version = ++latestRead.current;
|
||||
const version = Symbol();
|
||||
latestRead.current = version;
|
||||
await read(journeyId).then(
|
||||
(data) => {
|
||||
if (latestRead.current === version) setLoaded({ journeyId, data });
|
||||
|
||||
@@ -23,7 +23,7 @@ export function expiryIso(day: string): string | null {
|
||||
}
|
||||
|
||||
/** Today as a date field's lower bound. */
|
||||
export function todayDay(): string {
|
||||
function todayDay(): string {
|
||||
return expiryDay(new Date().toISOString());
|
||||
}
|
||||
|
||||
|
||||
@@ -107,7 +107,10 @@ function buildHook(over: Record<string, unknown> = {}): Record<string, unknown>
|
||||
acceptDawarich: vi.fn(async () => {}), dismissDawarich: vi.fn(),
|
||||
// The recorded days a journey keeps (JRN-01) and the day take-over (JRN-02): none here,
|
||||
// their dialogs have suites of their own.
|
||||
recordings: { byDate: new Map(), dialog: null, open: vi.fn() },
|
||||
recordings: { byDate: new Map(), bySource: { dawarich: new Map(), gpx: new Map() }, dialog: null, open: vi.fn() },
|
||||
gpxImport: { busy: false, importDayFile: vi.fn(), removeDay: vi.fn() },
|
||||
canImportGpx: false,
|
||||
comments: { byEntry: new Map(), canModerate: false, add: vi.fn(), setHidden: vi.fn(), remove: vi.fn() },
|
||||
canTakeOverRecording: false, recordingNeedsConnection: false,
|
||||
dayImport: { open: vi.fn(), dialog: null },
|
||||
// Preparing the recorded days (JRN-03): not read here, so nothing is marked and the settings
|
||||
|
||||
@@ -14,15 +14,6 @@ import { useTranslation } from '../../i18n';
|
||||
import { GLASS } from '../sharedTrip/SharedChrome';
|
||||
import type { PublicSocialOutcome } from './journeyPublicModel';
|
||||
|
||||
const OUTCOME_KEYS: Record<Exclude<PublicSocialOutcome, 'ok'>, string> = {
|
||||
closed: 'journey.follow.closed',
|
||||
gone: 'journey.public.notFoundMessage',
|
||||
locked: 'journey.comments.locked',
|
||||
rate_limited: 'common.tooManyAttempts',
|
||||
invalid: 'journey.follow.invalid',
|
||||
failed: 'journey.follow.failed',
|
||||
};
|
||||
|
||||
/**
|
||||
* "Follow" on a shared journey (#1669): one glass pill in the hero, and a small
|
||||
* dialog that takes an address. The server answers the same for an address that
|
||||
@@ -34,6 +25,14 @@ export function JourneyPublicFollow({
|
||||
onSubscribe: (email: string, locale: string) => Promise<PublicSocialOutcome>;
|
||||
}) {
|
||||
const { t, locale } = useTranslation();
|
||||
const messages = {
|
||||
closed: t('journey.follow.closed'),
|
||||
gone: t('journey.public.notFoundMessage'),
|
||||
locked: t('journey.comments.locked'),
|
||||
rate_limited: t('common.tooManyAttempts'),
|
||||
invalid: t('journey.follow.invalid'),
|
||||
failed: t('journey.follow.failed'),
|
||||
};
|
||||
const labelId = useId();
|
||||
const [open, setOpen] = useState(false);
|
||||
const [email, setEmail] = useState('');
|
||||
@@ -60,7 +59,7 @@ export function JourneyPublicFollow({
|
||||
const outcome = await onSubscribe(email.trim(), locale || 'en');
|
||||
setBusy(false);
|
||||
if (outcome === 'ok') setSent(true);
|
||||
else setError(t(OUTCOME_KEYS[outcome]));
|
||||
else setError(messages[outcome]);
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
@@ -3,12 +3,6 @@ import { useState, type FormEvent, type ReactNode } from 'react';
|
||||
import { useTranslation } from '../../i18n';
|
||||
import type { PublicUnlockOutcome } from './journeyPublicModel';
|
||||
|
||||
const OUTCOME_KEYS: Record<Exclude<PublicUnlockOutcome, 'ok' | 'expired'>, string> = {
|
||||
wrong: 'journey.public.passwordWrong',
|
||||
rate_limited: 'common.tooManyAttempts',
|
||||
failed: 'journey.public.passwordFailed',
|
||||
};
|
||||
|
||||
function GateFrame({
|
||||
icon,
|
||||
title,
|
||||
@@ -41,6 +35,11 @@ export function JourneyPublicPasswordCard({
|
||||
onUnlock: (password: string) => Promise<PublicUnlockOutcome>;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const messages = {
|
||||
wrong: t('journey.public.passwordWrong'),
|
||||
rate_limited: t('common.tooManyAttempts'),
|
||||
failed: t('journey.public.passwordFailed'),
|
||||
};
|
||||
const [password, setPassword] = useState('');
|
||||
const [busy, setBusy] = useState(false);
|
||||
const [error, setError] = useState<string | null>(null);
|
||||
@@ -53,7 +52,7 @@ export function JourneyPublicPasswordCard({
|
||||
const outcome = await onUnlock(password);
|
||||
setBusy(false);
|
||||
if (outcome === 'ok' || outcome === 'expired') return;
|
||||
setError(t(OUTCOME_KEYS[outcome]));
|
||||
setError(messages[outcome]);
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
@@ -29,7 +29,7 @@ function withJourney(text: string, journey: string): string {
|
||||
}
|
||||
|
||||
/** The page that confirms an address. */
|
||||
export function confirmUrl(confirmToken: string): string {
|
||||
function confirmUrl(confirmToken: string): string {
|
||||
return `${getAppUrl()}/public/journey-follow/confirm?token=${encodeURIComponent(confirmToken)}`;
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ export function unsubscribeUrl(unsubscribeToken: string): string {
|
||||
}
|
||||
|
||||
/** The shared journey itself. */
|
||||
export function publicJourneyUrl(linkToken: string): string {
|
||||
function publicJourneyUrl(linkToken: string): string {
|
||||
return `${getAppUrl()}/public/journey/${encodeURIComponent(linkToken)}`;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ export class JourneyPhotoUpdateDto extends createZodDto(journeyPhotoUpdateReques
|
||||
/** Photos of an entry moved to another entry: strict, a new route with nothing older to keep answering. */
|
||||
export class JourneyPhotosMoveDto extends createZodDto(journeyPhotosMoveRequestSchema) {}
|
||||
export class JourneyEntryPhotoUploadDto extends createZodDto(journeyEntryPhotoUploadRequestSchema) {}
|
||||
export class JourneyGalleryPhotoUploadDto extends createZodDto(journeyGalleryPhotoUploadRequestSchema) {}
|
||||
export class JourneyGalleryPhotoUploadDto extends createZodDto(journeyGalleryPhotoUploadRequestSchema.default({})) {}
|
||||
export class JourneyGalleryVideoDto extends createZodDto(journeyGalleryVideoRequestSchema) {}
|
||||
/** Draft entries from gallery photos (#1920): strict, new routes with nothing older to keep answering. */
|
||||
export class JourneyEntriesFromPhotosPreviewDto extends createZodDto(journeyEntriesFromPhotosPreviewRequestSchema) {}
|
||||
|
||||
@@ -11,6 +11,7 @@ import { JourneyEntryComments } from '../../src/db/entities/JourneyEntryComments
|
||||
import { JourneyShareSubscribers } from '../../src/db/entities/JourneyShareSubscribers.entity';
|
||||
import { Journeys } from '../../src/db/entities/Journeys.entity';
|
||||
import { Notifications } from '../../src/db/entities/Notifications.entity';
|
||||
import { withRequestContext } from '../../src/nest/database/request-context';
|
||||
import { JourneyDigestService } from '../../src/nest/journey/journey-digest.service';
|
||||
import { MailerService } from '../../src/nest/notifications/mailer/mailer.service';
|
||||
import { NotificationsService } from '../../src/nest/notifications/notifications.service';
|
||||
@@ -408,6 +409,7 @@ describe('following a link by email', () => {
|
||||
});
|
||||
|
||||
describe('the daily digest', () => {
|
||||
const runDigest = () => withRequestContext(orm, () => app.get(JourneyDigestService, { strict: false }).run());
|
||||
it('JSOCIAL-E2E-030: the people hear of new entries, followers get one mail, nothing is told twice', async () => {
|
||||
const send = mailWorks();
|
||||
const { owner, editor, viewer, journey } = await journeyWithPeople();
|
||||
@@ -420,8 +422,7 @@ describe('the daily digest', () => {
|
||||
const fresh = await makeJourneyEntry(orm, journey.id, editor.id, { title: 'Furnas', entry_date: '2026-11-29' });
|
||||
await makeJourneyEntry(orm, journey.id, editor.id, { title: 'Still a draft', is_draft: 1 });
|
||||
|
||||
const digest = app.get(JourneyDigestService, { strict: false });
|
||||
const result = await digest.run(new Date());
|
||||
const result = await runDigest();
|
||||
await notifications.settled();
|
||||
expect(result.journeys).toBeGreaterThanOrEqual(1);
|
||||
expect(result.mailed).toBe(1);
|
||||
@@ -444,7 +445,7 @@ describe('the daily digest', () => {
|
||||
expect((await findRow(orm, JourneyEntries, { id: fresh.id }))?.announced).toBe(1);
|
||||
|
||||
send.mockClear();
|
||||
expect(await digest.run(new Date())).toMatchObject({ journeys: 0, mailed: 0 });
|
||||
expect(await runDigest()).toMatchObject({ journeys: 0, mailed: 0 });
|
||||
expect(send).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
@@ -459,7 +460,7 @@ describe('the daily digest', () => {
|
||||
send.mockClear();
|
||||
|
||||
await makeJourneyEntry(orm, journey.id, owner.id, { title: 'Behind the password', location_name: 'Furnas' });
|
||||
await app.get(JourneyDigestService, { strict: false }).run(new Date());
|
||||
await runDigest();
|
||||
await notifications.settled();
|
||||
|
||||
const mails = send.mock.calls.filter(([to]) => to === 'locked-out@example.com');
|
||||
|
||||
@@ -112,7 +112,7 @@ const { jsvc } = vi.hoisted(() => ({
|
||||
listEntries: vi.fn(),
|
||||
linkPhotoToEntry: vi.fn(),
|
||||
unlinkPhotoFromEntry: vi.fn(),
|
||||
canAccessJourney: vi.fn().mockResolvedValue(journeyRow(9)),
|
||||
canAccessJourney: vi.fn(),
|
||||
addContributor: vi.fn(),
|
||||
updateContributorRole: vi.fn(),
|
||||
},
|
||||
@@ -899,6 +899,7 @@ describe('Journey e2e (real auth guard + temp SQLite)', () => {
|
||||
|
||||
describe('contributor roles', () => {
|
||||
beforeEach(() => {
|
||||
jsvc.canAccessJourney.mockReset().mockResolvedValue(journeyRow(9));
|
||||
jsvc.addContributor.mockReset().mockResolvedValue(true);
|
||||
jsvc.updateContributorRole.mockReset().mockResolvedValue(true);
|
||||
});
|
||||
|
||||
@@ -664,7 +664,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'بلاطات الخريطة',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'تُجلب عند العرض وتُطبع مع إسنادها',
|
||||
'journey.studio.mapZoom': 'التقريب',
|
||||
'journey.studio.mapFraming': 'العرض',
|
||||
'journey.studio.mapFitStops': 'المحطات',
|
||||
'journey.studio.mapFitCountry': 'البلد كامل',
|
||||
|
||||
@@ -697,7 +697,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Səhifə göstərilərkən əldə edilir və mənbəsi ilə birlikdə çap olunur',
|
||||
|
||||
'journey.studio.mapZoom': 'Miqyas',
|
||||
'journey.studio.mapFraming': 'Görünüş',
|
||||
'journey.studio.mapFitStops': 'Dayanacaqlar',
|
||||
'journey.studio.mapFitCountry': 'Bütün ölkə',
|
||||
|
||||
@@ -640,7 +640,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Blocos de mapa',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Baixado ao renderizar e impresso com o crédito',
|
||||
'journey.studio.mapZoom': 'Zoom', // same-as-en
|
||||
'journey.studio.mapFraming': 'Enquadramento',
|
||||
'journey.studio.mapFitStops': 'Paradas',
|
||||
'journey.studio.mapFitCountry': 'País inteiro',
|
||||
|
||||
@@ -640,7 +640,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Tessel·les',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Es descarrega en renderitzar i s’imprimeix amb l’atribució',
|
||||
'journey.studio.mapZoom': 'Zoom', // same-as-en
|
||||
'journey.studio.mapFraming': 'Enquadrament',
|
||||
'journey.studio.mapFitStops': 'Parades',
|
||||
'journey.studio.mapFitCountry': 'Tot el país',
|
||||
|
||||
@@ -643,7 +643,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Dlaždice',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Načte se při vykreslení a vytiskne se s uvedením zdroje',
|
||||
'journey.studio.mapZoom': 'Přiblížení',
|
||||
'journey.studio.mapFraming': 'Výřez',
|
||||
'journey.studio.mapFitStops': 'Zastávky',
|
||||
'journey.studio.mapFitCountry': 'Celá země',
|
||||
|
||||
@@ -642,7 +642,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Kartenkacheln',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Wird beim Rendern geladen und mit Quellenangabe gedruckt',
|
||||
'journey.studio.mapZoom': 'Zoom', // same-as-en
|
||||
'journey.studio.mapFraming': 'Ausschnitt',
|
||||
'journey.studio.mapFitStops': 'Stationen',
|
||||
'journey.studio.mapFitCountry': 'Ganzes Land',
|
||||
|
||||
@@ -635,7 +635,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Map tiles',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Fetched when the page is rendered, and printed with its credit',
|
||||
'journey.studio.mapZoom': 'Zoom',
|
||||
'journey.studio.mapFraming': 'View',
|
||||
'journey.studio.mapFitStops': 'Stops',
|
||||
'journey.studio.mapFitCountry': 'Whole country',
|
||||
|
||||
@@ -639,7 +639,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Teselas',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Se descarga al renderizar y se imprime con su atribución',
|
||||
'journey.studio.mapZoom': 'Zoom', // same-as-en
|
||||
'journey.studio.mapFraming': 'Encuadre',
|
||||
'journey.studio.mapFitStops': 'Paradas',
|
||||
'journey.studio.mapFitCountry': 'País entero',
|
||||
|
||||
@@ -636,7 +636,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Kaardipaanid',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Laaditakse lehe kuvamisel ja prinditakse koos allikaviitega',
|
||||
'journey.studio.mapZoom': 'Suum',
|
||||
'journey.studio.mapFraming': 'Vaade',
|
||||
'journey.studio.mapFitStops': 'Peatused',
|
||||
'journey.studio.mapFitCountry': 'Kogu riik',
|
||||
|
||||
@@ -639,7 +639,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Tuiles',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Téléchargée au rendu et imprimée avec son crédit',
|
||||
'journey.studio.mapZoom': 'Zoom', // same-as-en
|
||||
'journey.studio.mapFraming': 'Cadrage',
|
||||
'journey.studio.mapFitStops': 'Étapes',
|
||||
'journey.studio.mapFitCountry': 'Pays entier',
|
||||
|
||||
@@ -647,7 +647,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Πλακίδια',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Λαμβάνεται κατά την απόδοση και τυπώνεται με την αναφορά της',
|
||||
'journey.studio.mapZoom': 'Ζουμ',
|
||||
'journey.studio.mapFraming': 'Πλαισίωση',
|
||||
'journey.studio.mapFitStops': 'Στάσεις',
|
||||
'journey.studio.mapFitCountry': 'Όλη η χώρα',
|
||||
|
||||
@@ -636,7 +636,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'אריחי מפה',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'נטען כשהעמוד מרונדר, ומודפס עם הקרדיט שלו',
|
||||
'journey.studio.mapZoom': 'זום',
|
||||
'journey.studio.mapFraming': 'תצוגה',
|
||||
'journey.studio.mapFitStops': 'תחנות',
|
||||
'journey.studio.mapFitCountry': 'כל המדינה',
|
||||
|
||||
@@ -636,7 +636,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Térképcsempék',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Rendereléskor töltődik le, és forrásmegjelöléssel nyomtatódik',
|
||||
'journey.studio.mapZoom': 'Nagyítás',
|
||||
'journey.studio.mapFraming': 'Kivágás',
|
||||
'journey.studio.mapFitStops': 'Állomások',
|
||||
'journey.studio.mapFitCountry': 'Egész ország',
|
||||
|
||||
@@ -629,7 +629,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Ubin peta',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Diambil saat render dan dicetak dengan atribusinya',
|
||||
'journey.studio.mapZoom': 'Zum',
|
||||
'journey.studio.mapFraming': 'Bingkai',
|
||||
'journey.studio.mapFitStops': 'Perhentian',
|
||||
'journey.studio.mapFitCountry': 'Seluruh negara',
|
||||
|
||||
@@ -638,7 +638,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Tessere',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Scaricata al rendering e stampata con la sua attribuzione',
|
||||
'journey.studio.mapZoom': 'Zoom', // same-as-en
|
||||
'journey.studio.mapFraming': 'Inquadratura',
|
||||
'journey.studio.mapFitStops': 'Tappe',
|
||||
'journey.studio.mapFitCountry': 'Paese intero',
|
||||
|
||||
@@ -627,7 +627,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': '地図タイル',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'レンダリング時に取得し、出典を付けて印刷します',
|
||||
'journey.studio.mapZoom': 'ズーム',
|
||||
'journey.studio.mapFraming': '表示範囲',
|
||||
'journey.studio.mapFitStops': '立ち寄り先',
|
||||
'journey.studio.mapFitCountry': '国全体',
|
||||
|
||||
@@ -623,7 +623,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': '지도 타일',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': '렌더링할 때 가져오며 출처와 함께 인쇄됩니다',
|
||||
'journey.studio.mapZoom': '확대',
|
||||
'journey.studio.mapFraming': '보기 범위',
|
||||
'journey.studio.mapFitStops': '경유지',
|
||||
'journey.studio.mapFitCountry': '국가 전체',
|
||||
|
||||
@@ -640,7 +640,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Kaarttegels',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Wordt bij het renderen opgehaald en met bronvermelding gedrukt',
|
||||
'journey.studio.mapZoom': 'Zoom', // same-as-en
|
||||
'journey.studio.mapFraming': 'Uitsnede',
|
||||
'journey.studio.mapFitStops': 'Stops', // same-as-en
|
||||
'journey.studio.mapFitCountry': 'Hele land',
|
||||
|
||||
@@ -656,7 +656,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Kafelki',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Pobierane przy renderowaniu i drukowane z informacją o źródle',
|
||||
'journey.studio.mapZoom': 'Powiększenie',
|
||||
'journey.studio.mapFraming': 'Kadr',
|
||||
'journey.studio.mapFitStops': 'Przystanki',
|
||||
'journey.studio.mapFitCountry': 'Cały kraj',
|
||||
|
||||
@@ -656,7 +656,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Тайлы',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Загружается при отрисовке и печатается с указанием источника',
|
||||
'journey.studio.mapZoom': 'Масштаб',
|
||||
'journey.studio.mapFraming': 'Кадр',
|
||||
'journey.studio.mapFitStops': 'Остановки',
|
||||
'journey.studio.mapFitCountry': 'Вся страна',
|
||||
|
||||
@@ -647,7 +647,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Dlaždice mapy',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Načíta sa pri vykreslení strany a vytlačí sa s uvedením zdroja',
|
||||
'journey.studio.mapZoom': 'Priblíženie',
|
||||
'journey.studio.mapFraming': 'Výrez',
|
||||
'journey.studio.mapFitStops': 'Zastávky',
|
||||
'journey.studio.mapFitCountry': 'Celá krajina',
|
||||
|
||||
@@ -635,7 +635,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Kartrutor',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Hämtas vid rendering och trycks med sin källhänvisning',
|
||||
'journey.studio.mapZoom': 'Zoom', // same-as-en
|
||||
'journey.studio.mapFraming': 'Utsnitt',
|
||||
'journey.studio.mapFitStops': 'Stopp',
|
||||
'journey.studio.mapFitCountry': 'Hela landet',
|
||||
|
||||
@@ -615,7 +615,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'ไทล์แผนที่',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'ดึงข้อมูลเมื่อเพจถูกแสดงผล และพิมพ์พร้อมเครดิต',
|
||||
'journey.studio.mapZoom': 'ซูม',
|
||||
'journey.studio.mapFraming': 'ดู',
|
||||
'journey.studio.mapFitStops': 'จุดแวะ',
|
||||
'journey.studio.mapFitCountry': 'ทั้งประเทศ',
|
||||
|
||||
@@ -639,7 +639,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Harita karoları',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Sayfa işlenirken indirilir ve kaynak bilgisiyle basılır',
|
||||
'journey.studio.mapZoom': 'Yakınlaştırma',
|
||||
'journey.studio.mapFraming': 'Çerçeveleme',
|
||||
'journey.studio.mapFitStops': 'Duraklar',
|
||||
'journey.studio.mapFitCountry': 'Tüm ülke',
|
||||
|
||||
@@ -659,7 +659,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Тайли',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Завантажується під час рендерингу й друкується із зазначенням джерела',
|
||||
'journey.studio.mapZoom': 'Масштаб',
|
||||
'journey.studio.mapFraming': 'Кадр',
|
||||
'journey.studio.mapFitStops': 'Зупинки',
|
||||
'journey.studio.mapFitCountry': 'Уся країна',
|
||||
|
||||
@@ -627,7 +627,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': 'Ô bản đồ',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': 'Tải khi kết xuất và in kèm ghi công',
|
||||
'journey.studio.mapZoom': 'Thu phóng',
|
||||
'journey.studio.mapFraming': 'Khung nhìn',
|
||||
'journey.studio.mapFitStops': 'Điểm dừng',
|
||||
'journey.studio.mapFitCountry': 'Toàn bộ quốc gia',
|
||||
|
||||
@@ -615,7 +615,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': '地圖圖磚',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': '算繪時取得,並附上來源標註列印',
|
||||
'journey.studio.mapZoom': '縮放',
|
||||
'journey.studio.mapFraming': '取景',
|
||||
'journey.studio.mapFitStops': '停留點',
|
||||
'journey.studio.mapFitCountry': '整個國家',
|
||||
|
||||
@@ -615,7 +615,6 @@ const journey: TranslationStrings = {
|
||||
'journey.studio.mapSourceTiles': '地图瓦片',
|
||||
'journey.studio.mapSourceStatic': 'Mapbox',
|
||||
'journey.studio.mapSourceHint': '渲染时获取,并附带来源标注打印',
|
||||
'journey.studio.mapZoom': '缩放',
|
||||
'journey.studio.mapFraming': '取景',
|
||||
'journey.studio.mapFitStops': '停留点',
|
||||
'journey.studio.mapFitCountry': '整个国家',
|
||||
|
||||
Reference in New Issue
Block a user