-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 10 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 16 |
2 files changed, 20 insertions, 6 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index 9105919..6b62d4e 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt | |||
@@ -1375,7 +1375,17 @@ | |||
1375 | { "Print complete list","Drucke komplette Liste" }, | 1375 | { "Print complete list","Drucke komplette Liste" }, |
1376 | { "Hide all selected","Verstecke Selektierte" }, | 1376 | { "Hide all selected","Verstecke Selektierte" }, |
1377 | { "Add items","hinzufügen" }, | 1377 | { "Add items","hinzufügen" }, |
1378 | { "One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?","Ein (oder mehrere) ausgewähltes\nTodo hat Untertodos!\nMöchten Sie der Auswahlliste\nalle Untertodos von allen\nausgewählten Todos hinzufügen?" }, | 1378 | { "One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?","Ein (oder mehrere) ausgewähltes\nTodo hat Untertodos!\nMöchten Sie der Auswahlliste\nalle Untertodos von allen\nausgewählten Todos hinzufügen?" }, |
1379 | { "Print List View...","Drucke Listenansicht..." }, | ||
1380 | { "You can make a printout of the <b>List View</b> and the list view in the <b>Search Dialog</b>! To do this, please go to the <b>List View/Search Dialog</b>. Right click on the list. Select in the popup menu the entry <b>Print complete list</b>. That prints the list as you see it. You can remove items from the list before printing without deleting the corresponding event/todo! Simply select all items you do not want to print out. Then right click on one of the items and choose <b>Hide selected items</b>. After that you can print the list without these items.","Sie können die <b>Listenansicht</b> und die Listenansicht im <b>Suchdialog</b> ausdrucken! Um das zu machen gehen Sie bitte zur <b>Listenansicht</b> oder zum <b>Suchdialog</b>. Rechtsklicken Sie auf die Liste. Wählen Sie im Popupmenu den Eintrag <b>Drucke komplette Liste</b>. Das druckt die Liste so, wie man sie sieht. Sie können Listeneinträge entfernen ohne die korrespondierenden Ereignisse/Todos zu löschen! Selektieren sie einfach alle Einträge, die sie nicht ausdrucken möchten. Dann Rechtsklicken Sie auf einen Eintrag und wählen <b>Verstecke Selektierte</b>. Danach können Sie die Liste ohne diese Einträge ausdrucken." }, | ||
1381 | { "","" }, | ||
1382 | { "","" }, | ||
1383 | { "","" }, | ||
1384 | { "","" }, | ||
1385 | { "","" }, | ||
1386 | { "","" }, | ||
1387 | { "","" }, | ||
1388 | { "","" }, | ||
1379 | { "","" }, | 1389 | { "","" }, |
1380 | { "","" }, | 1390 | { "","" }, |
1381 | { "","" }, \ No newline at end of file | 1391 | { "","" }, \ No newline at end of file |
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 20f8b57..25e76ee 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -1058,18 +1058,19 @@ void MainWindow::initActions() | |||
1058 | action->addTo( beamMenu_X ); | 1058 | action->addTo( beamMenu_X ); |
1059 | connect( action, SIGNAL( activated() ), | 1059 | connect( action, SIGNAL( activated() ), |
1060 | mView->viewManager(), SLOT( slotprintWNV() ) ); | 1060 | mView->viewManager(), SLOT( slotprintWNV() ) ); |
1061 | 1061 | ||
1062 | action = new QAction( i18n("Print selected event / todo..."),icon,i18n("Print selected event / todo..."), 0, this ); | 1062 | |
1063 | icon = loadPixmap( pathString + "print" ); | ||
1064 | action = new QAction( i18n("Print List View..."),icon,i18n("Print List View..."), 0, this ); | ||
1063 | action->addTo( beamMenu_X ); | 1065 | action->addTo( beamMenu_X ); |
1064 | connect( action, SIGNAL( activated() ), | 1066 | connect( action, SIGNAL( activated() ), |
1065 | mView, SLOT( slotprintSelInc() ) ); | 1067 | this, SLOT( printListView() ) ); |
1066 | 1068 | ||
1067 | icon = loadPixmap( pathString + "print" ); | 1069 | action = new QAction( i18n("Print selected event / todo..."),icon,i18n("Print selected event / todo..."), 0, this ); |
1068 | action = new QAction( i18n("Print list view..."),icon,i18n("Print list view..."), 0, this ); | ||
1069 | action->addTo( beamMenu_X ); | 1070 | action->addTo( beamMenu_X ); |
1070 | connect( action, SIGNAL( activated() ), | 1071 | connect( action, SIGNAL( activated() ), |
1071 | this, SLOT( printListView() ) ); | 1072 | mView, SLOT( slotprintSelInc() ) ); |
1072 | 1073 | ||
1073 | importMenu->insertItem( i18n("Print"), beamMenu_X ); | 1074 | importMenu->insertItem( i18n("Print"), beamMenu_X ); |
1074 | #endif | 1075 | #endif |
1075 | importMenu->insertSeparator(); | 1076 | importMenu->insertSeparator(); |
@@ -2426,9 +2427,12 @@ void MainWindow::getFile( bool success ) | |||
2426 | setCaption( i18n("Pi-Sync successful!") ); | 2427 | setCaption( i18n("Pi-Sync successful!") ); |
2427 | } | 2428 | } |
2428 | void MainWindow::printListView() | 2429 | void MainWindow::printListView() |
2429 | { | 2430 | { |
2430 | qDebug("MainWindow::printListView() "); | 2431 | |
2432 | QString message = i18n("You can make a printout of the <b>List View</b> and the list view in the <b>Search Dialog</b>! To do this, please go to the <b>List View/Search Dialog</b>. Right click on the list. Select in the popup menu the entry <b>Print complete list</b>. That prints the list as you see it. You can remove items from the list before printing without deleting the corresponding event/todo! Simply select all items you do not want to print out. Then right click on one of the items and choose <b>Hide selected items</b>. After that you can print the list without these items."); | ||
2433 | |||
2434 | KMessageBox::information( this, message); | ||
2431 | } | 2435 | } |
2432 | void MainWindow::printSel( ) | 2436 | void MainWindow::printSel( ) |
2433 | { | 2437 | { |
2434 | mView->viewManager()->agendaView()->agenda()->printSelection(); | 2438 | mView->viewManager()->agendaView()->agenda()->printSelection(); |