summaryrefslogtreecommitdiff
path: root/raphodo/aboutdialog.py
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-02 06:51:13 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-02 06:51:13 +0200
commitc5fc6c6030d7d9d1b2af3d5165bebed3decd741b (patch)
treedfacccc9ae0747e53e53e5388b2ecd0623e040c3 /raphodo/aboutdialog.py
parent77dd64c0757c0191b276e65c24ee9874959790c8 (diff)
New upstream version 0.9.4upstream/0.9.4
Diffstat (limited to 'raphodo/aboutdialog.py')
-rw-r--r--raphodo/aboutdialog.py19
1 files changed, 14 insertions, 5 deletions
diff --git a/raphodo/aboutdialog.py b/raphodo/aboutdialog.py
index 9df1cfa..49ecb56 100644
--- a/raphodo/aboutdialog.py
+++ b/raphodo/aboutdialog.py
@@ -28,11 +28,14 @@ from gettext import gettext as _
from PyQt5.QtCore import Qt, pyqtSlot
from PyQt5.QtGui import QPixmap, QFont
-from PyQt5.QtWidgets import (QDialog, QLabel, QVBoxLayout, QDialogButtonBox, QSizePolicy,
- QHBoxLayout, QStackedWidget, QWidget, QScrollArea, QPushButton)
+from PyQt5.QtWidgets import (
+ QDialog, QLabel, QVBoxLayout, QDialogButtonBox, QSizePolicy, QHBoxLayout, QStackedWidget,
+ QWidget, QScrollArea, QPushButton
+)
import raphodo.qrc_resources
import raphodo.__about__ as __about__
+from raphodo.viewutils import translateButtons
class AboutDialog(QDialog):
@@ -138,12 +141,14 @@ class AboutDialog(QDialog):
Emanuele Grande <caccolangrifata@gmail.com>
Torben Gundtofte-Bruun <torben@g-b.dk>
Мирослав Николић <miroslavnikolic@rocketmail.com>
+ Harald H <haarektrans@gmail.com>
Joachim Johansson <joachim.j@gmail.com>
+ Evgeny Kozlov <evgeny.kozlov.mailbox@gmail.com>
+ Toni Lähdekorpi <toni@lygon.net>
Jean-Marc Lartigue <m.balthazar@orange.fr>
Miroslav Matejaš <silverspace@ubuntu-hr.org>
- Nicolás M. Zahlut <nzahlut@live.com>
Erik M
- Toni Lähdekorpi <toni@lygon.net>
+ Frederik Müller <spheniscus@freenet.de>
Jose Luis Navarro <jlnavarro111@gmail.com>
Tomas Novak <kuvaly@seznam.cz>
Abel O'Rian <abel.orian@gmail.com>
@@ -164,6 +169,7 @@ class AboutDialog(QDialog):
Dimitris Xenakis <dx@nkdx.gr>
Aron Xu <happyaron.xu@gmail.com>
Koji Yokota <yokota6@gmail.com>
+ Nicolás M. Zahlut <nzahlut@live.com>
梁其学 <yalongbay@gmail.com>
"""
@@ -214,7 +220,10 @@ class AboutDialog(QDialog):
buttonBox = QDialogButtonBox()
closeButton = buttonBox.addButton(QDialogButtonBox.Close) # type: QPushButton
- self.creditsButton = buttonBox.addButton(_('Credits'), QDialogButtonBox.HelpRole) # type: QPushButton
+ translateButtons(buttonBox)
+ self.creditsButton = buttonBox.addButton(
+ _('Credits'), QDialogButtonBox.HelpRole
+ ) # type: QPushButton
self.creditsButton.setDefault(False)
self.creditsButton.setCheckable(True)
closeButton.setDefault(True)