summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-19 15:13:11 +0100
committerraveit65 <[email protected]>2019-03-22 23:04:29 +0100
commit53188a9e5504d4ba4d46248471c1558f2cdf4c5e (patch)
tree51ebbdfb8e5a14fd4171fa717b3b50d5756d00c7
parent137fd477b4ac9b2ff1e7773fbe10675685b572a5 (diff)
downloadmate-desktop-53188a9e5504d4ba4d46248471c1558f2cdf4c5e.tar.bz2
mate-desktop-53188a9e5504d4ba4d46248471c1558f2cdf4c5e.tar.xz
Make translatable the copyright info in mate about dialog
-rw-r--r--mate-about/mate-about.c2
-rw-r--r--mate-about/mate-about.h7
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 026cf70..d1a6664 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";
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. */