Skip to content

Commit

Permalink
Merge pull request #22 from Mohamed00/personal
Browse files Browse the repository at this point in the history
Locale fix
  • Loading branch information
ultrasound1372 committed Oct 6, 2020
2 parents 2b27820 + 470801a commit 9d52c20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions addon/synthDrivers/_ibmeci.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ class ECICallbackReturn:
'fra': (196608, _('French'), 'fr_FR', 'fr'),
'frc': (196609, _('French Canadian'), 'fr_CA', ''),
'fin': (589824, _('Finnish'), 'fi_FI', 'fi'),
'chs': (393216, _('Chinese'), 'zh_GB', 'zh'),
'jpn': (524288, _('Japanese'), 'ja_JA', 'jp'),
'kor': (655360, _('Korean'), 'ko_KO', 'ko'),
'chs': (393216, _('Chinese'), 'zh_CN', 'zh'),
'jpn': (524288, _('Japanese'), 'ja_JP', 'jp'),
'kor': (655360, _('Korean'), 'ko_KR', 'ko'),
'deu': (262144, _('German'), 'de_DE', 'de'),
'ita': (327680, _('Italian'), 'it_IT', 'it'),
'enu': (65536, _('American English'), 'en_US', 'en'),
Expand Down
8 changes: 4 additions & 4 deletions addon/synthDrivers/ibmeci.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def unicode(s): return s
re.compile(r"\b(you+)'(re)+'([drv]e?)", re.I): r"\1 \2 \3",
re.compile(r"(re|un|non|anti)cosp", re.I): r"\1kosp",
re.compile(r"(EUR[A-Z]+)(\d+)", re.I): r"\1 \2",
re.compile(r"\b(\d+|\W+|[bcdfghjklmnpqrstvwxz]+)?t+z[s]che", re.I): r"\1tz sche",
re.compile(r"\b(\d+|\W+)?([bcdfghjklmnpqrstvwxz]+)?t+z[s]che", re.I): r"\1 \2 tz sche",
re.compile(r"\b(juar[aeou]s)([aeiou]{6,})", re.I): r"\1 \2"
}

Expand Down Expand Up @@ -92,14 +92,14 @@ def unicode(s): return s
"it":b"`l5",
"it_IT":b"`l5",
"zh":b"`l6",
"zh_gb":b"`l6.0",
"zh_cn":b"`l6.0",
"pt":b"`l7",
"pt_BR":b"`l7.0",
"pt_PT":b"`l7.1",
"ja":b"`l8",
"ja_ja":b"`l8.0",
"ja_jp":b"`l8.0",
"ko":b"`l10",
"ko_ko":b"`l10.0",
"ko_kr":b"`l10.0",
"fi":b"`l9",
"fi_FI":b"`l9.0"
}
Expand Down

0 comments on commit 9d52c20

Please sign in to comment.