From 02501d7edadbf3d3d3b9f2ab9a560bfe0b197af3 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 27 Mar 2009 23:17:22 -0500 Subject: Patch from Gabor Kelemen to make the license and 'No Indicators' message translatable. --- src/applet-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/applet-main.c b/src/applet-main.c index ee738b4..fdd7a23 100644 --- a/src/applet-main.c +++ b/src/applet-main.c @@ -139,7 +139,7 @@ about_cb (BonoboUIComponent *ui_container, }; gchar *license_i18n; - license_i18n = g_strjoinv ("\n\n", license); + license_i18n = g_strconcat (_(license[0]), "\n\n", _(license[1]), "\n\n", _(license[2]), NULL); gtk_show_about_dialog(NULL, "version", "0.1", @@ -237,7 +237,7 @@ applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data) if (indicators_loaded == 0) { /* A label to allow for click through */ - GtkWidget * item = gtk_label_new("No Indicators"); + GtkWidget * item = gtk_label_new(_("No Indicators")); gtk_container_add(GTK_CONTAINER(applet), item); gtk_widget_show(item); } else { -- cgit v1.2.3