Closed Bili-TianX closed 9 months ago
Unfortunately, this issue is caused by lupdate, as it is not able to interpret Kotlin source code. Recreating lupdate for Kotlin outweights the capacities of this project. Feel free to request this feature from Qt.
Unfortunately, this issue is caused by lupdate, as it is not able to interpret Kotlin source code. Recreating lupdate for Kotlin outweights the capacities of this project. Feel free to request this feature from Qt.
I tried Java and it worked properly. Maybe I will correct the ts file manually for developing Kotlin project in the future. Thank you!
Is your feature request related to a problem? Please describe.
Yes. I created a
.pro
file:and run the command:
After I finished the translation, I run:
Then I copied it to the
resources
folder and run my program. However, it didn't work.I found out that it was because the "context" in the ts file was wrong.
Actually, the
scope
variable in Java code is "top.bilitianx.Window", not "Window".Describe the solution you'd like
Specifically develop a program that does what
lupdate.exe
does, but for Java/Kotlin in particular.Describe alternatives you've considered
As described above.