Priority: P3: Somewhat important
Resolution: Won't Do
Affects Version/s: 5.13.2
Fix Version/s: None
This Problem happens in the following workflow:
Qt Designer →pyside2-uic→ Python file →pyside-lupdate→ language file (.ts)
If you convert your *.ui file via pyside2-uic to a *.py file, the function 'retranslateUi()' is auto generated. In this function all the translate statements are outofilled with the default values: translate(CONTEXT, KEY, None, -1).
If you run the pyside2-lupdate command, a *.ts file is generated which context part looks like this:
If you remove the last parameter in the translate statement (translate(CONTEXT, KEY, None)) the same part looks like this:
That means the default value is not working properly, because if you leave it out, it leads to a different result in building the language file.
The problem with this output is that with the 'numerus="yes"' option you have to add a plural form in Qt Linguist, otherwise an update with a new realease won't work. You always have to set everything to unfinished and confirm it once again (I observed this behaviour when the yellow ticks are present in Qt Linguist).
So it would be nice if this problem could be fixed. I think it exists in the function 'translate' or in the parsing program 'pyside2-lupdate'