removed the capital letter hack and added a new one, only for the English I, in DictionaryLoader
removed some unused code and fixed a spelling mistake
This commit is contained in:
parent
dc0468ffeb
commit
17e9b779e6
6 changed files with 6 additions and 24 deletions
|
|
@ -131,7 +131,7 @@ static def validateDictionaryWord(String word, int lineNumber, String validChara
|
|||
errors += "${errorMsgPrefix}. Found a garbage word: '${word}' on line ${lineNumber}.\n"
|
||||
}
|
||||
|
||||
if (word.matches("^.\$") && !Character.isUpperCase(word.charAt(0))) {
|
||||
if (word.matches("^.\$")) {
|
||||
errorCount++
|
||||
errors += "${errorMsgPrefix}. Found a single letter: '${word}' on line ${lineNumber}. Only uppercase single letters are allowed. The rest of the alphabet will be added automatically.\n"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue