From afa16c000f5b9efda02951db78e7687428a02168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adriana=20Ceri=C4=87?= <62163307+AdrianaCeric@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:43:04 -0500 Subject: [PATCH] fix: remove changes that are in another pr --- .../middleware/models/TripMonitorNotification.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/opentripplanner/middleware/models/TripMonitorNotification.java b/src/main/java/org/opentripplanner/middleware/models/TripMonitorNotification.java index dc13ee027..5ea86804e 100644 --- a/src/main/java/org/opentripplanner/middleware/models/TripMonitorNotification.java +++ b/src/main/java/org/opentripplanner/middleware/models/TripMonitorNotification.java @@ -100,7 +100,7 @@ public static TripMonitorNotification createInitialReminderNotification(Monitore TripMonitorNotification notification = new TripMonitorNotification(); notification.type = NotificationType.INITIAL_REMINDER; // TODO: i18n and add itinerary details. - notification.body = String.format("Reminder for %s at %s.\nWe will notify you if anything changes.", trip.tripName, trip.tripTime); + notification.body = String.format("Reminder for your upcoming trip at %s. We will let you know if anything changes.", trip.tripTime); return notification; } @@ -119,13 +119,15 @@ private static String bodyFromAlerts( } // If there are any unseen alerts, include list of these. if (unseenAlerts.size() > 0) { - body.append("\uD83D\uDD14 New alerts found:\n"); + // TODO: Improve message. + body.append("New alerts found! They are:"); body.append(listFromAlerts(unseenAlerts, false)); } // If there are any resolved alerts, include list of these. if (resolvedAlerts.size() > 0) { if (body.length() > 0) body.append("\n"); - body.append("Resolved alerts:\n"); + // TODO: Improve message. + body.append("Resolved alerts are:"); body.append(listFromAlerts(resolvedAlerts, true)); } return body.toString();