diff options
author | Robert Loehning <robert.loehning@qt.io> | 2017-09-13 15:56:47 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2018-01-24 10:18:28 +0000 |
commit | 9e066c7b17ecc7399a94763003b23e751bab93e5 (patch) | |
tree | d6c5628913600a8d5eb032ce8be22aeff82960d4 /src/plugins/cpaster | |
parent | 1d763d19419ea1da24c47a45398a626ed7a65949 (diff) |
Move HTML out of translated strings
Change-Id: I4664427086619f33e9a882eb3f0a5f2f52e1b42a
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cpaster')
-rw-r--r-- | src/plugins/cpaster/kdepasteprotocol.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cpaster/kdepasteprotocol.cpp b/src/plugins/cpaster/kdepasteprotocol.cpp index c5c09cb9bf5..bafe229e3d6 100644 --- a/src/plugins/cpaster/kdepasteprotocol.cpp +++ b/src/plugins/cpaster/kdepasteprotocol.cpp @@ -286,7 +286,8 @@ void KdePasteProtocol::paste(const QString &text, Protocol::ContentType ct, int QString details = tr("Pasting to KDE paster needs authentication.<br/>" "Enter your KDE Identity credentials to continue."); if (m_loginFailed) - details.prepend(tr("<span style='background-color:LightYellow;color:red'>Login failed</span><br/><br/>")); + details.prepend("<span style='background-color:LightYellow;color:red'>" + + tr("Login failed") + "</span><br/><br/>"); AuthenticationDialog authDialog(details, Core::ICore::dialogParent()); authDialog.setWindowTitle("Authenticate for KDE paster"); |