aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-03-27 23:17:22 -0500
committerTed Gould <ted@canonical.com>2009-03-27 23:17:22 -0500
commit02501d7edadbf3d3d3b9f2ab9a560bfe0b197af3 (patch)
treebbd7b51d6f682f27732a458d21313c649e0f4d22 /src
parent31ea8d2deae2d037c80d56380eac011970914bb4 (diff)
downloadlibayatana-indicator-02501d7edadbf3d3d3b9f2ab9a560bfe0b197af3.tar.gz
libayatana-indicator-02501d7edadbf3d3d3b9f2ab9a560bfe0b197af3.tar.bz2
libayatana-indicator-02501d7edadbf3d3d3b9f2ab9a560bfe0b197af3.zip
Patch from Gabor Kelemen to make the license and 'No Indicators' message translatable.0.1.4
Diffstat (limited to 'src')
-rw-r--r--src/applet-main.c4
1 files changed, 2 insertions, 2 deletions
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 {