Do not sort output from .xml.in
Bug #520986 reported by
Rail Aliiev
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intltool |
Fix Released
|
Low
|
Данило Шеган |
Bug Description
This is a duplicate bug originally reported by Dwayne Bailey here: https:/
Running intltool-update on various xml.in files results in the translation
strings being sorted.
This creates a problem for translation as the file is following a system of:
group
name
description
group
etc
The result is that the connection between name and description is lost and a
translator cannot infer information from the description to help translate a
cryptic name.
A simple hack to remove the sorting results in a order that doesn't represent
the order of the underlying file either.
Attached is a simple patch which solves the problem.
Related branches
lp:~danilo/intltool/bug-520986
- Данило Шеган: Approve
-
Diff: 409 lines (+76/-68)16 files modifiedintltool-extract.in (+24/-16)
tests/results/context.xml.in.h (+1/-1)
tests/results/extract-comments.xml.h (+9/-9)
tests/results/extract-gtkbuilder.ui.h (+1/-1)
tests/results/extract12.xml.in.h (+1/-1)
tests/results/extract13.desktop.in.h (+1/-1)
tests/results/extract14.xml.in.h (+3/-3)
tests/results/extract7.xml.h (+5/-5)
tests/results/extract8.glade.h (+8/-8)
tests/results/extract9.xml.in.h (+2/-2)
tests/results/iso88591text.xml.in.h (+3/-3)
tests/results/space-preserve.xml.in.h (+2/-2)
tests/results/test-quoted.dtd.h (+2/-2)
tests/results/test.schemas.in.h (+3/-3)
tests/results/test.scm.h (+8/-8)
tests/results/unicodetext.xml.in.h (+3/-3)
Changed in intltool: | |
milestone: | none → 0.42.0 |
assignee: | nobody → Данило Шеган (danilo) |
Changed in intltool: | |
status: | Triaged → In Progress |
Changed in intltool: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
There should be no need to introduce a new dependency for this feature. Also, we should probably keep the sorting in, but do it on the source file location, just like xgettext does anyway.