Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.0 Beta 4
-
945d7c1f00f08fb1cb29bd548e8c4d0a42857f67 (qt/qttools/5.13)
Description
For example:
msgid "" msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Language: fi_FI\n" # translator comment #. some text #. ts-id some-id msgid "some text" msgstr "..."
The "translator comment" and "some text" will have line feed at the end causing it to become:
<message id="some-id">
<source>some text</source>
<extracomment>some text
</extracomment>
<translatorcomment>translator comment
</translatorcomment>
<translation>...</translation>
</message>
The issue is that when converting from .ts to .po to .ts, there seem to be more changes than necessary because of these new lines.