mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-13 01:10:28 +00:00
feat: Add GPX import/export functionality and enhance trail management
- Implemented GPX export and import features in GpxService for location trails. - Added UI controls for exporting and importing trails in the TrailControls widget. - Introduced localization strings for GPX operations in Italian and Slovenian. - Enhanced MapProvider to manage imported trails and toggle visibility for contact trails. - Updated trail color management with TrailColorService for consistent color assignment based on contact roles. - Improved UI for displaying contact trails with toggle options for individual and all contact trails. - Refactored detailed compass dialog to remove unnecessary path toggle button for contacts.
This commit is contained in:
@@ -1401,6 +1401,65 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
@override
|
||||
String get trailControls => 'Controles del rastro';
|
||||
|
||||
@override
|
||||
String get exportTrailToGpx => 'Exportar rastro a GPX';
|
||||
|
||||
@override
|
||||
String get importTrailFromGpx => 'Importar rastro desde GPX';
|
||||
|
||||
@override
|
||||
String get trailExportedSuccessfully => '¡Rastro exportado exitosamente!';
|
||||
|
||||
@override
|
||||
String get failedToExportTrail => 'Error al exportar el rastro';
|
||||
|
||||
@override
|
||||
String failedToImportTrail(String error) {
|
||||
return 'Error al importar el rastro: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get importTrail => 'Importar rastro';
|
||||
|
||||
@override
|
||||
String importTrailQuestion(int pointCount) {
|
||||
return '¿Importar rastro con $pointCount puntos?\n\nPuede reemplazar su rastro actual o verlo junto a él.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get viewAlongside => 'Ver junto';
|
||||
|
||||
@override
|
||||
String get replaceCurrent => 'Reemplazar actual';
|
||||
|
||||
@override
|
||||
String trailImported(int pointCount) {
|
||||
return '¡Rastro importado! ($pointCount puntos)';
|
||||
}
|
||||
|
||||
@override
|
||||
String trailReplaced(int pointCount) {
|
||||
return '¡Rastro reemplazado! ($pointCount puntos)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get contactTrails => 'Rastros de contactos';
|
||||
|
||||
@override
|
||||
String get showAllContactTrails => 'Mostrar todos los rastros de contactos';
|
||||
|
||||
@override
|
||||
String get noContactsWithLocationHistory =>
|
||||
'No hay contactos con historial de ubicación';
|
||||
|
||||
@override
|
||||
String showingTrailsForContacts(int count) {
|
||||
return 'Mostrando rastros para $count contactos';
|
||||
}
|
||||
|
||||
@override
|
||||
String get individualContactTrails => 'Rastros individuales de contactos';
|
||||
|
||||
@override
|
||||
String get deviceInformation => 'Información del dispositivo';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user