Gnumed.timelinelib.meta.about

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, 2012, 2013, 2014, 2015, 2016, 2017, 2018  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_full_version
     23
     24
     25  APPLICATION_NAME = "Timeline"
     26  COPYRIGHT_TEXT = "Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 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      u"    Linostar",
     39      u"    Norbert Langermann",
     40  ]
     41  TRANSLATORS = [
     42      u"Basque:",
     43      u"    Urtzi Odriozola",
     44      u"Brazilian Portuguese:",
     45      u"    Leo Frigo",
     46      u"    Marcelo Ribeiro de Almeida",
     47      u"    Waldir Leôncio",
     48      u"Catalan:",
     49      u"    BennyBeat",
     50      u"Chinese (Simplified):",
     51      u"    rockxie",
     52      u"French:",
     53      u"    Francois Tissandier",
     54      u"German:",
     55      u"    MixCool",
     56      u"    Nils Steinger",
     57      u"    Daniel Winzen",
     58      u"    cmdrhenner",
     59      u"    Norbert Langermann",
     60      u"Greek:",
     61      u"    Yannis Kaskamanidis",
     62      u"Hebrew:",
     63      u"    Yaron Shahrabani",
     64      u"Lithuanian:",
     65      u"    Mantas Kriauciunas",
     66      u"    rpocius",
     67      u"Polish:",
     68      u"    Andrzej Korcala 'Greybrow'",
     69      u"Portuguese:",
     70      u"    Leo Frigo",
     71      u"Russian:",
     72      u"    Andrew Yakush",
     73      u"    Sergey Sedov",
     74      u"    Alexander 'FONTER' Zinin",
     75      u"    DronAn[BY]",
     76      u"Spanish:",
     77      u"    Leandro Pavón Serrano",
     78      u"    Leo Frigo",
     79      u"    Roman Gelbort",
     80      u"    Sebastián Ortega",
     81      u"Swedish:",
     82      u"    Rickard Lindberg",
     83      u"    Roger Lindberg",
     84      u"    Daniel Nylander",
     85  ]
     86  ARTISTS = ["Sara Lindberg",
     87             "Tango Desktop Project (Icons on Windows)"]
     88  LICENSE = """Timeline is free software: you can redistribute it and/or modify
     89  it under the terms of the GNU General Public License as published by
     90  the Free Software Foundation, either version 3 of the License, or
     91  (at your option) any later version.
     92
     93  Timeline is distributed in the hope that it will be useful,
     94  but WITHOUT ANY WARRANTY; without even the implied warranty of
     95  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     96  GNU General Public License for more details.
     97
     98  You should have received a copy of the GNU General Public License
     99  along with Timeline.  If not, see <http://www.gnu.org/licenses/>."""
    100
    101
    102 -def display_about_dialog(args, *kwargs):
    103      info = wx.AboutDialogInfo()
    104      info.Name = APPLICATION_NAME
    105      info.Version = get_full_version()
    106      info.Copyright = COPYRIGHT_TEXT
    107      info.Description = APPLICATION_DESCRIPTION
    108      info.WebSite = (WEBSITE, "%s Website" % APPLICATION_NAME)
    109      info.Developers = DEVELOPERS
    110      info.Translators = TRANSLATORS
    111      info.Artists = ARTISTS
    112      info.License = LICENSE
    113      wx.AboutBox(info)
    114