[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kxstitch] src: Make the legend title translatable
From:       Yuri Chornoivan <yurchor () ukr ! net>
Date:       2014-05-31 14:25:59
Message-ID: E1WqkER-0002nW-Eg () scm ! kde ! org
[Download RAW message or body]

Git commit 324ee858ccb174e5058d06c19f8b380a6e24ffa9 by Yuri Chornoivan.
Committed on 31/05/2014 at 14:25.
Pushed by yurchor into branch 'master'.

Make the legend title translatable

M  +1    -1    src/Element.cpp

http://commits.kde.org/kxstitch/324ee858ccb174e5058d06c19f8b380a6e24ffa9

diff --git a/src/Element.cpp b/src/Element.cpp
index 78863f3..840aea3 100644
--- a/src/Element.cpp
+++ b/src/Element.cpp
@@ -560,7 +560,7 @@ void KeyElement::render(Document *document, QPainter *painter) \
const  
     painter->setFont(font);
 
-    painter->drawText(deviceTextArea.topLeft() + QPoint(0, y), QString("%1 \
Flosses").arg(scheme->schemeName())); +    painter->drawText(deviceTextArea.topLeft() \
+ QPoint(0, y), i18n("%1 Flosses", scheme->schemeName()));  y += (2 * lineSpacing);
 
     if (m_symbolColumn) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic