sidebar: translator: don't make RTL text LTR (#3028)

This commit is contained in:
Minh
2026-03-13 23:47:56 +01:00
committed by GitHub
@@ -63,7 +63,7 @@ Item {
Process {
id: translateProc
command: ["bash", "-c", `trans -brief`
command: ["bash", "-c", `trans -brief -no-bidi`
+ ` -source '${StringUtils.shellSingleQuoteEscape(root.sourceLanguage)}'`
+ ` -target '${StringUtils.shellSingleQuoteEscape(root.targetLanguage)}'`
+ ` '${StringUtils.shellSingleQuoteEscape(root.inputField.text.trim())}'`]