author | cniehaus <cniehaus> | 2002-12-28 17:25:47 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-12-28 17:25:47 (UTC) |
commit | 58868e48eba21d0f400d6b379cb3e3e5b74561b9 (patch) (unidiff) | |
tree | a464d97b6cfb484e12e900a2be61d01f4bfc8d5f /noncore/settings/aqpkg/mainwin.cpp | |
parent | 5d318b693ab687569051712f5079353ebcb6e659 (diff) | |
download | opie-58868e48eba21d0f400d6b379cb3e3e5b74561b9.zip opie-58868e48eba21d0f400d6b379cb3e3e5b74561b9.tar.gz opie-58868e48eba21d0f400d6b379cb3e3e5b74561b9.tar.bz2 |
adding i18n-fixes
@@ -61,10 +61,10 @@ MainWindow :: MainWindow( QWidget *p, ch
// Create the main menu
menu = menuBar(); //new QMenuBar( this );
- menu->insertItem( "&Settings", settings );
- menu->insertItem( "&Edit", edit );
- menu->insertItem( "&Filter", filter );
- menu->insertItem( "&Help", help );
+ menu->insertItem( tr( "&Settings" ), settings );
+ menu->insertItem( tr( "&Edit" ), edit );
+ menu->insertItem( tr( "&Filter" ), filter );
+ menu->insertItem( tr( "&Help" ), help );
mgr = new DataManager();
mgr->loadServers();
Diffstat (limited to 'noncore/settings/aqpkg/mainwin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp index 5f0dabb..b00931e 100644 --- a/noncore/settings/aqpkg/mainwin.cpp +++ b/noncore/settings/aqpkg/mainwin.cpp | |||
@@ -52,28 +52,28 @@ MainWindow :: MainWindow( QWidget *p, char *name ) | |||
52 | edit->insertItem( "Find &Next", this, SLOT(repeatSearchForPackage()), Qt::CTRL+Qt::Key_N ); | 52 | edit->insertItem( "Find &Next", this, SLOT(repeatSearchForPackage()), Qt::CTRL+Qt::Key_N ); |
53 | 53 | ||
54 | filter = new QPopupMenu( this ); | 54 | filter = new QPopupMenu( this ); |
55 | mnuShowUninstalledPkgsId = filter->insertItem( "Show &Non-Installed Packages", this, SLOT(filterUninstalledPackages()), Qt::CTRL+Qt::Key_U ); | 55 | mnuShowUninstalledPkgsId = filter->insertItem( "Show &Non-Installed Packages", this, SLOT(filterUninstalledPackages()), Qt::CTRL+Qt::Key_U ); |
56 | mnuShowInstalledPkgsId = filter->insertItem( "Show In&stalled Packages", this, SLOT(filterInstalledPackages()), Qt::CTRL+Qt::Key_S ); | 56 | mnuShowInstalledPkgsId = filter->insertItem( "Show In&stalled Packages", this, SLOT(filterInstalledPackages()), Qt::CTRL+Qt::Key_S ); |
57 | mnuShowUpgradedPkgsId = filter->insertItem( "Show U&pdated Packages", this, SLOT(filterUpgradedPackages()), Qt::CTRL+Qt::Key_P ); | 57 | mnuShowUpgradedPkgsId = filter->insertItem( "Show U&pdated Packages", this, SLOT(filterUpgradedPackages()), Qt::CTRL+Qt::Key_P ); |
58 | filter->insertSeparator(); | 58 | filter->insertSeparator(); |
59 | mnuFilterByCategory = filter->insertItem( "Filter By &Category", this, SLOT(filterCategory()), Qt::CTRL+Qt::Key_C ); | 59 | mnuFilterByCategory = filter->insertItem( "Filter By &Category", this, SLOT(filterCategory()), Qt::CTRL+Qt::Key_C ); |
60 | mnuSetFilterCategory = filter->insertItem( "Set Filter C&ategory", this, SLOT(setFilterCategory()), Qt::CTRL+Qt::Key_A ); | 60 | mnuSetFilterCategory = filter->insertItem( "Set Filter C&ategory", this, SLOT(setFilterCategory()), Qt::CTRL+Qt::Key_A ); |
61 | 61 | ||
62 | // Create the main menu | 62 | // Create the main menu |
63 | menu = menuBar(); //new QMenuBar( this ); | 63 | menu = menuBar(); //new QMenuBar( this ); |
64 | menu->insertItem( "&Settings", settings ); | 64 | menu->insertItem( tr( "&Settings" ), settings ); |
65 | menu->insertItem( "&Edit", edit ); | 65 | menu->insertItem( tr( "&Edit" ), edit ); |
66 | menu->insertItem( "&Filter", filter ); | 66 | menu->insertItem( tr( "&Filter" ), filter ); |
67 | menu->insertItem( "&Help", help ); | 67 | menu->insertItem( tr( "&Help" ), help ); |
68 | 68 | ||
69 | mgr = new DataManager(); | 69 | mgr = new DataManager(); |
70 | mgr->loadServers(); | 70 | mgr->loadServers(); |
71 | 71 | ||
72 | stack = new QWidgetStack( this ); | 72 | stack = new QWidgetStack( this ); |
73 | 73 | ||
74 | networkPkgWindow = new NetworkPackageManager( mgr, stack ); | 74 | networkPkgWindow = new NetworkPackageManager( mgr, stack ); |
75 | stack->addWidget( networkPkgWindow, 1 ); | 75 | stack->addWidget( networkPkgWindow, 1 ); |
76 | 76 | ||
77 | setCentralWidget( stack ); | 77 | setCentralWidget( stack ); |
78 | stack->raiseWidget( networkPkgWindow ); | 78 | stack->raiseWidget( networkPkgWindow ); |
79 | } | 79 | } |