Subject: [trojita] src/Gui: GUI: Tweak display of parts
that failed to load in WebKit

Git commit d40814e520e7f57cec738c58d14d3daa05951ed1 by Jan Kundrát.
Committed on 02/01/2017 at 22:07.
Pushed by gerrit into branch 'master'.

GUI: Tweak display of parts that failed to load in WebKit

- HTML markup shouldn't really be translated
- tweak alignment, centering, margins

Change-Id: I93bfd63527c8b75d9881fa8c6bb68e6cfccf10b8

M +3 -1 src/Gui/EmbeddedWebView.cpp

diff --git a/src/Gui/EmbeddedWebView.cpp b/src/Gui/EmbeddedWebView.cpp
index 7d461817..97ccdbd0 100644
--- a/src/Gui/EmbeddedWebView.cpp
+++ b/src/Gui/EmbeddedWebView.cpp
@@ -339,7 +339,9 @@ bool ErrorCheckingPage::extension(Extension extension,
const ExtensionOption *op
if (!emblem.isNull()) {
- res->content = tr("<img src=\"%2\"/><span style=\"font-family:
sans-serif; color: gray\">%1</span>")
+ res->content = QStringLiteral(
+ "<img src=\"%2\" style=\"vertical-align:
+ "<span style=\"font-family: sans-serif; color:
gray; margin-left: 0.5em\">%1</span>")
return true;

Programming list archiving by: Enterprise Git Hosting