qfusion icon indicating copy to clipboard operation
qfusion copied to clipboard

Source string with an empty "" at the start can't be translated

Open adem4ik opened this issue 7 years ago • 1 comments

  1. Open any po file with translation
  2. Add "" at the start of msgid
  3. Save po file and find the string ingame

Result: string won't be translated Expected result: string is translated

Examples:

msgid "" "Ready!" msgstr "Готов!"

msgid """Ready!" msgstr "Готов!"

adem4ik avatar Jan 23 '17 18:01 adem4ik

Such kind of .po may appear after using po-normalize. At least Transifex do so with translation files. https://www.gnu.org/software/gettext/manual/html_node/Normalizing.html

adem4ik avatar Sep 09 '19 15:09 adem4ik