From 059d42caa1b36526b645c591a82804ed700f10f8 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 19 Mar 2019 15:13:11 +0100 Subject: Make translatable the copyright info in mate about dialog --- mate-about/mate-about.c | 2 +- mate-about/mate-about.h | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'mate-about') diff --git a/mate-about/mate-about.c b/mate-about/mate-about.c index 37f5acc..83f357f 100644 --- a/mate-about/mate-about.c +++ b/mate-about/mate-about.c @@ -60,7 +60,7 @@ void mate_about_run(void) gtk_about_dialog_set_version(mate_about_dialog, version); // credits and website - gtk_about_dialog_set_copyright(mate_about_dialog, copyright); + gtk_about_dialog_set_copyright(mate_about_dialog, _(copyright)); gtk_about_dialog_set_website(mate_about_dialog, website); /** diff --git a/mate-about/mate-about.h b/mate-about/mate-about.h index ad9dd08..cfc5187 100644 --- a/mate-about/mate-about.h +++ b/mate-about/mate-about.h @@ -31,10 +31,9 @@ const char* version = PACKAGE_VERSION; const char* icon = "mate-desktop"; const char* website = "http://www.mate-desktop.org/"; -const char* copyright = "" - "Copyright © 1997-2011 GNOME developers\n" - "Copyright © 2011 Perberos\n" - "Copyright © 2012-2019 MATE developers"; +const char* copyright = N_("Copyright © 1997-2011 GNOME developers\n" + "Copyright © 2011 Perberos\n" + "Copyright © 2012-2019 MATE developers"); /* Increment comments_count if you add other comments. This will be * used to choose a random comment. */ -- cgit v1.2.1