Files
TREK/shared/src/i18n/az/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': 'TREK-ə qoşulun',
'native.connect.hint': 'TREK-i brauzerdə açdığınız ünvanı daxil edin.',
'native.connect.placeholder': 'https://trek.example.com',
'native.connect.submit': 'Qoşul',
'native.connect.checking': 'Yoxlanılır…',
'native.connect.tryDemo': 'Hələ serveriniz yoxdur? Demonu sınayın',
'native.connect.whatIsServer': 'TREK serveri nədir?',
'native.connect.errorInvalid': 'Bu, veb ünvana bənzəmir.',
'native.connect.errorUnreachable': 'Bu ünvanda heç bir server cavab vermədi. Ünvanı və bağlantınızı yoxlayın.',
'native.connect.errorNotTrek': 'Bu ünvandakı server TREK deyil.',
'native.connect.errorTooOld': 'Bu TREK serveri tətbiq üçün çox köhnədir. Əvvəlcə onu yeniləmək lazımdır.',
'native.offline.title': 'Serverə çatmaq mümkün deyil',
'native.offline.hint': 'TREK {server} ünvanına çata bilmədi. Bağlantınızı yoxlayın və yenidən cəhd edin.',
'native.offline.retry': 'Yenidən cəhd et',
'native.changeServer': 'Serveri dəyiş',
'native.login.failed': 'Daxil olmaq alınmadı. Zəhmət olmasa, yenidən cəhd edin.',
'native.handoff.title': 'Tətbiqdə davam edin',
'native.handoff.hint': 'Siz {name} kimi daxil olmusunuz. Girişi orada tamamlamaq üçün TREK tətbiqini açın.',
'native.handoff.open': 'TREK tətbiqini aç',
'native.handoff.switchAccount': 'Başqa hesabdan istifadə et',
'native.privacy': 'Məxfilik siyasəti',
'native.settings.server': 'Server', // same-as-en
'native.settings.serverHint': 'Bu tətbiq {server} serverinə qoşulub.',
'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;