diff options
author | Ted Gould <ted@canonical.com> | 2009-03-27 23:17:22 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-03-27 23:17:22 -0500 |
commit | 02501d7edadbf3d3d3b9f2ab9a560bfe0b197af3 (patch) | |
tree | bbd7b51d6f682f27732a458d21313c649e0f4d22 /src/applet-main.c | |
parent | 31ea8d2deae2d037c80d56380eac011970914bb4 (diff) | |
download | libayatana-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/applet-main.c')
-rw-r--r-- | src/applet-main.c | 4 |
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 { |