mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-14 08:11:03 +00:00
9790ad28e1
The app's own screen now opens on a welcome: the TREK mark, a line about what TREK is, and two clear paths — connect the TREK you already open in the browser, or get TREK Cloud. Both lead to polished screens: the address field with live validation, a shake and haptic on a bad address and a success tick before the server takes over; and a TREK Cloud intro with what it offers and a way in. Screens slide and stagger in, buttons give a tap, and it all respects the safe areas, light and dark, and reduced motion. Self-hosters are unaffected: cloud is its own path, never in the way. New native strings are added across all locales (English placeholders outside en/de, to translate).
45 lines
2.5 KiB
TypeScript
45 lines
2.5 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const native: TranslationStrings = {
|
|
'native.connect.title': 'Hubungkan ke TREK',
|
|
'native.connect.hint': 'Masukkan alamat yang kamu gunakan untuk membuka TREK di browser.',
|
|
'native.connect.placeholder': 'https://trek.example.com',
|
|
'native.connect.submit': 'Hubungkan',
|
|
'native.connect.checking': 'Memeriksa…',
|
|
'native.connect.tryDemo': 'Belum punya server? Coba demonya',
|
|
'native.connect.whatIsServer': 'Apa itu server TREK?',
|
|
'native.connect.errorInvalid': 'Itu tidak terlihat seperti alamat web.',
|
|
'native.connect.errorUnreachable': 'Tidak ada server yang merespons di alamat ini. Periksa alamat dan koneksimu.',
|
|
'native.connect.errorNotTrek': 'Server di alamat ini bukan TREK.',
|
|
'native.connect.errorTooOld': 'Server TREK ini terlalu lama untuk aplikasi. Server perlu diperbarui terlebih dahulu.',
|
|
'native.offline.title': 'Server tidak dapat dijangkau',
|
|
'native.offline.hint': 'TREK tidak dapat menjangkau {server}. Periksa koneksimu dan coba lagi.',
|
|
'native.offline.retry': 'Coba lagi',
|
|
'native.changeServer': 'Ganti server',
|
|
'native.login.failed': 'Gagal masuk. Silakan coba lagi.',
|
|
'native.handoff.title': 'Lanjutkan di aplikasi',
|
|
'native.handoff.hint': 'Kamu masuk sebagai {name}. Buka aplikasi TREK untuk menyelesaikan proses masuk di sana.',
|
|
'native.handoff.open': 'Buka aplikasi TREK',
|
|
'native.handoff.switchAccount': 'Gunakan akun lain',
|
|
'native.privacy': 'Kebijakan privasi',
|
|
'native.settings.server': 'Server', // same-as-en
|
|
'native.settings.serverHint': 'Aplikasi ini terhubung ke {server}.',
|
|
'native.welcome.headline': 'Plan trips together.',
|
|
'native.welcome.sub': 'TREK keeps every day, place, booking and cost in one live plan your whole group edits together.',
|
|
'native.welcome.connect': 'Connect your TREK',
|
|
'native.welcome.connectSub': 'Open the address you already use',
|
|
'native.welcome.getCloud': 'Get TREK Cloud',
|
|
'native.welcome.getCloudSub': 'Hosted for you, no setup',
|
|
'native.cloud.title': 'TREK Cloud',
|
|
'native.cloud.sub': 'We host TREK for you, on your own address. Nothing to install, nothing to maintain — ready in minutes.',
|
|
'native.cloud.f1': 'Your own address, on servers in Germany',
|
|
'native.cloud.f2': 'Set up in minutes, updates handled for you',
|
|
'native.cloud.f3': 'Your data stays yours — no ads, no tracking',
|
|
'native.cloud.cta': 'Get started',
|
|
'native.cloud.haveServer': 'I already have a TREK',
|
|
'native.connecting': 'Connecting to {host}',
|
|
'native.back': 'Back',
|
|
};
|
|
|
|
export default native;
|