Files
TREK/shared/src/i18n/ca/native.ts
T
Maurice 037e739807 feat(native): the in-app TREK Cloud subscription flow
After picking a plan, the app now carries the whole purchase itself when the build
can take one: choose your address (checked for free as you type, against the same
endpoint the website uses), your email, and subscribe. The receipt goes to
/api/iap/redeem, and a Setting up your TREK screen waits on the new address and
loads it the moment it answers.

The purchase sits behind an IapClient seam (src/native/iap.ts): a fake drives the
whole flow in development and preview, the native client reports itself
unavailable until the store plugin and products exist, and until then the plan
picker still finishes on the web, so nothing half-wired faces a customer. New
claim and provisioning strings across all locales (en, de and the five largest
European languages translated).
2026-11-05 14:36:21 +01:00

78 lines
4.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { TranslationStrings } from '../types';
const native: TranslationStrings = {
'native.connect.title': 'Connecta amb TREK',
'native.connect.hint': 'Introdueix l’adreça amb què obres TREK al navegador.',
'native.connect.placeholder': 'https://trek.example.com',
'native.connect.submit': 'Connecta',
'native.connect.checking': 'S’està comprovant…',
'native.connect.tryDemo': 'Encara no tens servidor? Prova la demostració',
'native.connect.whatIsServer': 'Què és un servidor TREK?',
'native.connect.errorInvalid': 'Això no sembla una adreça web.',
'native.connect.errorUnreachable': 'Cap servidor respon en aquesta adreça. Comprova l’adreça i la connexió.',
'native.connect.errorNotTrek': 'El servidor d’aquesta adreça no és TREK.',
'native.connect.errorTooOld': 'Aquest servidor de TREK és massa antic per a l’app. Primer cal actualitzar-lo.',
'native.offline.title': 'No es pot accedir al servidor',
'native.offline.hint': 'TREK no ha pogut connectar amb {server}. Comprova la connexió i torna-ho a provar.',
'native.offline.retry': 'Torna-ho a provar',
'native.changeServer': 'Canvia de servidor',
'native.login.failed': 'No s’ha pogut iniciar la sessió. Torna-ho a provar.',
'native.handoff.title': 'Continua a l’app',
'native.handoff.hint': 'Has iniciat la sessió com a {name}. Obre l’app de TREK per acabar d’iniciar-hi la sessió.',
'native.handoff.open': 'Obre l’app de TREK',
'native.handoff.switchAccount': 'Fes servir un altre compte',
'native.privacy': 'Política de privadesa',
'native.settings.server': 'Servidor',
'native.settings.serverHint': 'Aquesta app està connectada a {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',
'native.plans.title': 'Choose your plan',
'native.plans.sub': 'Hosted TREK on your own address. Change or cancel anytime.',
'native.plans.monthly': 'Monthly',
'native.plans.yearly': 'Yearly',
'native.plans.save': '2 months free',
'native.plans.perMonth': 'per month',
'native.plans.perYear': 'per year',
'native.plans.aiDocs': '{n} AI documents a month',
'native.plans.noAi': 'No AI documents',
'native.plans.storage': '{n} GB storage',
'native.plans.unlimited': 'Unlimited places, trips and people',
'native.plans.subscribe': 'Subscribe',
'native.plans.loadError': 'Could not load the plans. Check your connection and try again.',
'native.plans.retry': 'Try again',
'native.plans.soon': 'In-app subscriptions are coming. For now, finish on the website.',
'native.claim.title': 'Create your TREK',
'native.claim.sub': 'Choose your address. We set it up right away.',
'native.claim.addressLabel': 'Your address',
'native.claim.taken': 'That address is taken.',
'native.claim.invalid': 'Three or more letters, numbers and hyphens.',
'native.claim.reserved': 'That address is reserved.',
'native.claim.free': 'Available',
'native.claim.emailLabel': 'Email',
'native.claim.emailHint': 'For your account and receipts.',
'native.claim.subscribe': 'Subscribe for {price}',
'native.claim.cancelled': 'Purchase cancelled.',
'native.claim.failed': 'The purchase did not go through. Please try again.',
'native.claim.redeemFailed': 'We could not set up your TREK. Please try again.',
'native.provisioning.title': 'Setting up your TREK',
'native.provisioning.sub': 'Getting {host} ready. This only takes a minute.',
'native.provisioning.failedTitle': 'Almost ready',
'native.provisioning.failedSub': 'Your TREK is on its way. Try again in a moment, or open the app later.',
'native.provisioning.retry': 'Try now',
};
export default native;