summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/kaddressbook/germantranslation.txt6
-rw-r--r--kaddressbook/kabcore.cpp24
2 files changed, 18 insertions, 12 deletions
diff --git a/bin/kdepim/kaddressbook/germantranslation.txt b/bin/kdepim/kaddressbook/germantranslation.txt
index d767757..75df50f 100644
--- a/bin/kdepim/kaddressbook/germantranslation.txt
+++ b/bin/kdepim/kaddressbook/germantranslation.txt
@@ -517,16 +517,22 @@
{ "Order:","Reihenfolge:" },
{ "Ascending","Aufsteigend" },
{ "Descending","Absteigend" },
{ "Save file","Datei speichern" },
{ "Error","Fehler" },
{ "Unable to export contacts.","Exportieren der Kontakte geht nicht." },
{ "\nNo unsaved changes detected!\nNothing will be saved!","\nKeine ungespeicherten\nÄnderungen erkannt!\nNichts wird gespeichert!" },
{ "Manage new categories...","Verwalte neue Kategorien..." },
+{ "&File","Datei" },
+{ "&Edit","Bearbeite" },
+{ "&View","Ansichten" },
+{ "&Settings","Konfiguration" },
+{ "&Change selected","Ändere Selekt." },
+{ "&Help","Hilfe" },
{ "","" },
{ "","" },
{ "","" },
{ "","" },
{ "","" },
{ "","" },
{ "","" },
{ "","" },
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 9505a23..4445310 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -1984,43 +1984,43 @@ void KABCore::addActionsManually()
#ifndef DESKTOP_VERSION
if ( KABPrefs::instance()->mFullMenuBarVisible ) {
#endif
QMenuBar* mb = mMainWindow->menuBar();
//US setup menubar.
//Disable the following block if you do not want to have a menubar.
- mb->insertItem( "&File", fileMenu );
- mb->insertItem( "&Edit", editMenu );
- mb->insertItem( "&View", viewMenu );
- mb->insertItem( "&Settings", settingsMenu );
+ mb->insertItem( i18n("&File"), fileMenu );
+ mb->insertItem( i18n("&Edit"), editMenu );
+ mb->insertItem( i18n("&View"), viewMenu );
+ mb->insertItem( i18n("&Settings"), settingsMenu );
mb->insertItem( i18n("Synchronize"), syncMenu );
- mb->insertItem( "&Change selected", changeMenu );
- mb->insertItem( "&Help", helpMenu );
+ mb->insertItem( i18n("&Change selected"), changeMenu );
+ mb->insertItem( i18n("&Help"), helpMenu );
mIncSearchWidget = new IncSearchWidget( tb );
// tb->insertWidget(-1, 0, mIncSearchWidget);
#ifndef DESKTOP_VERSION
} else {
//US setup toolbar
QPEMenuBar *menuBarTB = new QPEMenuBar( tb );
QPopupMenu *popupBarTB = new QPopupMenu( this );
menuBarTB->insertItem( "ME", popupBarTB);
tb->insertWidget(-1, 0, menuBarTB);
mIncSearchWidget = new IncSearchWidget( tb );
tb->enableMoving(false);
- popupBarTB->insertItem( "&File", fileMenu );
- popupBarTB->insertItem( "&Edit", editMenu );
- popupBarTB->insertItem( "&View", viewMenu );
- popupBarTB->insertItem( "&Settings", settingsMenu );
+ popupBarTB->insertItem( i18n("&File"), fileMenu );
+ popupBarTB->insertItem( i18n("&Edit"), editMenu );
+ popupBarTB->insertItem( i18n("&View"), viewMenu );
+ popupBarTB->insertItem( i18n("&Settings"), settingsMenu );
popupBarTB->insertItem( i18n("Synchronize"), syncMenu );
mViewManager->getFilterAction()->plug ( popupBarTB);
- popupBarTB->insertItem( "&Change selected", changeMenu );
- popupBarTB->insertItem( "&Help", helpMenu );
+ popupBarTB->insertItem( i18n("&Change selected"), changeMenu );
+ popupBarTB->insertItem( i18n("&Help"), helpMenu );
if (QApplication::desktop()->width() > 320 ) {
// mViewManager->getFilterAction()->plug ( tb);
}
}
#endif
// mActionQuit->plug ( mMainWindow->toolBar());