Restructures navigation session initialization to occur after the view is created, eliminating race conditions. Session initialization now happens in onViewCreated callback with proper delay before setting destination. Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
198 lines
4.4 KiB
Dart
198 lines
4.4 KiB
Dart
// ignore: unused_import
|
|
import 'package:intl/intl.dart' as intl;
|
|
import 'app_localizations.dart';
|
|
|
|
// ignore_for_file: type=lint
|
|
|
|
/// The translations for French (`fr`).
|
|
class AppLocalizationsFr extends AppLocalizations {
|
|
AppLocalizationsFr([String locale = 'fr']) : super(locale);
|
|
|
|
@override
|
|
String get appTitle => 'Plan B Logistique';
|
|
|
|
@override
|
|
String get appDescription => 'Systme de Gestion des Livraisons';
|
|
|
|
@override
|
|
String get loginWithKeycloak => 'Connexion avec Keycloak';
|
|
|
|
@override
|
|
String get deliveryRoutes => 'Itinraires de Livraison';
|
|
|
|
@override
|
|
String get routes => 'Itinraires';
|
|
|
|
@override
|
|
String get deliveries => 'Livraisons';
|
|
|
|
@override
|
|
String get settings => 'Paramtres';
|
|
|
|
@override
|
|
String get profile => 'Profil';
|
|
|
|
@override
|
|
String get logout => 'Dconnexion';
|
|
|
|
@override
|
|
String get completed => 'Livr';
|
|
|
|
@override
|
|
String get pending => 'En attente';
|
|
|
|
@override
|
|
String get todo => 'livrer';
|
|
|
|
@override
|
|
String get delivered => 'Livr';
|
|
|
|
@override
|
|
String get newCustomer => 'Nouveau Client';
|
|
|
|
@override
|
|
String items(int count) {
|
|
return '$count articles';
|
|
}
|
|
|
|
@override
|
|
String moneyCurrency(double amount) {
|
|
return '$amount MAD';
|
|
}
|
|
|
|
@override
|
|
String get call => 'Appeler';
|
|
|
|
@override
|
|
String get map => 'Carte';
|
|
|
|
@override
|
|
String get more => 'Plus';
|
|
|
|
@override
|
|
String get markAsCompleted => 'Marquer comme livr';
|
|
|
|
@override
|
|
String get markAsUncompleted => 'Marquer comme livrer';
|
|
|
|
@override
|
|
String get uploadPhoto => 'Tlcharger une photo';
|
|
|
|
@override
|
|
String get viewDetails => 'Voir les dtails';
|
|
|
|
@override
|
|
String get deliverySuccessful => 'Livraison marque comme complte';
|
|
|
|
@override
|
|
String get deliveryFailed => 'chec du marquage de la livraison';
|
|
|
|
@override
|
|
String get noDeliveries => 'Aucune livraison';
|
|
|
|
@override
|
|
String get noRoutes => 'Aucun itinraire disponible';
|
|
|
|
@override
|
|
String error(String message) {
|
|
return 'Erreur: $message';
|
|
}
|
|
|
|
@override
|
|
String get retry => 'Ressayer';
|
|
|
|
@override
|
|
String get authenticationRequired => 'Authentification requise';
|
|
|
|
@override
|
|
String get phoneCall => 'Appeler le client';
|
|
|
|
@override
|
|
String get navigateToAddress => 'Afficher sur la carte';
|
|
|
|
@override
|
|
String get language => 'Langue';
|
|
|
|
@override
|
|
String get english => 'English';
|
|
|
|
@override
|
|
String get french => 'Franais';
|
|
|
|
@override
|
|
String get appVersion => 'Version de l\'application';
|
|
|
|
@override
|
|
String get about => ' propos';
|
|
|
|
@override
|
|
String fullName(String firstName, String lastName) {
|
|
return '$firstName $lastName';
|
|
}
|
|
|
|
@override
|
|
String completedDeliveries(int completed, int total) {
|
|
return '$completed/$total livrs';
|
|
}
|
|
|
|
@override
|
|
String get navigationTcTitle => 'Service de Navigation';
|
|
|
|
@override
|
|
String get navigationTcDescription =>
|
|
'Cette application utilise Google Navigation pour fournir une navigation virage par virage pour les livraisons.';
|
|
|
|
@override
|
|
String get navigationTcAttribution =>
|
|
'Attribution: Services de cartes et de navigation fournis par Google Maps.';
|
|
|
|
@override
|
|
String get navigationTcTerms =>
|
|
'En acceptant, vous acceptez les conditions d\'utilisation et la politique de confidentialit de Google pour les services de navigation.';
|
|
|
|
@override
|
|
String get accept => 'Accepter';
|
|
|
|
@override
|
|
String get decline => 'Refuser';
|
|
|
|
@override
|
|
String get locationPermissionRequired => 'Permission de localisation';
|
|
|
|
@override
|
|
String get locationPermissionMessage =>
|
|
'Cette application ncessite la permission de localisation pour naviguer vers les livraisons.';
|
|
|
|
@override
|
|
String get locationPermissionDenied =>
|
|
'Permission de localisation refuse. La navigation ne peut pas continuer.';
|
|
|
|
@override
|
|
String get permissionPermanentlyDenied => 'Permission requise';
|
|
|
|
@override
|
|
String get openSettingsMessage =>
|
|
'La permission de localisation est dfinitivement refuse. Veuillez l\'activer dans les paramtres de l\'application.';
|
|
|
|
@override
|
|
String get openSettings => 'Ouvrir les paramtres';
|
|
|
|
@override
|
|
String get cancel => 'Annuler';
|
|
|
|
@override
|
|
String get ok => 'OK';
|
|
|
|
@override
|
|
String get requestPermission => 'Demander la permission';
|
|
|
|
@override
|
|
String get navigationArrived => 'Vous tes arriv la destination';
|
|
|
|
@override
|
|
String get navigatingTo => 'Navigation vers';
|
|
|
|
@override
|
|
String get initializingNavigation => 'Initialisation de la navigation...';
|
|
}
|