Closed jdorr closed 1 year ago
Looks great to me! Only missing bit is the legal side - the CLA. That document there says that the code belongs to the repository rather than you the individual. It affects anyone downloading and using Qt.py and helps keep the legal monkeys out of the machine. Are you able to click through that?
Strange, I signed the CLA 3x already but the status is still pending.
Eek, unclear why that is. Would it be possible to make a new pull request, and try signing there instead? Could be the CLA service that's freaking out. If possible, can you try pasting the entire Qt.py file in the GitHub text editor of your fork, and committing from there? It should avoid any author confusion by both GitHub and CLA Assistant. Sorry for the hassle, lawyers man..
Sounds good! I will try...
Hi @mottosso, I was able to sign it in a new PR. Sorry for the confusion. https://github.com/mottosso/Qt.py/pull/382
In this pull request, I update the logic in
translate()
to allow optional arguments.I decided to open this pull request after I ran into a ui file compilation difference:
Notice how the first compilation with
pyside-5.15.4
returns translate with 3 arguments instead of 4. When we eventually useQtCompat.translate()
we run into the following error:Now
translate("MainWindow", u"MainWindow", None)
will work sincen
defaults to-1
.