New delete message
This commit is contained in:
parent
f9e1a94c48
commit
4c09e7a42d
4 changed files with 6 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ class _FireNotificationListState extends State<FireNotificationList> {
|
||||||
onDelete: (notif) {
|
onDelete: (notif) {
|
||||||
store.dispatch(new DeleteFireNotificationAction(notif));
|
store.dispatch(new DeleteFireNotificationAction(notif));
|
||||||
_scaffoldKey.currentState.showSnackBar(new SnackBar(
|
_scaffoldKey.currentState.showSnackBar(new SnackBar(
|
||||||
content: new Text(S.of(context).youDeletedThisPlace),
|
content: new Text(S.of(context).youDeletedThisNotification),
|
||||||
action: new SnackBarAction(
|
action: new SnackBarAction(
|
||||||
label: S.of(context).UNDO,
|
label: S.of(context).UNDO,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
|
|
||||||
|
|
@ -80,6 +80,7 @@ class S implements WidgetsLocalizations {
|
||||||
String get typeTheNameOfAPlace => "Type the name of a place, region, etc";
|
String get typeTheNameOfAPlace => "Type the name of a place, region, etc";
|
||||||
String get unsubscribe => "Unsubscribe";
|
String get unsubscribe => "Unsubscribe";
|
||||||
String get warningThisIsAVeryLargeArea => "Warning: this is a very large area";
|
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 get youDeletedThisPlace => "You deleted this place";
|
||||||
String activeFiresWorldWide(String activeFires) => "$activeFires active fires worldwide";
|
String activeFiresWorldWide(String activeFires) => "$activeFires active fires worldwide";
|
||||||
String appLicense(String thisYear) => "(c) 2017-$thisYear Comunes Association under the GNU Affero GPL v3";
|
String appLicense(String thisYear) => "(c) 2017-$thisYear Comunes Association under the GNU Affero GPL v3";
|
||||||
|
|
@ -142,6 +143,8 @@ class es extends S {
|
||||||
@override
|
@override
|
||||||
String get supportThisInitiative => "Apoya esta iniciativa";
|
String get supportThisInitiative => "Apoya esta iniciativa";
|
||||||
@override
|
@override
|
||||||
|
String get youDeletedThisNotification => "Has borrado esta alerta";
|
||||||
|
@override
|
||||||
String get toFiresNotifications => "Suscríbete a alertas de fuegos";
|
String get toFiresNotifications => "Suscríbete a alertas de fuegos";
|
||||||
@override
|
@override
|
||||||
String get notPermsUbication => "No tenemos permisos para conocer tu ubicación";
|
String get notPermsUbication => "No tenemos permisos para conocer tu ubicación";
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
"firesInTheWorld": "Active fires in the world",
|
"firesInTheWorld": "Active fires in the world",
|
||||||
"firesInYourPlaces": "Active fires in your places",
|
"firesInYourPlaces": "Active fires in your places",
|
||||||
"youDeletedThisPlace": "You deleted this place",
|
"youDeletedThisPlace": "You deleted this place",
|
||||||
|
"youDeletedThisNotification": "You deleted this notification",
|
||||||
"UNDO": "UNDO",
|
"UNDO": "UNDO",
|
||||||
"toDeleteThisPlace": "Slide horizontally to delete this place",
|
"toDeleteThisPlace": "Slide horizontally to delete this place",
|
||||||
"toDeleteThisNotification": "Slide horizontally to delete this notification",
|
"toDeleteThisNotification": "Slide horizontally to delete this notification",
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
"firesInTheWorld": "Fuegos en el mundo",
|
"firesInTheWorld": "Fuegos en el mundo",
|
||||||
"firesInYourPlaces": "Fuegos en tus lugares",
|
"firesInYourPlaces": "Fuegos en tus lugares",
|
||||||
"youDeletedThisPlace": "Has borrado este lugar",
|
"youDeletedThisPlace": "Has borrado este lugar",
|
||||||
|
"youDeletedThisNotification": "Has borrado esta alerta",
|
||||||
"UNDO": "DESHACER",
|
"UNDO": "DESHACER",
|
||||||
"toDeleteThisPlace": "Desliza horizontalmente para borrar este lugar",
|
"toDeleteThisPlace": "Desliza horizontalmente para borrar este lugar",
|
||||||
"toDeleteThisNotification": "Desliza horizontalmente para borrar esta notificación",
|
"toDeleteThisNotification": "Desliza horizontalmente para borrar esta notificación",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue