Change #266537
| Category | doxygen |
| Changed by | StackAndPointer <1733594238@qq.com> |
| Changed at | Thu 07 May 2026 16:48:55 |
| Repository | https://github.com/doxygen/doxygen.git |
| Project | doxygen |
| Branch | master |
| Revision | 6ee70e72990cf9a1b9ae31197a7abd5eb4264291 |
Comments
Fix translation resource embedding and language switching issues CMakeLists.txt fixes: - Use DOXYWIZARD_TRANSLATION_FILES to compute .qm file paths at configure time instead of relying on qt_add_translation output variable which may be empty - Add OBJECT_DEPENDS property to ensure .qm files are generated before resource compilation - Use full paths in .qrc file for reliable resource embedding doxywizard.cpp fixes: - Add support for English language code 'en' in isLanguageCodeSupported() (English is the default language and has no doxywizard_en.qm file) - Fix switchLanguage() to properly save language setting with sync() call - Remove redundant local QSettings variable These changes ensure translations are properly embedded in static Qt builds and language switching works correctly after application restart.
Changed files
- addon/doxywizard/CMakeLists.txt
- addon/doxywizard/doxywizard.cpp