Package Gnumed :: Package timelinelib :: Package meta :: Module about |
[frames] | no frames]

# Source Code for Module Gnumed.timelinelib.meta.about

     1  # -*- coding: utf-8 -*-
     2  # Copyright (C) 2009, 2010, 2011  Rickard Lindberg, Roger Lindberg
     3  #
     4  # This file is part of Timeline.
     5  #
     6  # Timeline is free software: you can redistribute it and/or modify
     7  # it under the terms of the GNU General Public License as published by
     8  # the Free Software Foundation, either version 3 of the License, or
     9  # (at your option) any later version.
    10  #
    11  # Timeline 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
    14  # GNU General Public License for more details.
    15  #
    16  # You should have received a copy of the GNU General Public License
    17  # along with Timeline.  If not, see <http://www.gnu.org/licenses/>.
    18
    19
    20  import wx
    21
    22  from timelinelib.meta.version import get_version
    23
    24
    25  APPLICATION_NAME = "Timeline"
    26  COPYRIGHT_TEXT = "Copyright (C) 2009, 2010, 2011 The %s Authors" % APPLICATION_NAME
    27  APPLICATION_DESCRIPTION = "Timeline is a free, cross-platform application for displaying and navigating events on a timeline."
    28  WEBSITE = "http://thetimelineproj.sourceforge.net/"
    29  DEVELOPERS = [
    30      u"Developers:",
    31      u"    Rickard Lindberg",
    32      u"    Roger Lindberg",
    33      u"Contributors:",
    34      u"    Alan Jackson",
    35      u"    Glenn J. Mason",
    36      u"    Joe Gilmour",
    37      u"    Thomas Mohr",
    38  ]
    39  TRANSLATORS = [
    40      u"Brazilian Portuguese:",
    41      u"    Leo Frigo",
    42      u"    Marcelo Ribeiro de Almeida",
    43      u"    Waldir Leôncio",
    44      u"Catalan:",
    45      u"    BennyBeat",
    46      u"French:",
    47      u"    Francois Tissandier",
    48      u"German:",
    49      u"    MixCool",
    50      u"    Nils Steinger",
    51      u"Hebrew:",
    52      u"    Yaron Shahrabani",
    53      u"Polish:",
    54      u"    Andrzej Korcala 'Greybrow'",
    55      u"Portuguese:",
    56      u"    Leo Frigo",
    57      u"Russian:",
    58      u"    Andrew Yakush",
    59      u"    Sergey Sedov",
    60      u"Spanish:",
    61      u"    Leandro Pavón Serrano",
    62      u"    Leo Frigo",
    63      u"    Roman Gelbort",
    64      u"    Sebastián Ortega",
    65      u"Swedish:",
    66      u"    Rickard Lindberg",
    67      u"    Roger Lindberg",
    68  ]
    69  ARTISTS = ["Sara Lindberg",
    70             "Tango Desktop Project (Icons on Windows)"]
    71  LICENSE = """Timeline is free software: you can redistribute it and/or modify
    72  it under the terms of the GNU General Public License as published by
    73  the Free Software Foundation, either version 3 of the License, or
    74  (at your option) any later version.
    75
    76  Timeline is distributed in the hope that it will be useful,
    77  but WITHOUT ANY WARRANTY; without even the implied warranty of
    78  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    79  GNU General Public License for more details.
    80
    81  You should have received a copy of the GNU General Public License
    82  along with Timeline.  If not, see <http://www.gnu.org/licenses/>."""
    83
    84
    85 -def display_about_dialog():
    86      info = wx.AboutDialogInfo()
    87      info.Name = APPLICATION_NAME
    88      info.Version = get_version()
    89      info.Copyright = COPYRIGHT_TEXT
    90      info.Description = APPLICATION_DESCRIPTION
    91      info.WebSite = (WEBSITE, "%s Website" % APPLICATION_NAME)
    92      info.Developers = DEVELOPERS
    93      info.Translators = TRANSLATORS
    94      info.Artists = ARTISTS
    95      info.License = LICENSE
    96      wx.AboutBox(info)
    97