summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-02-17 12:04:21 +0100
committerraveit65 <[email protected]>2019-02-17 16:12:48 +0100
commit1d86958206e7bd37e03e42c3ce40fa61c010bc76 (patch)
tree5f9d1df061142ad9621da29458890412cffe19cb
parent861db5e99156f5e5dd69e50fbacaf7c8b4d5c5bf (diff)
downloadpluma-1d86958206e7bd37e03e42c3ce40fa61c010bc76.tar.bz2
pluma-1d86958206e7bd37e03e42c3ce40fa61c010bc76.tar.xz
Make translatable the documenters in the about dialog
-rw-r--r--pluma.pot20
-rw-r--r--pluma/pluma-commands-help.c12
2 files changed, 24 insertions, 8 deletions
diff --git a/pluma.pot b/pluma.pot
index 4203f2f1..8fdff2a8 100644
--- a/pluma.pot
+++ b/pluma.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: MATE Desktop Environment\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2019-02-16 22:22+0100\n"
+"POT-Creation-Date: 2019-02-17 11:58+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -1100,6 +1100,18 @@ msgstr[1] ""
msgid "_Revert"
msgstr ""
+#: ../pluma/pluma-commands-help.c:69
+msgid "MATE Documentation Team"
+msgstr ""
+
+#: ../pluma/pluma-commands-help.c:70
+msgid "GNOME Documentation Team"
+msgstr ""
+
+#: ../pluma/pluma-commands-help.c:71
+msgid "Sun Microsystems"
+msgstr ""
+
#: ../pluma/pluma-commands-help.c:76
msgid "Pluma is a small and lightweight text editor for the MATE Desktop"
msgstr ""
@@ -1127,11 +1139,11 @@ msgid ""
"Street, Fifth Floor, Boston, MA 02110-1301 USA"
msgstr ""
-#: ../pluma/pluma-commands-help.c:100
+#: ../pluma/pluma-commands-help.c:104
msgid "About Pluma"
msgstr ""
-#: ../pluma/pluma-commands-help.c:103
+#: ../pluma/pluma-commands-help.c:107
msgid ""
"Copyright © 1998-2000 Evan Lawrence, Alex Robert\n"
"Copyright © 2000-2002 Chema Celorio, Paolo Maggi\n"
@@ -1142,7 +1154,7 @@ msgid ""
"Copyright © 2012-2019 MATE developers"
msgstr ""
-#: ../pluma/pluma-commands-help.c:113
+#: ../pluma/pluma-commands-help.c:117
msgid "translator-credits"
msgstr ""
diff --git a/pluma/pluma-commands-help.c b/pluma/pluma-commands-help.c
index 583b1368..a04a5daa 100644
--- a/pluma/pluma-commands-help.c
+++ b/pluma/pluma-commands-help.c
@@ -65,10 +65,10 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window)
NULL
};
- static const gchar* const documenters[] = {
- "MATE Documentation Team",
- "GNOME Documentation Team",
- "Sun Microsystems",
+ static const gchar* documenters[] = {
+ N_("MATE Documentation Team"),
+ N_("GNOME Documentation Team"),
+ N_("Sun Microsystems"),
NULL
};
@@ -90,11 +90,15 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window)
};
gchar *license_trans;
+ static const gchar **p;
pluma_debug (DEBUG_COMMANDS);
license_trans = g_strjoin ("\n\n", _(license[0]), _(license[1]), _(license[2]), NULL);
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+
gtk_show_about_dialog(GTK_WINDOW(window),
"program-name", "Pluma",
"title", _("About Pluma"),