Commit 763ffa4f authored by Christian Schaller's avatar Christian Schaller

Add patches from ssz Jernaś

- Make about version based on configure version
- Make i18n credits a translated string
parent dd11cb29
......@@ -16,6 +16,7 @@ po/POTFILES
po/stamp-it
po/.intltool-merge-cache
py-compile
src/about.py
src/*.pyc
src/*.*~
profiles/*.*~
......
......@@ -69,6 +69,7 @@ Makefile
bin/Makefile
common/Makefile
common/m4/Makefile
src/about.py
src/Makefile
presets/Makefile
profiles/Makefile
......
src/about.py.in
src/presets.py
src/transmageddon.glade
src/transmageddon.py
......
# -*- coding: utf-8 -*-
import gtk
from gettext import gettext as _
Authors = ["Christian Schaller <uraeus@gnome.org>",
"Łukasz Jernaś <deejay1@srem.org>",
"Nicolò Chieffo <nicolo.chieffo@gmail.com>",
"Steven Walter <stevenrwalter@gmail.com>",
"Michal Schmidt <mschmidt@redhat.com>",
"Stephane Maniaci <stephane.maniaci@gmail.com>",
"Jordi Mas <jmas@softcatala.org>",
"Stuart Langridge <sil@kryogenix.org>"
]
Artists = ["Emily and Liam <liam@fightingcrane.com>"]
LGPL = """
Transmageddon
Copyright (C) 2009 Transmageddon Authors
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
"""
class AboutDialog:
def __init__(self):
x = gtk.AboutDialog()
x.set_version("@VERSION@")
x.set_name("Transmageddon")
x.set_authors(Authors)
x.set_translator_credits(_("translator-credits"))
x.set_artists(Artists)
x.set_license(LGPL)
x.connect("response", lambda d, r: d.destroy())
x.show()
def close(self,widget):
sys.exit(0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment