mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 13:23:04 +00:00
feat(native): share a booking document to TREK and import it into a trip
TREK now appears under "Open in" and in the share sheet for PDFs, calendar entries, Wallet passes and mails (iOS document types, Android VIEW and SEND filters). The native side reads the file (up to 15 MB) and hands it to the UI, which asks which trip it belongs to, upcoming trips first, then opens that trip's booking import with the file already chosen.
This commit is contained in:
@@ -80,6 +80,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.settingTitle': 'قفل التطبيق',
|
||||
'native.lock.setting': 'القفل باستخدام Face ID أو رمز المرور',
|
||||
'native.lock.settingHint': 'يطلب ذلك عند فتح TREK وبعد نصف دقيقة في الخلفية، ويخفي التطبيق في مبدّل التطبيقات.',
|
||||
'native.share.title': 'الاستيراد إلى أي رحلة؟',
|
||||
'native.share.noTrips': 'لا توجد رحلة بعد. أنشئ رحلة أولًا ثم شارك المستند مجددًا.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -82,6 +82,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Face ID və ya kodla kilidlə',
|
||||
'native.lock.settingHint':
|
||||
'TREK açılanda və arxa fonda yarım dəqiqədən sonra soruşur, tətbiqi tətbiq dəyişdiricisində gizlədir.',
|
||||
'native.share.title': 'Hansı səyahətə idxal edilsin?',
|
||||
'native.share.noTrips': 'Hələ səyahət yoxdur. Əvvəlcə birini yaradın, sonra sənədi yenidən paylaşın.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -82,6 +82,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Bloquear com Face ID ou código',
|
||||
'native.lock.settingHint':
|
||||
'Pede ao abrir o TREK e após meio minuto em segundo plano, e oculta o app no seletor de apps.',
|
||||
'native.share.title': 'Importar para qual viagem?',
|
||||
'native.share.noTrips': 'Ainda não há viagens. Crie uma primeiro e compartilhe o documento de novo.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -82,6 +82,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Bloqueja amb Face ID o codi',
|
||||
'native.lock.settingHint':
|
||||
'Ho demana en obrir TREK i després de mig minut en segon pla, i amaga l’app al selector d’apps.',
|
||||
'native.share.title': 'A quin viatge vols importar-ho?',
|
||||
'native.share.noTrips': 'Encara no hi ha cap viatge. Crea’n un i torna a compartir el document.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -82,6 +82,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Zamknout pomocí Face ID nebo kódu',
|
||||
'native.lock.settingHint':
|
||||
'Zeptá se při otevření TREK a po půl minutě na pozadí a skryje aplikaci v přepínači aplikací.',
|
||||
'native.share.title': 'Importovat do které cesty?',
|
||||
'native.share.noTrips': 'Zatím žádná cesta. Nejdřív nějakou vytvořte a pak dokument sdílejte znovu.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -83,6 +83,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Mit Face ID oder Code sperren',
|
||||
'native.lock.settingHint':
|
||||
'Fragt beim Öffnen und nach einer halben Minute im Hintergrund nach und verbirgt TREK im App-Umschalter.',
|
||||
'native.share.title': 'In welchen Trip importieren?',
|
||||
'native.share.noTrips': 'Noch kein Trip. Lege zuerst einen an und teile das Dokument dann erneut.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -82,6 +82,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Lock with Face ID or passcode',
|
||||
'native.lock.settingHint':
|
||||
'Asks when TREK opens and after half a minute in the background, and hides the app in the app switcher.',
|
||||
'native.share.title': 'Import into which trip?',
|
||||
'native.share.noTrips': 'No trip yet. Create one first, then share the document again.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -83,6 +83,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Bloquear con Face ID o código',
|
||||
'native.lock.settingHint':
|
||||
'Lo pide al abrir TREK y tras medio minuto en segundo plano, y oculta la app en el selector de apps.',
|
||||
'native.share.title': '¿En qué viaje importar?',
|
||||
'native.share.noTrips': 'Aún no hay viajes. Crea uno primero y vuelve a compartir el documento.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -82,6 +82,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Lukusta Face ID või pääsukoodiga',
|
||||
'native.lock.settingHint':
|
||||
'Küsib TREK-i avamisel ja pärast poolt minutit taustal ning peidab rakenduse rakenduste vahetajas.',
|
||||
'native.share.title': 'Millisesse reisi importida?',
|
||||
'native.share.noTrips': 'Reise veel pole. Loo esmalt üks ja jaga dokumenti uuesti.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -83,6 +83,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Verrouiller avec Face ID ou code',
|
||||
'native.lock.settingHint':
|
||||
'Le demande à l’ouverture de TREK et après une demi-minute en arrière-plan, et masque l’app dans le sélecteur d’apps.',
|
||||
'native.share.title': 'Importer dans quel voyage ?',
|
||||
'native.share.noTrips': 'Pas encore de voyage. Créez-en un, puis partagez à nouveau le document.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -85,6 +85,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Κλείδωμα με Face ID ή κωδικό',
|
||||
'native.lock.settingHint':
|
||||
'Ζητείται κατά το άνοιγμα του TREK και μετά από μισό λεπτό στο παρασκήνιο, και η εφαρμογή κρύβεται στην εναλλαγή εφαρμογών.',
|
||||
'native.share.title': 'Εισαγωγή σε ποιο ταξίδι;',
|
||||
'native.share.noTrips': 'Δεν υπάρχει ακόμα ταξίδι. Δημιουργήστε ένα πρώτα και κοινοποιήστε ξανά το έγγραφο.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -80,6 +80,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.settingTitle': 'נעילת אפליקציה',
|
||||
'native.lock.setting': 'נעילה עם Face ID או קוד',
|
||||
'native.lock.settingHint': 'מבקש בעת פתיחת TREK ואחרי חצי דקה ברקע, ומסתיר את האפליקציה במחליף האפליקציות.',
|
||||
'native.share.title': 'לייבא לאיזה טיול?',
|
||||
'native.share.noTrips': 'אין עדיין טיול. צרו טיול ואז שתפו את המסמך שוב.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -84,6 +84,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Zárolás Face ID-val vagy kóddal',
|
||||
'native.lock.settingHint':
|
||||
'Rákérdez a TREK megnyitásakor és fél perc háttérben töltött idő után, és elrejti az alkalmazást az alkalmazásváltóban.',
|
||||
'native.share.title': 'Melyik utazásba importáljuk?',
|
||||
'native.share.noTrips': 'Még nincs utazás. Előbb hozz létre egyet, aztán oszd meg újra a dokumentumot.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -83,6 +83,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Kunci dengan Face ID atau kode sandi',
|
||||
'native.lock.settingHint':
|
||||
'Meminta saat TREK dibuka dan setelah setengah menit di latar belakang, serta menyembunyikan aplikasi di pengalih aplikasi.',
|
||||
'native.share.title': 'Impor ke perjalanan mana?',
|
||||
'native.share.noTrips': 'Belum ada perjalanan. Buat satu dulu, lalu bagikan dokumennya lagi.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -83,6 +83,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Blocca con Face ID o codice',
|
||||
'native.lock.settingHint':
|
||||
'Lo chiede all’apertura di TREK e dopo mezzo minuto in background, e nasconde l’app nel selettore delle app.',
|
||||
'native.share.title': 'Importare in quale viaggio?',
|
||||
'native.share.noTrips': 'Ancora nessun viaggio. Creane uno, poi condividi di nuovo il documento.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -83,6 +83,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Face IDまたはパスコードでロック',
|
||||
'native.lock.settingHint':
|
||||
'TREKを開いたときと、バックグラウンドで30秒経過したあとに確認し、アプリスイッチャーでは内容を隠します。',
|
||||
'native.share.title': 'どの旅行に取り込みますか?',
|
||||
'native.share.noTrips': 'まだ旅行がありません。先に作成してから、もう一度ドキュメントを共有してください。',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -81,6 +81,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Face ID 또는 암호로 잠금',
|
||||
'native.lock.settingHint':
|
||||
'TREK을 열 때와 백그라운드에서 30초가 지난 후에 확인하며, 앱 전환기에서는 내용을 숨깁니다.',
|
||||
'native.share.title': '어느 여행으로 가져올까요?',
|
||||
'native.share.noTrips': '아직 여행이 없습니다. 먼저 여행을 만든 뒤 문서를 다시 공유하세요.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -82,6 +82,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Vergrendelen met Face ID of toegangscode',
|
||||
'native.lock.settingHint':
|
||||
'Vraagt erom bij het openen van TREK en na een halve minuut op de achtergrond, en verbergt de app in de appkiezer.',
|
||||
'native.share.title': 'In welke reis importeren?',
|
||||
'native.share.noTrips': 'Nog geen reis. Maak er eerst een aan en deel het document dan opnieuw.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -82,6 +82,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Blokuj za pomocą Face ID lub kodu',
|
||||
'native.lock.settingHint':
|
||||
'Pyta przy otwieraniu TREK i po pół minuty w tle oraz ukrywa aplikację w przełączniku aplikacji.',
|
||||
'native.share.title': 'Do której podróży zaimportować?',
|
||||
'native.share.noTrips': 'Nie ma jeszcze podróży. Najpierw utwórz podróż, a potem udostępnij dokument ponownie.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -83,6 +83,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Блокировать с Face ID или кодом',
|
||||
'native.lock.settingHint':
|
||||
'Запрашивается при открытии TREK и через полминуты в фоне, а в переключателе приложений содержимое скрыто.',
|
||||
'native.share.title': 'В какую поездку импортировать?',
|
||||
'native.share.noTrips': 'Поездок пока нет. Сначала создайте поездку, затем снова поделитесь документом.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -82,6 +82,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Zamknúť pomocou Face ID alebo kódu',
|
||||
'native.lock.settingHint':
|
||||
'Opýta sa pri otvorení TREK a po pol minúte na pozadí a skryje aplikáciu v prepínači aplikácií.',
|
||||
'native.share.title': 'Importovať do ktorej cesty?',
|
||||
'native.share.noTrips': 'Zatiaľ žiadna cesta. Najprv nejakú vytvorte a potom dokument zdieľajte znova.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -83,6 +83,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Lås med Face ID eller lösenkod',
|
||||
'native.lock.settingHint':
|
||||
'Frågar när TREK öppnas och efter en halv minut i bakgrunden, och döljer appen i appväxlaren.',
|
||||
'native.share.title': 'Importera till vilken resa?',
|
||||
'native.share.noTrips': 'Ingen resa ännu. Skapa en först och dela sedan dokumentet igen.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -80,6 +80,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.settingTitle': 'ล็อกแอป',
|
||||
'native.lock.setting': 'ล็อกด้วย Face ID หรือรหัส',
|
||||
'native.lock.settingHint': 'ถามเมื่อเปิด TREK และหลังจากอยู่เบื้องหลังครึ่งนาที และซ่อนแอปในตัวสลับแอป',
|
||||
'native.share.title': 'นำเข้าไปยังทริปไหน',
|
||||
'native.share.noTrips': 'ยังไม่มีทริป สร้างทริปก่อนแล้วแชร์เอกสารอีกครั้ง',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -83,6 +83,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Face ID veya parola ile kilitle',
|
||||
'native.lock.settingHint':
|
||||
'TREK açılırken ve arka planda yarım dakika sonra sorar, uygulamayı uygulama değiştiricide gizler.',
|
||||
'native.share.title': 'Hangi geziye aktarılsın?',
|
||||
'native.share.noTrips': 'Henüz gezi yok. Önce bir gezi oluşturun, sonra belgeyi yeniden paylaşın.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -82,6 +82,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Блокувати за допомогою Face ID або коду',
|
||||
'native.lock.settingHint':
|
||||
'Запитує під час відкриття TREK і після пів хвилини у фоні, а в перемикачі застосунків вміст приховано.',
|
||||
'native.share.title': 'До якої подорожі імпортувати?',
|
||||
'native.share.noTrips': 'Подорожей ще немає. Спершу створіть подорож, а потім знову поділіться документом.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -83,6 +83,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.setting': 'Khóa bằng Face ID hoặc mật mã',
|
||||
'native.lock.settingHint':
|
||||
'Hỏi khi mở TREK và sau nửa phút chạy nền, đồng thời ẩn ứng dụng trong trình chuyển ứng dụng.',
|
||||
'native.share.title': 'Nhập vào chuyến đi nào?',
|
||||
'native.share.noTrips': 'Chưa có chuyến đi nào. Hãy tạo một chuyến trước rồi chia sẻ lại tài liệu.',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -80,6 +80,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.settingTitle': 'App 鎖定',
|
||||
'native.lock.setting': '使用 Face ID 或密碼鎖定',
|
||||
'native.lock.settingHint': '開啟 TREK 時以及在背景停留半分鐘後會要求驗證,並在 App 切換器中隱藏內容。',
|
||||
'native.share.title': '要匯入到哪個行程?',
|
||||
'native.share.noTrips': '還沒有行程。請先建立一個,然後再次分享該文件。',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
@@ -80,6 +80,8 @@ const native: TranslationStrings = {
|
||||
'native.lock.settingTitle': '应用锁',
|
||||
'native.lock.setting': '使用面容 ID 或密码锁定',
|
||||
'native.lock.settingHint': '打开 TREK 时以及在后台停留半分钟后会要求验证,并在应用切换器中隐藏内容。',
|
||||
'native.share.title': '导入到哪个行程?',
|
||||
'native.share.noTrips': '还没有行程。请先创建一个,然后再次分享该文档。',
|
||||
};
|
||||
|
||||
export default native;
|
||||
|
||||
Reference in New Issue
Block a user