mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
Merge branch 'feat/dashboard-rework' into dev
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=MuseoModerno:wght@400;700;800&display=swap" rel="stylesheet" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet" />
|
||||
|
||||
<!-- Leaflet -->
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
|
||||
|
||||
+1
-1
@@ -119,7 +119,7 @@ export default function App() {
|
||||
}
|
||||
}
|
||||
authApi.getAppConfig().then(async (config: { demo_mode?: boolean; dev_mode?: boolean; is_prerelease?: boolean; has_maps_key?: boolean; version?: string; timezone?: string; require_mfa?: boolean; trip_reminders_enabled?: boolean; places_photos_enabled?: boolean; places_autocomplete_enabled?: boolean; places_details_enabled?: boolean; permissions?: Record<string, PermissionLevel> }) => {
|
||||
if (config?.demo_mode) setDemoMode(true)
|
||||
setDemoMode(!!config?.demo_mode)
|
||||
if (config?.dev_mode) setDevMode(true)
|
||||
if (config?.is_prerelease !== undefined) setIsPrerelease(config.is_prerelease)
|
||||
if (config?.version) setAppVersion(config.version)
|
||||
|
||||
@@ -497,6 +497,7 @@ export const filesApi = {
|
||||
|
||||
export const reservationsApi = {
|
||||
list: (tripId: number | string) => apiClient.get(`/trips/${tripId}/reservations`).then(r => r.data),
|
||||
upcoming: () => apiClient.get('/reservations/upcoming').then(r => r.data),
|
||||
create: (tripId: number | string, data: Record<string, unknown>) => apiClient.post(`/trips/${tripId}/reservations`, data).then(r => r.data),
|
||||
update: (tripId: number | string, id: number, data: Record<string, unknown>) => apiClient.put(`/trips/${tripId}/reservations/${id}`, data).then(r => r.data),
|
||||
delete: (tripId: number | string, id: number) => apiClient.delete(`/trips/${tripId}/reservations/${id}`).then(r => r.data),
|
||||
|
||||
@@ -24,6 +24,7 @@ interface Addon {
|
||||
name: string
|
||||
icon: string
|
||||
type: string
|
||||
enabled: boolean
|
||||
}
|
||||
|
||||
export default function Navbar({ tripTitle, tripId, onBack, showBack, onShare }: NavbarProps): React.ReactElement {
|
||||
@@ -123,42 +124,6 @@ export default function Navbar({ tripTitle, tripId, onBack, showBack, onShare }:
|
||||
<img src={dark ? '/logo-light.svg' : '/logo-dark.svg'} alt="TREK" className="hidden sm:block" style={{ height: 28 }} />
|
||||
</Link>
|
||||
|
||||
{/* Global addon nav items */}
|
||||
{globalAddons.length > 0 && !tripTitle && (
|
||||
<>
|
||||
<span style={{ color: 'var(--text-faint)' }}>|</span>
|
||||
<Link to="/dashboard"
|
||||
className="flex items-center gap-1.5 px-2.5 py-1 rounded-lg text-xs font-medium transition-colors flex-shrink-0"
|
||||
style={{
|
||||
color: location.pathname === '/dashboard' ? 'var(--text-primary)' : 'var(--text-muted)',
|
||||
background: location.pathname === '/dashboard' ? 'var(--bg-hover)' : 'transparent',
|
||||
}}
|
||||
onMouseEnter={e => e.currentTarget.style.background = 'var(--bg-hover)'}
|
||||
onMouseLeave={e => { if (location.pathname !== '/dashboard') e.currentTarget.style.background = 'transparent' }}>
|
||||
<Briefcase className="w-3.5 h-3.5" />
|
||||
<span className="hidden md:inline">{t('nav.myTrips')}</span>
|
||||
</Link>
|
||||
{globalAddons.map(addon => {
|
||||
const Icon = ADDON_ICONS[addon.icon] || CalendarDays
|
||||
const path = `/${addon.id}`
|
||||
const isActive = location.pathname === path
|
||||
return (
|
||||
<Link key={addon.id} to={path}
|
||||
className="flex items-center gap-1.5 px-2.5 py-1 rounded-lg text-xs font-medium transition-colors flex-shrink-0"
|
||||
style={{
|
||||
color: isActive ? 'var(--text-primary)' : 'var(--text-muted)',
|
||||
background: isActive ? 'var(--bg-hover)' : 'transparent',
|
||||
}}
|
||||
onMouseEnter={e => e.currentTarget.style.background = 'var(--bg-hover)'}
|
||||
onMouseLeave={e => { if (!isActive) e.currentTarget.style.background = 'transparent' }}>
|
||||
<Icon className="w-3.5 h-3.5" />
|
||||
<span className="hidden md:inline">{getAddonName(addon)}</span>
|
||||
</Link>
|
||||
)
|
||||
})}
|
||||
</>
|
||||
)}
|
||||
|
||||
{tripTitle && (
|
||||
<>
|
||||
<span className="hidden sm:inline" style={{ color: 'var(--text-faint)' }}>/</span>
|
||||
@@ -169,6 +134,42 @@ export default function Navbar({ tripTitle, tripId, onBack, showBack, onShare }:
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Centred liquid-glass tab menu (design handoff). Absolutely positioned so
|
||||
the left brand block and the right action cluster keep their layout. */}
|
||||
{globalAddons.length > 0 && !tripTitle && (
|
||||
<div
|
||||
className="trek-nav-pill"
|
||||
style={{
|
||||
position: 'absolute', left: '50%', top: '50%', transform: 'translate(-50%, -50%)',
|
||||
display: 'flex', gap: 4, padding: 4, borderRadius: 14,
|
||||
background: dark ? 'rgba(255,255,255,0.06)' : 'rgba(0,0,0,0.04)',
|
||||
backdropFilter: 'blur(20px) saturate(180%)', WebkitBackdropFilter: 'blur(20px) saturate(180%)',
|
||||
border: `1px solid ${dark ? 'rgba(255,255,255,0.08)' : 'rgba(0,0,0,0.05)'}`,
|
||||
}}
|
||||
>
|
||||
{[{ id: '__trips', path: '/dashboard', label: t('nav.myTrips'), Icon: Briefcase },
|
||||
...globalAddons.map(a => ({ id: a.id, path: `/${a.id}`, label: getAddonName(a), Icon: ADDON_ICONS[a.icon] || CalendarDays }))
|
||||
].map(tab => {
|
||||
const isActive = location.pathname === tab.path
|
||||
return (
|
||||
<Link key={tab.id} to={tab.path}
|
||||
className="flex items-center gap-1.5 transition-colors"
|
||||
style={{
|
||||
padding: '5px 16px', borderRadius: 9, fontSize: 13.5, fontWeight: 500,
|
||||
color: isActive ? 'var(--text-primary)' : 'var(--text-muted)',
|
||||
background: isActive ? 'var(--bg-card)' : 'transparent',
|
||||
boxShadow: isActive ? '0 1px 2px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.05)' : 'none',
|
||||
}}
|
||||
onMouseEnter={e => { if (!isActive) e.currentTarget.style.color = 'var(--text-primary)' }}
|
||||
onMouseLeave={e => { if (!isActive) e.currentTarget.style.color = 'var(--text-muted)' }}>
|
||||
<tab.Icon className="w-4 h-4" />
|
||||
<span>{tab.label}</span>
|
||||
</Link>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Spacer */}
|
||||
<div className="flex-1" />
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import React, { useEffect, useCallback } from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
import { AlertTriangle } from 'lucide-react'
|
||||
import { useTranslation } from '../../i18n'
|
||||
|
||||
@@ -38,7 +39,7 @@ export default function ConfirmDialog({
|
||||
|
||||
if (!isOpen) return null
|
||||
|
||||
return (
|
||||
return ReactDOM.createPortal(
|
||||
<div
|
||||
className="fixed inset-0 z-[10000] flex items-center justify-center px-4 trek-backdrop-enter"
|
||||
style={{ backgroundColor: 'rgba(15, 23, 42, 0.5)', paddingBottom: 'var(--bottom-nav-h)' }}
|
||||
@@ -87,6 +88,7 @@ export default function ConfirmDialog({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>,
|
||||
document.body
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import React, { useEffect, useCallback } from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
import { Check, X } from 'lucide-react'
|
||||
import { useTranslation } from '../../i18n'
|
||||
|
||||
@@ -39,7 +40,7 @@ export default function CopyTripDialog({ isOpen, tripTitle, onClose, onConfirm }
|
||||
|
||||
if (!isOpen) return null
|
||||
|
||||
return (
|
||||
return ReactDOM.createPortal(
|
||||
<div
|
||||
className="fixed inset-0 z-[10000] flex items-center justify-center px-4 trek-backdrop-enter"
|
||||
style={{ backgroundColor: 'rgba(15, 23, 42, 0.5)', paddingBottom: 'var(--bottom-nav-h)' }}
|
||||
@@ -97,12 +98,14 @@ export default function CopyTripDialog({ isOpen, tripTitle, onClose, onConfirm }
|
||||
</button>
|
||||
<button
|
||||
onClick={() => { onConfirm(); onClose() }}
|
||||
className="px-4 py-2 text-sm font-medium rounded-lg transition-colors text-white bg-blue-600 hover:bg-blue-700"
|
||||
className="px-4 py-2 text-sm font-medium rounded-lg transition-opacity hover:opacity-90"
|
||||
style={{ background: 'var(--text-primary)', color: 'var(--bg-card)' }}
|
||||
>
|
||||
{t('dashboard.confirm.copy.confirm')}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>,
|
||||
document.body
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import React, { useEffect, useCallback, useRef } from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
import { X } from 'lucide-react'
|
||||
|
||||
const sizeClasses: Record<string, string> = {
|
||||
@@ -48,7 +49,7 @@ export default function Modal({
|
||||
|
||||
if (!isOpen) return null
|
||||
|
||||
return (
|
||||
return ReactDOM.createPortal(
|
||||
<div
|
||||
className="fixed inset-0 z-[200] flex items-start sm:items-center justify-center px-4 modal-backdrop trek-backdrop-enter"
|
||||
style={{ backgroundColor: 'rgba(15, 23, 42, 0.5)', paddingTop: 70, paddingBottom: 'calc(20px + var(--bottom-nav-h))', overflow: 'hidden' }}
|
||||
@@ -94,6 +95,7 @@ export default function Modal({
|
||||
)}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>,
|
||||
document.body
|
||||
)
|
||||
}
|
||||
|
||||
@@ -489,7 +489,7 @@ input[type="number"], input[type="time"], input[type="date"], input[type="dateti
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
:root { --nav-h: calc(56px + env(safe-area-inset-top, 0px)); }
|
||||
:root { --nav-h: calc(64px + env(safe-area-inset-top, 0px)); }
|
||||
}
|
||||
|
||||
.dark {
|
||||
|
||||
+609
-1022
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,505 @@
|
||||
/* ============================================================================
|
||||
Dashboard rework — design tokens + layout.
|
||||
Ported pixel-for-pixel from the design handoff (Dashboard.html) and scoped
|
||||
under .trek-dash so none of it leaks into the rest of the app. The light
|
||||
palette is the design's original; the dark block keeps the exact geometry
|
||||
(radii, spacing, shadow structure) and only swaps colour values so the page
|
||||
still feels at home when TREK's dark mode is on.
|
||||
============================================================================ */
|
||||
|
||||
.trek-dash {
|
||||
/* warm light palette (design original) */
|
||||
--bg: #f8fafc;
|
||||
--bg-2: oklch(0.965 0.01 70);
|
||||
--surface: #ffffff;
|
||||
--surface-2: oklch(0.985 0.006 78);
|
||||
--ink: oklch(0.22 0.012 65);
|
||||
--ink-2: oklch(0.42 0.012 65);
|
||||
--ink-3: oklch(0.62 0.01 65);
|
||||
--line: oklch(0.92 0.008 70);
|
||||
--line-2: oklch(0.88 0.01 70);
|
||||
--accent: oklch(0.66 0.17 38);
|
||||
--accent-ink: oklch(0.32 0.13 38);
|
||||
--accent-soft: oklch(0.95 0.04 50);
|
||||
--success: oklch(0.58 0.12 155);
|
||||
--warn: oklch(0.74 0.14 75);
|
||||
|
||||
--sh-xs: 0 1px 0 oklch(0.92 0.01 70 / .6), 0 1px 2px oklch(0.4 0.02 60 / .04);
|
||||
--sh-sm: 0 1px 2px oklch(0.4 0.02 60 / .04), 0 2px 6px oklch(0.4 0.02 60 / .05);
|
||||
--sh-md: 0 1px 2px oklch(0.4 0.02 60 / .05), 0 8px 24px -8px oklch(0.3 0.02 60 / .14);
|
||||
--sh-lg: 0 2px 4px oklch(0.4 0.02 60 / .06), 0 20px 50px -16px oklch(0.25 0.04 60 / .26);
|
||||
|
||||
--r-xs: 10px;
|
||||
--r-sm: 14px;
|
||||
--r-md: 18px;
|
||||
--r-lg: 22px;
|
||||
--r-xl: 28px;
|
||||
--r-2xl: 32px;
|
||||
|
||||
background: var(--bg);
|
||||
color: var(--ink);
|
||||
font-family: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
|
||||
font-feature-settings: "ss01", "cv11";
|
||||
letter-spacing: -0.005em;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
/* dark variant — same geometry, dark surfaces, accent kept */
|
||||
.dark .trek-dash {
|
||||
--bg: oklch(0.17 0.012 65);
|
||||
--bg-2: oklch(0.21 0.012 65);
|
||||
--surface: oklch(0.225 0.012 65);
|
||||
--surface-2: oklch(0.255 0.012 65);
|
||||
--ink: oklch(0.96 0.006 70);
|
||||
--ink-2: oklch(0.78 0.008 70);
|
||||
--ink-3: oklch(0.6 0.008 70);
|
||||
--line: oklch(0.32 0.01 65);
|
||||
--line-2: oklch(0.38 0.012 65);
|
||||
--accent: oklch(0.7 0.16 40);
|
||||
--accent-ink: oklch(0.82 0.13 50);
|
||||
--accent-soft: oklch(0.32 0.07 45);
|
||||
--success: oklch(0.7 0.13 155);
|
||||
--warn: oklch(0.78 0.14 75);
|
||||
|
||||
--sh-xs: 0 1px 0 oklch(0 0 0 / .4), 0 1px 2px oklch(0 0 0 / .3);
|
||||
--sh-sm: 0 1px 2px oklch(0 0 0 / .3), 0 2px 6px oklch(0 0 0 / .35);
|
||||
--sh-md: 0 1px 2px oklch(0 0 0 / .35), 0 8px 24px -8px oklch(0 0 0 / .5);
|
||||
--sh-lg: 0 2px 4px oklch(0 0 0 / .4), 0 20px 50px -16px oklch(0 0 0 / .7);
|
||||
}
|
||||
|
||||
.trek-dash * { box-sizing: border-box; }
|
||||
.trek-dash .mono { font-family: "Poppins", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-feature-settings: "tnum"; }
|
||||
.trek-dash button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
|
||||
.trek-dash a { color: inherit; text-decoration: none; }
|
||||
|
||||
/* ----------------- layout ----------------- */
|
||||
.trek-dash .page {
|
||||
max-width: 1800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 48px 96px;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 400px;
|
||||
gap: 48px;
|
||||
align-items: start;
|
||||
}
|
||||
.trek-dash .page-main { min-width: 0; }
|
||||
.trek-dash .page-sidebar {
|
||||
position: sticky;
|
||||
top: 24px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
/* ----------------- greeting ----------------- */
|
||||
.trek-dash .greeting {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
align-items: end;
|
||||
gap: 32px;
|
||||
margin-bottom: 36px;
|
||||
}
|
||||
.trek-dash .greeting-kicker {
|
||||
display: inline-flex; align-items: center; gap: 10px;
|
||||
font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
|
||||
color: var(--ink-3); font-weight: 500; margin-bottom: 14px;
|
||||
}
|
||||
.trek-dash .greeting-kicker .live-dot {
|
||||
width: 6px; height: 6px; border-radius: 50%;
|
||||
background: var(--accent); box-shadow: 0 0 0 4px oklch(0.66 0.17 38 / .14);
|
||||
}
|
||||
.trek-dash .hello {
|
||||
font-size: 56px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin: 0;
|
||||
}
|
||||
.trek-dash .hello .accent { color: var(--accent-ink); font-weight: 600; }
|
||||
.trek-dash .hello-sub { margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
||||
.trek-dash .meta-chip {
|
||||
display: inline-flex; align-items: center; gap: 8px;
|
||||
padding: 8px 14px 8px 10px; background: var(--surface);
|
||||
border-radius: 999px; font-size: 13px; color: var(--ink-2);
|
||||
font-weight: 500; box-shadow: var(--sh-sm);
|
||||
}
|
||||
.trek-dash .meta-chip strong { color: var(--ink); font-weight: 600; }
|
||||
.trek-dash .meta-chip .ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
|
||||
.trek-dash .meta-chip .ico svg { width: 12px; height: 12px; }
|
||||
.trek-dash .meta-chip .ico.sun { background: linear-gradient(135deg, oklch(0.85 0.13 85), oklch(0.72 0.16 55)); }
|
||||
.trek-dash .meta-chip .ico.trip { background: linear-gradient(135deg, oklch(0.7 0.16 38), oklch(0.55 0.14 25)); }
|
||||
|
||||
.trek-dash .cta-stack { display: flex; gap: 10px; }
|
||||
.trek-dash .btn {
|
||||
display: inline-flex; align-items: center; gap: 8px;
|
||||
padding: 12px 18px; border-radius: 12px;
|
||||
font-size: 14px; font-weight: 500;
|
||||
transition: transform .08s, box-shadow .15s, background .15s;
|
||||
}
|
||||
.trek-dash .btn:active { transform: translateY(1px); }
|
||||
.trek-dash .btn-primary {
|
||||
background: var(--ink); color: var(--bg);
|
||||
box-shadow: var(--sh-md), inset 0 1px 0 oklch(1 0 0 / .12);
|
||||
}
|
||||
.trek-dash .btn-secondary { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); }
|
||||
.trek-dash .btn-secondary:hover { background: var(--surface-2); }
|
||||
|
||||
/* ----------------- hero trip ----------------- */
|
||||
.trek-dash .hero-trip {
|
||||
position: relative; border-radius: var(--r-2xl); overflow: hidden; cursor: pointer;
|
||||
height: 520px; box-shadow: var(--sh-lg); margin-bottom: 56px; isolation: isolate;
|
||||
transition: transform .35s cubic-bezier(0.23,1,0.32,1), box-shadow .35s cubic-bezier(0.23,1,0.32,1);
|
||||
}
|
||||
.trek-dash .hero-trip:hover { transform: translateY(-4px); box-shadow: var(--sh-xl, 0 24px 60px oklch(0 0 0 / .28)); }
|
||||
.trek-dash .hero-trip img.bg {
|
||||
position: absolute; inset: 0; width: 100%; height: 100%;
|
||||
object-fit: cover; z-index: 0; transition: transform 12s ease-out;
|
||||
}
|
||||
.trek-dash .hero-trip:hover img.bg { transform: scale(1.04); }
|
||||
.trek-dash .hero-trip .scrim {
|
||||
position: absolute; inset: 0; z-index: 1;
|
||||
background:
|
||||
linear-gradient(180deg, oklch(0 0 0 / .35) 0%, oklch(0 0 0 / 0) 28%, oklch(0 0 0 / 0) 55%, oklch(0 0 0 / .45) 100%),
|
||||
linear-gradient(90deg, oklch(0 0 0 / .25) 0%, oklch(0 0 0 / 0) 55%);
|
||||
}
|
||||
.trek-dash .hero-content {
|
||||
position: absolute; inset: 0; z-index: 2; padding: 32px 32px 26px;
|
||||
display: grid; grid-template-rows: auto 1fr auto; color: #fff;
|
||||
}
|
||||
.trek-dash .hero-top { display: flex; justify-content: space-between; align-items: start; }
|
||||
.trek-dash .hero-badge {
|
||||
display: inline-flex; align-items: center; gap: 8px;
|
||||
background: oklch(1 0 0 / .14);
|
||||
backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
|
||||
border: 1px solid oklch(1 0 0 / .2); padding: 8px 14px 8px 12px;
|
||||
border-radius: 999px; font-size: 12px; font-weight: 500;
|
||||
letter-spacing: 0.06em; text-transform: uppercase;
|
||||
}
|
||||
.trek-dash .hero-badge .pulse {
|
||||
width: 7px; height: 7px; border-radius: 50%;
|
||||
background: oklch(0.84 0.18 85); box-shadow: 0 0 0 0 oklch(0.84 0.18 85 / .7);
|
||||
animation: trek-dash-pulse 2s infinite;
|
||||
}
|
||||
@keyframes trek-dash-pulse {
|
||||
0% { box-shadow: 0 0 0 0 oklch(0.84 0.18 85 / .7); }
|
||||
70% { box-shadow: 0 0 0 8px oklch(0.84 0.18 85 / 0); }
|
||||
100% { box-shadow: 0 0 0 0 oklch(0.84 0.18 85 / 0); }
|
||||
}
|
||||
.trek-dash .hero-tools { display: flex; gap: 8px; }
|
||||
.trek-dash .hero-tool {
|
||||
width: 38px; height: 38px; border-radius: 50%;
|
||||
background: oklch(1 0 0 / .14);
|
||||
backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
|
||||
border: 1px solid oklch(1 0 0 / .2); color: #fff;
|
||||
display: grid; place-items: center; transition: background .15s, transform .12s;
|
||||
}
|
||||
.trek-dash .hero-tool:hover { background: oklch(1 0 0 / .26); transform: scale(1.05); }
|
||||
.trek-dash .hero-tool svg { width: 16px; height: 16px; }
|
||||
.trek-dash .hero-title-block { align-self: end; padding-bottom: 24px; }
|
||||
.trek-dash .hero-eyebrow {
|
||||
display: inline-flex; align-items: center; gap: 10px;
|
||||
font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
|
||||
opacity: .88; margin-bottom: 16px; font-weight: 500;
|
||||
}
|
||||
.trek-dash .hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: oklch(1 0 0 / .6); }
|
||||
.trek-dash .hero-title { font-size: 104px; font-weight: 600; line-height: 0.9; letter-spacing: -0.045em; margin: 0; }
|
||||
|
||||
/* ----------------- boarding pass ----------------- */
|
||||
.trek-dash .hero-pass {
|
||||
background: linear-gradient(135deg,
|
||||
oklch(0.99 0.006 75 / .75) 0%, oklch(0.985 0.008 70 / .85) 50%, oklch(0.98 0.01 65 / .8) 100%);
|
||||
backdrop-filter: blur(40px) saturate(1.8) brightness(1.1);
|
||||
-webkit-backdrop-filter: blur(40px) saturate(1.8) brightness(1.1);
|
||||
border-radius: 24px; border: 1px solid oklch(0.92 0.008 70 / .35);
|
||||
display: grid; grid-template-columns: 1fr 1.5fr 1fr 1fr; align-items: stretch;
|
||||
padding: 24px 16px 24px 28px; gap: 0;
|
||||
box-shadow:
|
||||
0 2px 8px -2px oklch(0 0 0 / .08), 0 8px 24px -6px oklch(0 0 0 / .12),
|
||||
0 20px 60px -16px oklch(0 0 0 / .35), inset 0 1px 1px 0 oklch(1 0 0 / .5);
|
||||
color: var(--ink); position: relative; overflow: hidden;
|
||||
mask-image:
|
||||
radial-gradient(circle 8px at 0 50%, transparent 8px, black 8px),
|
||||
radial-gradient(circle 8px at 100% 50%, transparent 8px, black 8px);
|
||||
mask-composite: intersect;
|
||||
-webkit-mask-image:
|
||||
radial-gradient(circle 8px at 0 50%, transparent 8px, black 8px),
|
||||
radial-gradient(circle 8px at 100% 50%, transparent 8px, black 8px);
|
||||
-webkit-mask-composite: source-in;
|
||||
transform: translateZ(0);
|
||||
}
|
||||
.dark .trek-dash .hero-pass {
|
||||
background: linear-gradient(135deg, oklch(0.28 0.012 65 / .8) 0%, oklch(0.25 0.012 65 / .85) 50%, oklch(0.23 0.012 65 / .8) 100%);
|
||||
border: 1px solid oklch(1 0 0 / .1);
|
||||
box-shadow:
|
||||
0 2px 8px -2px oklch(0 0 0 / .3), 0 8px 24px -6px oklch(0 0 0 / .4),
|
||||
0 20px 60px -16px oklch(0 0 0 / .6), inset 0 1px 1px 0 oklch(1 0 0 / .08);
|
||||
}
|
||||
.trek-dash .hero-pass::before {
|
||||
content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1px;
|
||||
background: linear-gradient(135deg, oklch(1 0 0 / .25) 0%, oklch(1 0 0 / .08) 40%, oklch(1 0 0 / .02) 70%, oklch(1 0 0 / .15) 100%);
|
||||
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
||||
-webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
|
||||
}
|
||||
.trek-dash .pass-cell {
|
||||
padding: 4px 18px; position: relative; display: flex; flex-direction: column;
|
||||
justify-content: center; align-items: center; text-align: center; gap: 6px; flex: 1; min-width: 0;
|
||||
}
|
||||
.trek-dash .pass-cell + .pass-cell::before {
|
||||
content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px;
|
||||
background-image: linear-gradient(to bottom, oklch(0.78 0.008 70) 50%, transparent 50%);
|
||||
background-size: 1px 5px;
|
||||
}
|
||||
.dark .trek-dash .pass-cell + .pass-cell::before {
|
||||
background-image: linear-gradient(to bottom, oklch(0.5 0.01 70) 50%, transparent 50%);
|
||||
}
|
||||
.trek-dash .pass-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-3); font-weight: 500; }
|
||||
.trek-dash .pass-value { font-size: 32px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); line-height: 1; display: flex; align-items: baseline; gap: 6px; }
|
||||
.trek-dash .pass-value .unit { font-size: 16px; color: var(--ink-3); font-weight: 500; letter-spacing: -0.005em; }
|
||||
.trek-dash .pass-sub { font-size: 11.5px; color: var(--ink-3); font-weight: 500; }
|
||||
.trek-dash .pass-cell.dates-combined { gap: 10px; }
|
||||
.trek-dash .dates-row { display: flex; align-items: center; gap: 12px; justify-content: center; }
|
||||
.trek-dash .date-block { display: flex; flex-direction: column; align-items: center; gap: 2px; }
|
||||
.trek-dash .date-num { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
|
||||
.trek-dash .date-month { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
|
||||
.trek-dash .date-arrow { width: 24px; height: 24px; display: grid; place-items: center; margin: 0 4px; }
|
||||
.trek-dash .date-arrow svg { width: 18px; height: 18px; color: var(--ink-2); opacity: 0.5; }
|
||||
|
||||
.trek-dash .pass-cell.buddies,
|
||||
.trek-dash .pass-cell.places { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
|
||||
.trek-dash .buddies-avatars,
|
||||
.trek-dash .places-preview { display: flex; gap: 0; justify-content: center; align-items: center; }
|
||||
.trek-dash .buddy-avatar {
|
||||
width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
|
||||
font-size: 13px; font-weight: 700; color: white;
|
||||
border: 2px solid oklch(0.985 0.008 75 / .95); margin-left: -8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1);
|
||||
}
|
||||
.trek-dash .buddy-avatar:first-child { margin-left: 0; }
|
||||
.trek-dash .buddy-more,
|
||||
.trek-dash .place-more {
|
||||
width: 36px; height: 36px; border-radius: 50%;
|
||||
background: oklch(0.92 0.008 70); border: 2px solid oklch(0.985 0.008 75 / .95);
|
||||
display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--ink);
|
||||
margin-left: -8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1);
|
||||
}
|
||||
.dark .trek-dash .buddy-avatar,
|
||||
.dark .trek-dash .place-thumb,
|
||||
.dark .trek-dash .buddy-more,
|
||||
.dark .trek-dash .place-more { border-color: oklch(0.25 0.012 65 / .95); }
|
||||
.dark .trek-dash .buddy-more,
|
||||
.dark .trek-dash .place-more { background: oklch(0.32 0.01 70); }
|
||||
.trek-dash .place-thumb {
|
||||
width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
|
||||
border: 2px solid oklch(0.985 0.008 75 / .95); box-shadow: 0 2px 6px rgba(0,0,0,0.1); margin-left: -8px;
|
||||
}
|
||||
.trek-dash .place-thumb:first-child { margin-left: 0; }
|
||||
|
||||
.trek-dash .pass-cell.countdown { flex-direction: row; align-items: center; text-align: left; gap: 12px; }
|
||||
.trek-dash .countdown-ring { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
|
||||
.trek-dash .countdown-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
|
||||
.trek-dash .countdown-ring .track { stroke: oklch(0.92 0.01 70); stroke-width: 5; }
|
||||
.dark .trek-dash .countdown-ring .track { stroke: oklch(0.4 0.01 70); }
|
||||
.trek-dash .countdown-ring .fill { stroke: var(--ink); stroke-linecap: round; stroke-width: 5; }
|
||||
.trek-dash .countdown-ring .glow { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; opacity: 0.15; filter: blur(3px); }
|
||||
.trek-dash .countdown-ring .pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
|
||||
.trek-dash .countdown-info { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
|
||||
.trek-dash .countdown-days { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
|
||||
.trek-dash .countdown-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 500; }
|
||||
|
||||
/* ----------------- atlas / stats ----------------- */
|
||||
.trek-dash .atlas { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 16px; margin-bottom: 56px; }
|
||||
.trek-dash .atlas-card {
|
||||
background: var(--surface); border-radius: var(--r-lg); padding: 24px 26px;
|
||||
box-shadow: var(--sh-sm); position: relative; overflow: hidden;
|
||||
}
|
||||
.trek-dash .atlas-card .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); font-weight: 500; }
|
||||
.trek-dash .atlas-card .value { font-size: 44px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; margin-top: 16px; display: flex; align-items: baseline; gap: 8px; }
|
||||
.trek-dash .atlas-card .value .unit { font-size: 17px; color: var(--ink-3); font-weight: 500; letter-spacing: -0.01em; }
|
||||
.trek-dash .atlas-card .delta { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
|
||||
.trek-dash .atlas-card .delta .up { color: var(--success); font-weight: 500; }
|
||||
.trek-dash .atlas-card.passport {
|
||||
background:
|
||||
linear-gradient(135deg, oklch(0.95 0.01 70 / .15) 0%, oklch(0.98 0.005 70 / .08) 50%, oklch(1 0 0 / .12) 100%),
|
||||
linear-gradient(180deg, oklch(0.15 0.02 65), oklch(0.08 0.01 70));
|
||||
color: #fff; border: 1px solid oklch(1 0 0 / .12);
|
||||
box-shadow: 0 8px 32px oklch(0 0 0 / .15), inset 0 1px 0 oklch(1 0 0 / .15), inset 0 -1px 0 oklch(0 0 0 / .3);
|
||||
backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
|
||||
}
|
||||
.trek-dash .atlas-card.passport .label { color: oklch(1 0 0 / .65); }
|
||||
.trek-dash .atlas-card.passport .value { font-size: 56px; }
|
||||
.trek-dash .atlas-card.passport .delta { color: oklch(1 0 0 / .65); }
|
||||
.trek-dash .passport-flags { display: flex; margin-top: 18px; }
|
||||
.trek-dash .flag {
|
||||
width: 24px; height: 24px; border-radius: 50%; overflow: hidden;
|
||||
background: oklch(0.4 0.06 60); border: 2px solid oklch(0.28 0.04 50);
|
||||
margin-left: -8px; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff;
|
||||
}
|
||||
.trek-dash .flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.trek-dash .flag:first-child { margin-left: 0; }
|
||||
.trek-dash .flag.more { background: oklch(1 0 0 / .15); color: #fff; font-size: 10px; border: 2px solid oklch(0.28 0.04 50); }
|
||||
.trek-dash .spark { position: absolute; right: 18px; bottom: 18px; opacity: .55; }
|
||||
.trek-dash .spark polyline,
|
||||
.trek-dash .spark path,
|
||||
.trek-dash .spark circle:not([stroke]) { stroke: var(--ink); }
|
||||
|
||||
/* ----------------- section heads ----------------- */
|
||||
.trek-dash .sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; margin-top: 8px; }
|
||||
.trek-dash .sec-title { font-size: 28px; font-weight: 600; letter-spacing: -0.025em; margin: 0; display: flex; align-items: baseline; gap: 14px; }
|
||||
.trek-dash .sec-title .count { font-size: 14px; color: var(--ink-3); font-weight: 500; letter-spacing: -0.005em; font-family: "Poppins", sans-serif; }
|
||||
.trek-dash .sec-tools { display: flex; gap: 6px; align-items: center; }
|
||||
.trek-dash .seg { display: flex; background: oklch(0.94 0.008 70); border-radius: 10px; padding: 3px; }
|
||||
.dark .trek-dash .seg { background: var(--bg-2); }
|
||||
.trek-dash .seg button { padding: 7px 14px; font-size: 13px; border-radius: 8px; color: var(--ink-2); font-weight: 500; transition: background .12s, color .12s; }
|
||||
.trek-dash .seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-xs); }
|
||||
|
||||
/* ----------------- trips grid ----------------- */
|
||||
.trek-dash .trips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; transition: all 0.3s ease; }
|
||||
.trek-dash .trips.list-view { grid-template-columns: 1fr; gap: 12px; }
|
||||
.trek-dash .trips.list-view .trip-card { display: grid; grid-template-columns: 520px 1fr; gap: 0; height: auto; }
|
||||
.trek-dash .trips.list-view .trip-cover { border-radius: var(--r-lg) 0 0 var(--r-lg); height: 100px; aspect-ratio: unset; }
|
||||
.trek-dash .trips.list-view .trip-body { display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; gap: 48px; }
|
||||
.trek-dash .trips.list-view .trip-meta { display: flex; gap: 32px; padding: 0; border: none; }
|
||||
.trek-dash .trip-card {
|
||||
position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--surface);
|
||||
box-shadow: var(--sh-md); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
|
||||
cursor: pointer; isolation: isolate;
|
||||
}
|
||||
.trek-dash .trip-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
|
||||
.trek-dash .trip-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
|
||||
.trek-dash .trip-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
|
||||
.trek-dash .trip-card:hover .trip-cover img { transform: scale(1.04); }
|
||||
.trek-dash .trip-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0 0 0 / 0) 40%, oklch(0 0 0 / .55) 100%); }
|
||||
.trek-dash .trip-status {
|
||||
position: absolute; top: 16px; left: 16px; z-index: 1;
|
||||
display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 9px;
|
||||
border-radius: 999px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em;
|
||||
background: oklch(1 0 0 / .18); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
|
||||
border: 1px solid oklch(1 0 0 / .22); color: #fff; text-transform: uppercase;
|
||||
}
|
||||
.trek-dash .trip-status .indicator { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.84 0.16 145); }
|
||||
.trek-dash .trip-status.completed .indicator { background: oklch(0.75 0.02 220); }
|
||||
.trek-dash .trip-status.upcoming .indicator { background: oklch(0.84 0.18 85); }
|
||||
.trek-dash .trip-status.idea .indicator { background: oklch(0.78 0.14 280); }
|
||||
.trek-dash .trip-actions { position: absolute; top: 14px; right: 14px; z-index: 1; display: flex; gap: 6px; opacity: 0; transition: opacity .2s; }
|
||||
.trek-dash .trip-card:hover .trip-actions { opacity: 1; }
|
||||
.trek-dash .trip-action-btn {
|
||||
width: 36px; height: 36px; border-radius: 50%;
|
||||
background: oklch(1 0 0 / .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
|
||||
border: 1px solid oklch(1 0 0 / .22); color: #fff; display: grid; place-items: center; transition: background .15s;
|
||||
}
|
||||
.trek-dash .trip-action-btn:hover { background: oklch(1 0 0 / .3); }
|
||||
.trek-dash .trip-action-btn svg { width: 16px; height: 16px; }
|
||||
.trek-dash .trip-cover-content { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; }
|
||||
.trek-dash .trip-name { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
|
||||
.trek-dash .trip-where { margin-top: 4px; font-size: 13px; opacity: .85; display: flex; align-items: center; gap: 6px; }
|
||||
.trek-dash .trip-where svg { width: 12px; height: 12px; opacity: .8; }
|
||||
.trek-dash .trip-body { padding: 18px 20px 20px; }
|
||||
.trek-dash .trip-dates { font-size: 13px; color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 14px; font-weight: 500; }
|
||||
.trek-dash .trip-dates .date-num { font-size: 13px; font-weight: 400; color: var(--ink-3); }
|
||||
.trek-dash .trip-dates .date-arrow { display: inline-flex; align-items: center; justify-content: center; opacity: 0.4; margin: 0 2px; line-height: 1; }
|
||||
.trek-dash .trip-dates .date-arrow svg { width: 11px; height: 11px; display: block; }
|
||||
.trek-dash .trip-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
|
||||
.trek-dash .trip-meta div { display: flex; flex-direction: column; gap: 3px; text-align: center; }
|
||||
.trek-dash .trip-meta .n { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
|
||||
.trek-dash .trip-meta .k { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 500; }
|
||||
.trek-dash .add-trip-card {
|
||||
border-radius: var(--r-xl); border: 1.5px dashed var(--line-2);
|
||||
background: oklch(0.97 0.008 75 / .5); display: grid; place-items: center;
|
||||
text-align: center; padding: 32px; transition: background .15s, border-color .15s; cursor: pointer; min-height: 240px;
|
||||
}
|
||||
.dark .trek-dash .add-trip-card { background: oklch(0.22 0.01 65 / .5); }
|
||||
.trek-dash .add-trip-card:hover { background: var(--surface-2); border-color: var(--ink); color: var(--ink); }
|
||||
.trek-dash .add-trip-card .circ {
|
||||
width: 48px; height: 48px; border-radius: 50%; background: #111827; color: #fff;
|
||||
display: grid; place-items: center; margin: 0 auto 14px; box-shadow: var(--sh-sm);
|
||||
transition: transform .4s cubic-bezier(0.34,1.56,0.64,1), background .15s;
|
||||
}
|
||||
.dark .trek-dash .add-trip-card .circ { background: #fff; color: #111827; }
|
||||
.trek-dash .add-trip-card:hover .circ { transform: rotate(180deg) scale(1.08); }
|
||||
.trek-dash .add-trip-card .ttl { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
|
||||
.trek-dash .add-trip-card .sub { font-size: 13px; color: var(--ink-3); }
|
||||
|
||||
/* ----------------- tools sidebar ----------------- */
|
||||
.trek-dash .tool { background: var(--surface); border-radius: var(--r-xl); padding: 24px 26px; box-shadow: var(--sh-sm); }
|
||||
.trek-dash .tool-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
|
||||
.trek-dash .tool-title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); font-weight: 500; display: flex; align-items: center; gap: 8px; }
|
||||
.trek-dash .tool-title svg { width: 14px; height: 14px; }
|
||||
.trek-dash .tool-action { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-3); transition: background .12s, color .12s; }
|
||||
.trek-dash .tool-action:hover { background: var(--bg-2); color: var(--ink); }
|
||||
.trek-dash .fx-input { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 8px; margin-bottom: 14px; }
|
||||
.trek-dash .fx-field { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
|
||||
.trek-dash .fx-field .lbl { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 500; }
|
||||
.trek-dash .fx-field .amt { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; margin-top: 2px; background: none; border: 0; width: 100%; outline: none; color: var(--ink); font-family: "Poppins", sans-serif; font-feature-settings: "tnum"; }
|
||||
.trek-dash .fx-field .ccy { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
|
||||
.trek-dash .fx-swap { align-self: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; box-shadow: var(--sh-sm); transition: transform .2s; }
|
||||
.trek-dash .fx-swap:hover { transform: rotate(180deg); }
|
||||
.trek-dash .fx-swap svg { width: 14px; height: 14px; }
|
||||
.trek-dash .fx-rate { font-size: 12px; color: var(--ink-3); display: flex; justify-content: space-between; font-family: "Poppins", sans-serif; }
|
||||
.trek-dash .fx-rate .delta { color: var(--success); }
|
||||
.trek-dash .tz-list { display: flex; flex-direction: column; gap: 14px; }
|
||||
.trek-dash .tz-row { display: grid; grid-template-columns: auto 1fr auto 24px; gap: 14px; align-items: center; }
|
||||
.trek-dash .tz-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; color: var(--ink-2); font-size: 11px; font-weight: 600; }
|
||||
.trek-dash .tz-city { font-size: 14px; font-weight: 500; }
|
||||
.trek-dash .tz-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
|
||||
.trek-dash .tz-time { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; font-family: "Poppins", sans-serif; font-feature-settings: "tnum"; }
|
||||
.trek-dash .tz-del { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: var(--ink-3); opacity: 0; transition: opacity .12s, background .12s, color .12s; }
|
||||
.trek-dash .tz-row:hover .tz-del { opacity: 1; }
|
||||
.trek-dash .tz-del:hover { background: var(--bg-2); color: #ef4444; }
|
||||
.trek-dash .tz-empty { font-size: 12px; color: var(--ink-3); }
|
||||
.trek-dash .upc-list { display: flex; flex-direction: column; gap: 12px; }
|
||||
.trek-dash .upc-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; padding: 12px; border-radius: 14px; align-items: center; transition: background .12s; cursor: pointer; }
|
||||
.trek-dash .upc-item:hover { background: var(--surface-2); }
|
||||
.trek-dash .upc-date { background: var(--surface-2); border-radius: 10px; padding: 8px 4px; text-align: center; }
|
||||
.trek-dash .upc-date .d { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
|
||||
.trek-dash .upc-date .m { font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); margin-top: 4px; font-weight: 500; }
|
||||
.trek-dash .upc-info .t { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
|
||||
.trek-dash .upc-info .s { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
|
||||
.trek-dash .upc-info .s svg { width: 11px; height: 11px; }
|
||||
.trek-dash .upc-type { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
|
||||
.trek-dash .upc-type.flight { background: oklch(0.95 0.04 230); color: oklch(0.45 0.13 230); }
|
||||
.trek-dash .upc-type.hotel { background: oklch(0.95 0.04 145); color: oklch(0.4 0.12 155); }
|
||||
.trek-dash .upc-type.food { background: oklch(0.95 0.05 60); color: oklch(0.5 0.13 50); }
|
||||
.trek-dash .upc-type.other { background: var(--bg-2); color: var(--ink-2); }
|
||||
.trek-dash .upc-type svg { width: 16px; height: 16px; }
|
||||
|
||||
/* ----------------- responsive ----------------- */
|
||||
@media (max-width: 1280px) {
|
||||
.trek-dash .page { padding-left: 32px; padding-right: 32px; grid-template-columns: 1fr; }
|
||||
.trek-dash .page-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
|
||||
.trek-dash .page-sidebar .tool { flex: 1 1 300px; }
|
||||
.trek-dash .hero-title { font-size: 72px; }
|
||||
.trek-dash .trips { grid-template-columns: repeat(2, 1fr); }
|
||||
.trek-dash .atlas { grid-template-columns: repeat(2, 1fr); }
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.trek-dash .page { padding: 24px 16px 96px; }
|
||||
.trek-dash .greeting { grid-template-columns: 1fr; }
|
||||
.trek-dash .hello { font-size: 40px; }
|
||||
.trek-dash .hero-trip { height: 420px; }
|
||||
.trek-dash .hero-title { font-size: 52px; }
|
||||
.trek-dash .hero-pass { grid-template-columns: 1fr 1fr; gap: 16px 0; }
|
||||
.trek-dash .trips { grid-template-columns: 1fr; }
|
||||
.trek-dash .atlas { grid-template-columns: 1fr 1fr; }
|
||||
}
|
||||
|
||||
/* Floating action button — Neuer Trip */
|
||||
.trek-dash .fab-new-trip {
|
||||
position: fixed; right: 28px; bottom: 28px; z-index: 150;
|
||||
display: inline-flex; align-items: center; gap: 9px;
|
||||
height: 56px; padding: 0 24px; border: none; border-radius: 999px;
|
||||
cursor: pointer; background: #111827; color: #fff;
|
||||
font-size: 15px; font-weight: 600; font-family: inherit;
|
||||
box-shadow: 0 6px 16px oklch(0 0 0 / .22), 0 12px 30px oklch(0 0 0 / .18);
|
||||
transition: transform .28s cubic-bezier(0.23,1,0.32,1), box-shadow .28s cubic-bezier(0.23,1,0.32,1);
|
||||
}
|
||||
.dark .trek-dash .fab-new-trip { background: #fff; color: #111827; }
|
||||
.trek-dash .fab-new-trip:hover {
|
||||
transform: translateY(-3px) scale(1.02);
|
||||
box-shadow: 0 10px 24px oklch(0 0 0 / .3), 0 18px 44px oklch(0 0 0 / .22);
|
||||
}
|
||||
.trek-dash .fab-new-trip:active { transform: translateY(-1px) scale(.99); }
|
||||
.trek-dash .fab-new-trip svg { flex-shrink: 0; }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
/* collapse to a round button and lift above the bottom nav */
|
||||
.trek-dash .fab-new-trip {
|
||||
right: 18px; bottom: calc(84px + env(safe-area-inset-bottom, 0px) + 16px);
|
||||
width: 56px; padding: 0; justify-content: center; gap: 0;
|
||||
}
|
||||
.trek-dash .fab-new-trip .fab-label { display: none; }
|
||||
}
|
||||
+6
-1
@@ -44,7 +44,8 @@ import publicConfigRoutes from './routes/publicConfig';
|
||||
import systemNoticesRoutes from './routes/systemNotices';
|
||||
import { mcpHandler } from './mcp';
|
||||
import { trekOAuthProvider, trekClientsStore } from './mcp/oauthProvider';
|
||||
import { Addon } from './types';
|
||||
import { Addon, AuthRequest } from './types';
|
||||
import { getUpcomingReservations } from './services/reservationService';
|
||||
import { getPhotoProviderConfig } from './services/memories/helpersService';
|
||||
import { getCollabFeatures } from './services/adminService';
|
||||
import { isAddonEnabled } from './services/adminService';
|
||||
@@ -275,6 +276,10 @@ export function createApp(): express.Application {
|
||||
app.use('/api/trips/:tripId/budget', budgetRoutes);
|
||||
app.use('/api/trips/:tripId/collab', collabRoutes);
|
||||
app.use('/api/trips/:tripId/reservations', reservationsRoutes);
|
||||
app.get('/api/reservations/upcoming', authenticate, (req: Request, res: Response) => {
|
||||
const authReq = req as AuthRequest;
|
||||
res.json({ reservations: getUpcomingReservations(authReq.user.id) });
|
||||
});
|
||||
app.use('/api/trips/:tripId/days/:dayId/notes', dayNotesRoutes);
|
||||
app.get('/api/health', (_req: Request, res: Response) => {
|
||||
res.setHeader('Cache-Control', 'no-store, must-revalidate')
|
||||
|
||||
@@ -16,6 +16,7 @@ import { createEphemeralToken } from './ephemeralTokens';
|
||||
import { revokeUserSessions } from '../mcp';
|
||||
import { startTripReminders } from '../scheduler';
|
||||
import { deleteUserCompletely } from './userCleanupService';
|
||||
import { getFlightDistanceKm } from './distanceService';
|
||||
import { verifyJwtAndLoadUser } from '../middleware/auth';
|
||||
import { User } from '../types';
|
||||
import { DEMO_EMAIL_PRIMARY, isDemoEmail } from './demo';
|
||||
@@ -892,7 +893,6 @@ export function getTravelStats(userId: number) {
|
||||
WHERE (t.user_id = ? OR tm.user_id = ?) AND t.is_archived = 0
|
||||
`).get(userId, userId) as { trips: number; days: number } | undefined;
|
||||
|
||||
const countries = new Set<string>();
|
||||
const cities = new Set<string>();
|
||||
const coords: { lat: number; lng: number }[] = [];
|
||||
|
||||
@@ -900,21 +900,37 @@ export function getTravelStats(userId: number) {
|
||||
if (p.lat && p.lng) coords.push({ lat: p.lat, lng: p.lng });
|
||||
if (p.address) {
|
||||
const parts = p.address.split(',').map(s => s.trim().replace(/\d{3,}/g, '').trim());
|
||||
for (const part of parts) {
|
||||
if (KNOWN_COUNTRIES.has(part)) { countries.add(part); break; }
|
||||
}
|
||||
const cityPart = parts.find(s => !KNOWN_COUNTRIES.has(s) && /^[A-Za-z\u00C0-\u00FF\s-]{2,}$/.test(s));
|
||||
if (cityPart) cities.add(cityPart);
|
||||
}
|
||||
});
|
||||
|
||||
// Visited countries \u2014 same source the Atlas page uses: ISO-2 codes from
|
||||
// auto-resolved place regions plus countries the user marked manually.
|
||||
const countryCodes = new Set<string>();
|
||||
const manualCountries = db.prepare(
|
||||
'SELECT country_code FROM visited_countries WHERE user_id = ?'
|
||||
).all(userId) as { country_code: string }[];
|
||||
manualCountries.forEach(m => { if (m.country_code) countryCodes.add(m.country_code.toUpperCase()); });
|
||||
|
||||
const placeRegionCodes = db.prepare(`
|
||||
SELECT DISTINCT pr.country_code
|
||||
FROM place_regions pr
|
||||
JOIN places p ON p.id = pr.place_id
|
||||
JOIN trips t ON p.trip_id = t.id
|
||||
LEFT JOIN trip_members tm ON t.id = tm.trip_id
|
||||
WHERE (t.user_id = ? OR tm.user_id = ?) AND pr.country_code IS NOT NULL
|
||||
`).all(userId, userId) as { country_code: string }[];
|
||||
placeRegionCodes.forEach(r => { if (r.country_code) countryCodes.add(r.country_code.toUpperCase()); });
|
||||
|
||||
return {
|
||||
countries: [...countries],
|
||||
countries: [...countryCodes],
|
||||
cities: [...cities],
|
||||
coords,
|
||||
totalTrips: tripStats?.trips || 0,
|
||||
totalDays: tripStats?.days || 0,
|
||||
totalPlaces: places.length,
|
||||
totalDistanceKm: getFlightDistanceKm(userId),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
import { db } from '../db/database';
|
||||
|
||||
// Great-circle distance between two points in kilometres.
|
||||
function haversineKm(lat1: number, lng1: number, lat2: number, lng2: number): number {
|
||||
const R = 6371;
|
||||
const toRad = (deg: number) => (deg * Math.PI) / 180;
|
||||
const dLat = toRad(lat2 - lat1);
|
||||
const dLng = toRad(lng2 - lng1);
|
||||
const a =
|
||||
Math.sin(dLat / 2) ** 2 +
|
||||
Math.cos(toRad(lat1)) * Math.cos(toRad(lat2)) * Math.sin(dLng / 2) ** 2;
|
||||
return R * 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
|
||||
}
|
||||
|
||||
/**
|
||||
* Total flight distance a user has covered, summed across every non-cancelled
|
||||
* flight reservation in their trips. Each flight stores its waypoints in
|
||||
* reservation_endpoints (from → stops → to, ordered by sequence); we add up the
|
||||
* legs between consecutive points so multi-stop flights count correctly.
|
||||
*/
|
||||
export function getFlightDistanceKm(userId: number): number {
|
||||
const rows = db.prepare(`
|
||||
SELECT re.reservation_id, re.lat, re.lng
|
||||
FROM reservation_endpoints re
|
||||
JOIN reservations r ON r.id = re.reservation_id
|
||||
JOIN trips t ON t.id = r.trip_id
|
||||
LEFT JOIN trip_members tm ON tm.trip_id = t.id AND tm.user_id = ?
|
||||
WHERE (t.user_id = ? OR tm.user_id IS NOT NULL)
|
||||
AND r.type = 'flight'
|
||||
AND r.status != 'cancelled'
|
||||
ORDER BY re.reservation_id, re.sequence
|
||||
`).all(userId, userId) as { reservation_id: number; lat: number; lng: number }[];
|
||||
|
||||
let total = 0;
|
||||
let prev: { id: number; lat: number; lng: number } | null = null;
|
||||
for (const point of rows) {
|
||||
if (prev && prev.id === point.reservation_id) {
|
||||
total += haversineKm(prev.lat, prev.lng, point.lat, point.lng);
|
||||
}
|
||||
prev = { id: point.reservation_id, lat: point.lat, lng: point.lng };
|
||||
}
|
||||
return Math.round(total);
|
||||
}
|
||||
@@ -117,6 +117,40 @@ export function listReservations(tripId: string | number) {
|
||||
return reservations;
|
||||
}
|
||||
|
||||
/**
|
||||
* Upcoming reservations across all of a user's active trips, soonest first.
|
||||
* Used by the dashboard's "Upcoming reservations" widget. A reservation counts
|
||||
* as upcoming when its own time is in the future, or — for timeless entries —
|
||||
* when its day falls on or after today. Cancelled bookings are skipped.
|
||||
*/
|
||||
export function getUpcomingReservations(userId: number, limit = 6) {
|
||||
const today = new Date().toISOString().slice(0, 10);
|
||||
const now = new Date().toISOString();
|
||||
|
||||
const reservations = db.prepare(`
|
||||
SELECT r.id, r.trip_id, r.title, r.type, r.status, r.location,
|
||||
r.reservation_time, r.confirmation_number,
|
||||
t.title as trip_title, t.cover_image as trip_cover,
|
||||
d.date as day_date, p.name as place_name, p.image_url as place_image
|
||||
FROM reservations r
|
||||
JOIN trips t ON t.id = r.trip_id
|
||||
LEFT JOIN trip_members tm ON tm.trip_id = t.id AND tm.user_id = ?
|
||||
LEFT JOIN days d ON r.day_id = d.id
|
||||
LEFT JOIN places p ON r.place_id = p.id
|
||||
WHERE (t.user_id = ? OR tm.user_id IS NOT NULL)
|
||||
AND t.is_archived = 0
|
||||
AND r.status != 'cancelled'
|
||||
AND (
|
||||
(r.reservation_time IS NOT NULL AND r.reservation_time >= ?)
|
||||
OR (r.reservation_time IS NULL AND d.date IS NOT NULL AND d.date >= ?)
|
||||
)
|
||||
ORDER BY COALESCE(r.reservation_time, d.date) ASC
|
||||
LIMIT ?
|
||||
`).all(userId, userId, now, today, limit) as any[];
|
||||
|
||||
return reservations;
|
||||
}
|
||||
|
||||
export function getReservationWithJoins(id: string | number) {
|
||||
const row = db.prepare(`
|
||||
SELECT r.*, d.day_number, p.name as place_name, r.assignment_id,
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} رحلات نشطة',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} مؤرشفة',
|
||||
'dashboard.newTrip': 'رحلة جديدة',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'عرض شبكي',
|
||||
'dashboard.listView': 'عرض قائمة',
|
||||
'dashboard.currency': 'العملة',
|
||||
@@ -78,5 +79,80 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.coverRemoveError': 'فشل الإزالة',
|
||||
'dashboard.titleRequired': 'العنوان مطلوب',
|
||||
'dashboard.endDateError': 'يجب أن يكون تاريخ النهاية بعد البداية',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
'dashboard.greeting.morning': 'Good morning,',
|
||||
'dashboard.greeting.afternoon': 'Good afternoon,',
|
||||
'dashboard.greeting.evening': 'Good evening,',
|
||||
'dashboard.mobile.liveNow': 'Live Now',
|
||||
'dashboard.mobile.tripProgress': 'Trip progress',
|
||||
'dashboard.mobile.daysLeft': '{count} days left',
|
||||
'dashboard.mobile.places': 'Places',
|
||||
'dashboard.mobile.buddies': 'Buddies',
|
||||
'dashboard.mobile.newTrip': 'New Trip',
|
||||
'dashboard.mobile.currency': 'Currency',
|
||||
'dashboard.mobile.timezone': 'Timezone',
|
||||
'dashboard.mobile.upcomingTrips': 'Upcoming Trips',
|
||||
'dashboard.mobile.yourTrips': 'Your Trips',
|
||||
'dashboard.mobile.trips': 'trips',
|
||||
'dashboard.mobile.starts': 'Starts',
|
||||
'dashboard.mobile.duration': 'Duration',
|
||||
'dashboard.mobile.day': 'day',
|
||||
'dashboard.mobile.days': 'days',
|
||||
'dashboard.mobile.ongoing': 'Ongoing',
|
||||
'dashboard.mobile.startsToday': 'Starts today',
|
||||
'dashboard.mobile.tomorrow': 'Tomorrow',
|
||||
'dashboard.mobile.inDays': 'In {count} days',
|
||||
'dashboard.mobile.inMonths': 'In {count} months',
|
||||
'dashboard.mobile.completed': 'Completed',
|
||||
'dashboard.mobile.currencyConverter': 'Currency Converter',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} viagens ativas',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} arquivadas',
|
||||
'dashboard.newTrip': 'Nova viagem',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'Grade',
|
||||
'dashboard.listView': 'Lista',
|
||||
'dashboard.currency': 'Moeda',
|
||||
@@ -103,5 +104,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'Em {count} meses',
|
||||
'dashboard.mobile.completed': 'Concluído',
|
||||
'dashboard.mobile.currencyConverter': 'Conversor de moedas',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} aktivních cest',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} archivováno',
|
||||
'dashboard.newTrip': 'Nová cesta',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'Mřížka',
|
||||
'dashboard.listView': 'Seznam',
|
||||
'dashboard.currency': 'Měna',
|
||||
@@ -103,5 +104,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'Za {count} měsíců',
|
||||
'dashboard.mobile.completed': 'Dokončeno',
|
||||
'dashboard.mobile.currencyConverter': 'Převodník měn',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} aktive Reisen',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} archiviert',
|
||||
'dashboard.newTrip': 'Neue Reise',
|
||||
'dashboard.newTripSub': 'Eine neue Reise von Grund auf planen',
|
||||
'dashboard.gridView': 'Kachelansicht',
|
||||
'dashboard.listView': 'Listenansicht',
|
||||
'dashboard.currency': 'Währung',
|
||||
@@ -104,5 +105,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'In {count} Monaten',
|
||||
'dashboard.mobile.completed': 'Abgeschlossen',
|
||||
'dashboard.mobile.currencyConverter': 'Währungsrechner',
|
||||
'dashboard.filter.planned': 'Geplant',
|
||||
'dashboard.hero.badgeLive': 'JETZT LIVE',
|
||||
'dashboard.hero.badgeToday': 'STARTET HEUTE',
|
||||
'dashboard.hero.badgeTomorrow': 'MORGEN',
|
||||
'dashboard.hero.badgeNext': 'ALS NÄCHSTES',
|
||||
'dashboard.hero.badgeRecent': 'KÜRZLICH',
|
||||
'dashboard.hero.tripDates': 'Reisedaten',
|
||||
'dashboard.hero.noDates': 'Keine Daten gesetzt',
|
||||
'dashboard.hero.travelerOne': '{count} Reisender',
|
||||
'dashboard.hero.travelerMany': '{count} Reisende',
|
||||
'dashboard.hero.destinationOne': '{count} Ziel',
|
||||
'dashboard.hero.destinationMany': '{count} Ziele',
|
||||
'dashboard.hero.dayUnitOne': 'Tag',
|
||||
'dashboard.hero.dayUnitMany': 'Tage',
|
||||
'dashboard.hero.dayLeft': 'Tag übrig',
|
||||
'dashboard.hero.daysLeft': 'Tage übrig',
|
||||
'dashboard.hero.lastDay': 'Letzter Tag',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Besuchte Länder',
|
||||
'dashboard.atlas.ofTotal': 'von {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Reisen gesamt',
|
||||
'dashboard.atlas.placesMapped': '{count} Orte erfasst',
|
||||
'dashboard.atlas.daysTraveled': 'Reisetage',
|
||||
'dashboard.atlas.daysUnit': 'Tage',
|
||||
'dashboard.atlas.acrossAllTrips': 'über alle Reisen',
|
||||
'dashboard.atlas.distanceFlown': 'Geflogene Distanz',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× um den Äquator',
|
||||
'dashboard.card.idea': 'Idee',
|
||||
'dashboard.card.buddyOne': 'Begleiter',
|
||||
'dashboard.fx.from': 'Von',
|
||||
'dashboard.fx.to': 'Nach',
|
||||
'dashboard.fx.unavailable': 'Kurs nicht verfügbar',
|
||||
'dashboard.tz.searchPlaceholder': 'Zeitzone suchen…',
|
||||
'dashboard.tz.empty': 'Noch keine weiteren Zeitzonen — über + hinzufügen',
|
||||
'dashboard.upcoming.title': 'Anstehende Reservierungen',
|
||||
'dashboard.upcoming.empty': 'Noch nichts gebucht.',
|
||||
'dashboard.confirm.copy.title': 'Diese Reise kopieren?',
|
||||
'dashboard.confirm.copy.willCopy': 'Wird kopiert',
|
||||
'dashboard.confirm.copy.will1': 'Tage, Orte & Tageszuordnungen',
|
||||
'dashboard.confirm.copy.will2': 'Unterkünfte & Reservierungen',
|
||||
'dashboard.confirm.copy.will3': 'Budgetposten & Kategoriereihenfolge',
|
||||
'dashboard.confirm.copy.will4': 'Packlisten (nicht abgehakt)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (nicht zugewiesen & nicht abgehakt)',
|
||||
'dashboard.confirm.copy.will6': 'Tagesnotizen',
|
||||
'dashboard.confirm.copy.wontCopy': 'Wird nicht kopiert',
|
||||
'dashboard.confirm.copy.wont1': 'Mitwirkende & Mitglieder-Zuweisungen',
|
||||
'dashboard.confirm.copy.wont2': 'Kollab-Notizen, Umfragen & Nachrichten',
|
||||
'dashboard.confirm.copy.wont3': 'Dateien & Fotos',
|
||||
'dashboard.confirm.copy.wont4': 'Freigabe-Tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Reise kopieren',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} active trips',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} archived',
|
||||
'dashboard.newTrip': 'New Trip',
|
||||
'dashboard.newTripSub': 'Plan a new trip from scratch',
|
||||
'dashboard.gridView': 'Grid view',
|
||||
'dashboard.listView': 'List view',
|
||||
'dashboard.currency': 'Currency',
|
||||
@@ -117,5 +118,41 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'In {count} months',
|
||||
'dashboard.mobile.completed': 'Completed',
|
||||
'dashboard.mobile.currencyConverter': 'Currency Converter',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} viajes activos',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} archivados',
|
||||
'dashboard.newTrip': 'Nuevo viaje',
|
||||
'dashboard.newTripSub': 'Empezar de cero · o importar desde otro planificador',
|
||||
'dashboard.gridView': 'Vista de cuadrícula',
|
||||
'dashboard.listView': 'Vista de lista',
|
||||
'dashboard.currency': 'Divisa',
|
||||
@@ -103,5 +104,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'En {count} meses',
|
||||
'dashboard.mobile.completed': 'Completado',
|
||||
'dashboard.mobile.currencyConverter': 'Conversor de monedas',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} voyages actifs',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} archivés',
|
||||
'dashboard.newTrip': 'Nouveau voyage',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'Vue en grille',
|
||||
'dashboard.listView': 'Vue en liste',
|
||||
'dashboard.currency': 'Devise',
|
||||
@@ -106,5 +107,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'Dans {count} mois',
|
||||
'dashboard.mobile.completed': 'Terminé',
|
||||
'dashboard.mobile.currencyConverter': 'Convertisseur de devises',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} aktív utazás',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} archivált',
|
||||
'dashboard.newTrip': 'Új utazás',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'Rácsnézet',
|
||||
'dashboard.listView': 'Listanézet',
|
||||
'dashboard.currency': 'Pénznem',
|
||||
@@ -104,5 +105,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': '{count} hónap múlva',
|
||||
'dashboard.mobile.completed': 'Befejezett',
|
||||
'dashboard.mobile.currencyConverter': 'Pénznemváltó',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} perjalanan aktif',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} diarsipkan',
|
||||
'dashboard.newTrip': 'Perjalanan Baru',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'Tampilan grid',
|
||||
'dashboard.listView': 'Tampilan daftar',
|
||||
'dashboard.currency': 'Mata uang',
|
||||
@@ -103,5 +104,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'Dalam {count} bulan',
|
||||
'dashboard.mobile.completed': 'Selesai',
|
||||
'dashboard.mobile.currencyConverter': 'Konverter Mata Uang',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} viaggi attivi',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} archiviati',
|
||||
'dashboard.newTrip': 'Nuovo Viaggio',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'Vista a griglia',
|
||||
'dashboard.listView': 'Vista a lista',
|
||||
'dashboard.currency': 'Valuta',
|
||||
@@ -106,5 +107,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'Tra {count} mesi',
|
||||
'dashboard.mobile.completed': 'Completato',
|
||||
'dashboard.mobile.currencyConverter': 'Convertitore di valuta',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '進行中の旅行 {count}件',
|
||||
'dashboard.subtitle.archivedSuffix': ' · アーカイブ {count}件',
|
||||
'dashboard.newTrip': '新しい旅行',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'グリッド表示',
|
||||
'dashboard.listView': 'リスト表示',
|
||||
'dashboard.currency': '通貨',
|
||||
@@ -116,5 +117,41 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': '{count}か月後',
|
||||
'dashboard.mobile.completed': '完了',
|
||||
'dashboard.mobile.currencyConverter': '通貨換算',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '활성 여행 {count}개',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count}개 보관됨',
|
||||
'dashboard.newTrip': '새 여행',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': '격자 보기',
|
||||
'dashboard.listView': '목록 보기',
|
||||
'dashboard.currency': '통화',
|
||||
@@ -116,5 +117,41 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': '{count}개월 후',
|
||||
'dashboard.mobile.completed': '완료됨',
|
||||
'dashboard.mobile.currencyConverter': '환율 계산기',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} actieve reizen',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} gearchiveerd',
|
||||
'dashboard.newTrip': 'Nieuwe reis',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'Rasterweergave',
|
||||
'dashboard.listView': 'Lijstweergave',
|
||||
'dashboard.currency': 'Valuta',
|
||||
@@ -103,5 +104,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'Over {count} maanden',
|
||||
'dashboard.mobile.completed': 'Voltooid',
|
||||
'dashboard.mobile.currencyConverter': 'Valutaomrekener',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} aktywnych podróży',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} zarchiwizowanych',
|
||||
'dashboard.newTrip': 'Nowa podróż',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'Widok siatki',
|
||||
'dashboard.listView': 'Widok listy',
|
||||
'dashboard.currency': 'Waluta',
|
||||
@@ -103,5 +104,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'Za {count} miesięcy',
|
||||
'dashboard.mobile.completed': 'Zakończone',
|
||||
'dashboard.mobile.currencyConverter': 'Przelicznik walut',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} активных поездок',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} в архиве',
|
||||
'dashboard.newTrip': 'Новая поездка',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'Плитка',
|
||||
'dashboard.listView': 'Список',
|
||||
'dashboard.currency': 'Валюта',
|
||||
@@ -103,5 +104,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'Через {count} мес.',
|
||||
'dashboard.mobile.completed': 'Завершено',
|
||||
'dashboard.mobile.currencyConverter': 'Конвертер валют',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} etkin seyahat',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} arşivde',
|
||||
'dashboard.newTrip': 'Yeni Seyahat',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'Izgara görünümü',
|
||||
'dashboard.listView': 'Liste görünümü',
|
||||
'dashboard.currency': 'Para birimi',
|
||||
@@ -116,5 +117,41 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': '{count} Ay sonra',
|
||||
'dashboard.mobile.completed': 'Tamamlandı',
|
||||
'dashboard.mobile.currencyConverter': 'Para birimi dönüştürücü',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} активних поїздок',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} в архіві',
|
||||
'dashboard.newTrip': 'Нова поїздка',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': 'Плитка',
|
||||
'dashboard.listView': 'Список',
|
||||
'dashboard.currency': 'Валюта',
|
||||
@@ -117,5 +118,41 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'Через {count} міс.',
|
||||
'dashboard.mobile.completed': 'Завершено',
|
||||
'dashboard.mobile.currencyConverter': 'Конвертер валют',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} 個進行中的旅行',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} 已歸檔',
|
||||
'dashboard.newTrip': '新建旅行',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': '網格檢視',
|
||||
'dashboard.listView': '列表檢視',
|
||||
'dashboard.currency': '貨幣',
|
||||
@@ -101,5 +102,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': '{count} 個月後',
|
||||
'dashboard.mobile.completed': '已完成',
|
||||
'dashboard.mobile.currencyConverter': '匯率轉換',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
@@ -9,6 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} 个进行中的旅行',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} 已归档',
|
||||
'dashboard.newTrip': '新建旅行',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.gridView': '网格视图',
|
||||
'dashboard.listView': '列表视图',
|
||||
'dashboard.currency': '货币',
|
||||
@@ -101,5 +102,55 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': '{count} 个月后',
|
||||
'dashboard.mobile.completed': '已完成',
|
||||
'dashboard.mobile.currencyConverter': '汇率转换',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
Reference in New Issue
Block a user