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

List:       kde-commits
Subject:    kdelibs/kate/part
From:       Malcolm Hunter <malcolm.hunter () gmx ! co ! uk>
Date:       2002-12-12 14:50:15
[Download RAW message or body]

CVS commit by mhunter: 

i18n fixes


  M +3 -3      katedocument.cpp   1.406


--- kdelibs/kate/part/katedocument.cpp  #1.405:1.406
@@ -2218,5 +2218,5 @@ bool KateDocument::printDialog ()
          guideHeight = ( innerMargin * 4 ) + 1;
          // get a title and add the height required to draw it
-         QString _title = i18n("Typographical Conventions for ") + \
m_highlight->name(); +         QString _title = i18n("Typographical Conventions for \
                %1").arg(m_highlight->name());
          guideHeight += paint.boundingRect( 0, 0, _w, 1000, \
Qt::AlignTop|Qt::AlignHCenter, _title ).height();  // see how many columns we can fit \
in @@ -2442,5 +2442,5 @@ kdDebug(13020)<<"Starting new page, "<<_
              paint.drawText( _marg, y, pdmWidth-(2*_marg), maxHeight - y,
                 Qt::AlignTop|Qt::AlignHCenter,
-                i18n("Typographical Conventions for ") + m_highlight->name(), -1, \
&_r ); +                i18n("Typographical Conventions for \
%1").arg(m_highlight->name()), -1, &_r );  int _w = pdmWidth - (_marg*2) - \
(innerMargin*2);  int _x = _marg + innerMargin;


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

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