summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-02-16 22:25:18 +0100
committerraveit65 <[email protected]>2019-02-17 10:45:27 +0100
commit861db5e99156f5e5dd69e50fbacaf7c8b4d5c5bf (patch)
treeedec12b9f7e616426bc6a2b74b3e2290c94eb9d1
parente4f88d7c74f29bbacba3cfc7ba0742a380be4329 (diff)
downloadpluma-861db5e99156f5e5dd69e50fbacaf7c8b4d5c5bf.tar.bz2
pluma-861db5e99156f5e5dd69e50fbacaf7c8b4d5c5bf.tar.xz
Ensure proper translation of the about dialog title
Note that GTK+ sets a default title of _("About %s") on the dialog window (where %s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a GtkAboutDialog https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html
-rw-r--r--pluma.pot10
-rw-r--r--pluma/pluma-commands-help.c1
2 files changed, 8 insertions, 3 deletions
diff --git a/pluma.pot b/pluma.pot
index da1dcb40..4203f2f1 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 11:41+0100\n"
+"POT-Creation-Date: 2019-02-16 22:22+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"
@@ -1127,7 +1127,11 @@ msgid ""
"Street, Fifth Floor, Boston, MA 02110-1301 USA"
msgstr ""
-#: ../pluma/pluma-commands-help.c:102
+#: ../pluma/pluma-commands-help.c:100
+msgid "About Pluma"
+msgstr ""
+
+#: ../pluma/pluma-commands-help.c:103
msgid ""
"Copyright © 1998-2000 Evan Lawrence, Alex Robert\n"
"Copyright © 2000-2002 Chema Celorio, Paolo Maggi\n"
@@ -1138,7 +1142,7 @@ msgid ""
"Copyright © 2012-2019 MATE developers"
msgstr ""
-#: ../pluma/pluma-commands-help.c:112
+#: ../pluma/pluma-commands-help.c:113
msgid "translator-credits"
msgstr ""
diff --git a/pluma/pluma-commands-help.c b/pluma/pluma-commands-help.c
index d9374d9e..583b1368 100644
--- a/pluma/pluma-commands-help.c
+++ b/pluma/pluma-commands-help.c
@@ -97,6 +97,7 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window)
gtk_show_about_dialog(GTK_WINDOW(window),
"program-name", "Pluma",
+ "title", _("About Pluma"),
"authors", authors,
"comments", _(comments),
"copyright", _("Copyright \xc2\xa9 1998-2000 Evan Lawrence, Alex Robert\n"