summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-11-22 01:24:33 (UTC)
committer llornkcor <llornkcor>2002-11-22 01:24:33 (UTC)
commit87240f18c4e7b12c56d7f61a3431221d94f59f4c (patch) (unidiff)
tree9080b4bd4d8282dc2e4891857767390ab1b16364
parent380dc82f6e03f1357e91c0c6e3dd48bcc38969a5 (diff)
downloadopie-87240f18c4e7b12c56d7f61a3431221d94f59f4c.zip
opie-87240f18c4e7b12c56d7f61a3431221d94f59f4c.tar.gz
opie-87240f18c4e7b12c56d7f61a3431221d94f59f4c.tar.bz2
tr
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index 8885b58..8ca55fe 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -265,33 +265,33 @@ void Konsole::init(const char* _pgm, QStrList & _args)
265 cfg.setGroup("Menubar"); 265 cfg.setGroup("Menubar");
266 if( cfg.readEntry("Hidden","FALSE") == "TRUE") { 266 if( cfg.readEntry("Hidden","FALSE") == "TRUE") {
267 editCommandListMenu->insertItem( tr( "Show command list" )); 267 editCommandListMenu->insertItem( tr( "Show command list" ));
268 listHidden=TRUE; 268 listHidden=TRUE;
269 } else { 269 } else {
270 editCommandListMenu->insertItem( tr( "Hide command list" )); 270 editCommandListMenu->insertItem( tr( "Hide command list" ));
271 listHidden=FALSE; 271 listHidden=FALSE;
272 } 272 }
273 273
274 cfg.setGroup("Tabs"); 274 cfg.setGroup("Tabs");
275 tmp=cfg.readEntry("Position","Bottom"); 275 tmp=cfg.readEntry("Position","Bottom");
276 if(tmp=="Top") { 276 if(tmp=="Top") {
277 tab->setTabPosition(QTabWidget::Top); 277 tab->setTabPosition(QTabWidget::Top);
278 configMenu->insertItem( tr( "Tabs on Bottom" ) ); 278 configMenu->insertItem( tr( "Tabs on Bottom" ) );
279 } else { 279 } else {
280 tab->setTabPosition(QTabWidget::Bottom); 280 tab->setTabPosition(QTabWidget::Bottom);
281 configMenu->insertItem("Tabs on Top"); 281 configMenu->insertItem(tr("Tabs on Top"));
282 } 282 }
283 configMenu->insertSeparator(2); 283 configMenu->insertSeparator(2);
284 284
285 colorMenu->insertItem(tr( "Green on Black")); 285 colorMenu->insertItem(tr( "Green on Black"));
286 colorMenu->insertItem(tr( "Black on White")); 286 colorMenu->insertItem(tr( "Black on White"));
287 colorMenu->insertItem(tr( "White on Black")); 287 colorMenu->insertItem(tr( "White on Black"));
288 colorMenu->insertItem(tr( "Black on Transparent")); 288 colorMenu->insertItem(tr( "Black on Transparent"));
289 colorMenu->insertItem(tr( "Black on Red")); 289 colorMenu->insertItem(tr( "Black on Red"));
290 colorMenu->insertItem(tr( "Red on Black")); 290 colorMenu->insertItem(tr( "Red on Black"));
291 colorMenu->insertItem(tr( "Green on Yellow")); 291 colorMenu->insertItem(tr( "Green on Yellow"));
292 colorMenu->insertItem(tr( "Blue on Magenta")); 292 colorMenu->insertItem(tr( "Blue on Magenta"));
293 colorMenu->insertItem(tr( "Magenta on Blue")); 293 colorMenu->insertItem(tr( "Magenta on Blue"));
294 colorMenu->insertItem(tr( "Cyan on White")); 294 colorMenu->insertItem(tr( "Cyan on White"));
295 colorMenu->insertItem(tr( "White on Cyan")); 295 colorMenu->insertItem(tr( "White on Cyan"));
296 colorMenu->insertItem(tr( "Blue on Black")); 296 colorMenu->insertItem(tr( "Blue on Black"));
297 colorMenu->insertItem(tr( "Amber on Black")); 297 colorMenu->insertItem(tr( "Amber on Black"));
@@ -799,37 +799,37 @@ void Konsole::configMenuSelected(int iD)
799 TEWidget* te = getTe(); 799 TEWidget* te = getTe();
800 Config cfg("Konsole"); 800 Config cfg("Konsole");
801 cfg.setGroup("Menubar"); 801 cfg.setGroup("Menubar");
802 int i,j; 802 int i,j;
803#ifdef QT_QWS_OPIE 803#ifdef QT_QWS_OPIE
804 i=-29;j=-30; 804 i=-29;j=-30;
805#else 805#else
806 i=-28;j=-29; 806 i=-28;j=-29;
807#endif 807#endif
808 808
809 if(iD == -4) { 809 if(iD == -4) {
810 cfg.setGroup("Tabs"); 810 cfg.setGroup("Tabs");
811 QString tmp=cfg.readEntry("Position","Bottom"); 811 QString tmp=cfg.readEntry("Position","Bottom");
812 812
813 if(tmp=="Top") { 813 if(tmp=="Top") {
814 tab->setTabPosition(QTabWidget::Bottom); 814 tab->setTabPosition(QTabWidget::Bottom);
815 configMenu->changeItem( iD,"Tabs on Top"); 815 configMenu->changeItem( iD, tr("Tabs on Top"));
816 cfg.writeEntry("Position","Bottom"); 816 cfg.writeEntry("Position","Bottom");
817 } else { 817 } else {
818 tab->setTabPosition(QTabWidget::Top); 818 tab->setTabPosition(QTabWidget::Top);
819 configMenu->changeItem( iD,"Tabs on Bottom"); 819 configMenu->changeItem( iD, tr("Tabs on Bottom"));
820 cfg.writeEntry("Position","Top"); 820 cfg.writeEntry("Position","Top");
821 } 821 }
822 } 822 }
823 if(iD == i) { 823 if(iD == i) {
824 cfg.setGroup("ScrollBar"); 824 cfg.setGroup("ScrollBar");
825 bool b=cfg.readBoolEntry("HorzScroll",0); 825 bool b=cfg.readBoolEntry("HorzScroll",0);
826 b=!b; 826 b=!b;
827 cfg.writeEntry("HorzScroll", b ); 827 cfg.writeEntry("HorzScroll", b );
828 cfg.write(); 828 cfg.write();
829 doWrap(); 829 doWrap();
830 if(cfg.readNumEntry("Position",2) == 0) { 830 if(cfg.readNumEntry("Position",2) == 0) {
831 te->setScrollbarLocation(1); 831 te->setScrollbarLocation(1);
832 } else { 832 } else {
833 te->setScrollbarLocation(0); 833 te->setScrollbarLocation(0);
834 } 834 }
835 te->setScrollbarLocation( cfg.readNumEntry("Position",2)); 835 te->setScrollbarLocation( cfg.readNumEntry("Position",2));