summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-07-18 10:17:25 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-07-18 10:30:34 -0400
commit16094fca33eee37bac78a2627eb489dfb9fa37f7 (patch)
tree0a929f821e1c7414db8c95b7ede874cd0426a753
parent8ddd94f3fd0034f5b88098f0a2fbc684e7841969 (diff)
downloadrockbox-16094fca33.tar.gz
rockbox-16094fca33.zip
voice: Minor tweaks for Chineese TTS
Change-Id: I717a40cd00e9deabf093aabd05bc2608488c5f56
-rw-r--r--apps/lang/chinese-simp.lang2
-rw-r--r--tools/builds.pm4
-rwxr-xr-xtools/voice.pl2
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/lang/chinese-simp.lang b/apps/lang/chinese-simp.lang
index da45e1224d..20a93712af 100644
--- a/apps/lang/chinese-simp.lang
+++ b/apps/lang/chinese-simp.lang
@@ -771,7 +771,7 @@
*: "带通滤波器%d"
</dest>
<voice>
- *: "带通滤波器%d"
+ *: "带通滤波器"
</voice>
</phrase>
<phrase>
diff --git a/tools/builds.pm b/tools/builds.pm
index 9ef8a84b0e..11e4888432 100644
--- a/tools/builds.pm
+++ b/tools/builds.pm
@@ -606,12 +606,12 @@ sub simbuilds {
# Everything else in alphabetical order
'chinese-simp' => { # Mandarin?
'lang' => 'chinese-simp',
- 'name' => '(Chinese Simplified)',
+ 'name' => '简体中文 (Chinese Simplified)',
'short' => 'zh_CN',
'defengine' => 'espeak',
'engines' => {
'espeak' => '-vzh',
- 'gtts' => '-l zh-CN',
+ 'gtts' => '-l zh',
'piper' => 'zh_CN-huayan-medium.onnx',
},
'enabled' => 0,
diff --git a/tools/voice.pl b/tools/voice.pl
index 648ef83a64..8e970f1a9a 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -87,7 +87,7 @@ my %festival_lang_map = (
my %gtts_lang_map = (
'english' => '-l en -t co.uk', # Always first, it's the golden master
- 'chinese-simp' => '-l zh-CN',
+ 'chinese-simp' => '-l zh',
'czech' => '-l cs',
'dansk' => '-l da',
'deutsch' => '-l de',