1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 2006-2007 Imendio AB
4 * Copyright (C) 2007-2008 Collabora Ltd.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301 USA
21 * Authors: Martyn Russell <martyn@imendio.com>
22 * Xavier Claessens <xclaesse@gmail.com>
26 #include "empathy-about-dialog.h"
28 #include <glib/gi18n.h>
30 #define WEB_SITE "http://live.gnome.org/Empathy"
32 static const char *authors[] = {
43 "Geert-Jan Van den Bogaerde",
44 "Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>",
51 "Martyn Russell <martyn@gnome.org>",
52 "Mikael Hallendal <micke@imendio.com>",
54 "Richard Hult <richard@imendio.com>",
59 "Xavier Claessens <xclaesse@gmail.com>",
63 static const char *documenters[] = {
69 static const char *artists[] = {
70 "Andreas Nilsson <nisses.mail@home.se>",
71 "Vinicius Depizzol <vdepizzol@gmail.com>",
72 "K.Vishnoo Charan Reddy <drkvi-a@yahoo.com>",
76 static const char *license[] = {
77 N_("Empathy is free software; you can redistribute it and/or modify "
78 "it under the terms of the GNU General Public License as published by "
79 "the Free Software Foundation; either version 2 of the License, or "
80 "(at your option) any later version."),
81 N_("Empathy is distributed in the hope that it will be useful, "
82 "but WITHOUT ANY WARRANTY; without even the implied warranty of "
83 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
84 "GNU General Public License for more details."),
85 N_("You should have received a copy of the GNU General Public License "
86 "along with Empathy; if not, write to the Free Software Foundation, Inc., "
87 "51 Franklin Street, Fifth Floor, Boston, MA 02110-130159 USA"),
92 empathy_about_dialog_new (GtkWindow *parent)
94 GString *license_trans = g_string_new (NULL);
97 for (i = 0; license[i] != NULL; i++) {
98 g_string_append (license_trans, _(license[i]));
99 g_string_append (license_trans, "\n\n");
102 gtk_show_about_dialog (parent,
105 "comments", _("An Instant Messaging client for GNOME"),
106 "license", license_trans->str,
107 "wrap-license", TRUE,
108 "copyright", "Imendio AB 2002-2007\nCollabora Ltd 2007-2011",
109 "documenters", documenters,
110 "logo-icon-name", "empathy",
111 "translator-credits", _("translator-credits"),
112 "version", PACKAGE_VERSION,
116 g_string_free (license_trans, TRUE);