describedepcon() is not l10n friendly

Bug #63744 reported by Eungkyu Song
2
Affects Status Importance Assigned to Milestone
dpkg (Debian)
Fix Released
Unknown
dpkg (Ubuntu)
Fix Released
Low
Ian Jackson

Bug Description

describedepcon() is at depcon.c:150.

This function forces word order to 'S + V + O' and isn't l10n friendly.
Korean has 'S + O + V' order and very hard to translate.
Only tricky way can be used to translate.

Ian Jackson (ijackson)
Changed in dpkg:
assignee: nobody → ijackson
Revision history for this message
Eungkyu Song (eungkyu) wrote :

For example, there is a sentence to translate "A depends on B". But, only "depends on" is in translation template and describedepcon() is making the complete string by concatenating "A", translation of "depends on", and "B".

This should be changed to use format string like "%s depends on %s". Thanks.

Ian Jackson (ijackson)
Changed in dpkg:
importance: Undecided → Low
status: Unconfirmed → In Progress
Revision history for this message
Ian Jackson (ijackson) wrote : Re: [Bug 63744] Re: describedepcon() is not l10n friendly

Eungkyu Song writes ("[Bug 63744] Re: describedepcon() is not l10n friendly"):
> This should be changed to use format string like "%s depends on %s".

Yes, I understand and that's what I'm doing.

Ian.

Revision history for this message
Ian Jackson (ijackson) wrote :

fixed in 1.13.22ubuntu7

Changed in dpkg:
status: In Progress → Fix Released
Changed in dpkg:
status: Unknown → Unconfirmed
Changed in dpkg:
status: Unconfirmed → Fix Committed
Changed in dpkg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.