[gnome-packagekit] Wrap license in about dialogue
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Wrap license in about dialogue
- Date: Thu, 20 Aug 2009 16:33:41 +0000 (UTC)
commit 39ecfa172756a9e2b492c1cfddf2d96aa5ec34ff
Author: Christian Persch <chpe gnome org>
Date: Wed Aug 19 20:22:05 2009 +0200
Wrap license in about dialogue
Bug #592365.
src/gpk-application.c | 19 ++++++++++---------
src/gpk-check-update.c | 19 ++++++++++---------
src/gpk-watch.c | 19 ++++++++++---------
3 files changed, 30 insertions(+), 27 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index c929409..df32cc0 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -2512,17 +2512,17 @@ gpk_application_menu_about_cb (GtkAction *action, GpkApplication *application)
NULL};
const char *license[] = {
N_("Licensed under the GNU General Public License Version 2"),
- N_("PackageKit is free software; you can redistribute it and/or\n"
- "modify it under the terms of the GNU General Public License\n"
- "as published by the Free Software Foundation; either version 2\n"
+ N_("PackageKit 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 2 "
"of the License, or (at your option) any later version."),
- N_("PackageKit is distributed in the hope that it will be useful,\n"
- "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
+ N_("PackageKit 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_("You should have received a copy of the GNU General Public License\n"
- "along with this program; if not, write to the Free Software\n"
- "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n"
+ N_("You should have received a copy of the GNU General Public License "
+ "along with this program; if not, write to the Free Software "
+ "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA "
"02110-1301, USA.")
};
/* TRANSLATORS: put your own name here -- you deserve credit! */
@@ -2551,6 +2551,7 @@ gpk_application_menu_about_cb (GtkAction *action, GpkApplication *application)
"version", PACKAGE_VERSION,
"copyright", "Copyright \xc2\xa9 2007-2009 Richard Hughes",
"license", license_trans,
+ "wrap-license", TRUE,
"website-label", _("PackageKit Website"),
"website", "http://www.packagekit.org",
/* TRANSLATORS: description of application, gpk-application that is */
diff --git a/src/gpk-check-update.c b/src/gpk-check-update.c
index 891e498..ef81cbf 100644
--- a/src/gpk-check-update.c
+++ b/src/gpk-check-update.c
@@ -225,17 +225,17 @@ gpk_check_update_show_about_cb (GtkMenuItem *item, gpointer data)
NULL};
const char *license[] = {
N_("Licensed under the GNU General Public License Version 2"),
- N_("PackageKit is free software; you can redistribute it and/or\n"
- "modify it under the terms of the GNU General Public License\n"
- "as published by the Free Software Foundation; either version 2\n"
+ N_("PackageKit 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 2 "
"of the License, or (at your option) any later version."),
- N_("PackageKit is distributed in the hope that it will be useful,\n"
- "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
+ N_("PackageKit 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_("You should have received a copy of the GNU General Public License\n"
- "along with this program; if not, write to the Free Software\n"
- "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n"
+ N_("You should have received a copy of the GNU General Public License "
+ "along with this program; if not, write to the Free Software "
+ "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA "
"02110-1301, USA.")
};
const char *translators = _("translator-credits");
@@ -256,6 +256,7 @@ gpk_check_update_show_about_cb (GtkMenuItem *item, gpointer data)
"version", VERSION,
"copyright", "Copyright \xc2\xa9 2007-2009 Richard Hughes",
"license", license_trans,
+ "wrap-license", TRUE,
/* TRANSLATORS: website label */
"website-label", _("PackageKit Website"),
"website", "www.packagekit.org",
diff --git a/src/gpk-watch.c b/src/gpk-watch.c
index 8448549..a683742 100644
--- a/src/gpk-watch.c
+++ b/src/gpk-watch.c
@@ -765,17 +765,17 @@ gpk_watch_show_about_cb (GtkMenuItem *item, gpointer data)
NULL};
const char *license[] = {
N_("Licensed under the GNU General Public License Version 2"),
- N_("PackageKit is free software; you can redistribute it and/or\n"
- "modify it under the terms of the GNU General Public License\n"
- "as published by the Free Software Foundation; either version 2\n"
+ N_("PackageKit 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 2 "
"of the License, or (at your option) any later version."),
- N_("PackageKit is distributed in the hope that it will be useful,\n"
- "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
+ N_("PackageKit 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_("You should have received a copy of the GNU General Public License\n"
- "along with this program; if not, write to the Free Software\n"
- "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n"
+ N_("You should have received a copy of the GNU General Public License "
+ "along with this program; if not, write to the Free Software "
+ "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA "
"02110-1301, USA.")
};
const char *translators = _("translator-credits");
@@ -796,6 +796,7 @@ gpk_watch_show_about_cb (GtkMenuItem *item, gpointer data)
"version", VERSION,
"copyright", "Copyright \xc2\xa9 2007-2009 Richard Hughes",
"license", license_trans,
+ "wrap-license", TRUE,
"website-label", _("PackageKit Website"),
"website", "www.packagekit.org",
"comments", "PackageKit",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]