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