【发布时间】:2023-01-10 09:28:03
【问题描述】:
我在我的 .ts 文件中添加了一些手动条目,每次运行 lupdate.exe 命令时这些条目都会被删除。
lupdate.exe .. -no-obsolete -locations absolute -ts locale_en.ts locale_fr.ts
我想lupdate.exe 添加缺失的条目,清理过时的条目,但保留手动输入(对应于要翻译的字符串,但翻译是通过函数发生的,而不是直接调用 qsTr 或 qTranslate)。
这可能吗 ?
我的背景:
我在一个没有任何 C 后端、没有任何构建或制作机制的纯 qml 解决方案中。 lupdate.exe 和lrelease.exe 是手动调用的。
【问题讨论】:
标签: qml translation