fix: add support for RTL in the translator

This commit is contained in:
Muhannad H.
2026-02-21 20:01:24 +02:00
parent 3d9f51030c
commit c19e625069
@@ -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())}'`]