mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +00:00
6835fd7bf3
Page transitions: on the phone, pages move like a native navigation stack, built on the View Transitions API (mobile/routeTransition.ts). A page opened from another slides in from the trailing edge, back slides it away, and switching between the dock's sections cross-fades while the dock stands still. Lazy routes do not flash their skeleton: the swap waits, behind the frozen snapshot, until the new page rendered. The edge-swipe back gesture already moves the page and skips the transition. RTL mirrors the motion, reduced motion and desktop get none. Pull-to-refresh on the mobile dashboard: the page follows the finger with resistance, ticks once past the threshold and re-reads trips and notifications quietly, without a loading state. Share: trip share and invite links and the journey link get a share button next to copy, opening the system share sheet (Capacitor Share in the apps, Web Share in browsers that have it). Haptics: a selection click for switches and segmented controls, a tick when a sheet is flung closed, and a firmer bump for the chat's long press. Theme lint: this branch's new screens use the type and z-index tokens, the Vacay company tint is a token, and the baseline is lowered to the new counts.
88 lines
3.4 KiB
TypeScript
88 lines
3.4 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const common: TranslationStrings = {
|
|
'common.save': 'Salvesta',
|
|
'common.showMore': 'Näita rohkem',
|
|
'common.showLess': 'Näita vähem',
|
|
'common.cancel': 'Tühista',
|
|
'common.clear': 'Tühjenda',
|
|
'common.delete': 'Kustuta',
|
|
'common.remove': 'Eemalda',
|
|
'common.preview': 'Eelvaade',
|
|
'common.edit': 'Muuda',
|
|
'common.add': 'Lisa',
|
|
'common.loading': 'Laadimine...',
|
|
'common.import': 'Impordi',
|
|
'common.select': 'Vali',
|
|
'common.selectAll': 'Vali kõik',
|
|
'common.deselectAll': 'Tühista kõik valikud',
|
|
'common.error': 'Viga',
|
|
'common.success': 'Õnnestus',
|
|
'common.unknownError': 'Tundmatu viga',
|
|
'common.tooManyAttempts': 'Liiga palju katseid. Proovi hiljem uuesti.',
|
|
'common.back': 'Tagasi',
|
|
'common.all': 'Kõik',
|
|
'common.close': 'Sulge',
|
|
'common.open': 'Ava',
|
|
'common.upload': 'Laadi üles',
|
|
'common.search': 'Otsi',
|
|
'common.confirm': 'Kinnita',
|
|
'common.ok': 'OK',
|
|
'common.yes': 'Jah',
|
|
'common.no': 'Ei',
|
|
'common.or': 'või',
|
|
'common.none': 'Puudub',
|
|
'common.date': 'Kuupäev',
|
|
'common.rename': 'Nimeta ümber',
|
|
'common.discardChanges': 'Loobu muudatustest',
|
|
'common.discard': 'Loobu',
|
|
'common.unsavedTitle': 'Kas loobuda muudatustest?',
|
|
'common.unsavedMessage': 'Siia sisestatu pole veel salvestatud.',
|
|
'common.keepEditing': 'Jätka muutmist',
|
|
'common.name': 'Nimi',
|
|
'common.email': 'E-post',
|
|
'common.password': 'Parool',
|
|
'common.saving': 'Salvestamine...',
|
|
'common.justNow': 'äsja',
|
|
'common.hoursAgo': '{count} tundi tagasi',
|
|
'common.hoursAgo.one': '{count} tund tagasi',
|
|
'common.daysAgo': '{count} päeva tagasi',
|
|
'common.daysAgo.one': '{count} päev tagasi',
|
|
'common.saved': 'Salvestatud',
|
|
'common.update': 'Uuenda',
|
|
'common.change': 'Muuda',
|
|
'common.uploading': 'Üleslaadimine…',
|
|
'common.backToPlanning': 'Tagasi planeerimisse',
|
|
'common.reset': 'Lähtesta',
|
|
'common.expand': 'Laienda',
|
|
'common.collapse': 'Ahenda',
|
|
'common.copy': 'Kopeeri',
|
|
'common.copied': 'Kopeeritud',
|
|
'common.datepicker.prevMonth': 'Eelmine kuu',
|
|
'common.datepicker.nextMonth': 'Järgmine kuu',
|
|
'common.datepicker.prevYear': 'Eelmine aasta',
|
|
'common.datepicker.nextYear': 'Järgmine aasta',
|
|
'common.datepicker.prevYears': 'Eelmised aastad',
|
|
'common.datepicker.nextYears': 'Järgmised aastad',
|
|
'common.datepicker.selectMonth': 'Vali kuu',
|
|
'common.datepicker.selectYear': 'Vali aasta',
|
|
'common.datepicker.enterManually': 'Sisesta kuupäev käsitsi',
|
|
'common.datepicker.typeDate': 'Sisesta kuupäev',
|
|
'common.datepicker.dialog': 'Kuupäevavalija',
|
|
'common.datepicker.clearDate': 'Tühjenda kuupäev',
|
|
'common.errorTitle': 'Midagi läks valesti',
|
|
'common.errorBody': 'See rakenduse osa lakkas töötamast. Sinu andmed on alles.',
|
|
'common.errorPanelTitle': 'Seda jaotist ei saanud kuvada',
|
|
'common.errorPanelBody': 'Ülejäänud leht töötab endiselt.',
|
|
'common.errorRetry': 'Proovi uuesti',
|
|
'common.errorReload': 'Laadi leht uuesti',
|
|
'common.errorUpdateTitle': 'Saadaval on uus versioon',
|
|
'common.errorUpdateBody':
|
|
'TREKi uuendati ajal, kui see vahekaart oli avatud. Uue versiooni kasutamiseks laadi leht uuesti.',
|
|
'common.errorPluginTitle': 'Seda pluginat ei saanud kuvada',
|
|
'common.needsConnection': 'Selleks on vaja ühendust. Proovi uuesti, kui TREK on taas võrgus.',
|
|
'common.errorDetails': 'Üksikasjad',
|
|
'common.share': 'Jaga',
|
|
};
|
|
export default common;
|