Bug 472155 - Dolphin when sorting by date, month mistranslation
Summary: Dolphin when sorting by date, month mistranslation
Status: RESOLVED FIXED
Alias: None
Product: i18n
Classification: Translations
Component: fr (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KDE Francophone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-11 12:58 UTC by Méven Car
Modified: 2023-07-12 07:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Méven Car 2023-07-11 12:58:58 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

in https://websvn.kde.org/trunk/l10n-kf5/fr/messages/dolphin/dolphin.po?revision=1655408&view=markup

We have:

#: kitemviews/kfileitemmodel.cpp:2557
2040 	#, kde-format
2041 	msgctxt ""
2042 	"@title:group The month and year: MMMM is full month name in current locale, "
2043 	"and yyyy is full year number"
2044 	msgid "MMMM, yyyy"
2045 	msgstr "MMMM, aaaa"

But
"MMMM, aaaa" => "Juin, amamamam" / "Juillet, pmpmpmpm"

"a" is interpreted as am/pm

We should have instead

#: kitemviews/kfileitemmodel.cpp:2557
2040 	#, kde-format
2041 	msgctxt ""
2042 	"@title:group The month and year: MMMM is full month name in current locale, "
2043 	"and yyyy is full year number"
2044 	msgid "MMMM, yyyy"
2045 	msgstr "MMMM, yyyy"

"MMMM, yyyy" => "Juin, 2023".

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jazeix Johnny 2023-07-12 06:57:08 UTC
Thanks, I fixed it in https://websvn.kde.org/?view=revision&revision=1655662
Comment 2 Méven Car 2023-07-12 07:07:09 UTC
Merci :-)