diff options
author | rbuj <[email protected]> | 2019-03-19 15:19:20 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-22 23:04:47 +0100 |
commit | b6cc8dab9d4abf042d7a6de174d414181b37ab8d (patch) | |
tree | 5c32ec571a47dae6f044292feee122c6eb984acf | |
parent | 53188a9e5504d4ba4d46248471c1558f2cdf4c5e (diff) | |
download | mate-desktop-b6cc8dab9d4abf042d7a6de174d414181b37ab8d.tar.bz2 mate-desktop-b6cc8dab9d4abf042d7a6de174d414181b37ab8d.tar.xz |
Make translatable the program name in mate about dialog
-rw-r--r-- | mate-about/mate-about.c | 2 | ||||
-rw-r--r-- | mate-about/mate-about.h | 2 |
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 d1a6664..142c362 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"; const char* website = "http://www.mate-desktop.org/"; |