Opened 9 years ago
Closed 8 years ago
#12506 closed Patch - Bug Fix (fixed)
deterministic sort order for MythWeb message catalog
Reported by: | Owned by: | Nicolas Riendeau | |
---|---|---|---|
Priority: | minor | Milestone: | 0.28 |
Component: | Translations | Version: | Unspecified |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Message sort order implemented in build_translation.pl is not deterministic. On every execution script produces different message catalog because ordering of message keys that differ only in letter case is selected randomly.
This patch ensures that selected sort order is deterministic. Uppercase letter is always placed in front of corresponding lowercase letter.
Patch should be applied and used to reorder message catalog on all active branches to avoid merge conflict when message catalog is updated with build_translation.pl.
Attachments (1)
Change History (4)
Changed 9 years ago by
Attachment: | 0001-Make-sure-string-sorting-in-message-catalog-is-deter.patch added |
---|
comment:1 Changed 9 years ago by
Component: | Plugin - MythWeb → Translations |
---|---|
Owner: | changed from Rob Smith to Nicolas Riendeau |
comment:2 Changed 8 years ago by
Milestone: | unknown → 0.28 |
---|---|
Status: | new → assigned |
comment:3 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Thank you for your contribution. I can reproduce the issue and the fix. Moving this over to Translations for consideration.