1
# Ubuntu: https://bugs.launchpad.net/bugs/389751
2
# Description: replace "abort" with user-friendly language
3
Index: apps/kfind/kfinddlg.cpp
4
===================================================================
5
--- a/apps/kfind/kfinddlg.cpp (revision 990623)
6
+++ b/apps/kfind/kfinddlg.cpp (working copy)
9
setStatusMsg( i18nc("the application is currently idle, there is no active search", "Idle.") );
10
else if (errorCode == KIO::ERR_USER_CANCELED)
11
- setStatusMsg(i18n("Aborted."));
12
+ setStatusMsg(i18n("Canceled."));
13
else if (errorCode == KIO::ERR_MALFORMED_URL)
15
setStatusMsg(i18n("Error."));
16
Index: apps/kfind/kfindpart.cpp
17
===================================================================
18
--- a/pps/kfind/kfindpart.cpp (revision 990623)
19
+++ b/apps/kfind/kfindpart.cpp (working copy)
21
//setStatusMsg(i18n("Ready."));
22
else if (errorCode == KIO::ERR_USER_CANCELED)
24
- //setStatusMsg(i18n("Aborted."));
25
+ //setStatusMsg(i18n("Canceled."));
27
emit canceled(); // TODO ?
28
//setStatusMsg(i18n("Error."));
29
Index: apps/kfind/kfind.cpp
30
===================================================================
31
--- a/apps/kfind/kfind.cpp (revision 990623)
32
+++ b/apps/kfind/kfind.cpp (working copy)
34
mSearch = new KPushButton( KStandardGuiItem::find(), mButtonBox );
35
mButtonBox->setSpacing( (tabWidget->sizeHint().height()-4*mSearch->sizeHint().height()) / 4);
36
connect( mSearch, SIGNAL(clicked()), this, SLOT( startSearch() ) );
37
- mStop = new KPushButton( KStandardGuiItem::stop(), mButtonBox );
38
+ mStop = new KPushButton( KStandardGuiItem::cancel(), mButtonBox );
39
connect( mStop, SIGNAL(clicked()), this, SLOT( stopSearch() ) );
40
mSave = new KPushButton( KStandardGuiItem::saveAs(), mButtonBox );
41
connect( mSave, SIGNAL(clicked()), this, SLOT( saveResults() ) );