mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 13:23:04 +00:00
feat(android): bring the Android app level with the iOS app
Everything the iOS shell gained, built natively for Android 16 with Material You, and back to Android 7: - Home-screen widgets in Jetpack Glance: trip, today, bookings, to-dos, packing, world map and travel group, from the same snapshot the iOS widgets read. Wallpaper colours on Android 12+, resizable in three layouts, a trip picker per widget (reconfigurable), live previews in Android 15's picker and preview images before it. - The travel day as a Live Update: a promoted ongoing notification with the next stop as the status-bar chip, a countdown and the day's stops as segments (ProgressStyle), a quiet ongoing notification before Android 16. - A share sheet of its own: a Material bottom sheet with the trip picker for files, mails, pages and links shared from any app, and the coming trips as launcher and direct-share shortcuts. - Push: channels per kind of notification (chat, trip updates, invitations, general) by the event the server now names, stacked per channel. - Location for navigator.geolocation from the fused provider, a store for Mapbox's map resources (30 days, 250 MB), Google Play Billing behind the StoreKit methods, and Google Wallet save links. - Large screens: every orientation and window size without a restart, the window's size classes and a foldable's posture and hinge for the UI (windowLayout), the UI's keyboard shortcuts as the app's (keyCommands), predictive back, per-app language. - The native strings in the 28 languages of the iOS app, generated from its strings files (scripts/generate-android-strings.mjs). Debug builds carry a widget gallery that draws every widget at every size.
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generated by client/scripts/generate-android-strings.mjs from the iOS widget and share
|
||||
sheet strings and scripts/android-strings.json. Edit those and run it again. -->
|
||||
<resources>
|
||||
<string name="widget_trip_name">Viaggio</string>
|
||||
<string name="widget_trip_description">Conta i giorni al prossimo viaggio e durante il viaggio mostra la giornata e cosa viene dopo.</string>
|
||||
<string name="widget_today_name">Oggi</string>
|
||||
<string name="widget_today_description">Il programma del giorno come linea del tempo, con il meteo e la prossima tappa.</string>
|
||||
<string name="widget_bookings_name">Prenotazioni</string>
|
||||
<string name="widget_bookings_description">I tuoi prossimi voli, treni, hotel e tavoli, e quando sono.</string>
|
||||
<string name="widget_todos_name">Da fare</string>
|
||||
<string name="widget_todos_description">Cosa manca ancora per il viaggio e a che punto è la valigia.</string>
|
||||
<string name="widget_packing_name">Bagagli</string>
|
||||
<string name="widget_packing_description">Quanto sono piene le borse, il loro peso e cosa manca ancora.</string>
|
||||
<string name="widget_atlas_name">Mappa del mondo</string>
|
||||
<string name="widget_atlas_description">I paesi in cui sei stato, illuminati sulla mappa.</string>
|
||||
<string name="widget_collab_name">Gruppo di viaggio</string>
|
||||
<string name="widget_collab_description">Chi viene, gli ultimi messaggi e il sondaggio aperto.</string>
|
||||
<string name="widget_intent_title">Scegli viaggio</string>
|
||||
<string name="widget_intent_description">Il viaggio mostrato da questo widget.</string>
|
||||
<string name="widget_intent_trip">Viaggio</string>
|
||||
<string name="widget_intent_auto">Automatico</string>
|
||||
<string name="widget_intent_auto_hint">Lo stesso viaggio della dashboard</string>
|
||||
<string name="share_title">Aggiungi a TREK</string>
|
||||
<string name="share_cancel">Annulla</string>
|
||||
<string name="share_close">Chiudi</string>
|
||||
<string name="share_trip">Viaggio</string>
|
||||
<string name="share_no_trips">Apri TREK una volta e qui compariranno i tuoi viaggi.</string>
|
||||
<string name="share_hint">TREK legge la prenotazione e la aggiunge al viaggio.</string>
|
||||
<string name="share_later">Scegli dopo</string>
|
||||
<string name="share_add">Aggiungi</string>
|
||||
<string name="share_add_to">Aggiungi a %1$s</string>
|
||||
<string name="share_added">Aggiunto</string>
|
||||
<string name="share_reading">Lettura…</string>
|
||||
<string name="share_too_large">Questo file è troppo grande da importare.</string>
|
||||
<string name="share_unsupported">TREK non può importare questo contenuto.</string>
|
||||
<string name="share_failed">Impossibile passarlo a TREK. Riprova.</string>
|
||||
<string name="share_now">In corso</string>
|
||||
<string name="share_past">Passato</string>
|
||||
<string name="share_tomorrow">Domani</string>
|
||||
<string name="share_in_days">Tra %1$d giorni</string>
|
||||
<string name="share_kind_pass">Pass di Wallet</string>
|
||||
<string name="share_kind_pdf">PDF</string>
|
||||
<string name="share_kind_mail">E-mail</string>
|
||||
<string name="share_kind_page">Pagina web</string>
|
||||
<string name="share_kind_text">Testo</string>
|
||||
<string name="share_kind_image">Foto</string>
|
||||
<string name="share_kind_file">File</string>
|
||||
<string name="widget_empty">Apri TREK una volta e qui compariranno i tuoi viaggi.</string>
|
||||
<string name="push_channel_chat">Chat del viaggio</string>
|
||||
<string name="push_channel_trips">Novità del viaggio</string>
|
||||
<string name="push_channel_invites">Inviti e condivisioni</string>
|
||||
<string name="push_channel_name">Generali</string>
|
||||
<string name="push_channel_tripday">Giorno di viaggio</string>
|
||||
<string name="push_fallback_body">Nuova notifica</string>
|
||||
<string name="push_channel_tripday_description">La giornata di un viaggio in corso e la prossima tappa.</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user