diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-03-06 21:39:14 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-03-06 21:39:14 +0000 |
commit | c8f532bd4192bc3d5a8dfda1b1db943870475658 (patch) | |
tree | 22e6f6a88c86b8bd029fadfbf82caa0adc432f0e /src/trg-about-window.c | |
parent | 333b26cbd471c2fb60cc0bdd6f37ca0bf5267c0d (diff) |
all (I hope) strings in _(string) macro for localisation
Diffstat (limited to 'src/trg-about-window.c')
-rw-r--r-- | src/trg-about-window.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/trg-about-window.c b/src/trg-about-window.c index 60aa7d7..542ff7d 100644 --- a/src/trg-about-window.c +++ b/src/trg-about-window.c @@ -21,6 +21,7 @@ #include "config.h" #endif +#include <glib/gi18n.h> #include <gtk/gtk.h> #include <json-glib/json-glib.h> @@ -49,23 +50,19 @@ GtkWidget *trg_about_window_new(GtkWindow * parent) g_object_unref(logo); } - /* Set application data that will be displayed in the main dialog. */ gtk_about_dialog_set_name(GTK_ABOUT_DIALOG(dialog), PACKAGE_NAME); gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog), PACKAGE_VERSION); gtk_about_dialog_set_copyright(GTK_ABOUT_DIALOG(dialog), "(C) 2011 Alan Fitton"); gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(dialog), - "A remote client to transmission-daemon."); - /* Set the license text, which is usually loaded from a file. Also, set the - * web site address and label. */ + _("A remote client to transmission-daemon.")); gtk_about_dialog_set_license(GTK_ABOUT_DIALOG(dialog), "GPL2"); gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(dialog), "http://code.google.com/p/transmission-remote-gtk/"); gtk_about_dialog_set_website_label(GTK_ABOUT_DIALOG(dialog), "http://code.google.com/p/transmission-remote-gtk/"); - /* Set the application authors, documenters and translators. */ gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(dialog), trgAuthors); /*gtk_about_dialog_set_documenters(GTK_ABOUT_DIALOG(dialog), documenters); gtk_about_dialog_set_translator_credits(GTK_ABOUT_DIALOG(dialog), |