FashionFreedom / Seamly2D

Open source patternmaking software to democratize fashion.
https://seamly.io
GNU General Public License v3.0
617 stars 111 forks source link

maintenance: add locations to lupdate #1072

Closed DSCaskey closed 8 months ago

DSCaskey commented 8 months ago

This adds the location tags to translation ts files so that either the source code or the Ui form where the source text is found will be displayed in the Sources and Forms window. In the case of the Ui forms it will also display the translated text in the form.

image

image

To include the locations tags lupdate needs to be run with the -locations option, and in this case used the -locations relative option.

DSCaskey commented 8 months ago

@csett86

Looks good to me. Thanks for adding this to the pro file.