@@ -75,8 +75,26 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window)
7575 static const gchar comments [] = \
7676 N_ ("Pluma is a small and lightweight text editor for the MATE Desktop" );
7777
78+ static const gchar * license [] = {
79+ N_ ("Pluma is free software; you can redistribute it and/or modify "
80+ "it under the terms of the GNU General Public License as published by "
81+ "the Free Software Foundation; either version 2 of the License, or "
82+ "(at your option) any later version." ),
83+ N_ ("Pluma is distributed in the hope that it will be useful, "
84+ "but WITHOUT ANY WARRANTY; without even the implied warranty of "
85+ "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
86+ "GNU General Public License for more details." ),
87+ N_ ("You should have received a copy of the GNU General Public License "
88+ "along with Pluma; if not, write to the Free Software Foundation, Inc., "
89+ "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA" )
90+ };
91+
92+ gchar * license_trans ;
93+
7894 pluma_debug (DEBUG_COMMANDS );
7995
96+ license_trans = g_strjoin ("\n\n" , _ (license [0 ]), _ (license [1 ]), _ (license [2 ]), NULL );
97+
8098 gtk_show_about_dialog (GTK_WINDOW (window ),
8199 "program-name" , "Pluma" ,
82100 "authors" , authors ,
@@ -87,10 +105,14 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window)
87105 "Copyright \xc2\xa9 2004-2010 Paolo Borelli, Jesse van den Kieboom\nSteve Fr\303\251cinaux, Ignacio Casal Quinteiro\n"
88106 "Copyright \xc2\xa9 2011 Perberos\n"
89107 "Copyright \xc2\xa9 2012-2019 MATE developers" ),
108+ "license" , license_trans ,
109+ "wrap-license" , TRUE,
90110 "documenters" , documenters ,
91111 "logo_icon_name" , "accessories-text-editor" ,
92112 "translator-credits" , _ ("translator-credits" ),
93113 "version" , VERSION ,
94114 "website" , "http://mate-desktop.org" ,
95115 NULL );
116+
117+ g_free (license_trans );
96118}
0 commit comments