Skip to content

Commit 1d86958

Browse files
rbujraveit65
authored andcommitted
Make translatable the documenters in the about dialog
1 parent 861db5e commit 1d86958

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed

pluma.pot

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: MATE Desktop Environment\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-02-16 22:22+0100\n"
11+
"POT-Creation-Date: 2019-02-17 11:58+0100\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1100,6 +1100,18 @@ msgstr[1] ""
11001100
msgid "_Revert"
11011101
msgstr ""
11021102

1103+
#: ../pluma/pluma-commands-help.c:69
1104+
msgid "MATE Documentation Team"
1105+
msgstr ""
1106+
1107+
#: ../pluma/pluma-commands-help.c:70
1108+
msgid "GNOME Documentation Team"
1109+
msgstr ""
1110+
1111+
#: ../pluma/pluma-commands-help.c:71
1112+
msgid "Sun Microsystems"
1113+
msgstr ""
1114+
11031115
#: ../pluma/pluma-commands-help.c:76
11041116
msgid "Pluma is a small and lightweight text editor for the MATE Desktop"
11051117
msgstr ""
@@ -1127,11 +1139,11 @@ msgid ""
11271139
"Street, Fifth Floor, Boston, MA 02110-1301 USA"
11281140
msgstr ""
11291141

1130-
#: ../pluma/pluma-commands-help.c:100
1142+
#: ../pluma/pluma-commands-help.c:104
11311143
msgid "About Pluma"
11321144
msgstr ""
11331145

1134-
#: ../pluma/pluma-commands-help.c:103
1146+
#: ../pluma/pluma-commands-help.c:107
11351147
msgid ""
11361148
"Copyright © 1998-2000 Evan Lawrence, Alex Robert\n"
11371149
"Copyright © 2000-2002 Chema Celorio, Paolo Maggi\n"
@@ -1142,7 +1154,7 @@ msgid ""
11421154
"Copyright © 2012-2019 MATE developers"
11431155
msgstr ""
11441156

1145-
#: ../pluma/pluma-commands-help.c:113
1157+
#: ../pluma/pluma-commands-help.c:117
11461158
msgid "translator-credits"
11471159
msgstr ""
11481160

pluma/pluma-commands-help.c

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window)
6565
NULL
6666
};
6767

68-
static const gchar* const documenters[] = {
69-
"MATE Documentation Team",
70-
"GNOME Documentation Team",
71-
"Sun Microsystems",
68+
static const gchar* documenters[] = {
69+
N_("MATE Documentation Team"),
70+
N_("GNOME Documentation Team"),
71+
N_("Sun Microsystems"),
7272
NULL
7373
};
7474

@@ -90,11 +90,15 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window)
9090
};
9191

9292
gchar *license_trans;
93+
static const gchar **p;
9394

9495
pluma_debug (DEBUG_COMMANDS);
9596

9697
license_trans = g_strjoin ("\n\n", _(license[0]), _(license[1]), _(license[2]), NULL);
9798

99+
for (p = documenters; *p; ++p)
100+
*p = _(*p);
101+
98102
gtk_show_about_dialog(GTK_WINDOW(window),
99103
"program-name", "Pluma",
100104
"title", _("About Pluma"),

0 commit comments

Comments
 (0)