summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-04-06 22:13:29 (UTC)
committer cniehaus <cniehaus>2002-04-06 22:13:29 (UTC)
commit87f575fe82855705c5efe7999b8c717a67705a6c (patch) (unidiff)
treed11016d0dba92cd339b896de6c0befc8fce4d9c1
parentff738f21389de58913ce9bf2210e53f1f053aeac (diff)
downloadopie-87f575fe82855705c5efe7999b8c717a67705a6c.zip
opie-87f575fe82855705c5efe7999b8c717a67705a6c.tar.gz
opie-87f575fe82855705c5efe7999b8c717a67705a6c.tar.bz2
this fixes i18n-stuff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index 16ff4df..f13d0c9 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -254,10 +254,10 @@ void Konsole::init(const char* _pgm, QStrList & _args)
254 bool listHidden; 254 bool listHidden;
255 cfg.setGroup("Menubar"); 255 cfg.setGroup("Menubar");
256 if( cfg.readEntry("Hidden","FALSE") == "TRUE") { 256 if( cfg.readEntry("Hidden","FALSE") == "TRUE") {
257 editCommandListMenu->insertItem("Show command list"); 257 editCommandListMenu->insertItem( tr( "Show command list" ));
258 listHidden=TRUE; 258 listHidden=TRUE;
259 } else { 259 } else {
260 editCommandListMenu->insertItem("Hide command list"); 260 editCommandListMenu->insertItem( tr( "Hide command list" ));
261 listHidden=FALSE; 261 listHidden=FALSE;
262 } 262 }
263 263
@@ -265,27 +265,27 @@ void Konsole::init(const char* _pgm, QStrList & _args)
265 tmp=cfg.readEntry("Position","Bottom"); 265 tmp=cfg.readEntry("Position","Bottom");
266 if(tmp=="Top") { 266 if(tmp=="Top") {
267 tab->setTabPosition(QTabWidget::Top); 267 tab->setTabPosition(QTabWidget::Top);
268 configMenu->insertItem("Tabs on Bottom"); 268 configMenu->insertItem( tr( "Tabs on Bottom" ) );
269 } else { 269 } else {
270 tab->setTabPosition(QTabWidget::Bottom); 270 tab->setTabPosition(QTabWidget::Bottom);
271 configMenu->insertItem("Tabs on Top"); 271 configMenu->insertItem("Tabs on Top");
272 } 272 }
273 configMenu->insertSeparator(2); 273 configMenu->insertSeparator(2);
274 274
275 colorMenu->insertItem("Green on Black"); 275 colorMenu->insertItem(tr( "Green on Black"));
276 colorMenu->insertItem("Black on White"); 276 colorMenu->insertItem(tr( "Black on White"));
277 colorMenu->insertItem("White on Black"); 277 colorMenu->insertItem(tr( "White on Black"));
278 colorMenu->insertItem("Black on Transparent"); 278 colorMenu->insertItem(tr( "Black on Transparent"));
279 colorMenu->insertItem("Black on Red"); 279 colorMenu->insertItem(tr( "Black on Red"));
280 colorMenu->insertItem("Red on Black"); 280 colorMenu->insertItem(tr( "Red on Black"));
281 colorMenu->insertItem("Green on Yellow"); 281 colorMenu->insertItem(tr( "Green on Yellow"));
282 colorMenu->insertItem("Blue on Magenta"); 282 colorMenu->insertItem(tr( "Blue on Magenta"));
283 colorMenu->insertItem("Magenta on Blue"); 283 colorMenu->insertItem(tr( "Magenta on Blue"));
284 colorMenu->insertItem("Cyan on White"); 284 colorMenu->insertItem(tr( "Cyan on White"));
285 colorMenu->insertItem("White on Cyan"); 285 colorMenu->insertItem(tr( "White on Cyan"));
286 colorMenu->insertItem("Blue on Black"); 286 colorMenu->insertItem(tr( "Blue on Black"));
287 colorMenu->insertItem("Amber on Black"); 287 colorMenu->insertItem(tr( "Amber on Black"));
288 configMenu->insertItem("Colors",colorMenu); 288 configMenu->insertItem(tr( "Colors") ,colorMenu);
289 289
290 connect( fontList, SIGNAL( activated(int) ), this, SLOT( fontChanged(int) )); 290 connect( fontList, SIGNAL( activated(int) ), this, SLOT( fontChanged(int) ));
291 connect( configMenu, SIGNAL( activated(int) ), this, SLOT( configMenuSelected(int) )); 291 connect( configMenu, SIGNAL( activated(int) ), this, SLOT( configMenuSelected(int) ));
@@ -327,12 +327,12 @@ void Konsole::init(const char* _pgm, QStrList & _args)
327 commonCombo = new QComboBox( secondToolBar ); 327 commonCombo = new QComboBox( secondToolBar );
328 commonCombo->setMaximumWidth(236); 328 commonCombo->setMaximumWidth(236);
329 329
330 editCommandListMenu->insertItem( "Quick Edit"); 330 editCommandListMenu->insertItem( tr( "Quick Edit" ) );
331 if( listHidden) { 331 if( listHidden) {
332 secondToolBar->hide(); 332 secondToolBar->hide();
333 editCommandListMenu->setItemEnabled(-22 ,FALSE); 333 editCommandListMenu->setItemEnabled(-22 ,FALSE);
334 } 334 }
335 editCommandListMenu->insertItem( "Edit"); 335 editCommandListMenu->insertItem(tr( "Edit" ) );
336 336
337 cfg.setGroup("Commands"); 337 cfg.setGroup("Commands");
338 commonCombo->setInsertionPolicy(QComboBox::AtCurrent); 338 commonCombo->setInsertionPolicy(QComboBox::AtCurrent);
@@ -347,10 +347,10 @@ void Konsole::init(const char* _pgm, QStrList & _args)
347 347
348 connect( commonCombo, SIGNAL( activated(int) ), this, SLOT( enterCommand(int) )); 348 connect( commonCombo, SIGNAL( activated(int) ), this, SLOT( enterCommand(int) ));
349 349
350 scrollMenu->insertItem("None"); 350 scrollMenu->insertItem(tr( "None" ));
351 scrollMenu->insertItem("Left"); 351 scrollMenu->insertItem(tr( "Left" ));
352 scrollMenu->insertItem("Right"); 352 scrollMenu->insertItem(tr( "Right" ));
353 configMenu->insertItem("ScrollBar",scrollMenu); 353 configMenu->insertItem(tr( "ScrollBar" ),scrollMenu);
354 354
355 // create applications ///////////////////////////////////////////////////// 355 // create applications /////////////////////////////////////////////////////
356 setCentralWidget(tab); 356 setCentralWidget(tab);
@@ -802,12 +802,12 @@ void Konsole::editCommandListMenuSelected(int iD)
802 if( iD == -3) { 802 if( iD == -3) {
803 if(!secondToolBar->isHidden()) { 803 if(!secondToolBar->isHidden()) {
804 secondToolBar->hide(); 804 secondToolBar->hide();
805 configMenu->changeItem( iD,"Show Command List"); 805 configMenu->changeItem( iD,tr( "Show Command List" ));
806 cfg.writeEntry("Hidden","TRUE"); 806 cfg.writeEntry("Hidden","TRUE");
807 configMenu->setItemEnabled(-22 ,FALSE); 807 configMenu->setItemEnabled(-22 ,FALSE);
808 } else { 808 } else {
809 secondToolBar->show(); 809 secondToolBar->show();
810 configMenu->changeItem( iD,"Hide Command List"); 810 configMenu->changeItem( iD,tr( "Hide Command List" ));
811 cfg.writeEntry("Hidden","FALSE"); 811 cfg.writeEntry("Hidden","FALSE");
812 configMenu->setItemEnabled(-22 ,TRUE); 812 configMenu->setItemEnabled(-22 ,TRUE);
813 813