aboutsummaryrefslogtreecommitdiff
path: root/shell/callbacks.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2017-08-09 02:06:27 -0700
committerLeandro Pereira <leandro@hardinfo.org>2017-08-09 02:09:11 -0700
commit8142484a0a208e061bb056bf7bb5990a823f4bfd (patch)
tree14d03a923fe87b4a097068fb064350a65e5ad3e9 /shell/callbacks.c
parent8aeb4748431b6abadd203036716a6a1a2c1fb38b (diff)
Add translator credits to the about dialog
Just translate the msgid "translator-credits". If left untranslated, the about dialog will hide the tab.
Diffstat (limited to 'shell/callbacks.c')
-rw-r--r--shell/callbacks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/callbacks.c b/shell/callbacks.c
index 1b47b1dc..95a7bd61 100644
--- a/shell/callbacks.c
+++ b/shell/callbacks.c
@@ -216,6 +216,8 @@ void cb_about()
gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(about), authors);
gtk_about_dialog_set_artists(GTK_ABOUT_DIALOG(about), artists);
+ gtk_about_dialog_set_translator_credits(GTK_ABOUT_DIALOG(about),
+ _("translator-credits"));
gtk_dialog_run(GTK_DIALOG(about));
gtk_widget_destroy(about);