translate editevent 55%

This commit is contained in:
Valentin CZERYBA 2025-07-23 23:28:16 +02:00
parent 1df36987d9
commit f8b5c24efd
3 changed files with 6 additions and 4 deletions

View File

@ -66,5 +66,6 @@
"no_picture_published": "No picture published",
"event_update": "Event updated",
"location": "Location",
"add_event": "Add or Update a event"
"add_event": "Add or Update a event",
"edit_image": "Edit pictures"
}

View File

@ -66,6 +66,6 @@
"no_picture_published": "Image non publiée",
"event_update": "Évènement modifié",
"location": "Lieu",
"add_event": "Ajouter ou modifier un évènement"
"add_event": "Ajouter ou modifier un évènement",
"edit_image": "Changer la photo"
}

View File

@ -548,7 +548,8 @@ class _EditEventState extends State<EditEvent>
child: ElevatedButton.icon(
onPressed: popCamera,
icon: Icon(Icons.edit, size: 16), // Edit icon
label: Text("Edit Image"), // Button text
label: Text(AppLocalizations.of(context)?.edit_image ??
"Edit pictures"), // Button text
style: ElevatedButton.styleFrom(
backgroundColor: Colors.blue, // Button color
foregroundColor: Colors.white, // Text color