Sort nodes in XLAT file

Issue #46 resolved
Mykola Petrivs'kyi created an issue

I have tried to add file to my git repo, then translated a few lines and wanted to make a new commit. It turned out that for the same version of EXE file, XLAT file contains big amount of changes. Most of them are simply nodes moved around, but since the project is big, there are tens if not hundreds of them, and it is hard to find real changes. Please, add some type of node sorting to XLAT file, in order to minimize random changes.

Comments (9)

  1. Mykola Petrivs'kyi reporter

    Now it is much better. The only strange thing that changes is “properties” value in some nodes.

    Can you make “Save items sorted” option enabled by default?

  2. Anders@Melander

    The only strange thing that changes is “properties” value in some nodes.

    Can you show me what you mean?

    Can you make “Save items sorted” option enabled by default?

    Yes, that sounds reasonable. I can’t remember why I didn’t do that in the first place.

  3. Anders Melander repo owner

    The properties attribute value indicates the number of child items that are “translatable”.

    The value will change if the status of child items are changed from Translate to Don’t translate or vice versa, or if properties are added/removed e.g. because the components are updated.

    The value is purely informational from the POW of BTM (i.e. it's not used for anything) as it can be deduced from the status of the child items. External tools could use it to display the translation project status/progress.

    I can see that it’s just noise when you just want to see which translations changed and how.

    I have created a new issue for this: #47

  4. Log in to comment