[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: koffice/karbon/tools
From: Jan Hambrecht <jaham () gmx ! net>
Date: 2006-03-14 22:25:23
Message-ID: 1142375123.533347.8053.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 518697 by jaham:
i18nified strings in vtexttool (thanks to Burkhard Lueck for the patch)
please don't kill me ;-)
BUG:123594
CCMAIL:kde-i18n-doc@kde.org
M +15 -15 vtexttool.cc
--- trunk/koffice/karbon/tools/vtexttool.cc #518696:518697
@@ -382,19 +382,19 @@
m_fontSize->setSuffix( " pt" );
m_textEditor->setMinimumHeight( 100 );
- m_textEditor->setText( "New text" );
+ m_textEditor->setText( i18n( "New text") );
m_textEditor->selectAll();
m_convertToShapes->setEnabled( true );
// TODO: Find a way to display correctly the following icons...
- m_textAlignment->insertItem( "Left" );
- m_textAlignment->insertItem( "Center" );
- m_textAlignment->insertItem( "Right" );
+ m_textAlignment->insertItem( i18n( "Left") );
+ m_textAlignment->insertItem( i18n( "Center") );
+ m_textAlignment->insertItem( i18n( "Right") );
- m_textPosition->insertItem( "Above" );
- m_textPosition->insertItem( "On" );
- m_textPosition->insertItem( "Under" );
+ m_textPosition->insertItem( i18n( "Above") );
+ m_textPosition->insertItem( i18n( "On") );
+ m_textPosition->insertItem( i18n( "Under") );
m_textOffset->setRange( 0.0, 100.0, 1.0, true );
@@ -603,11 +603,11 @@
QString VTextTool::contextHelp()
{
- QString s = "<qt><b>Text Tool</b><br>";
- s += "Click on document to place horizontal text.<br>";
- s += "Click and drag in document to place directional text.<br>";
- s += "Click on a selected path object to place text along its outline.<br>";
- s += "Click on a selected text object to change it.<br></qt>";
+ QString s = i18n( "<qt><b>Text Tool</b><br>" );
+ s += i18n("<i>Click</i> on document to place horizontal text.<br>" );
+ s += i18n("<i>Click and drag</i> in document to place directional text.<br>" );
+ s += i18n("<i>Click</i> on a selected path object to place text along its outline.<br>" );
+ s += i18n("<i>Click</i> on a selected text object to change it.<br></qt>" );
return s;
}
@@ -693,9 +693,9 @@
}
if( dynamic_cast<VText*>( selObj ) )
- m_optionsWidget->setCaption( "Change Text" );
+ m_optionsWidget->setCaption( i18n( "Change Text") );
else
- m_optionsWidget->setCaption( "Insert Text" );
+ m_optionsWidget->setCaption( i18n( "Insert Text") );
m_optionsWidget->show();
}
@@ -757,7 +757,7 @@
if( createText( path ) )
{
- m_optionsWidget->setCaption( "Insert Text" );
+ m_optionsWidget->setCaption( i18n( "Insert Text") );
m_optionsWidget->show();
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic