summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-04-06 22:13:29 (UTC)
committer cniehaus <cniehaus>2002-04-06 22:13:29 (UTC)
commit87f575fe82855705c5efe7999b8c717a67705a6c (patch) (side-by-side diff)
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
@@ -256,6 +256,6 @@ void Konsole::init(const char* _pgm, QStrList & _args)
if( cfg.readEntry("Hidden","FALSE") == "TRUE") {
- editCommandListMenu->insertItem("Show command list");
+ editCommandListMenu->insertItem( tr( "Show command list" ));
listHidden=TRUE;
} else {
- editCommandListMenu->insertItem("Hide command list");
+ editCommandListMenu->insertItem( tr( "Hide command list" ));
listHidden=FALSE;
@@ -267,3 +267,3 @@ void Konsole::init(const char* _pgm, QStrList & _args)
tab->setTabPosition(QTabWidget::Top);
- configMenu->insertItem("Tabs on Bottom");
+ configMenu->insertItem( tr( "Tabs on Bottom" ) );
} else {
@@ -274,16 +274,16 @@ void Konsole::init(const char* _pgm, QStrList & _args)
- colorMenu->insertItem("Green on Black");
- colorMenu->insertItem("Black on White");
- colorMenu->insertItem("White on Black");
- colorMenu->insertItem("Black on Transparent");
- colorMenu->insertItem("Black on Red");
- colorMenu->insertItem("Red on Black");
- colorMenu->insertItem("Green on Yellow");
- colorMenu->insertItem("Blue on Magenta");
- colorMenu->insertItem("Magenta on Blue");
- colorMenu->insertItem("Cyan on White");
- colorMenu->insertItem("White on Cyan");
- colorMenu->insertItem("Blue on Black");
- colorMenu->insertItem("Amber on Black");
- configMenu->insertItem("Colors",colorMenu);
+ colorMenu->insertItem(tr( "Green on Black"));
+ colorMenu->insertItem(tr( "Black on White"));
+ colorMenu->insertItem(tr( "White on Black"));
+ colorMenu->insertItem(tr( "Black on Transparent"));
+ colorMenu->insertItem(tr( "Black on Red"));
+ colorMenu->insertItem(tr( "Red on Black"));
+ colorMenu->insertItem(tr( "Green on Yellow"));
+ colorMenu->insertItem(tr( "Blue on Magenta"));
+ colorMenu->insertItem(tr( "Magenta on Blue"));
+ colorMenu->insertItem(tr( "Cyan on White"));
+ colorMenu->insertItem(tr( "White on Cyan"));
+ colorMenu->insertItem(tr( "Blue on Black"));
+ colorMenu->insertItem(tr( "Amber on Black"));
+ configMenu->insertItem(tr( "Colors") ,colorMenu);
@@ -329,3 +329,3 @@ void Konsole::init(const char* _pgm, QStrList & _args)
- editCommandListMenu->insertItem( "Quick Edit");
+ editCommandListMenu->insertItem( tr( "Quick Edit" ) );
if( listHidden) {
@@ -334,3 +334,3 @@ void Konsole::init(const char* _pgm, QStrList & _args)
}
- editCommandListMenu->insertItem( "Edit");
+ editCommandListMenu->insertItem(tr( "Edit" ) );
@@ -349,6 +349,6 @@ void Konsole::init(const char* _pgm, QStrList & _args)
- scrollMenu->insertItem("None");
- scrollMenu->insertItem("Left");
- scrollMenu->insertItem("Right");
- configMenu->insertItem("ScrollBar",scrollMenu);
+ scrollMenu->insertItem(tr( "None" ));
+ scrollMenu->insertItem(tr( "Left" ));
+ scrollMenu->insertItem(tr( "Right" ));
+ configMenu->insertItem(tr( "ScrollBar" ),scrollMenu);
@@ -804,3 +804,3 @@ void Konsole::editCommandListMenuSelected(int iD)
secondToolBar->hide();
- configMenu->changeItem( iD,"Show Command List");
+ configMenu->changeItem( iD,tr( "Show Command List" ));
cfg.writeEntry("Hidden","TRUE");
@@ -809,3 +809,3 @@ void Konsole::editCommandListMenuSelected(int iD)
secondToolBar->show();
- configMenu->changeItem( iD,"Hide Command List");
+ configMenu->changeItem( iD,tr( "Hide Command List" ));
cfg.writeEntry("Hidden","FALSE");