gtr-actions-app.c 3.61 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
/*
 * (C) 2000-2007 	Fatih Demir <kabalak@kabalak.net>
 *			Gediminas Paulauskas <menesis@kabalak.net>
 *			Roy-Magne Mo <rmo@sunnmore.net>
 *			Ignacio Casal Quinteiro <nacho.resa@gmail.com>
 * 
 *     This program 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.
 * 
 *     This program is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 16 17 18 19 20 21 22 23 24 25
 *     GNU General Public License for more details.
 * 
 *     You should have received a copy of the GNU General Public License
 *     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Ignacio Casal Quinteiro's avatar
Ignacio Casal Quinteiro committed
26
#include "gtr-actions-app.h"
27
#include "gtr-dirs.h"
28
#include "gtr-utils.h"
29
#include "gtr-window.h"
30 31 32 33

#include <glib.h>
#include <glib/gi18n.h>

34
#include <gtk/gtk.h>
35

36
/* Show the user's guide for gtranslator */
37
void
Ignacio Casal Quinteiro's avatar
Ignacio Casal Quinteiro committed
38
gtr_show_help (GtrWindow *window)
39
{
40
  gtr_utils_help_display (GTK_WINDOW (window), "gtranslator", "gtranslator.xml");
41
}
42

43
/* Creates and shows the about box for gtranslator */
44
void
Ignacio Casal Quinteiro's avatar
Ignacio Casal Quinteiro committed
45
gtr_about_dialog (GtrWindow *window)
46
{
47
  static const gchar *authors[] = {
48
    N_("Current Maintainers"),
49
    "------------------------",
50
    "Daniel Garcia Moreno <danigm@gnome.org>",
51
    "",
52
    N_("Previous Developers"),
53
    "------------------------",
54
    "Seán de Búrca <leftmostcat@gmail.com>",
55
    "Ignacio Casal Quinteiro <icq@gnome.org>",
56
    "Pablo Sanxiao <psanxiao@gnome.org>",
57
    "Fatih Demir <kabalak@kabalak.net> (Founder)",
58 59 60 61
    "Ross Golder <ross@golder.org>",
    "Gediminas Paulauskas <menesis@delfi.lt>",
    "Thomas Ziehmer <thomas@kabalak.net>",
    "Peeter Vois <peeter@kabalak.net>",
62 63
    "",
    N_("Contributors"),
64
    "------------------------",
65
    "Juan José Sánchez Penas <jjsanchez@igalia.com>",
66 67 68 69 70 71 72
    "Christian Kirbach <christian.kirbach@googlemail.com>",
    "Luca Ferreti <elle.uca@libero.it>",
    "Jordi Mallach <jordi@sindominio.net>",
    "Jonh Wendell <jwendell@gnome.org>",
    "Baris Cicek <baris@teamforce.name.tr>",
    "Francisco Puga <fran.puga@gmail.com>",
    "Yuri Penkin",
73 74
    NULL
  };
75
  static const gchar *documenters[] = {
76
    "GNOME Documentation Project",
77 78
    "Abel Cheung <deaddog@deaddog.org>",
    "Emese Kovacs <emese@gnome.hu>",
79
    "Pablo Sanxiao <psanxiao@gnome.org>",
80 81 82
    NULL
  };

83 84
  static const gchar copyright[] =
    "Copyright © 1999-2008 Free Software Foundation, Inc.\n"
85
    "Copyright © 2007-2012 Ignacio Casal Quinteiro";
86 87 88 89

  static const gchar comments[] =
    N_("Translation file editing suite for localization of applications and libraries.");

90
  gtk_show_about_dialog (GTK_WINDOW (window),
91
                         "comments", _(comments),
92
                         "authors", authors,
93
                         "copyright", copyright,
94 95
                         "license-type", GTK_LICENSE_GPL_3_0,
                         "documenters", documenters,
96
                         "logo-icon-name", PACKAGE_APPID,
97 98 99 100 101 102 103
                         /*
                          * Note to translators: put here your name and email so it will show
                          * up in the "about" box
                          */
                         "translator-credits", _("translator-credits"),
                         "version", PACKAGE_VERSION,
                         "website", PACKAGE_URL,
104 105
                         "website-label", _("Gtranslator Web Site"),
                         NULL);
106 107

}