Skip to content

:speak won't initialize #549

Description

@Sci-fer

The command trans -speak :pt-BR get speaks the source term perfectly in the shell. The same :speak option doesn't work through the following $HOME/.config/translate-shell/init.trans initialization file:

{
 :hl "pt-BR" ;host language (interface language)
 :tl "pt-BR" ;target languages e.g., ["en" "pt-BR"]
 :verbose false
 :speak true ;Listen to the original text
}

Is it a bug?

Translate Shell       0.9.7.1-git:faff2c9

platform              Linux
terminal type         tmux-256color
bi-di emulator        [N/A]
gawk (GNU Awk)        5.4.0
fribidi (GNU FriBidi) 1.0.16
audio player          mpv --no-config
terminal pager        less
web browser           firedragon
user locale           en_US.UTF-8 (English)
host language         pt-BR
source language       auto
target language       pt-BR
translation engine    auto
proxy                 [NONE]
user-agent            Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36 Edg/104.0.1293.54
ip version            [DEFAULT]
theme                 default
init file             $HOME/.config/translate-shell/init.trans

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions