[gnome-video-arcade] Make license text translatable.
- From: Jordi Mallach <jordim src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-video-arcade] Make license text translatable.
- Date: Fri, 6 Jan 2012 17:04:32 +0000 (UTC)
commit f239dee93b09831aa5ad607366533c0b24e95752
Author: Jordi Mallach <jordi sindominio net>
Date: Fri Jan 6 17:56:50 2012 +0100
Make license text translatable.
Make the license text block in the About dialog translatable, as it
is in many other GNOME applications.
Fixes bug #667318.
src/gva-ui.c | 27 ++++++++++++++-------------
1 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/src/gva-ui.c b/src/gva-ui.c
index bf18336..9dd9092 100644
--- a/src/gva-ui.c
+++ b/src/gva-ui.c
@@ -56,18 +56,19 @@ static const gchar *authors[] =
static const gchar *copyright =
"Copyright \xC2\xA9 2007-2011 Matthew Barnes";
static const gchar *license =
-"GNOME Video Arcade is free software; you can redistribute it "
-"and/or modify it under the terms of the GNU General Public License "
-"as published by the Free Software Foundation; either version 3 of "
-"the License, or (at your option) any later version.\n"
-"\n"
-"GNOME Video Arcade is distributed in the hope that it will be "
-"useful, but WITHOUT ANY WARRANTY; without even the implied warranty "
-"of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
-"GNU General Public License for more details.\n"
-"\n"
-"You should have received a copy of the GNU General Public License "
-"along with this program. If not, see <http://www.gnu.org/licenses/>.";
+N_("GNOME Video Arcade is free software; you can redistribute it "
+ "and/or modify it under the terms of the GNU General Public License "
+ "as published by the Free Software Foundation; either version 3 of "
+ "the License, or (at your option) any later version.\n"
+ "\n"
+ "GNOME Video Arcade is distributed in the hope that it will be "
+ "useful, but WITHOUT ANY WARRANTY; without even the implied warranty "
+ "of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
+ "GNU General Public License for more details.\n"
+ "\n"
+ "You should have received a copy of the GNU General Public License "
+ "along with GNOME Video Arcade. If not, see "
+ "<http://www.gnu.org/licenses/>.");
/**
* GVA_ACTION_ABOUT:
@@ -317,7 +318,7 @@ gva_action_about_cb (GtkAction *action)
"version", PACKAGE_VERSION,
"comments", _("M.A.M.E. Front-End"),
"copyright", copyright,
- "license", license,
+ "license", _(license),
"wrap-license", TRUE,
"website", WEBSITE_URL,
"website-label", _("Visit the Website"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]