auto-claude: subtask-2-2 - Create NotesDialog component for displaying delivery notes
- Add reusable NotesDialog component that extracts and displays notes from delivery orders - Add static show() method for convenient dialog display with empty notes handling - Add localization strings for notes dialog (EN/FR): notesTitle, noNotesMessage, close - Follow existing dialog pattern from NavigationTermsAndConditionsDialog Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+9
-1
@@ -109,5 +109,13 @@
|
||||
"passwordRequired": "Password is required",
|
||||
"loginButton": "Login",
|
||||
"navigate": "Navigate",
|
||||
"upload": "Upload"
|
||||
"upload": "Upload",
|
||||
"notesTitle": "Notes for {name}",
|
||||
"@notesTitle": {
|
||||
"placeholders": {
|
||||
"name": {"type": "String"}
|
||||
}
|
||||
},
|
||||
"noNotesMessage": "No notes attached to this delivery",
|
||||
"close": "Close"
|
||||
}
|
||||
|
||||
+9
-1
@@ -109,5 +109,13 @@
|
||||
"passwordRequired": "Le mot de passe est requis",
|
||||
"loginButton": "Connexion",
|
||||
"navigate": "Naviguer",
|
||||
"upload": "Téléverser"
|
||||
"upload": "Téléverser",
|
||||
"notesTitle": "Notes pour {name}",
|
||||
"@notesTitle": {
|
||||
"placeholders": {
|
||||
"name": {"type": "String"}
|
||||
}
|
||||
},
|
||||
"noNotesMessage": "Aucune note associée à cette livraison",
|
||||
"close": "Fermer"
|
||||
}
|
||||
|
||||
@@ -559,6 +559,24 @@ abstract class AppLocalizations {
|
||||
/// In en, this message translates to:
|
||||
/// **'Upload'**
|
||||
String get upload;
|
||||
|
||||
/// No description provided for @notesTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Notes for {name}'**
|
||||
String notesTitle(String name);
|
||||
|
||||
/// No description provided for @noNotesMessage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'No notes attached to this delivery'**
|
||||
String get noNotesMessage;
|
||||
|
||||
/// No description provided for @close.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Close'**
|
||||
String get close;
|
||||
}
|
||||
|
||||
class _AppLocalizationsDelegate
|
||||
|
||||
@@ -256,4 +256,15 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get upload => 'Upload';
|
||||
|
||||
@override
|
||||
String notesTitle(String name) {
|
||||
return 'Notes for $name';
|
||||
}
|
||||
|
||||
@override
|
||||
String get noNotesMessage => 'No notes attached to this delivery';
|
||||
|
||||
@override
|
||||
String get close => 'Close';
|
||||
}
|
||||
|
||||
@@ -256,4 +256,15 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get upload => 'Téléverser';
|
||||
|
||||
@override
|
||||
String notesTitle(String name) {
|
||||
return 'Notes pour $name';
|
||||
}
|
||||
|
||||
@override
|
||||
String get noNotesMessage => 'Aucune note associée à cette livraison';
|
||||
|
||||
@override
|
||||
String get close => 'Fermer';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user