diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-07-23 12:14:34 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-07-23 12:15:27 -0400 |
commit | a153f6c266476e6b74d12d357f4894b6aea7c43f (patch) | |
tree | 0f14a06036a8762a100f78f3bdd4ab8e9bbc5f10 | |
parent | ba4a6f2adcf0e2e1009f5dee1e7a213059cd3ffc (diff) | |
download | rockbox-a153f6c266.tar.gz rockbox-a153f6c266.zip |
voice: Add defaults for Bulgarian voicing, and add it to the nightly builds.
Change-Id: I40e9eaf34c68c3e1f77591862f5c4eb6c2a2c059
-rw-r--r-- | apps/lang/bulgarian.lang | 8 | ||||
-rw-r--r-- | tools/builds.pm | 13 | ||||
-rwxr-xr-x | tools/voice.pl | 3 |
3 files changed, 19 insertions, 5 deletions
diff --git a/apps/lang/bulgarian.lang b/apps/lang/bulgarian.lang index ce58f50536..f1fb828735 100644 --- a/apps/lang/bulgarian.lang +++ b/apps/lang/bulgarian.lang @@ -3246,7 +3246,7 @@ *: "Unicode (UTF-8)" </source> <dest> - *: "Unicode (UTF-8)" + *: "Уникод (UTF-8)" </dest> <voice> *: "Уникод (UTF-8)" @@ -16202,7 +16202,7 @@ *: "Лесно" </dest> <voice> - *: "" + *: "Лесно" </voice> </phrase> <phrase> @@ -16398,7 +16398,7 @@ *: "" </dest> <voice> - *: "" + *: "Български" </voice> </phrase> <phrase> @@ -16409,7 +16409,7 @@ *: "%ld%%" </source> <dest> - *: "%ld%%" + *: "~%ld%%" </dest> <voice> *: none diff --git a/tools/builds.pm b/tools/builds.pm index de016bbb04..fbe87110a0 100644 --- a/tools/builds.pm +++ b/tools/builds.pm @@ -606,6 +606,17 @@ sub simbuilds { 'enabled' => 1, }, # Everything else in alphabetical order + 'bulgarian' => { + 'lang' => 'bulgarian', + 'name' => 'Български (Bulgarian)', + 'short' => 'bg', + 'defengine' => 'piper', + 'engines' => { + 'espeak' => '-vbg', + 'gtts' => '-l bg', + }, + 'enabled' => 1, + }, 'chinese-simp' => { # Mandarin? 'lang' => 'chinese-simp', 'name' => '简体中文 (Chinese Simplified)', @@ -743,7 +754,7 @@ sub simbuilds { 'korean' => { # 'lang' => 'korean', 'name' => '한국어 (Korean)', - 'short' => 'ko_KR', + 'short' => 'ko', 'defengine' => 'espeak', 'engines' => { 'espeak' => '-vko', diff --git a/tools/voice.pl b/tools/voice.pl index 9ec497b165..89d5f2a041 100755 --- a/tools/voice.pl +++ b/tools/voice.pl @@ -87,6 +87,7 @@ my %festival_lang_map = ( my %gtts_lang_map = ( 'english' => '-l en -t co.uk', # Always first, it's the golden master + 'bulgarian' => 'l bg', 'chinese-simp' => '-l zh', 'czech' => '-l cs', 'dansk' => '-l da', @@ -111,6 +112,7 @@ my %gtts_lang_map = ( my %espeak_lang_map = ( 'english' => '-ven-gb -k 5', # Always first, it's the golden master + 'bulgarian' => '-vbg', 'chinese-simp' => '-vzh', 'czech' => '-vcs', 'dansk' => '-vda', @@ -136,6 +138,7 @@ my %espeak_lang_map = ( my %piper_lang_map = ( 'english' => 'en_GB-cori-high.onnx', # Always first, it's the golden master +# 'bulgarian' => '-vbg', 'chinese-simp' => 'zh_CN-huayan-medium.onnx', 'czech' => 'cs_CZ-jirka-medium.onnx', 'dansk' => 'da_DK-talesyntese-medium.onnx', |