Juho Hiltunen
8e3399bb98
cleanup: move stressRule to LoadLanguageOptions()
2022-10-09 16:38:53 +03:00
Juho Hiltunen
9caada3b31
cleanup: move stressOpt to LoadLanguageOptions()
2022-10-09 16:38:53 +03:00
Juho Hiltunen
46bc25e173
cleanup: move stressAmp to LoadLanguageOptions()
2022-10-09 16:38:53 +03:00
Juho Hiltunen
2a462e4afe
cleanup: move stressAdd to LoadLanguageOptions()
2022-10-09 16:38:52 +03:00
Juho Hiltunen
db57230320
fixup error message for Bad Voice attribute.
...
We currently have two switch statements. Every key should go to only one
of them.
2022-10-09 16:38:52 +03:00
Juho Hiltunen
77282aca34
cleanup: move stressLength to LoadLanguageOptions()
2022-10-09 16:38:52 +03:00
Juho Hiltunen
4a2890250b
code cleanup: new file langopts.c for handling language options.
...
The switch case in LoadVoice() currently mixes voice and language
options. This change will start separating them into two functions.
CheckTranslator will be moved to langopts.c. In the future there should
be no need to use it in voices.c. There will be other temporary
solutions also.
2022-10-09 16:38:52 +03:00
Alexander Epaneshnikov
e23f68f56a
Russian Set Max_digits to 18 ( #1382 )
2022-10-06 21:46:41 +03:00
kirill-jjj
eba0bfca27
Russian: add new numbers to ru_list file
2022-10-06 21:30:27 +03:00
kirill-jjj
d126f67fee
Russian: Set max_digits to 18
2022-10-06 21:29:43 +03:00
Juho Hiltunen
e5ae5b8557
tr: fix bağışlamak and bağışlayın
...
This removes these words from dictionary and uses translation rules
instead. Result is to shorten the i.
See #1337 and #1388 .
2022-10-04 17:19:10 +03:00
Juho Hiltunen
b17ed2d682
Update Changelog
2022-09-29 07:18:23 +03:00
Juho Hiltunen
a434ca4cbb
fix #1370 Cmn voice not correctly translated
...
1. Rewrite cmn_rules. Vowel will be spoken as Mandarin only when it's
with a tone number. Otherwise, it will be regarded as English. This will
make English words translated more correctly.
2. Fix issue of word item in cmn_listx not taking effect.
3. Fix dictionary_skipwords bug. It should be injected when re-structing
method TranslateWord3.
2022-09-29 07:09:34 +03:00
Juho Hiltunen
f5442cfe4e
Merge branch 'master' into master
2022-09-29 06:22:28 +03:00
Cameron Wong
45f25b5564
Fix dictionary_skipwords bug. It should be injected when re-structing method TranslateWord3.
2022-09-29 09:36:31 +08:00
Cameron Wong
8e6a21fdeb
Fix issue of word item in cmn_listx not taking effect.
2022-09-29 09:32:15 +08:00
Cameron Wong
ddf2218f39
add test for Mandarin word
2022-09-29 09:27:12 +08:00
Cameron Wong
b3af30a5be
Rewrite cmn_rules. Vowel will be spoken as Mandarin only when it's with a tone number. Otherwise, it will be regarded as English. This will make English words translated more correctly.
2022-09-29 09:13:11 +08:00
Juho Hiltunen
b52441f9ac
tr: do not prolong â and î.
...
See #1388 and #875 .
2022-09-27 20:35:42 +03:00
Juho Hiltunen
4f9044c99f
Updates italian source dictionaries ( #1395 )
...
Add some rules and exceptions for italian language.
2022-09-25 20:30:57 +03:00
Juho Hiltunen
e46ed1ab16
Merge branch 'master' into master
2022-09-24 21:47:27 +03:00
Juho Hiltunen
80976d7fbf
docs: add a section about tests when adding a new language
...
Closes #1194 .
2022-09-24 08:25:26 +03:00
Christianlm
90de0d55fa
Updates italian source dictionaries
2022-09-23 19:32:10 +02:00
Alexander Epaneshnikov
97e557a8b2
Merge pull request #1383 from codeofdusk/nanaimo
2022-09-18 16:19:58 +03:00
Bill Dengler
cbf0b19d59
Fix pronunciation of Nanaimo
2022-09-18 05:49:34 -07:00
Alexander Epaneshnikov
ac0129f26a
Merge pull request #1381 from alex19EP/windows/add-mto
...
Windows: add mto dict
2022-09-18 02:16:21 +03:00
Alexander Epaneshnikov
52fa8a597d
Windows: add mto
2022-09-18 02:13:48 +03:00
Alexander Epaneshnikov
e544403e7c
Merge pull request #1372 from kirill-jjj/russian
...
Russian: improve numbers and add words
2022-09-18 01:22:19 +03:00
kirill-jjj
563db55147
Russian: improve numbers
2022-09-18 01:17:00 +03:00
kirill-jjj
995dc1e2ef
Russian: Add new words to ru extra file, add some new rules
2022-09-18 00:56:04 +03:00
jaacoppi
df8af89ddd
Merge pull request #1379
...
Code cleanup: relocate functions & remove unused #defines
2022-09-17 20:03:10 +03:00
jaacoppi
57115a8eaf
Merge pull request #1376 from bkmgit/patch-1
...
Fix vowels link
2022-09-17 19:29:42 +03:00
Juho Hiltunen
545f38a46b
code cleanup: remove unused #defines
...
Note: Strange that FLAG_ALT7 is used but ALT4-ALT6 are not. Same with
R6p.
2022-09-17 19:19:44 +03:00
Juho Hiltunen
4a9f0e21be
code cleanup: move Is*() helper functions to common.c
2022-09-17 18:57:20 +03:00
Juho Hiltunen
57c7285ff9
code cleanup: move ApplySpecialAttribute2()
2022-09-17 18:20:38 +03:00
Juho Hiltunen
741bea9510
code cleanup: make LookupFlags() static
2022-09-17 18:09:23 +03:00
Juho Hiltunen
597cb2f440
code cleanup: move Unpronouncable() and Unpronouncable2()
2022-09-17 18:05:01 +03:00
Juho Hiltunen
9d03b09537
code cleanup: move ChangeWordStress()
2022-09-17 18:05:01 +03:00
Juho Hiltunen
c5db9220bf
code cleanup: move Read4Bytes()
2022-09-17 17:41:43 +03:00
Juho Hiltunen
14ede3e372
code cleanup: move is_str_totally_null()
2022-09-17 17:28:52 +03:00
Juho Hiltunen
64f12fec87
code cleanup: move towlower2()
2022-09-17 17:22:01 +03:00
Juho Hiltunen
ac3b9f6199
code cleanup: move utf8_* functions.
...
utf8_nbytes() is only used in dictionary.c. Others are moved to common.c
2022-09-17 11:24:59 +03:00
Benson Muite
3be0b98a1a
Fix vowels link
2022-09-17 09:17:24 +03:00
Samuel Thibault
4acc295477
Read8Numbers: enforce that we have 8 integers as data
2022-09-17 02:43:35 +02:00
Yury Popov
22ef8b260d
Read8Numbers: Fix zeroing data
2022-09-17 02:43:35 +02:00
Yury Popov
8e92ecf91c
Add libsonic to macOS CI build
2022-09-16 14:16:26 +02:00
Alexander Epaneshnikov
822cb137fd
Merge pull request #1371 from alex19EP/windows-fix
...
fix compilation on windows
2022-09-13 19:17:08 +03:00
Alexander Epaneshnikov
32ea3eaa5b
Windows: update gitignore
2022-09-13 19:13:33 +03:00
Alexander Epaneshnikov
389b1a9761
Windows: fix compilation
...
fb06936c b52d1f3afd and c4d8976fbc broke it.
2022-09-13 19:13:32 +03:00
Alexander Epaneshnikov
6c2fe6c358
Merge pull request #1367
2022-09-13 12:39:58 +03:00