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.adv 
 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      "Developers:", 
 31      "    Rickard Lindberg", 
 32      "    Roger Lindberg", 
 33      "Contributors:", 
 34      "    Alan Jackson", 
 35      "    Glenn J. Mason", 
 36      "    Joe Gilmour", 
 37      "    Thomas Mohr", 
 38      "    Linostar", 
 39      "    Norbert Langermann", 
 40      "    Jean-Gilles Guyrandy", 
 41  ] 
 42  TRANSLATORS = [ 
 43      "Basque:", 
 44      "    Urtzi Odriozola", 
 45      "Brazilian Portuguese:", 
 46      "    Leo Frigo", 
 47      "    Marcelo Ribeiro de Almeida", 
 48      "    Waldir Leôncio", 
 49      "Catalan:", 
 50      "    BennyBeat", 
 51      "Chinese (Simplified):", 
 52      "    rockxie", 
 53      "French:", 
 54      "    Francois Tissandier", 
 55      "German:", 
 56      "    MixCool", 
 57      "    Nils Steinger", 
 58      "    Daniel Winzen", 
 59      "    cmdrhenner", 
 60      "    Norbert Langermann", 
 61      "Greek:", 
 62      "    Yannis Kaskamanidis", 
 63      "Hebrew:", 
 64      "    Yaron Shahrabani", 
 65      "Lithuanian:", 
 66      "    Mantas Kriauciunas", 
 67      "    rpocius", 
 68      "Polish:", 
 69      "    Andrzej Korcala 'Greybrow'", 
 70      "Portuguese:", 
 71      "    Leo Frigo", 
 72      "Russian:", 
 73      "    Andrew Yakush", 
 74      "    Sergey Sedov", 
 75      "    Alexander 'FONTER' Zinin", 
 76      "    DronAn[BY]", 
 77      "Spanish:", 
 78      "    Leandro Pavón Serrano", 
 79      "    Leo Frigo", 
 80      "    Roman Gelbort", 
 81      "    Sebastián Ortega", 
 82      "Swedish:", 
 83      "    Rickard Lindberg", 
 84      "    Roger Lindberg", 
 85      "    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