Add option to translate *only* /context/message/translation@type = "unfinished" and ignore all others
Opened this issue · 0 comments
esutton commented
Use case:
- Do not destroy existing human TS file translations.
- Only translate the new "unfinished" translations
<!DOCTYPE TS><TS>
<context>
<name>QPushButton</name>
<message>
<source>Hello world!</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
Implementation:
Add Option:
- -u or -unfinished
i18n-translate-qt-ts -unfinished <googleTranslateApiKey> <workingFolder> <inputLanguage> <outputLanguageList>