forked from Shinonome/dots-hyprland
fix: add support for RTL in the translator
This commit is contained in:
@@ -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())}'`]
|
||||
|
||||
Reference in New Issue
Block a user