diff options
author | rbuj <[email protected]> | 2019-03-19 15:13:11 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-22 22:59:46 +0100 |
commit | 059d42caa1b36526b645c591a82804ed700f10f8 (patch) | |
tree | 5e112c0eb685cad013b62ca989ddeb150cd93a7b | |
parent | d83bccb64d612034be471c0724edd129519c3584 (diff) | |
download | mate-desktop-059d42caa1b36526b645c591a82804ed700f10f8.tar.bz2 mate-desktop-059d42caa1b36526b645c591a82804ed700f10f8.tar.xz |
Make translatable the copyright info in mate about dialog
-rw-r--r-- | mate-about/mate-about.c | 2 | ||||
-rw-r--r-- | mate-about/mate-about.h | 7 |
2 files changed, 4 insertions, 5 deletions
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. */ |