[fix] only accept language suffixes that are valid scripts or transliterations of CJK languages. Set language to language suffix so Romaji forms get used, etc.

This commit is contained in:
Al
2016-12-24 17:17:09 -05:00
parent 67d7d94eea
commit 77efcb3f89
2 changed files with 28 additions and 3 deletions

View File

@@ -114,6 +114,7 @@ def script_name_constant(i, u):
UNKNOWN_SCRIPT = 'Unknown'
COMMON_SCRIPT = 'Common'
def parse_char_range(r):