Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.HIGH_SAMPLING_RATE_SENSORS"/>
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>

<!-- android:hardwareAccelerated is essential for Android performance: https://developer.android.com/topic/performance/hardware-accel -->
<application
Expand Down
1 change: 1 addition & 0 deletions ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
</array>
<key>UIBackgroundModes</key>
<array>
<string>location</string>
<string>remote-notification</string>
<string>fetch</string>
<string>processing</string>
Expand Down
13 changes: 13 additions & 0 deletions src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7958,6 +7958,19 @@ Hier ist ein *Testbeleg*, um dir zu zeigen, wie es funktioniert:`,
confirm: 'Entfernungsverfolgung verwerfen',
},
zeroDistanceTripModal: {title: 'Ausgabe kann nicht erstellt werden', prompt: 'Sie können keine Ausgabe mit demselben Start- und Zielort erstellen.'},
locationRequiredModal: {
title: 'Standortzugriff erforderlich',
prompt: 'Bitte erlaube den Standortzugriff in den Einstellungen deines Geräts, um die GPS-Distanzverfolgung zu starten.',
allow: 'Erlauben',
},
androidBackgroundLocationRequiredModal: {
title: 'Zugriff auf den Standort im Hintergrund erforderlich',
prompt: 'Bitte erlaube den Zugriff auf den Standort im Hintergrund in den Geräteeinstellungen (Option „Immer zulassen“), um die GPS-Distanzverfolgung zu starten.',
},
preciseLocationRequiredModal: {
title: 'Genaue Position erforderlich',
prompt: 'Bitte aktiviere „genaue Standortbestimmung“ in den Einstellungen deines Geräts, um die GPS‑Streckenverfolgung zu starten.',
},
desktop: {
title: 'Entfernung auf deinem Handy verfolgen',
subtitle: 'Protokolliere Meilen oder Kilometer automatisch mit GPS und verwandle Fahrten sofort in Ausgaben.',
Expand Down
13 changes: 13 additions & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7035,6 +7035,19 @@ const translations = {
title: "Can't create expense",
prompt: "You can't create an expense with the same start and stop location.",
},
locationRequiredModal: {
title: 'Location access required',
prompt: 'Please allow location access in your device settings to start GPS distance tracking.',
allow: 'Allow',
},
androidBackgroundLocationRequiredModal: {
title: 'Background location access required',
prompt: 'Please allow background location access in your device settings ("Allow all the time" option) to start GPS distance tracking.',
},
preciseLocationRequiredModal: {
title: 'Precise location required',
prompt: 'Please enable "precise location" in your device settings to start GPS distance tracking.',
},
desktop: {
title: 'Track distance on your phone',
subtitle: 'Log miles or kilometers automatically with GPS and turn trips into expenses instantly.',
Expand Down
13 changes: 13 additions & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8003,6 +8003,19 @@ ${amount} para ${merchant} - ${date}`,
title: 'No se puede crear el gasto',
prompt: 'No puedes crear un gasto con la misma ubicación de inicio y fin.',
},
locationRequiredModal: {
title: 'Se requiere acceso a la ubicación',
prompt: 'Por favor, permite el acceso a la ubicación en la configuración de tu dispositivo para iniciar el seguimiento de distancia por GPS.',
allow: 'Permitir',
},
androidBackgroundLocationRequiredModal: {
title: 'Se requiere acceso a la ubicación en segundo plano',
prompt: 'Por favor, permite el acceso a la ubicación en segundo plano en la configuración de tu dispositivo (opción "Permitir solo con la app en uso") para iniciar el seguimiento de distancia por GPS.',
},
preciseLocationRequiredModal: {
title: 'Se requiere ubicación precisa',
prompt: 'Por favor, habilita la "ubicación precisa" en la configuración de tu dispositivo para iniciar el seguimiento de distancia por GPS.',
},
desktop: {
title: 'Registra la distancia en tu teléfono',
subtitle: 'Registra millas o kilómetros automáticamente con GPS y convierte los viajes en gastos al instante.',
Expand Down
13 changes: 13 additions & 0 deletions src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7963,6 +7963,19 @@ Voici un *reçu test* pour vous montrer comment cela fonctionne :`,
confirm: 'Ignorer le suivi de la distance',
},
zeroDistanceTripModal: {title: 'Impossible de créer la dépense', prompt: 'Vous ne pouvez pas créer une dépense avec le même lieu de départ et d’arrivée.'},
locationRequiredModal: {
title: 'Accès à la localisation requis',
prompt: 'Veuillez autoriser l’accès à la localisation dans les paramètres de votre appareil pour lancer le suivi de distance GPS.',
allow: 'Autoriser',
},
androidBackgroundLocationRequiredModal: {
title: 'Accès à la position en arrière-plan requis',
prompt: 'Veuillez autoriser l’accès à la localisation en arrière-plan dans les paramètres de votre appareil (option « Autoriser tout le temps ») pour démarrer le suivi de distance par GPS.',
},
preciseLocationRequiredModal: {
title: 'Emplacement précis requis',
prompt: 'Veuillez activer la « localisation précise » dans les paramètres de votre appareil pour commencer le suivi de distance GPS.',
},
desktop: {
title: 'Suivez la distance sur votre téléphone',
subtitle: 'Enregistrez automatiquement les miles ou kilomètres avec le GPS et transformez instantanément vos trajets en dépenses.',
Expand Down
13 changes: 13 additions & 0 deletions src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7941,6 +7941,19 @@ Ecco una *ricevuta di prova* per mostrarti come funziona:`,
confirm: 'Scarta monitoraggio distanza',
},
zeroDistanceTripModal: {title: 'Impossibile creare la spesa', prompt: 'Non puoi creare una spesa con la stessa località di partenza e di arrivo.'},
locationRequiredModal: {
title: 'Accesso alla posizione richiesto',
prompt: 'Consenti l’accesso alla posizione nelle impostazioni del dispositivo per avviare il tracciamento della distanza GPS.',
allow: 'Consenti',
},
androidBackgroundLocationRequiredModal: {
title: 'Accesso alla posizione in background richiesto',
prompt: 'Consenti l’accesso alla posizione in background nelle impostazioni del dispositivo (opzione “Consenti sempre”) per avviare il tracciamento della distanza tramite GPS.',
},
preciseLocationRequiredModal: {
title: 'Posizione precisa richiesta',
prompt: 'Per favore, abilita la “posizione precisa” nelle impostazioni del dispositivo per avviare il tracciamento della distanza GPS.',
},
desktop: {
title: 'Tieni traccia della distanza sul tuo telefono',
subtitle: 'Registra automaticamente miglia o chilometri con il GPS e trasforma i viaggi in spese all’istante.',
Expand Down
6 changes: 6 additions & 0 deletions src/languages/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7870,6 +7870,12 @@ Expensify の使い方をお見せするための*テストレシート*がこ
stopGpsTrackingModal: {title: 'GPS追跡を停止', prompt: '本当に終了しますか?現在のジャーニーが終了します。', cancel: '追跡を再開', confirm: 'GPS追跡を停止'},
discardDistanceTrackingModal: {title: '距離の追跡を破棄', prompt: '本当に実行しますか?現在の行程が破棄され、元に戻すことはできません。', confirm: '距離の追跡を破棄'},
zeroDistanceTripModal: {title: '経費を作成できません', prompt: '開始地点と終了地点が同じ経路では経費を作成できません。'},
locationRequiredModal: {title: '位置情報へのアクセスが必要です', prompt: 'GPS で距離を追跡するには、デバイスの設定で位置情報へのアクセスを許可してください。', allow: '許可'},
androidBackgroundLocationRequiredModal: {
title: 'バックグラウンド位置情報へのアクセスが必要です',
prompt: 'GPS距離の追跡を開始するには、デバイスの設定でバックグラウンドの位置情報アクセスを許可し(「常に許可」オプション)、有効にしてください。',
},
preciseLocationRequiredModal: {title: '正確な位置情報が必要です', prompt: 'GPS距離の追跡を開始するには、デバイスの設定で「正確な位置情報」を有効にしてください。'},
desktop: {title: 'スマートフォンで距離を記録する', subtitle: 'GPS で自動的にマイルまたはキロメートルを記録し、移動をすぐに経費に変換します。', button: 'アプリをダウンロード'},
},
};
Expand Down
11 changes: 11 additions & 0 deletions src/languages/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7927,6 +7927,17 @@ Hier is een *testbon* om je te laten zien hoe het werkt:`,
confirm: 'Afstandstracking negeren',
},
zeroDistanceTripModal: {title: 'Kan geen uitgave aanmaken', prompt: 'Je kunt geen uitgave aanmaken met dezelfde begin- en eindlocatie.'},

locationRequiredModal: {
title: 'Locatietoegang vereist',
prompt: 'Sta locatietoegang toe in de instellingen van je apparaat om GPS-afstandsregistratie te starten.',
allow: 'Toestaan',
},
androidBackgroundLocationRequiredModal: {
title: 'Toegang tot locatie op de achtergrond vereist',
prompt: 'Sta achtergrondlocatietoegang toe in de instellingen van je apparaat (de optie “Altijd toestaan”) om het bijhouden van de GPS-afstand te starten.',
},
preciseLocationRequiredModal: {title: 'Precieze locatie vereist', prompt: 'Schakel "precieze locatie" in de instellingen van je apparaat in om GPS-afstandsregistratie te starten.'},
desktop: {title: 'Volg afstand op je telefoon', subtitle: 'Leg kilometers of mijlen automatisch vast met GPS en zet ritten direct om in uitgaven.', button: 'Download de app'},
},
};
Expand Down
14 changes: 14 additions & 0 deletions src/languages/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7906,6 +7906,20 @@ Oto *paragon testowy*, który pokazuje, jak to działa:`,
confirm: 'Odrzuć śledzenie dystansu',
},
zeroDistanceTripModal: {title: 'Nie można utworzyć wydatku', prompt: 'Nie możesz utworzyć wydatku z tym samym miejscem początkowym i końcowym.'},

locationRequiredModal: {
title: 'Wymagany dostęp do lokalizacji',
prompt: 'Aby rozpocząć śledzenie dystansu GPS, zezwól na dostęp do lokalizacji w ustawieniach swojego urządzenia.',
allow: 'Zezwól',
},
androidBackgroundLocationRequiredModal: {
title: 'Wymagany dostęp do lokalizacji w tle',
prompt: 'Zezwól aplikacji na dostęp do lokalizacji w tle w ustawieniach urządzenia (opcja „Zawsze zezwalaj”), aby rozpocząć śledzenie dystansu GPS.',
},
preciseLocationRequiredModal: {
title: 'Wymagane dokładne położenie',
prompt: 'Włącz proszę „dokładną lokalizację” w ustawieniach swojego urządzenia, aby rozpocząć śledzenie dystansu GPS.',
},
desktop: {
title: 'Śledź dystans na swoim telefonie',
subtitle: 'Automatycznie rejestruj mile lub kilometry za pomocą GPS i natychmiast zamieniaj podróże w wydatki.',
Expand Down
14 changes: 14 additions & 0 deletions src/languages/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7917,6 +7917,20 @@ Aqui está um *recibo de teste* para mostrar como funciona:`,
confirm: 'Descartar rastreamento de distância',
},
zeroDistanceTripModal: {title: 'Não é possível criar a despesa', prompt: 'Você não pode criar uma despesa com o mesmo local de partida e de chegada.'},

locationRequiredModal: {
title: 'Acesso à localização necessário',
prompt: 'Permita o acesso à localização nas configurações do seu dispositivo para iniciar o rastreamento de distância por GPS.',
allow: 'Permitir',
},
androidBackgroundLocationRequiredModal: {
title: 'Acesso à localização em segundo plano necessário',
prompt: 'Permita o acesso à localização em segundo plano nas configurações do seu dispositivo (opção "Permitir o tempo todo") para iniciar o rastreamento de distância por GPS.',
},
preciseLocationRequiredModal: {
title: 'Localização precisa obrigatória',
prompt: 'Ative a opção "localização precisa" nas configurações do seu dispositivo para iniciar o rastreamento de distância por GPS.',
},
desktop: {
title: 'Controle a distância no seu telefone',
subtitle: 'Registre milhas ou quilômetros automaticamente com o GPS e transforme viagens em despesas instantaneamente.',
Expand Down
4 changes: 4 additions & 0 deletions src/languages/zh-hans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7726,6 +7726,10 @@ ${reportName}
stopGpsTrackingModal: {title: '停止 GPS 追踪', prompt: '你确定吗?这将结束你当前的旅程。', cancel: '恢复追踪', confirm: '停止 GPS 追踪'},
discardDistanceTrackingModal: {title: '丢弃距离跟踪', prompt: '您确定吗?这将放弃您当前的流程,且无法撤销。', confirm: '丢弃距离跟踪'},
zeroDistanceTripModal: {title: '无法创建报销', prompt: '你不能创建起点和终点相同的报销。'},

locationRequiredModal: {title: '需要访问位置信息', prompt: '请在设备设置中允许位置访问以开始 GPS 距离跟踪。', allow: '允许'},
androidBackgroundLocationRequiredModal: {title: '需要后台位置访问权限', prompt: '请在设备设置中允许应用使用“始终允许”位置访问权限,以开始 GPS 距离跟踪。'},
preciseLocationRequiredModal: {title: '需要精确位置', prompt: '请在设备设置中启用“精确位置”以开始 GPS 距离跟踪。'},
desktop: {title: '在手机上跟踪距离', subtitle: '使用 GPS 自动记录英里或公里,并将行程即时转换为报销费用。', button: '下载应用程序'},
},
};
Expand Down
Loading
Loading