User messages cleanup (and de-emphasize Konqueror)
ClosedPublic

Authored by ltoscano on Mar 18 2017, 12:02 AM.

Details

Summary
  • more highlight on "applications that use a certain KIO", Konqueror is "just" an example of such applications;
  • specify KIO in addition to Konqueror in the user agent;
  • remove few possible references to KDE-as-the-destkop;
  • general cleanup of various user messages (configuration modules headlines, help messages);
  • fix the HTML tag inside quickHelp() messages (move <h1> outside <p>);
  • remove the reference to contents which has not be available for a long time into the kcms_smb (which should probably be moved under kio-extras with kio_smb).

Some of the kio_http references can be slightly less clear than
before, but KIO for sure can be used without Konqueror, so this
is a step forward.

BUG: 253389

Test Plan

Compiles, the updated strings are used.

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ltoscano created this revision.Mar 18 2017, 12:02 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptMar 18 2017, 12:02 AM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
lueck added a subscriber: lueck.Mar 18 2017, 9:42 AM
lueck added inline comments.
src/kcms/kio/smbrodlg.cpp
175–176

There are no fields named Browse server, Broadcast address, WINS address in the dialog, see
https://bugs.kde.org/show_bug.cgi?id=253389

Last occurences of these strings are in
https://websvn.kde.org/tags/KDE/3.3.0/kdebase/kcontrol/kio/ksmboptdlg.cpp?view=markup

ksmboptdialog.cpp was replaced with smbrodlg.cpp without these strings with
https://websvn.kde.org/trunk/kdebase/kcontrol/kio/smbrodlg.cpp?revision=76131&view=markup&pathrev=76131

Therefore everything about Browse server, Broadcast address, WINS address should be removed.

Otherwise looks good to me.

Thanks

aacid added a subscriber: aacid.Mar 18 2017, 10:34 AM
aacid added inline comments.
src/core/kprotocolmanager.cpp
844

This may be techinically correct, but it's going to break stuff that uses user agent detection (yes i know, that's broken but people use it still), so -1

ltoscano added inline comments.Mar 18 2017, 12:13 PM
src/core/kprotocolmanager.cpp
844

(like Gecko) kio_http/<ver> (previously Konqueror/<ver>)

?
:)

ltoscano added inline comments.Mar 18 2017, 2:58 PM
src/kcms/kio/smbrodlg.cpp
175–176

I will fix it (basically removing most of the text), but I realize now that this KCM should not be here. The kio_smb is in kio-extras, this code should be moved there.

ltoscano updated this revision to Diff 12607.Mar 19 2017, 12:12 AM

Few more cleanups and few suggested changes

ltoscano retitled this revision from More focus on KIO than Konqueror to More focus on KIO than Konqueror and msg cleanups.Mar 19 2017, 12:13 AM
ltoscano edited the summary of this revision. (Show Details)
ltoscano edited the test plan for this revision. (Show Details)
dfaure added inline comments.Mar 19 2017, 10:52 AM
src/core/kprotocolmanager.cpp
846

How about just KIO ?

kio_http is unnecessarily specific IMHO. It's all of KIO/5.33 that ends up making up the http client.

src/kcms/kio/cache.cpp
109

Memory? that seems wrong (or at least misleading) to me. The kio_http cache is on disk, not in RAM.

src/kcms/kio/smbrodlg.cpp
175–176

I agree.

ltoscano added inline comments.Mar 19 2017, 2:45 PM
src/core/kprotocolmanager.cpp
846

Ack

src/kcms/kio/cache.cpp
109

Right, I simply fixed the Konqueror part but I did not read the whole sentence.

ltoscano updated this revision to Diff 12615.Mar 19 2017, 2:45 PM

Apply the requested suggestions

ltoscano retitled this revision from More focus on KIO than Konqueror and msg cleanups to User messages cleanup (and de-emphasize Konqueror).Mar 19 2017, 2:48 PM
ltoscano edited the summary of this revision. (Show Details)
aacid added a comment.Mar 19 2017, 4:06 PM

Looks good to me now. I'll let someone else do the final approval, since various of us commented.

dfaure accepted this revision.Mar 19 2017, 5:22 PM
This revision is now accepted and ready to land.Mar 19 2017, 5:22 PM
This revision was automatically updated to reflect the committed changes.