Major package upgrades: - Riverpod 2.x → 3.0.3 (breaking changes) - flutter_appauth 7.0.0 → 11.0.0 - go_router 14.0.0 → 17.0.0 - permission_handler 11.3.0 → 12.0.1 - flutter_lints 5.0.0 → 6.0.0 - animate_do 3.1.2 → 4.2.0 - Plus 41 transitive dependency updates Breaking changes fixed: Riverpod 3.0 migration: - Replace StateProvider with NotifierProvider pattern - Update .valueOrNull to proper async value handling with .future - Create LanguageNotifier and ThemeModeNotifier classes - Fix all provider async value access patterns Google Maps Navigation API updates: - Rename GoogleMapsNavigationViewController to GoogleNavigationViewController - Update Waypoint to NavigationWaypoint.withLatLngTarget - Migrate controller methods to static GoogleMapsNavigator methods - Update event listener types and callbacks Localization system fixes: - Update l10n.yaml synthetic-package configuration - Fix import paths from flutter_gen to package imports - Add errorTitle translation key for both en/fr - Remove unnecessary null-aware operators (AppLocalizations is non-nullable) - Regenerate localization files iOS/macOS configuration: - Update CocoaPods dependencies (AppAuth 1.7.5 → 2.0.0) - Create missing Profile.xcconfig files for both platforms - Sync Podfile.lock files with updated dependencies Code quality: - Fix all analyzer errors (0 errors remaining) - Resolve deprecated API usage warnings - Update async/await patterns for better error handling 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
201 lines
4.4 KiB
Dart
201 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 errorTitle => 'Erreur';
|
|
|
|
@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...';
|
|
}
|