diff --git a/syncplay/messages_de.py b/syncplay/messages_de.py index c35603f..01925b8 100644 --- a/syncplay/messages_de.py +++ b/syncplay/messages_de.py @@ -282,6 +282,14 @@ de = { "help-menu-label" : u"&Hilfe", "userguide-menu-label" : u"&Benutzerhandbuch öffnen", "update-menu-label" : u"auf &Aktualisierung prüfen", + + #About dialog - TODO: Translate + "about-menu-label": u"&About Syncplay", + "about-dialog-title": u"About Syncplay", + "about-dialog-release": u"Version {} release {}", + "about-dialog-license-text" : u"Licensed under the Apache License, Version 2.0", + "about-dialog-license-button": u"License", + "about-dialog-dependencies": u"Dependencies", "setoffset-msgbox-label" : u"Offset einstellen", "offsetinfo-msgbox-label" : u"Offset (siehe http://syncplay.pl/guide/ für eine Anleitung [Englisch]):", diff --git a/syncplay/messages_en.py b/syncplay/messages_en.py index 768193a..acb9bea 100644 --- a/syncplay/messages_en.py +++ b/syncplay/messages_en.py @@ -282,6 +282,14 @@ en = { "help-menu-label" : "&Help", "userguide-menu-label" : "Open user &guide", "update-menu-label" : "Check for &update", + + #About dialog + "about-menu-label": u"&About Syncplay", + "about-dialog-title": u"About Syncplay", + "about-dialog-release": u"Version {} release {}", + "about-dialog-license-text" : u"Licensed under the Apache License, Version 2.0", + "about-dialog-license-button": u"License", + "about-dialog-dependencies": u"Dependencies", "setoffset-msgbox-label" : "Set offset", "offsetinfo-msgbox-label" : "Offset (see http://syncplay.pl/guide/ for usage instructions):", diff --git a/syncplay/messages_ru.py b/syncplay/messages_ru.py index 9746c17..6438d20 100644 --- a/syncplay/messages_ru.py +++ b/syncplay/messages_ru.py @@ -284,6 +284,14 @@ ru = { "help-menu-label" : u"&Помощь", "userguide-menu-label" : u"&Руководство пользователя", "update-menu-label" : u"Проверить &обновления", + + #About dialog - TODO: Translate + "about-menu-label": u"&About Syncplay", + "about-dialog-title": u"About Syncplay", + "about-dialog-release": u"Version {} release {}", + "about-dialog-license-text" : u"Licensed under the Apache License, Version 2.0", + "about-dialog-license-button": u"License", + "about-dialog-dependencies": u"Dependencies", "setoffset-msgbox-label" : u"Установить смещение", "offsetinfo-msgbox-label" : u"Смещение (см. инструкцию на странице www.syncplay.pl/guide):", diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py index 9e1737a..c6d7fe7 100755 --- a/syncplay/ui/gui.py +++ b/syncplay/ui/gui.py @@ -97,15 +97,15 @@ class AboutDialog(QtGui.QDialog): if sys.platform.startswith('darwin'): self.setWindowTitle("") else: - self.setWindowTitle("About Syncplay") + self.setWindowTitle(getMessage("about-dialog-title")) if sys.platform.startswith('win'): self.setWindowFlags(self.windowFlags() & ~Qt.WindowContextHelpButtonHint) nameLabel = QtGui.QLabel("
Copyright © 2017 Syncplay
Licensed under the Apache License, Version 2.0
Copyright © 2017 Syncplay
" + getMessage("about-dialog-license-text") + "