Bug 113783 - Messy error message in dialog
Summary: Messy error message in dialog
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2005-10-03 16:33 UTC by Hasso Tepper
Modified: 2018-10-29 02:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hasso Tepper 2005-10-03 16:33:53 UTC
Version:           tundmatu (using KDE 3.4.91 (beta1, >= 20050910), compiled sources)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.13-rc6-git9-rt9

Look at screenshot - http://hasso.linux.ee/pics/ldap-error-en.png, note there are two dots after error message. AFAICS what happens:

from kdelibs/kio/kio/global.cpp:287
result = i18n( "Could not connect to host %1." ).arg( errorText.isEmpty() ? QString::fromLatin1("localhost") : errorText );

In this particular case errorText contains not only URL, but also additional info about error (error message from server). In English it's not too bad, but in Estonian error message doesn't end with %1, it's something like "Creating connection to host %1 failed.". As result it looks really bad in Estonian:

http://hasso.linux.ee/pics/ldap-error-et.png
Comment 1 Thiago Macieira 2005-10-04 05:57:29 UTC
The error is in the error string, which should not end with a dot.

The problem is I can't find it anywhere in our source code...
Comment 2 Hasso Tepper 2005-10-04 09:13:26 UTC
%1 must not replaced with different info - URL and error message. I have to put text after URL and before error message in Estonian translation. I'm almost sure that Estonian is not the only one. Ie. it should be something like this:

"Could not connect to host %1.\n"
"%2"

Where %1 is URL and %2 is error message (additional info).
Comment 3 Hasso Tepper 2005-10-04 10:56:06 UTC
> The problem is I can't find it anywhere in our source code... 

You mean "Error in the certificate." string? It isn't in the kio source AFAICS. It's what the server says. 
Comment 4 Thiago Macieira 2005-10-04 13:18:22 UTC
Agreed. The English original makes it obvious that %1 is a hostname.
Comment 5 Nate Graham 2018-04-23 18:43:37 UTC
Is this still relevant or applicable with KDE Frameworks 5.45?
Comment 6 Andrew Crouthamel 2018-09-28 03:27:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-10-29 02:09:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!