diff options
author | rbuj <[email protected]> | 2019-03-13 18:29:10 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-20 15:56:00 +0100 |
commit | fa5d9ce97cfabfd94a08db60bef31ac1ca41a9f7 (patch) | |
tree | 568de6b6214c5fb9a6ed1f79a0077192da68a55f | |
parent | e2b5737f3401f29a77c2d4aa00950e081e4ce64b (diff) | |
download | mate-applets-fa5d9ce97cfabfd94a08db60bef31ac1ca41a9f7.tar.bz2 mate-applets-fa5d9ce97cfabfd94a08db60bef31ac1ca41a9f7.tar.xz |
Make translatable documenters in about dialog
-rw-r--r-- | accessx-status/applet.c | 9 | ||||
-rw-r--r-- | battstat/battstat_applet.c | 7 | ||||
-rw-r--r-- | charpick/charpick.c | 9 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-applet.c | 7 | ||||
-rw-r--r-- | drivemount/drivemount.c | 7 | ||||
-rw-r--r-- | geyes/geyes.c | 9 | ||||
-rw-r--r-- | mateweather/mateweather-about.c | 9 | ||||
-rw-r--r-- | multiload/main.c | 9 | ||||
-rw-r--r-- | stickynotes/stickynotes_applet_callbacks.c | 9 | ||||
-rw-r--r-- | trashapplet/src/trashapplet.c | 7 |
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, |