Bug 441978

Summary: Empties Trash to create free space string in navigation bar's Empty Trash button's tooltip is untranslatable
Product: [Applications] dolphin Reporter: Tyson Tan <tysontanx>
Component: generalAssignee: Tyson Tan <tysontanx>
Status: RESOLVED FIXED    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 21.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tyson Tan 2021-09-04 07:13:20 UTC
The tooptip "Empties Trash to create free space" of Empty Trash button in navigation bar is untraslatable.

Empty Trash
#: dolphinnavigatorswidgetaction.cpp:236

Empties Trash to create free space
#: dolphinnavigatorswidgetaction.cpp:237

It's QLatin1String instead of i18nc.

In fact, this source file has multiple occasions of QLatin1String that have not been internationalized.
Comment 1 Tyson Tan 2021-09-05 07:20:03 UTC
I tried to fix it, I hope it works!

MR:
https://invent.kde.org/system/dolphin/-/merge_requests/267