Bug 335105 - Word puzzle: explicit concatenation of "%n folders(s)" and "%n file(s)"
Summary: Word puzzle: explicit concatenation of "%n folders(s)" and "%n file(s)"
Status: CONFIRMED
Alias: None
Product: frameworks-kjobwidgets
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.99.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-20 22:59 UTC by Alexander Potashev
Modified: 2018-11-12 03:06 UTC (History)
1 user (show)

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


Attachments
Screenshot (36.08 KB, image/png)
2014-05-21 06:43 UTC, Alexander Potashev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2014-05-20 22:59:19 UTC
In KWidgetJobTracker::Private::ProgressWidget::showTotals() in kdeui/jobs/kwidgetjobtracker.cpp, the separator between "%n folder(s)" and "%n file(s)" is hardcoded to "  ". I would like to be able to translate it into Russian as something like "X folders, Y files" or "X folders and Y files", but I can't do that in the current state of the source code.

This can be fixed by using another QCoreApplication::translate() to merge them, e.g. tr("%1 and %2").arg(folderCountText).arg(fileCountText).

There is the same problem in kdelibs of KDE SC 4.x (in the current HEAD of master).

Reproducible: Always
Comment 1 Alexander Potashev 2014-05-21 06:43:10 UTC
Created attachment 86739 [details]
Screenshot

Screenshot of GUI dialog where the concatenated string appears.
Comment 2 Andrew Crouthamel 2018-11-11 04:34:58 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Alexander Potashev 2018-11-11 14:12:44 UTC
Still not fixed in KF 5.52.0
Comment 4 Andrew Crouthamel 2018-11-12 03:06:56 UTC
Thanks for the update!