builds: Use consistent formatting for language codes in voice list.

...strictly speaking, what we use isn't correct (eg we should use es_MX
instead of es-mx) but the latter is clearer on the download page.

Change-Id: Ia1a21c4259826ca2a0f6755df1cb3db94e4a50b3
This commit is contained in:
Solomon Peachy 2025-05-03 11:13:09 -04:00
parent 61dc053ce1
commit 7c813a79d0

View file

@ -620,7 +620,7 @@ sub simbuilds {
'chinese-simp' => { # Mandarin?
'lang' => 'chinese-simp',
'name' => '简体中文 (Chinese Simplified)',
'short' => 'zh_cn',
'short' => 'zh-cn',
'defengine' => 'piper',
'engines' => {
'espeak' => '-vzh',
@ -812,7 +812,7 @@ sub simbuilds {
'moldoveneste' => {
'lang' => 'moldoveneste',
'name' => 'Moldovenească (Moldavian)',
'short' => 'ro_MD',
'short' => 'ro-md',
'defengine' => 'piper',
'engines' => {
'espeak' => '-vro',