Browse Source

Russian and Czech update (#1478)

I really wonder why the code comment says.
	case NUM2_THOUSANDS_VAR2: // lang=cs,sk
and option 4 was used for Czech, and this is not the case when this
option fits the language, just the opposite.
it reads 10000000 as 10000, 11000000, as 11000, and so on
almost the same problem was in the Russian language, only it consisted
in the fact that the var_1 itself was not made correctly. And here the
variant is commented on as the one that is used in the Czech language,
but it is not used there. And the worst thing is that everyone does not
pay attention to it, well, it reads the wrong number, well, okay.
master
Alexander Epaneshnikov 2 years ago
parent
commit
2871557cdb
No account linked to committer's email address
4 changed files with 13 additions and 13 deletions
  1. 1
    1
      dictsource/be_list
  2. 10
    10
      dictsource/ru_list
  3. 1
    1
      src/libespeak-ng/numbers.c
  4. 1
    1
      src/libespeak-ng/tr_languages.c

+ 1
- 1
dictsource/be_list View File

_7C s;Ems'Ot _7C s;Ems'Ot
_8C v,Os;Ems'Ot _8C v,Os;Ems'Ot
_9C dz;Ev;ats;s'Ot _9C dz;Ev;ats;s'Ot
_0MB1 t'i"s;ats.a
_1MA1 t'i"s;ats.a
_0MA1 t'i"s;ats.i" _0MA1 t'i"s;ats.i"
_0M1 t'i"s;ats. // NOTE: in 10k > appends `_!` _0M1 t'i"s;ats. // NOTE: in 10k > appends `_!`



+ 10
- 10
dictsource/ru_list View File

_7C s;,Ims'ot _7C s;,Ims'ot
_8C vOs;Ims'ot _8C vOs;Ims'ot
_9C dev;Vts'ot _9C dev;Vts'ot
_0MB1 t'ys;itS;V // keep '1' before thousand
_1MA1 t'ys;itS;V // keep '1' before thousand
_0MA1 t'ys;itS;i _0MA1 t'ys;itS;i
_0M1 t'ys;itS; _0M1 t'ys;itS;
_0MB2 m;,Il;I;'on
_1MA2 m;,Il;I;'on
_0MA2 m;,IlI;'ona _0MA2 m;,IlI;'ona
_0M2 m;,IlI;'onV#f _0M2 m;,IlI;'onV#f
_0MB3 m;,IlI;'art
_1MA3 m;,IlI;'art
_0M3 m;,IlI;'ardV#f _0M3 m;,IlI;'ardV#f
_0MA3 m;,IlI;'arda _0MA3 m;,IlI;'arda
_0MB4 tr;,IlI;'on
_1MA4 tr;,IlI;'on
_0M4 tr;,IlI;'onV#f _0M4 tr;,IlI;'onV#f
_0MA4 tr;,IlI;'ona _0MA4 tr;,IlI;'ona
_0MB5 kvVd@-r;il;i'on
_1MA5 kvVd@-r;il;i'on
_0M5 kvVd@-r;il;i'onV#f _0M5 kvVd@-r;il;i'onV#f
_0MA5 kvVd@-r;il;i'ona _0MA5 kvVd@-r;il;i'ona
_0MB6 kv;int;il;i'on
_1MA6 kv;int;il;i'on
_0M6 kv;int;il;i'onV#f _0M6 kv;int;il;i'onV#f
_0MA6 kv;int;il;i'ona _0MA6 kv;int;il;i'ona
_0MB7 s;iks;t;il;i'on
_1MA7 s;iks;t;il;i'on
_0M7 s;iks;t;il;i'onV#f _0M7 s;iks;t;il;i'onV#f
_0MA7 s;iks;t;il;i'ona _0MA7 s;iks;t;il;i'ona
_0MB8 s;ipt;il;i'on
_1MA8 s;ipt;il;i'on
_0M8 s;ipt;il;i'onV#f _0M8 s;ipt;il;i'onV#f
_0MA8 s;ipt;il;i'ona _0MA8 s;ipt;il;i'ona
_0MB9 Vkt;il;i'on
_1MA9 Vkt;il;i'on
_0M9 Vkt;il;i'onV#f _0M9 Vkt;il;i'onV#f
_0MA9 Vkt;il;i'ona _0MA9 Vkt;il;i'ona
_0MB10 nVn;il;i'on
_1MA10 nVn;il;i'on
_0M10 nVn;il;i'onV#f _0M10 nVn;il;i'onV#f
_0MA10 nVn;il;i'ona _0MA10 nVn;il;i'ona
_dpt _:'i_: // start of decimal fraction _dpt _:'i_: // start of decimal fraction

+ 1
- 1
src/libespeak-ng/numbers.c View File

case NUM2_THOUSANDS_VAR1: // lang=ru case NUM2_THOUSANDS_VAR1: // lang=ru
if (teens == false) { if (teens == false) {
if ((value % 10) == 1) if ((value % 10) == 1)
return "0MB";
return "1MA";
if (((value % 10) >= 2) && ((value % 10) <= 4)) if (((value % 10) >= 2) && ((value % 10) <= 4))
return "0MA"; return "0MA";
} }

+ 1
- 1
src/libespeak-ng/tr_languages.c View File

tr->langopts.decimal_sep = ','; tr->langopts.decimal_sep = ',';


if (name2 == L('c', 's')) if (name2 == L('c', 's'))
tr->langopts.numbers2 = NUM2_THOUSANDPLEX_VAR_MILLIARDS | NUM2_THOUSANDS_VAR4;
tr->langopts.numbers2 = NUM2_THOUSANDPLEX_VAR_MILLIARDS | NUM2_THOUSANDS_VAR2;


SetLetterVowel(tr, 'y'); SetLetterVowel(tr, 'y');
SetLetterVowel(tr, 'r'); SetLetterVowel(tr, 'r');

Loading…
Cancel
Save