Russian: refacter the NUM2_THOUSANDS_VAR1 to return 1MA, not 0MB and fix the rules for them

This commit is contained in:
kirill-jjj
2022-10-31 12:15:05 +03:00
committed by Alexander Epaneshnikov
parent fa649c4b14
commit 95ed5c0c88
2 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -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";
}