Bug 527386 - KRunner converter incorrectly pluralizes "hertz"
Summary: KRunner converter incorrectly pluralizes "hertz"
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: converter (other bugs)
Version First Reported In: 6.8.0
Platform: EndeavourOS Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-10-18 23:08 UTC by debiogenesis
Modified: 2026-10-23 00:21 UTC (History)
4 users (show)

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


Attachments
Screenshot of output. (23.76 KB, image/jpeg)
2026-10-18 23:08 UTC, debiogenesis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description debiogenesis 2026-10-18 23:08:01 UTC
Created attachment 197314 [details]
Screenshot of output.

DESCRIPTION

KRunner's converter function shows Hz values as "hertzs", "kilohertzs", "megahertzs", "gigahertzs", etc.

STEPS TO REPRODUCE
1. Open KRunner
2. Type in a value, such as "1 MHz" or "600 RPM"

OBSERVED RESULT
Values are correctly converted; however, units are spelled as follows:
Hertzs
Kilohertzs
Megahertzs
Gigahertzs
...and so on.

EXPECTED RESULT
Plural should be simply "[*]hertz".

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a terminal window):
KDE Plasma Version: 6.8.0
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0

ADDITIONAL INFORMATION
- Most dictionaries I've found only show "hertz" as a plural version of hertz. A few offer "hertzes" as an alternative. I've never encountered that in US English, but perhaps it's used elsewhere. As far as I've seen, "hertzs" is never correct.
- If one enters "0.001 kHz"/"60 RPM"/etc., the conversion to 1Hz is correctly shown as just "hertz".
Comment 1 Bug Janitor Service 2026-10-19 08:11:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kunitconversion/-/merge_requests/94
Comment 2 Tobias Fella 2026-10-20 12:26:50 UTC
Git commit cfd034574be0f5d59dafcecdb74f57a39663a945 by Tobias Fella.
Committed on 19/10/2026 at 08:08.
Pushed by tfella into branch 'master'.

Fix wrong plural of "hertz"

M  +64   -64   src/frequency.cpp

https://invent.kde.org/frameworks/kunitconversion/-/commit/cfd034574be0f5d59dafcecdb74f57a39663a945