mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 11:36:05 +00:00
037e739807
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).
78 lines
5.4 KiB
TypeScript
78 lines
5.4 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const native: TranslationStrings = {
|
|
'native.connect.title': 'เชื่อมต่อกับ TREK',
|
|
'native.connect.hint': 'ป้อนที่อยู่ที่คุณใช้เปิด TREK ในเบราว์เซอร์',
|
|
'native.connect.placeholder': 'https://trek.example.com',
|
|
'native.connect.submit': 'เชื่อมต่อ',
|
|
'native.connect.checking': 'กำลังตรวจสอบ…',
|
|
'native.connect.tryDemo': 'ยังไม่มีเซิร์ฟเวอร์ใช่ไหม ลองใช้เดโม',
|
|
'native.connect.whatIsServer': 'เซิร์ฟเวอร์ TREK คืออะไร',
|
|
'native.connect.errorInvalid': 'ดูเหมือนว่านี่ไม่ใช่ที่อยู่เว็บ',
|
|
'native.connect.errorUnreachable': 'ไม่มีเซิร์ฟเวอร์ตอบกลับที่ที่อยู่นี้ โปรดตรวจสอบที่อยู่และการเชื่อมต่อของคุณ',
|
|
'native.connect.errorNotTrek': 'เซิร์ฟเวอร์ที่ที่อยู่นี้ไม่ใช่ TREK',
|
|
'native.connect.errorTooOld': 'เซิร์ฟเวอร์ TREK นี้เก่าเกินไปสำหรับแอป ต้องอัปเดตก่อน',
|
|
'native.offline.title': 'เข้าถึงเซิร์ฟเวอร์ไม่ได้',
|
|
'native.offline.hint': 'TREK เข้าถึง {server} ไม่ได้ โปรดตรวจสอบการเชื่อมต่อแล้วลองอีกครั้ง',
|
|
'native.offline.retry': 'ลองอีกครั้ง',
|
|
'native.changeServer': 'เปลี่ยนเซิร์ฟเวอร์',
|
|
'native.login.failed': 'เข้าสู่ระบบไม่สำเร็จ โปรดลองอีกครั้ง',
|
|
'native.handoff.title': 'ดำเนินการต่อในแอป',
|
|
'native.handoff.hint': 'คุณเข้าสู่ระบบในชื่อ {name} เปิดแอป TREK เพื่อเข้าสู่ระบบให้เสร็จสิ้นที่นั่น',
|
|
'native.handoff.open': 'เปิดแอป TREK',
|
|
'native.handoff.switchAccount': 'ใช้บัญชีอื่น',
|
|
'native.privacy': 'นโยบายความเป็นส่วนตัว',
|
|
'native.settings.server': 'เซิร์ฟเวอร์',
|
|
'native.settings.serverHint': 'แอปนี้เชื่อมต่อกับ {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;
|