From kde-kimageshop Wed Jun 30 09:49:34 2021
From: Alvin Wong
The >> transform tool preview will always use instant preview, even if >> instant preview is disabled in the "View" >> menu
", nullptr)); >> >> In the PO file [2] however, the extracted string looks like this: >> >> #. i18n: ectx: property (toolTip), widget (QCheckBox, >> chkTransformToolForceLodMode) >> #: libs/ui/forms/wdgperformancesettings.ui:552 >> #, kde-format >> msgid "" >> "The transform tool preview will always use >> instant " >> "preview, even if instant preview is disabled in the \"View\" >> menu
" >> "body>" >> msgstr "" >> "強制變形工具使用即時預覽,無視「顯示」選單中停用即時預" >> >> "覽的設定
" >> >> Notice that the double-escaped `"` gets transformed into `"` >> (double quote) instead of `"`, making the string not match and >> causing the translation to not be used. Indeed, if I replace the >> `"` in the UI file with just `"` (double quote), the >> translated string shows up properly. >> >> We use the Qt designer tool and I believe that the entity >> `"` is generated by said tool. Shall we be manually >> replacing these entities in our UI files, or is it a bug in the POT >> extraction process that needs fixing? >> >> Best Regards, >> >> Alvin Wong >> >> [1]: >> https://invent.kde.org/graphics/krita/-/blob/eb72dd1b857e1daf7316175dec5d7738b00aef23/libs/ui/forms/wdgperformancesettings.ui#L552 >> [2]: >> https://websvn.kde.org/*checkout*/trunk/l10n-kf5/zh_TW/messages/krita/krita.po?revision=1603060&content-type=text%2Fplain >>