From ba32913faab63d4d37c1a23b5a3154f2121454a6 Mon Sep 17 00:00:00 2001 From: Et0h Date: Tue, 6 Jan 2015 23:30:50 +0000 Subject: [PATCH] Shorten contact info message, tweak formatting, make links non-breaking (English) --- syncplay/constants.py | 1 + syncplay/messages.py | 2 +- syncplay/ui/gui.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/syncplay/constants.py b/syncplay/constants.py index 1e6643f..8b6ae9c 100644 --- a/syncplay/constants.py +++ b/syncplay/constants.py @@ -123,6 +123,7 @@ STYLE_SUCCESSLABEL = "QLabel { color : black; border-style: outset; border-width STYLE_READY_PUSHBUTTON = "QPushButton { text-align: left; padding: 10px 5px 10px 5px;}" STYLE_AUTO_PLAY_PUSHBUTTON = "QPushButton { text-align: left; padding: 5px 5px 5px 5px; }" STYLE_NOTIFICATIONBOX = "Username { color: #367AA9; font-weight:bold; }" +STYLE_CONTACT_INFO = "{}

" # Contact info message STYLE_USERNAME = "color: #367AA9; font-weight:bold;" STYLE_ERRORNOTIFICATION = "color: red;" STYLE_DIFFERENTITEM_COLOR = 'red' diff --git a/syncplay/messages.py b/syncplay/messages.py index a6833e1..2b77eed 100755 --- a/syncplay/messages.py +++ b/syncplay/messages.py @@ -205,7 +205,7 @@ en = { "run-label" : "Run Syncplay", "storeandrun-label" : "Store configuration and run Syncplay", - "contact-label" : "Have an idea, bug report or feedback? E-mail dev@syncplay.pl, chat via the #Syncplay IRC channel on irc.freenode.net or raise an issue via GitHub. Also check out http://syncplay.pl/ for info, help and updates.

", + "contact-label" : "Feel free to e-mail dev@syncplay.pl, chat via the #Syncplay IRC channel on irc.freenode.net, raise an issue via GitHub or visit http://syncplay.pl/", "joinroom-guibuttonlabel" : "Join room", "seektime-guibuttonlabel" : "Seek to time", diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py index 4593825..16e1a29 100644 --- a/syncplay/ui/gui.py +++ b/syncplay/ui/gui.py @@ -455,7 +455,7 @@ class MainWindow(QtGui.QMainWindow): window.outputbox.setOpenExternalLinks(True) window.outputbox.unsetCursor() window.outputbox.moveCursor(QtGui.QTextCursor.End) - window.outputbox.insertHtml(getMessage("contact-label")) + window.outputbox.insertHtml(constants.STYLE_CONTACT_INFO.format(getMessage("contact-label"))) window.outputbox.moveCursor(QtGui.QTextCursor.End) window.outputlabel = QtGui.QLabel(getMessage("notifications-heading-label"))