Bug 458768

Summary: <placeholder> tags surround the text in brackets, which is slightly misleading regarding what the actual placeholder text is
Product: [Frameworks and Libraries] frameworks-ki18n Reporter: iodreamify
Component: generalAssignee: Chusslove Illich <caslav.ilic>
Status: CONFIRMED ---    
Severity: normal CC: kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 5.97.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot

Description iodreamify 2022-09-06 00:29:03 UTC
Created attachment 151858 [details]
screenshot

SUMMARY
The text explaining what arguments may be used in the clipboard actions command line is somewhat misleading to the user. A user may think they're supposed to use <%s> with the angled brackets included while only %s is needed and the command will fail otherwise. 

I've seen this confuse at least one person. Is there a reason angled brackets are used here and not simply the string that needs to be inserted? As far as i can tell, similar windows in other environments just simply use the argument directly. example: http://i.imgur.com/qliSSE1.png 

Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Comment 1 Nate Graham 2022-09-09 03:50:03 UTC
I would tend to agree.

After a bit of investigation, it appears that the brackets are added by KUIT formatting when wrapping something in <placeholder> tags; those tags become brackets. This should be fixed generically in KLocalizedString.