summaryrefslogtreecommitdiff
path: root/mate-dictionary
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-20 19:05:32 +0100
committerraveit65 <[email protected]>2019-03-24 11:18:31 +0100
commit4f39e17da99d58875069701f6bca27638b31fb27 (patch)
treea2017d08010638bfd02f05fd68b112f18c637288 /mate-dictionary
parentad3ae7d752f1f7ff9baa3cae76be822efb06c640 (diff)
downloadmate-utils-4f39e17da99d58875069701f6bca27638b31fb27.tar.bz2
mate-utils-4f39e17da99d58875069701f6bca27638b31fb27.tar.xz
Update documenters in about dialog
Diffstat (limited to 'mate-dictionary')
-rw-r--r--mate-dictionary/src/gdict-about.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/mate-dictionary/src/gdict-about.c b/mate-dictionary/src/gdict-about.c
index ac8bd073..69620891 100644
--- a/mate-dictionary/src/gdict-about.c
+++ b/mate-dictionary/src/gdict-about.c
@@ -46,9 +46,10 @@ gdict_show_about_dialog (GtkWidget *parent)
};
const gchar *documenters[] = {
- "Sun GNOME Documentation Team <[email protected]>",
+ N_("Sun GNOME Documentation Team <[email protected]>"),
"John Fleck <[email protected]>",
"Emmanuele Bassi <[email protected]>",
+ N_("MATE Documentation Team"),
NULL
};
@@ -69,13 +70,19 @@ gdict_show_about_dialog (GtkWidget *parent)
N_("You should have received a copy of the GNU General Public License "
"along with this program; if not, write to the Free Software "
"Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA "
- "02110-1301, USA")
+ "02110-1301, USA.")
};
g_return_if_fail (GTK_IS_WIDGET (parent));
char *license_trans = g_strjoin ("\n\n", _(license[0]), _(license[1]), _(license[2]), NULL);
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog (GTK_IS_WINDOW (parent) ? GTK_WINDOW (parent) : NULL,
"program-name", _("Dictionary"),
"version", VERSION,