#include <libintl.h>
#include <locale.h>
+#include "ui-common.h"
+#include "utils.h"
#include "announcements.h"
#include "speak.h"
g_snprintf(buffer, sizeof(buffer), _("Distance to destination: %.02f %s"), distance, unit);
}
SPEAK(buffer);
+MACRO_BANNER_SHOW_INFO(_window, buffer);
}
void
announce_destination_reached(void)
{
-SPEAK(_("You have reached your destination."));
+gchar *msg=_("You have reached your destination.");
+SPEAK(msg);
+MACRO_BANNER_SHOW_INFO(_window, msg);
}
void
announce_over_speed_limit(guint limit)
{
-SPEAK(_("Warning, you are over speed limit!"));
+gchar *msg=_("Warning, you are over speed limit!");
+SPEAK(msg);
+MACRO_BANNER_SHOW_INFO(_window, msg);
}
#if 0