summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-13 13:42:08 +0100
committerraveit65 <[email protected]>2019-03-20 15:38:56 +0100
commit5059df0f47487b7aed5be05640bdec87a4573813 (patch)
tree4453edff9b43e42b9644d27532739299adcb2cc0
parent5b153a6130de6b905b73b9e1a23b3922c929a0a7 (diff)
downloadmate-applets-5059df0f47487b7aed5be05640bdec87a4573813.tar.bz2
mate-applets-5059df0f47487b7aed5be05640bdec87a4573813.tar.xz
Make translatable copyright info in about dialog
-rw-r--r--accessx-status/applet.c7
-rw-r--r--battstat/battstat_applet.c9
-rw-r--r--charpick/charpick.c7
-rw-r--r--command/command.c7
-rw-r--r--cpufreq/src/cpufreq-applet.c7
-rw-r--r--drivemount/drivemount.c6
-rw-r--r--geyes/geyes.c7
-rw-r--r--mateweather/mateweather-about.c7
-rw-r--r--multiload/main.c7
-rw-r--r--netspeed/src/netspeed.c9
-rw-r--r--stickynotes/stickynotes_applet_callbacks.c9
-rw-r--r--timerapplet/timerapplet.c7
-rw-r--r--trashapplet/src/trashapplet.c9
13 files changed, 30 insertions, 68 deletions
diff --git a/accessx-status/applet.c b/accessx-status/applet.c
index e131e1bb..6a1add9d 100644
--- a/accessx-status/applet.c
+++ b/accessx-status/applet.c
@@ -87,15 +87,12 @@ static void about_cb(GtkAction* action, AccessxStatusApplet* sapplet)
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xc2\xa9 2003 Sun Microsystems";
-
gtk_show_about_dialog(NULL,
"title", _("About AccessX Status"),
"version", VERSION,
"comments", _("Shows the state of AccessX features such as latched modifiers"),
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2003 Sun Microsystems\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"authors", authors,
"documenters", documenters,
"translator-credits", _("translator-credits"),
diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c
index bbb74ef5..57e426f3 100644
--- a/battstat/battstat_applet.c
+++ b/battstat/battstat_applet.c
@@ -812,11 +812,6 @@ about_cb( GtkAction *action, ProgressData *battstat )
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xc2\xa9 2002-2005 Free Software Foundation and others\n"
- "Copyright \xc2\xa9 2000 The Gnulix Society";
-
const gchar *documenters[] = {
"J\xC3\xB6rgen Pehrson <[email protected]>",
"Trevor Curtis <[email protected]>",
@@ -833,7 +828,9 @@ about_cb( GtkAction *action, ProgressData *battstat )
gtk_show_about_dialog( NULL,
"title", _("About Battery Charge Monitor"),
"version", VERSION,
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2000 The Gnulix Society\n"
+ "Copyright \xc2\xa9 2002-2005 Free Software Foundation and others\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"comments", comments,
"authors", authors,
"documenters", documenters,
diff --git a/charpick/charpick.c b/charpick/charpick.c
index 6983bccf..e4b45789 100644
--- a/charpick/charpick.c
+++ b/charpick/charpick.c
@@ -566,10 +566,6 @@ about (GtkAction *action,
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xc2\xa9 1998, 2004-2005 GNOME Applets Maintainers and others";
-
static const gchar * const documenters[] = {
"Dan Mueth <[email protected]>",
"Sun GNOME Documentation Team <[email protected]>",
@@ -579,7 +575,8 @@ about (GtkAction *action,
gtk_show_about_dialog (NULL,
"title", _("About Character Palette"),
"version", VERSION,
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 1998, 2004-2005 GNOME Applets Maintainers and others\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"comments", _("Mate Panel applet for selecting strange "
"characters that are not on my keyboard. "
"Released under GNU General Public Licence."),
diff --git a/command/command.c b/command/command.c
index 7e147f69..67bc5de6 100644
--- a/command/command.c
+++ b/command/command.c
@@ -104,14 +104,11 @@ command_about_callback (GtkAction *action, CommandApplet *command_applet)
{
const char* authors[] = { "Stefano Karapetsas <[email protected]>", NULL };
- char copyright[] = \
- "Copyright \xc2\xa9 2015-2018 MATE developers\n"
- "Copyright \xc2\xa9 2013-2014 Stefano Karapetsas";
-
gtk_show_about_dialog(NULL,
"title", _("About Command Applet"),
"version", VERSION,
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2013-2014 Stefano Karapetsas\n"
+ "Copyright \xc2\xa9 2015-2019 MATE developers"),
"authors", authors,
"comments", _("Shows the output of a command"),
"translator-credits", _("translator-credits"),
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c
index d9461a5b..323b21db 100644
--- a/cpufreq/src/cpufreq-applet.c
+++ b/cpufreq/src/cpufreq-applet.c
@@ -459,10 +459,6 @@ static void
cpufreq_applet_about_cb (GtkAction *action,
CPUFreqApplet *applet)
{
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xC2\xA9 2004 Carlos Garcia Campos";
-
static const gchar *const authors[] = {
"Carlos Garcia Campos <[email protected]>",
NULL
@@ -480,7 +476,8 @@ cpufreq_applet_about_cb (GtkAction *action,
gtk_show_about_dialog (NULL,
"title", _("About CPU Frequency Scaling Monitor"),
"version", VERSION,
- "copyright", copyright,
+ "copyright", _("Copyright \xC2\xA9 2004 Carlos Garcia Campos\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"comments", _("This utility shows the current CPU "
"Frequency Scaling."),
"authors", authors,
diff --git a/drivemount/drivemount.c b/drivemount/drivemount.c
index cf951a42..3e8a8650 100644
--- a/drivemount/drivemount.c
+++ b/drivemount/drivemount.c
@@ -102,9 +102,6 @@ display_about_dialog (GtkAction *action,
"James Henstridge <[email protected]>",
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xC2\xA9 2004 Canonical Ltd";
const gchar *documenters[] = {
"Dan Mueth <[email protected]>",
@@ -115,7 +112,8 @@ display_about_dialog (GtkAction *action,
gtk_show_about_dialog (NULL,
"title", _("About Disk Mounter"),
"version", VERSION,
- "copyright", copyright,
+ "copyright", _("Copyright \xC2\xA9 2004 Canonical Ltd\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"comments", _("Applet for mounting and unmounting block volumes."),
"authors", authors,
"documenters", documenters,
diff --git a/geyes/geyes.c b/geyes/geyes.c
index 98f196d6..d04cff27 100644
--- a/geyes/geyes.c
+++ b/geyes/geyes.c
@@ -160,10 +160,6 @@ about_cb (GtkAction *action,
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xC2\xA9 1999 Dave Camp";
-
const gchar *documenters[] = {
"Arjan Scherpenisse <[email protected]>",
"Telsa Gwynne <[email protected]>",
@@ -176,7 +172,8 @@ about_cb (GtkAction *action,
"version", VERSION,
"comments", _("A goofy set of eyes for the MATE "
"panel. They follow your mouse."),
- "copyright", copyright,
+ "copyright", _("Copyright \xC2\xA9 1999 Dave Camp\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"authors", authors,
"documenters", documenters,
"translator-credits", _("translator-credits"),
diff --git a/mateweather/mateweather-about.c b/mateweather/mateweather-about.c
index eed30198..a1a3d00d 100644
--- a/mateweather/mateweather-about.c
+++ b/mateweather/mateweather-about.c
@@ -35,10 +35,6 @@ void mateweather_about_run(MateWeatherApplet* gw_applet)
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xC2\xA9 1999-2005 by S. Papadimitriou and others";
-
const gchar* documenters[] = {
"Dan Mueth <[email protected]>",
"Spiros Papadimitriou <[email protected]>",
@@ -50,7 +46,8 @@ void mateweather_about_run(MateWeatherApplet* gw_applet)
gtk_show_about_dialog(NULL,
"title", _("About Weather Report"),
"version", VERSION,
- "copyright", copyright,
+ "copyright", _("Copyright \xC2\xA9 1999-2005 by S. Papadimitriou and others\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"comments", _("A panel application for monitoring local weather conditions."),
"authors", authors,
"documenters", documenters,
diff --git a/multiload/main.c b/multiload/main.c
index 81efb5af..7c1aa306 100644
--- a/multiload/main.c
+++ b/multiload/main.c
@@ -42,10 +42,6 @@ about_cb (GtkAction *action,
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xc2\xa9 1999-2005 Free Software Foundation and others";
-
const gchar * const documenters[] =
{
"Chee Bin HOH <[email protected]>",
@@ -56,7 +52,8 @@ about_cb (GtkAction *action,
gtk_show_about_dialog (NULL,
"title", _("About System Monitor"),
"version", VERSION,
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 1999-2005 Free Software Foundation and others\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"comments", _("A system load monitor capable of displaying graphs "
"for CPU, ram, and swap space use, plus network "
"traffic."),
diff --git a/netspeed/src/netspeed.c b/netspeed/src/netspeed.c
index 3a673823..45e42eb4 100644
--- a/netspeed/src/netspeed.c
+++ b/netspeed/src/netspeed.c
@@ -824,15 +824,12 @@ about_cb(GtkAction *action, gpointer data)
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2015-2018 MATE developers\n"
- "Copyright \xc2\xa9 2011-2014 Stefano Karapetsas\n"
- "Copyright \xc2\xa9 2002-2003 Jörgen Scheibengruber";
-
gtk_show_about_dialog (NULL,
"title", _("About MATE Netspeed"),
"version", VERSION,
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2002-2003 Jörgen Scheibengruber\n"
+ "Copyright \xc2\xa9 2011-2014 Stefano Karapetsas\n"
+ "Copyright \xc2\xa9 2015-2019 MATE developers"),
"comments", _("A little applet that displays some information on the traffic on the specified network device"),
"authors", authors,
"documenters", NULL,
diff --git a/stickynotes/stickynotes_applet_callbacks.c b/stickynotes/stickynotes_applet_callbacks.c
index 8e971d7c..d0c508a8 100644
--- a/stickynotes/stickynotes_applet_callbacks.c
+++ b/stickynotes/stickynotes_applet_callbacks.c
@@ -362,11 +362,6 @@ menu_about_cb (GtkAction *action,
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xc2\xa9 2005 Davyd Madeley\n"
- "Copyright \xc2\xa9 2002-2003 Loban A Rahman";
-
static const gchar *documenters[] = {
"Loban A Rahman <[email protected]>",
"Sun GNOME Documentation Team <[email protected]>",
@@ -376,7 +371,9 @@ menu_about_cb (GtkAction *action,
gtk_show_about_dialog (NULL,
"title", _("About Sticky Notes"),
"version", VERSION,
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2002-2003 Loban A Rahman\n"
+ "Copyright \xc2\xa9 2005 Davyd Madeley\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"comments", _("Sticky Notes for the "
"MATE Desktop Environment"),
"authors", authors,
diff --git a/timerapplet/timerapplet.c b/timerapplet/timerapplet.c
index 4de54431..47de009c 100644
--- a/timerapplet/timerapplet.c
+++ b/timerapplet/timerapplet.c
@@ -268,14 +268,11 @@ timer_about_callback (GtkAction *action, TimerApplet *applet)
{
const char* authors[] = { "Stefano Karapetsas <[email protected]>", NULL };
- char copyright[] = \
- "Copyright \xc2\xa9 2015-2018 MATE developers\n"
- "Copyright \xc2\xa9 2014 Stefano Karapetsas";
-
gtk_show_about_dialog(NULL,
"title", _("About Timer Applet"),
"version", VERSION,
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2014 Stefano Karapetsas\n"
+ "Copyright \xc2\xa9 2015-2019 MATE developers"),
"authors", authors,
"comments", _("Start a timer and receive a notification when it is finished"),
"translator-credits", _("translator-credits"),
diff --git a/trashapplet/src/trashapplet.c b/trashapplet/src/trashapplet.c
index d9228d14..bf2e0318 100644
--- a/trashapplet/src/trashapplet.c
+++ b/trashapplet/src/trashapplet.c
@@ -416,11 +416,6 @@ trash_applet_show_about (GtkAction *action,
NULL
};
- char copyright[] = \
- "Copyright \xc2\xa9 2012-2018 MATE developers\n"
- "Copyright \xc2\xa9 2008 Ryan Lortie\n"
- "Copyright \xc2\xa9 2004 Michiel Sikkes";
-
static const char *documenters[] = {
"Michiel Sikkes <[email protected]>",
NULL
@@ -429,7 +424,9 @@ trash_applet_show_about (GtkAction *action,
gtk_show_about_dialog (NULL,
"title", _("About Trash Applet"),
"version", VERSION,
- "copyright", copyright,
+ "copyright", _("Copyright \xc2\xa9 2004 Michiel Sikkes\n"
+ "Copyright \xc2\xa9 2008 Ryan Lortie\n"
+ "Copyright \xc2\xa9 2012-2019 MATE developers"),
"comments", _("A MATE trash bin that lives in your panel. "
"You can use it to view the trash or drag "
"and drop items into the trash."),