Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.15.2
-
None
-
Python 3.6
Windows 10 20H2
Description
Scenario:
- Use QT-Designer to create "mainWindowGUI.ui"
- Translate it to "mainWindow.py"
- Write "translation.pro"
- Use "pyside2-lupdate.exe" to generate "translation.ts"
//translation.pro
SOURCES = mainWindow.py
TRANSLATIONS = translation.ts
D:\>C:\Users\User\AppData\Local\Programs\Python\Python36\Lib\site-packages\PySide2\pyside2-lupdate.exe -verbose translation.pro Updating 'translation.ts'... Found 0 source texts (0 new and 0 already existing)
I used "lupdate.exe" then got the same result.
I've tried to replace "QCoreApplication.translate" with "tr" but not working.
Attachments
Issue Links
- is duplicated by
-
PYSIDE-1774 lupdate doesn't handle retranslateUi() created by Qt Designer
-
- Closed
-
-
PYSIDE-1733 pyside2-uic general unicode string, which canot detect by both pyside2-lupdate and pylupdate5
-
- Closed
-
For Gerrit Dashboard: PYSIDE-1717 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
389777,3 | Documentation: Mention that .ui/.qml files should be passed to lupdate | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
389987,2 | Documentation: Mention that .ui/.qml files should be passed to lupdate | 6.2 | pyside/pyside-setup | Status: MERGED | +2 | 0 |