mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-04 07:48:47 +00:00
Russian: refacter the NUM2_THOUSANDS_VAR1 to return 1MA, not 0MB and fix the rules for them
This commit is contained in:
@@ -885,7 +885,7 @@ static const char *M_Variant(int value)
|
||||
case NUM2_THOUSANDS_VAR1: // lang=ru
|
||||
if (teens == false) {
|
||||
if ((value % 10) == 1)
|
||||
return "0MB";
|
||||
return "1MA";
|
||||
if (((value % 10) >= 2) && ((value % 10) <= 4))
|
||||
return "0MA";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user