Juho Hiltunen
c05690be34
cleanup: move LoadConfig to langopts.c
LoadConfig() should be refactored to support both voice and language options set
in LoadVoice() and LoadLanguageOptions().
2 years ago
Juho Hiltunen
015bb42a70
new configurable language option: spellingStress
2 years ago
Juho Hiltunen
644f02c26a
fixup case V_TUNES
previous changing of variable names caused an error in the program logic.
2 years ago
Juho Hiltunen
78c9b55c5f
fixup language options status and maintainer.
2 years ago
Juho Hiltunen
a19e4b8df2
resize and initialize a two-dimensional array to pass sanitizer
2 years ago
Juho Hiltunen
eae4595dc9
cleanup: move shared enums and MNEM_TABs to header file
2 years ago
Juho Hiltunen
78c6873427
cleanup: call CheckTranslator at start of LoadLangugeOptions
2 years ago
Juho Hiltunen
3182dee147
code cleanup: move CheckTranslator() to langopts.c
2 years ago
Juho Hiltunen
159ab0ee76
cleanup: move langopts.params handling to LoadLanguageOptions()
These have no tests and should be refactore to be similar to other
langopts.
2 years ago
Juho Hiltunen
b820b68182
cleanup: move words to LoadLanguageOptions()
2 years ago
Juho Hiltunen
ac82698f99
cleanup: move numbers to LoadLanguageOptions()
Note: This feature has no tests.
2 years ago
Juho Hiltunen
bdf18eafb1
cleanup: moved dictmin to LoadLanguageOptions()
Note: This feature has no tests. It doesn't look very useful and I think
could be removed.
2 years ago
Juho Hiltunen
e1d936dc52
cleanup: moved dictrules to LoadLanguageOptions()
2 years ago
Juho Hiltunen
f28841162f
moved tunes to LoadLanguageOptions()
2 years ago
Juho Hiltunen
e38142acd1
cleanup: moved intonation to LoadLanguageOptions()
2 years ago
Juho Hiltunen
8e3399bb98
cleanup: move stressRule to LoadLanguageOptions()
2 years ago
Juho Hiltunen
9caada3b31
cleanup: move stressOpt to LoadLanguageOptions()
2 years ago
Juho Hiltunen
46bc25e173
cleanup: move stressAmp to LoadLanguageOptions()
2 years ago
Juho Hiltunen
2a462e4afe
cleanup: move stressAdd to LoadLanguageOptions()
2 years ago
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.
2 years ago
Juho Hiltunen
77282aca34
cleanup: move stressLength to LoadLanguageOptions()
2 years ago
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.
2 years ago