diff --git a/syncplay/messages_de.py b/syncplay/messages_de.py index a001aa9..da1fbad 100755 --- a/syncplay/messages_de.py +++ b/syncplay/messages_de.py @@ -311,7 +311,7 @@ de = { #About dialog - TODO: Translate "about-menu-label": "&About Syncplay", "about-dialog-title": "About Syncplay", - "about-dialog-release": "Version {} release {} on {}", + "about-dialog-release": "Version {} release {}", "about-dialog-license-text" : "Licensed under the Apache License, Version 2.0", "about-dialog-license-button": "License", "about-dialog-dependencies": "Dependencies", diff --git a/syncplay/messages_en.py b/syncplay/messages_en.py index 91bd135..6a3aca6 100755 --- a/syncplay/messages_en.py +++ b/syncplay/messages_en.py @@ -316,7 +316,7 @@ en = { #About dialog "about-menu-label": "&About Syncplay", "about-dialog-title": "About Syncplay", - "about-dialog-release": "Version {} release {} on {}", + "about-dialog-release": "Version {} release {}", "about-dialog-license-text" : "Licensed under the Apache License, Version 2.0", "about-dialog-license-button": "License", "about-dialog-dependencies": "Dependencies", diff --git a/syncplay/messages_it.py b/syncplay/messages_it.py index 5c51810..a9a400a 100755 --- a/syncplay/messages_it.py +++ b/syncplay/messages_it.py @@ -316,7 +316,7 @@ it = { #About dialog "about-menu-label": "&Informazioni su Syncplay", "about-dialog-title": "Informazioni su Syncplay", - "about-dialog-release": "Versione {} release {} con {}", + "about-dialog-release": "Versione {} release {}", "about-dialog-license-text" : "Rilasciato sotto Apache License, Version 2.0", "about-dialog-license-button": "Licenza", "about-dialog-dependencies": "Dipendenze", diff --git a/syncplay/messages_ru.py b/syncplay/messages_ru.py index 459a0e6..e834ae3 100755 --- a/syncplay/messages_ru.py +++ b/syncplay/messages_ru.py @@ -319,7 +319,7 @@ ru = { #About dialog - TODO: Translate "about-menu-label": "&About Syncplay", "about-dialog-title": "About Syncplay", - "about-dialog-release": "Version {} release {} on {}", + "about-dialog-release": "Version {} release {}", "about-dialog-license-text" : "Licensed under the Apache License, Version 2.0", "about-dialog-license-button": "License", "about-dialog-dependencies": "Dependencies", diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py index a34f182..eb93766 100755 --- a/syncplay/ui/gui.py +++ b/syncplay/ui/gui.py @@ -1,6 +1,7 @@ from syncplay.vendor import Qt -from syncplay.vendor.Qt import QtWidgets, QtGui, __binding__, __binding_version__, IsPySide, IsPySide2 +from syncplay.vendor.Qt import QtWidgets, QtGui, __binding__, __binding_version__, __qt_version__, IsPySide, IsPySide2 from syncplay.vendor.Qt.QtCore import Qt, QSettings, QSize, QPoint, QUrl, QLine, QDateTime +from platform import python_version if IsPySide2: from PySide2.QtCore import QStandardPaths from syncplay import utils, constants, version, release_number @@ -106,33 +107,36 @@ class AboutDialog(QtWidgets.QDialog): super(AboutDialog, self).__init__(parent) if isMacOS(): self.setWindowTitle("") + self.setWindowFlags(Qt.Dialog | Qt.WindowTitleHint | Qt.WindowCloseButtonHint | Qt.CustomizeWindowHint) else: self.setWindowTitle(getMessage("about-dialog-title")) if isWindows(): self.setWindowFlags(self.windowFlags() & ~Qt.WindowContextHelpButtonHint) nameLabel = QtWidgets.QLabel("
Copyright © 2017 Syncplay
" + getMessage("about-dialog-license-text") + "
Copyright © 2012–2018 Syncplay
" + getMessage("about-dialog-license-text") + "