Bug 433757 - Template messages for Plasma announcements are translated with the incorrect function calls
Summary: Template messages for Plasma announcements are translated with the incorrect ...
Status: RESOLVED FIXED
Alias: None
Product: i18n
Classification: Translations
Component: ca (other bugs)
Version First Reported In: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Josep M. Ferrer
URL: https://kde.org/announcements/plasma/...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-28 20:04 UTC by Phu H. Nguyen
Modified: 2021-03-02 21:10 UTC (History)
4 users (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 Phu H. Nguyen 2021-02-28 20:04:47 UTC
SUMMARY
- Messages related to the release time of Plasma's .0 versions (those that differ only by month names) in menu_shared.po are translated with several "{{ Get" parts, while the correct one for those parts should be "{{ .Get".
- This happens with ca, nl, sv, and uk translations. I use CC only not to make 4 separate reports.
- The 5.14.3 announcement link is used to show the missing message in all 4 languages. Please change to your language to see. It also happens in 5.21.1 but not for sv.

OBSERVED RESULT
The respective messages do not appear in the announcements.

EXPECTED RESULT
There should be a dot before "Get" and messages should appear in the announcements.

ADDITIONAL INFORMATION
Since this happens with 4 languages whose translation teams are all experienced, I wonder whether there was something faulty happened. So, could you also tell, if you remember, whether these messages came to you in this form with these "{{ Get" parts (no dot), or whether the messages did have those dots but the copying from the msgid view to the msgstr view of Lokalize made the messages change, or anything that was not your mistake but might have made those dots disappear?
Comment 1 Yuri Chornoivan 2021-02-28 20:13:32 UTC
(In reply to Phu H. Nguyen from comment #0)
> SUMMARY
> - Messages related to the release time of Plasma's .0 versions (those that
> differ only by month names) in menu_shared.po are translated with several
> "{{ Get" parts, while the correct one for those parts should be "{{ .Get".
> - This happens with ca, nl, sv, and uk translations. I use CC only not to
> make 4 separate reports.
> - The 5.14.3 announcement link is used to show the missing message in all 4
> languages. Please change to your language to see. It also happens in 5.21.1
> but not for sv.
> 
> OBSERVED RESULT
> The respective messages do not appear in the announcements.
> 
> EXPECTED RESULT
> There should be a dot before "Get" and messages should appear in the
> announcements.
> 
> ADDITIONAL INFORMATION
> Since this happens with 4 languages whose translation teams are all
> experienced, I wonder whether there was something faulty happened. So, could
> you also tell, if you remember, whether these messages came to you in this
> form with these "{{ Get" parts (no dot), or whether the messages did have
> those dots but the copying from the msgid view to the msgstr view of
> Lokalize made the messages change, or anything that was not your mistake but
> might have made those dots disappear?

Lokalize tries to ease up translation work by aligning punctuation between the source and target languages. I just pressed Ctrl+1 to use up the translation for "January" and did not pay enough attention to those dots. Sorry. Fixed now.
Comment 2 Phu H. Nguyen 2021-02-28 20:40:37 UTC
Thank you, now I see. I'm sorry about this incompatibility too. Will take this into account if I create more messages with parameters in the future.
Comment 3 Josep M. Ferrer 2021-02-28 21:31:55 UTC
Fixed for Catalan (ca) announcements. Thank you for raising this issue.
Comment 4 Freek de Kruijf 2021-02-28 22:00:00 UTC
Fixed for Dutch (nl) announcements.
Comment 5 Josep M. Ferrer 2021-03-02 21:10:12 UTC
Now ca, nl, sv, and uk translations are fixed to solve this issue, so I close this bug. Thanks to everybody involved.