Bug 504497

Summary: Some strings seem to use hard-coded English numbers for dates
Product: [Applications] Merkuro Reporter: Philipp Kiemle <philipp.kiemle>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: REPORTED ---    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Event details screenshot

Description Philipp Kiemle 2025-05-18 23:02:31 UTC
Created attachment 181481 [details]
Event details screenshot

SUMMARY
While translating, we (i18n-de) noticed, that some date strings are formatted in a bad way for i18n: They use things like "1st", "2nd" etc, with no way for translators to change that. 

STEPS TO REPRODUCE
1. Create a monthly or yearly recurring event in a calendar. Bug is also present with Tasks.
2. Hover the mouse pointer over the event/task.

OBSERVED RESULT
See "Event details screenshot"; it says "Jeden Monat am 3rd."
The "rd" is not part of the German translation, the "." is.
I suspect it is the same with every string in this format, this list may be not complete:
- "Every year on the %2 of %3"
- "Every month on the %2"
- "Every year on the %2 day of the year"
- "The %1 of each month"
- "The %1 %2 of each month"

EXPECTED RESULT
It should say "Jeden Monat am 3."
My locale settings are all set to German, anyway.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 25.04
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Kernel Version: 6.14.0-15-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: Z170-Gaming K3