mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 19:16:08 +00:00
feat(native): a capability handshake between the app binary and the server's UI
The UI ships with the server and the binary through the stores, so the two drift. TrekShell.getCapabilities now reports the binary's shell API, version and native features by name (iOS and Android), and the UI turns each native feature on only where the binary has it; a binary from before the handshake counts as shell API 1 with none. The other way round, the server names the oldest binary its UI works with (minNativeShellApi), and an app below it is asked to update with a link to its store.
This commit is contained in:
@@ -71,6 +71,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'شارف على الجهوزية',
|
||||
'native.provisioning.failedSub': 'TREK الخاص بك في الطريق. حاول مرة أخرى بعد قليل، أو افتح التطبيق لاحقًا.',
|
||||
'native.provisioning.retry': 'حاول الآن',
|
||||
'native.update.title': 'حدّث تطبيق TREK',
|
||||
'native.update.body': 'يحتاج هذا الخادم إلى إصدار أحدث من التطبيق ليعمل كل شيء.',
|
||||
'native.update.open': 'تحديث',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -72,6 +72,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Demək olar ki hazırdır',
|
||||
'native.provisioning.failedSub': 'TREK-iniz yoldadır. Bir azdan yenidən cəhd edin və ya tətbiqi sonra açın.',
|
||||
'native.provisioning.retry': 'İndi cəhd edin',
|
||||
'native.update.title': 'TREK tətbiqini yeniləyin',
|
||||
'native.update.body': 'Hər şeyin işləməsi üçün bu server tətbiqin daha yeni versiyasını tələb edir.',
|
||||
'native.update.open': 'Yenilə',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -72,6 +72,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Quase pronto',
|
||||
'native.provisioning.failedSub': 'Seu TREK está a caminho. Tente novamente em instantes ou abra o app mais tarde.',
|
||||
'native.provisioning.retry': 'Tentar agora',
|
||||
'native.update.title': 'Atualize o app TREK',
|
||||
'native.update.body': 'Este servidor precisa de uma versão mais nova do app para tudo funcionar.',
|
||||
'native.update.open': 'Atualizar',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -72,6 +72,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Gairebé a punt',
|
||||
'native.provisioning.failedSub': 'El teu TREK està en camí. Torna-ho a provar en un moment o obre l’app més tard.',
|
||||
'native.provisioning.retry': 'Prova-ho ara',
|
||||
'native.update.title': 'Actualitza l’app TREK',
|
||||
'native.update.body': 'Aquest servidor necessita una versió més nova de l’app perquè tot funcioni.',
|
||||
'native.update.open': 'Actualitza',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -72,6 +72,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Téměř hotovo',
|
||||
'native.provisioning.failedSub': 'Váš TREK je na cestě. Zkuste to za chvíli znovu nebo otevřete aplikaci později.',
|
||||
'native.provisioning.retry': 'Zkusit teď',
|
||||
'native.update.title': 'Aktualizujte aplikaci TREK',
|
||||
'native.update.body': 'Tento server potřebuje novější verzi aplikace, aby vše fungovalo.',
|
||||
'native.update.open': 'Aktualizovat',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -73,6 +73,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Gleich fertig',
|
||||
'native.provisioning.failedSub': 'Deine TREK ist unterwegs. Versuch es gleich noch einmal oder öffne die App später.',
|
||||
'native.provisioning.retry': 'Jetzt versuchen',
|
||||
'native.update.title': 'TREK-App aktualisieren',
|
||||
'native.update.body': 'Dieser Server braucht eine neuere App-Version, damit alles funktioniert.',
|
||||
'native.update.open': 'Aktualisieren',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -72,6 +72,9 @@ const native: TranslationStrings = {
|
||||
'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',
|
||||
'native.update.title': 'Update the TREK app',
|
||||
'native.update.body': 'This server needs a newer version of the app for everything to work.',
|
||||
'native.update.open': 'Update',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -73,6 +73,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Casi listo',
|
||||
'native.provisioning.failedSub': 'Tu TREK está en camino. Inténtalo en un momento o abre la app más tarde.',
|
||||
'native.provisioning.retry': 'Probar ahora',
|
||||
'native.update.title': 'Actualiza la app TREK',
|
||||
'native.update.body': 'Este servidor necesita una versión más reciente de la app para que todo funcione.',
|
||||
'native.update.open': 'Actualizar',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -72,6 +72,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Peaaegu valmis',
|
||||
'native.provisioning.failedSub': 'Sinu TREK on teel. Proovi hetke pärast uuesti või ava rakendus hiljem.',
|
||||
'native.provisioning.retry': 'Proovi nüüd',
|
||||
'native.update.title': 'Uuenda TREK-i rakendust',
|
||||
'native.update.body': 'See server vajab kõige toimimiseks rakenduse uuemat versiooni.',
|
||||
'native.update.open': 'Uuenda',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -73,6 +73,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Presque prêt',
|
||||
'native.provisioning.failedSub': 'Votre TREK arrive. Réessayez dans un instant ou rouvrez l’app plus tard.',
|
||||
'native.provisioning.retry': 'Réessayer',
|
||||
'native.update.title': 'Mettez à jour l’app TREK',
|
||||
'native.update.body': 'Ce serveur a besoin d’une version plus récente de l’app pour que tout fonctionne.',
|
||||
'native.update.open': 'Mettre à jour',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -75,6 +75,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Σχεδόν έτοιμο',
|
||||
'native.provisioning.failedSub': 'Το TREK σας έρχεται. Δοκιμάστε ξανά σε λίγο ή ανοίξτε την εφαρμογή αργότερα.',
|
||||
'native.provisioning.retry': 'Δοκιμάστε τώρα',
|
||||
'native.update.title': 'Ενημερώστε την εφαρμογή TREK',
|
||||
'native.update.body': 'Αυτός ο διακομιστής χρειάζεται νεότερη έκδοση της εφαρμογής για να λειτουργούν όλα.',
|
||||
'native.update.open': 'Ενημέρωση',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -71,6 +71,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'כמעט מוכן',
|
||||
'native.provisioning.failedSub': 'ה-TREK שלכם בדרך. נסו שוב עוד רגע, או פתחו את האפליקציה מאוחר יותר.',
|
||||
'native.provisioning.retry': 'נסו עכשיו',
|
||||
'native.update.title': 'עדכנו את אפליקציית TREK',
|
||||
'native.update.body': 'השרת הזה צריך גרסה חדשה יותר של האפליקציה כדי שהכול יעבוד.',
|
||||
'native.update.open': 'עדכון',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -74,6 +74,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedSub':
|
||||
'A TREK-ed úton van. Próbáld újra egy pillanat múlva, vagy nyisd meg az appot később.',
|
||||
'native.provisioning.retry': 'Próbáld most',
|
||||
'native.update.title': 'Frissítsd a TREK alkalmazást',
|
||||
'native.update.body': 'Ehhez a szerverhez az alkalmazás újabb verziója kell, hogy minden működjön.',
|
||||
'native.update.open': 'Frissítés',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -73,6 +73,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedSub':
|
||||
'TREK Anda sedang dalam perjalanan. Coba lagi sebentar lagi, atau buka aplikasi nanti.',
|
||||
'native.provisioning.retry': 'Coba sekarang',
|
||||
'native.update.title': 'Perbarui aplikasi TREK',
|
||||
'native.update.body': 'Server ini memerlukan versi aplikasi yang lebih baru agar semuanya berfungsi.',
|
||||
'native.update.open': 'Perbarui',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -73,6 +73,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Quasi pronto',
|
||||
'native.provisioning.failedSub': 'Il tuo TREK sta arrivando. Riprova tra poco o riapri l’app più tardi.',
|
||||
'native.provisioning.retry': 'Riprova',
|
||||
'native.update.title': 'Aggiorna l’app TREK',
|
||||
'native.update.body': 'Questo server richiede una versione più recente dell’app perché tutto funzioni.',
|
||||
'native.update.open': 'Aggiorna',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -73,6 +73,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedSub':
|
||||
'TREKはまもなく準備できます。少ししてからもう一度試すか、後でアプリを開いてください。',
|
||||
'native.provisioning.retry': '今すぐ試す',
|
||||
'native.update.title': 'TREKアプリを更新してください',
|
||||
'native.update.body': 'すべての機能を使うには、このサーバーに対応した新しいバージョンのアプリが必要です。',
|
||||
'native.update.open': '更新',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -71,6 +71,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': '거의 준비됐어요',
|
||||
'native.provisioning.failedSub': 'TREK이 곧 준비됩니다. 잠시 후 다시 시도하거나 나중에 앱을 열어 보세요.',
|
||||
'native.provisioning.retry': '지금 시도',
|
||||
'native.update.title': 'TREK 앱을 업데이트하세요',
|
||||
'native.update.body': '모든 기능을 사용하려면 이 서버에 맞는 최신 앱 버전이 필요합니다.',
|
||||
'native.update.open': '업데이트',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -72,6 +72,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Bijna klaar',
|
||||
'native.provisioning.failedSub': 'Je TREK is onderweg. Probeer het zo opnieuw of open de app later.',
|
||||
'native.provisioning.retry': 'Nu proberen',
|
||||
'native.update.title': 'Werk de TREK-app bij',
|
||||
'native.update.body': 'Deze server heeft een nieuwere versie van de app nodig om alles te laten werken.',
|
||||
'native.update.open': 'Bijwerken',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -72,6 +72,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Już prawie',
|
||||
'native.provisioning.failedSub': 'Twój TREK jest w drodze. Spróbuj za chwilę lub otwórz aplikację później.',
|
||||
'native.provisioning.retry': 'Spróbuj teraz',
|
||||
'native.update.title': 'Zaktualizuj aplikację TREK',
|
||||
'native.update.body': 'Ten serwer wymaga nowszej wersji aplikacji, aby wszystko działało.',
|
||||
'native.update.open': 'Aktualizuj',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -73,6 +73,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedSub':
|
||||
'Ваш TREK уже в пути. Повторите попытку через мгновение или откройте приложение позже.',
|
||||
'native.provisioning.retry': 'Повторить сейчас',
|
||||
'native.update.title': 'Обновите приложение TREK',
|
||||
'native.update.body': 'Для полной работы этому серверу нужна более новая версия приложения.',
|
||||
'native.update.open': 'Обновить',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -72,6 +72,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Takmer hotovo',
|
||||
'native.provisioning.failedSub': 'Váš TREK je na ceste. Skúste to o chvíľu znova alebo otvorte aplikáciu neskôr.',
|
||||
'native.provisioning.retry': 'Skúsiť teraz',
|
||||
'native.update.title': 'Aktualizujte aplikáciu TREK',
|
||||
'native.update.body': 'Tento server potrebuje novšiu verziu aplikácie, aby všetko fungovalo.',
|
||||
'native.update.open': 'Aktualizovať',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -73,6 +73,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Snart klart',
|
||||
'native.provisioning.failedSub': 'Din TREK är på väg. Försök igen om en stund eller öppna appen senare.',
|
||||
'native.provisioning.retry': 'Försök nu',
|
||||
'native.update.title': 'Uppdatera TREK-appen',
|
||||
'native.update.body': 'Den här servern behöver en nyare version av appen för att allt ska fungera.',
|
||||
'native.update.open': 'Uppdatera',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -71,6 +71,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'เกือบเสร็จแล้ว',
|
||||
'native.provisioning.failedSub': 'TREK ของคุณกำลังมา ลองอีกครั้งในอีกสักครู่ หรือเปิดแอปในภายหลัง',
|
||||
'native.provisioning.retry': 'ลองตอนนี้',
|
||||
'native.update.title': 'อัปเดตแอป TREK',
|
||||
'native.update.body': 'เซิร์ฟเวอร์นี้ต้องใช้แอปเวอร์ชันใหม่กว่าเพื่อให้ทุกอย่างทำงานได้',
|
||||
'native.update.open': 'อัปเดต',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -73,6 +73,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Neredeyse hazır',
|
||||
'native.provisioning.failedSub': 'TREK’iniz yolda. Birazdan tekrar deneyin ya da uygulamayı sonra açın.',
|
||||
'native.provisioning.retry': 'Şimdi dene',
|
||||
'native.update.title': 'TREK uygulamasını güncelleyin',
|
||||
'native.update.body': 'Her şeyin çalışması için bu sunucu uygulamanın daha yeni bir sürümüne ihtiyaç duyuyor.',
|
||||
'native.update.open': 'Güncelle',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -72,6 +72,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Майже готово',
|
||||
'native.provisioning.failedSub': 'Ваш TREK уже в дорозі. Повторіть спробу за мить або відкрийте застосунок пізніше.',
|
||||
'native.provisioning.retry': 'Повторити зараз',
|
||||
'native.update.title': 'Оновіть застосунок TREK',
|
||||
'native.update.body': 'Для повної роботи цьому серверу потрібна новіша версія застосунку.',
|
||||
'native.update.open': 'Оновити',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -73,6 +73,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': 'Gần xong',
|
||||
'native.provisioning.failedSub': 'TREK của bạn đang trên đường. Hãy thử lại sau giây lát, hoặc mở ứng dụng sau.',
|
||||
'native.provisioning.retry': 'Thử ngay',
|
||||
'native.update.title': 'Cập nhật ứng dụng TREK',
|
||||
'native.update.body': 'Máy chủ này cần phiên bản ứng dụng mới hơn để mọi thứ hoạt động.',
|
||||
'native.update.open': 'Cập nhật',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -71,6 +71,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': '即將就緒',
|
||||
'native.provisioning.failedSub': '你的 TREK 即將就緒。請稍後重試,或稍後開啟應用程式。',
|
||||
'native.provisioning.retry': '立即重試',
|
||||
'native.update.title': '請更新 TREK 應用程式',
|
||||
'native.update.body': '此伺服器需要較新版本的應用程式才能正常使用所有功能。',
|
||||
'native.update.open': '更新',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -71,6 +71,9 @@ const native: TranslationStrings = {
|
||||
'native.provisioning.failedTitle': '即将就绪',
|
||||
'native.provisioning.failedSub': '你的 TREK 正在路上。请稍后重试,或稍后打开应用。',
|
||||
'native.provisioning.retry': '立即重试',
|
||||
'native.update.title': '请更新 TREK 应用',
|
||||
'native.update.body': '此服务器需要更新版本的应用才能正常使用全部功能。',
|
||||
'native.update.open': '更新',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
Reference in New Issue
Block a user