Ticket #2941 (closed defect: fixed)
i18n label sizes in learn key dialog
Reported by: | dmartina | Owned by: | andrew_b |
---|---|---|---|
Priority: | minor | Milestone: | 4.8.7 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master |
Description
With latest git sources. Learn keys dialogue shows "smaller buttons" when localized key names include special chars (as the "á" in "Avanzar página" for es_ES locale). "%Ns" formats for g_snprintf are not reliable for multibyte encodings.
I'm providing a patch where padding size is previously computed. For larger buttons (> 16 characters) padding size must be zero.
Attachments
Change History
comment:1 Changed 12 years ago by andrew_b
- Owner set to andrew_b
- Keywords i18n removed
- Status changed from new to accepted
- Blocked By 2888 added
comment:4 Changed 12 years ago by andrew_b
- Status changed from accepted to testing
- Votes for changeset set to committed-master
- Resolution set to fixed
- Branch state changed from no branch to merged
Fixed in master: [368e250102af9b111e25f8e0dbba2db4fb0660cb].
Note: See
TracTickets for help on using
tickets.