summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-13 18:29:10 +0100
committerraveit65 <[email protected]>2019-03-20 15:38:56 +0100
commita40fd10e985f525f9e26ef816c2f71a2c22dc725 (patch)
tree9f651b18108bad315da2221362a09a1bb26681f3
parent5059df0f47487b7aed5be05640bdec87a4573813 (diff)
downloadmate-applets-a40fd10e985f525f9e26ef816c2f71a2c22dc725.tar.bz2
mate-applets-a40fd10e985f525f9e26ef816c2f71a2c22dc725.tar.xz
Make translatable documenters in about dialog
-rw-r--r--accessx-status/applet.c9
-rw-r--r--battstat/battstat_applet.c7
-rw-r--r--charpick/charpick.c9
-rw-r--r--cpufreq/src/cpufreq-applet.c7
-rw-r--r--drivemount/drivemount.c7
-rw-r--r--geyes/geyes.c9
-rw-r--r--mateweather/mateweather-about.c9
-rw-r--r--multiload/main.c9
-rw-r--r--stickynotes/stickynotes_applet_callbacks.c9
-rw-r--r--trashapplet/src/trashapplet.c7
10 files changed, 76 insertions, 6 deletions
diff --git a/accessx-status/applet.c b/accessx-status/applet.c
index 6a1add9d..697f5e36 100644
--- a/accessx-status/applet.c
+++ b/accessx-status/applet.c
@@ -83,10 +83,17 @@ static void about_cb(GtkAction* action, AccessxStatusApplet* sapplet)
const gchar* documenters[] = {
"Bill Haneman <[email protected]>",
- "Sun GNOME Documentation Team <[email protected]>",
+ N_("Sun GNOME Documentation Team <[email protected]>"),
+ N_("MATE Documentation Team"),
NULL
};
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog(NULL,
"title", _("About AccessX Status"),
"version", VERSION,
diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c
index 57e426f3..bb52c7fd 100644
--- a/battstat/battstat_applet.c
+++ b/battstat/battstat_applet.c
@@ -816,6 +816,7 @@ about_cb( GtkAction *action, ProgressData *battstat )
"J\xC3\xB6rgen Pehrson <[email protected]>",
"Trevor Curtis <[email protected]>",
"Davyd Madeley <[email protected]>",
+ N_("MATE Documentation Team"),
NULL
};
@@ -825,6 +826,12 @@ about_cb( GtkAction *action, ProgressData *battstat )
/* true */ _("upower backend enabled.") :
/* false */ _("Legacy backend enabled."));
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog( NULL,
"title", _("About Battery Charge Monitor"),
"version", VERSION,
diff --git a/charpick/charpick.c b/charpick/charpick.c
index e4b45789..6e4842cd 100644
--- a/charpick/charpick.c
+++ b/charpick/charpick.c
@@ -568,10 +568,17 @@ about (GtkAction *action,
static const gchar * const documenters[] = {
"Dan Mueth <[email protected]>",
- "Sun GNOME Documentation Team <[email protected]>",
+ N_("Sun GNOME Documentation Team <[email protected]>"),
+ N_("MATE Documentation Team"),
NULL
};
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog (NULL,
"title", _("About Character Palette"),
"version", VERSION,
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c
index 323b21db..1d110556 100644
--- a/cpufreq/src/cpufreq-applet.c
+++ b/cpufreq/src/cpufreq-applet.c
@@ -466,6 +466,7 @@ cpufreq_applet_about_cb (GtkAction *action,
static const gchar *const documenters[] = {
"Carlos Garcia Campos <[email protected]>",
"Davyd Madeley <[email protected]>",
+ N_("MATE Documentation Team"),
NULL
};
static const gchar *const artists[] = {
@@ -473,6 +474,12 @@ cpufreq_applet_about_cb (GtkAction *action,
NULL
};
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog (NULL,
"title", _("About CPU Frequency Scaling Monitor"),
"version", VERSION,
diff --git a/drivemount/drivemount.c b/drivemount/drivemount.c
index 3e8a8650..b67a95cb 100644
--- a/drivemount/drivemount.c
+++ b/drivemount/drivemount.c
@@ -106,9 +106,16 @@ display_about_dialog (GtkAction *action,
const gchar *documenters[] = {
"Dan Mueth <[email protected]>",
"John Fleck <[email protected]>",
+ N_("MATE Documentation Team"),
NULL
};
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog (NULL,
"title", _("About Disk Mounter"),
"version", VERSION,
diff --git a/geyes/geyes.c b/geyes/geyes.c
index d04cff27..a1fcc530 100644
--- a/geyes/geyes.c
+++ b/geyes/geyes.c
@@ -163,10 +163,17 @@ about_cb (GtkAction *action,
const gchar *documenters[] = {
"Arjan Scherpenisse <[email protected]>",
"Telsa Gwynne <[email protected]>",
- "Sun GNOME Documentation Team <[email protected]>",
+ N_("Sun GNOME Documentation Team <[email protected]>"),
+ N_("MATE Documentation Team"),
NULL
};
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog (NULL,
"title", _("About Eyes"),
"version", VERSION,
diff --git a/mateweather/mateweather-about.c b/mateweather/mateweather-about.c
index a1a3d00d..aa4166b0 100644
--- a/mateweather/mateweather-about.c
+++ b/mateweather/mateweather-about.c
@@ -38,11 +38,18 @@ void mateweather_about_run(MateWeatherApplet* gw_applet)
const gchar* documenters[] = {
"Dan Mueth <[email protected]>",
"Spiros Papadimitriou <[email protected]>",
- "Sun GNOME Documentation Team <[email protected]>",
+ N_("Sun GNOME Documentation Team <[email protected]>"),
"Davyd Madeley <[email protected]>",
+ N_("MATE Documentation Team"),
NULL
};
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog(NULL,
"title", _("About Weather Report"),
"version", VERSION,
diff --git a/multiload/main.c b/multiload/main.c
index 7c1aa306..3ad37fdd 100644
--- a/multiload/main.c
+++ b/multiload/main.c
@@ -45,10 +45,17 @@ about_cb (GtkAction *action,
const gchar * const documenters[] =
{
"Chee Bin HOH <[email protected]>",
- "Sun GNOME Documentation Team <[email protected]>",
+ N_("Sun GNOME Documentation Team <[email protected]>"),
+ N_("MATE Documentation Team"),
NULL
};
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog (NULL,
"title", _("About System Monitor"),
"version", VERSION,
diff --git a/stickynotes/stickynotes_applet_callbacks.c b/stickynotes/stickynotes_applet_callbacks.c
index d0c508a8..d2ca70f4 100644
--- a/stickynotes/stickynotes_applet_callbacks.c
+++ b/stickynotes/stickynotes_applet_callbacks.c
@@ -364,10 +364,17 @@ menu_about_cb (GtkAction *action,
static const gchar *documenters[] = {
"Loban A Rahman <[email protected]>",
- "Sun GNOME Documentation Team <[email protected]>",
+ N_("Sun GNOME Documentation Team <[email protected]>"),
+ N_("MATE Documentation Team"),
NULL
};
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog (NULL,
"title", _("About Sticky Notes"),
"version", VERSION,
diff --git a/trashapplet/src/trashapplet.c b/trashapplet/src/trashapplet.c
index bf2e0318..4d99f576 100644
--- a/trashapplet/src/trashapplet.c
+++ b/trashapplet/src/trashapplet.c
@@ -418,9 +418,16 @@ trash_applet_show_about (GtkAction *action,
static const char *documenters[] = {
"Michiel Sikkes <[email protected]>",
+ N_("MATE Documentation Team"),
NULL
};
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog (NULL,
"title", _("About Trash Applet"),
"version", VERSION,