summaryrefslogtreecommitdiff
path: root/mate-about
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-19 15:19:20 +0100
committerraveit65 <[email protected]>2019-03-22 22:59:46 +0100
commit6a6d63c017a407c83d49310f9691c7ac4a517c0e (patch)
treebcadfe26b59650e0cbd548021f8a50b548a79d21 /mate-about
parent059d42caa1b36526b645c591a82804ed700f10f8 (diff)
downloadmate-desktop-6a6d63c017a407c83d49310f9691c7ac4a517c0e.tar.bz2
mate-desktop-6a6d63c017a407c83d49310f9691c7ac4a517c0e.tar.xz
Make translatable the program name in mate about dialog
Diffstat (limited to 'mate-about')
-rw-r--r--mate-about/mate-about.c2
-rw-r--r--mate-about/mate-about.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/mate-about/mate-about.c b/mate-about/mate-about.c
index 83f357f..9e88876 100644
--- a/mate-about/mate-about.c
+++ b/mate-about/mate-about.c
@@ -54,7 +54,7 @@ void mate_about_run(void)
gtk_about_dialog_set_logo_icon_name(mate_about_dialog, icon);
// name
- gtk_about_dialog_set_program_name(mate_about_dialog, gettext(program_name));
+ gtk_about_dialog_set_program_name(mate_about_dialog, _(program_name));
// version
gtk_about_dialog_set_version(mate_about_dialog, version);
diff --git a/mate-about/mate-about.h b/mate-about/mate-about.h
index cfc5187..e2d14c2 100644
--- a/mate-about/mate-about.h
+++ b/mate-about/mate-about.h
@@ -26,7 +26,7 @@
#include <libintl.h> // for gettext
#include <glib/gi18n.h>
-const char* program_name = "MATE Desktop Environment";
+const char* program_name = N_("MATE Desktop Environment");
const char* version = PACKAGE_VERSION;
const char* icon = "mate-desktop";
const char* website = "http://www.mate-desktop.org/";