*
*/
#include <string.h>
+
#include <glib/gprintf.h>
+#include <glib/gi18n.h>
#include "viking.h"
#include "babel.h"
static void datasource_google_cleanup ( gpointer data );
VikDataSourceInterface vik_datasource_google_interface = {
- "Google Directions",
- "Google Directions",
+ N_("Google Directions"),
+ N_("Google Directions"),
VIK_DATASOURCE_SHELL_CMD,
VIK_DATASOURCE_ADDTOLAYER,
VIK_DATASOURCE_INPUTTYPE_NONE,
{
datasource_google_widgets_t *widgets = (datasource_google_widgets_t *)user_data;
GtkWidget *from_label, *to_label;
- from_label = gtk_label_new ("From:");
+ from_label = gtk_label_new (_("From:"));
widgets->from_entry = gtk_entry_new();
- to_label = gtk_label_new ("To:");
+ to_label = gtk_label_new (_("To:"));
widgets->to_entry = gtk_entry_new();
if (last_from_str)
gtk_entry_set_text(GTK_ENTRY(widgets->from_entry), last_from_str);