New delete message

This commit is contained in:
Vicente J. Ruiz Jurado 2018-08-04 17:49:36 +02:00
parent f9e1a94c48
commit 4c09e7a42d
4 changed files with 6 additions and 1 deletions

View file

@ -151,7 +151,7 @@ class _FireNotificationListState extends State<FireNotificationList> {
onDelete: (notif) {
store.dispatch(new DeleteFireNotificationAction(notif));
_scaffoldKey.currentState.showSnackBar(new SnackBar(
content: new Text(S.of(context).youDeletedThisPlace),
content: new Text(S.of(context).youDeletedThisNotification),
action: new SnackBarAction(
label: S.of(context).UNDO,
onPressed: () {

View file

@ -80,6 +80,7 @@ class S implements WidgetsLocalizations {
String get typeTheNameOfAPlace => "Type the name of a place, region, etc";
String get unsubscribe => "Unsubscribe";
String get warningThisIsAVeryLargeArea => "Warning: this is a very large area";
String get youDeletedThisNotification => "You deleted this notification";
String get youDeletedThisPlace => "You deleted this place";
String activeFiresWorldWide(String activeFires) => "$activeFires active fires worldwide";
String appLicense(String thisYear) => "(c) 2017-$thisYear Comunes Association under the GNU Affero GPL v3";
@ -142,6 +143,8 @@ class es extends S {
@override
String get supportThisInitiative => "Apoya esta iniciativa";
@override
String get youDeletedThisNotification => "Has borrado esta alerta";
@override
String get toFiresNotifications => "Suscríbete a alertas de fuegos";
@override
String get notPermsUbication => "No tenemos permisos para conocer tu ubicación";

View file

@ -8,6 +8,7 @@
"firesInTheWorld": "Active fires in the world",
"firesInYourPlaces": "Active fires in your places",
"youDeletedThisPlace": "You deleted this place",
"youDeletedThisNotification": "You deleted this notification",
"UNDO": "UNDO",
"toDeleteThisPlace": "Slide horizontally to delete this place",
"toDeleteThisNotification": "Slide horizontally to delete this notification",

View file

@ -8,6 +8,7 @@
"firesInTheWorld": "Fuegos en el mundo",
"firesInYourPlaces": "Fuegos en tus lugares",
"youDeletedThisPlace": "Has borrado este lugar",
"youDeletedThisNotification": "Has borrado esta alerta",
"UNDO": "DESHACER",
"toDeleteThisPlace": "Desliza horizontalmente para borrar este lugar",
"toDeleteThisNotification": "Desliza horizontalmente para borrar esta notificación",