diff --git a/4-make-yomitan.js b/4-make-yomitan.js index 59081e0..029eebe 100644 --- a/4-make-yomitan.js +++ b/4-make-yomitan.js @@ -508,6 +508,9 @@ function normalizeOrthography(term) { return term.replace(diacriticsRegex, '') case 'la': + case 'ang': + case 'sga': + case 'grc': return term.normalize('NFD').replace(/[\u0300-\u036f]/g, ''); case 'ru': return term.replace(/́/g, ''); diff --git a/languages.json b/languages.json index 8f399c2..97e25d2 100755 --- a/languages.json +++ b/languages.json @@ -1,5 +1,6 @@ [ {"iso": "afb", "language": "Gulf Arabic", "flag": "🇦🇪"}, + {"iso": "ang", "language": "Old English", "flag": "🗡️"}, {"iso": "ar", "language": "Arabic", "flag": "🇪🇬"}, {"iso": "de", "language": "German", "flag": "🇩🇪"}, {"iso": "el", "language": "Greek", "flag": "🇬🇷"}, @@ -27,4 +28,4 @@ {"iso": "tr", "language": "Turkish", "flag": "🇹🇷"}, {"iso": "vi", "language": "Vietnamese", "flag": "🇻🇳"}, {"iso": "zh", "language": "Chinese", "flag": "🇨🇳"} -] \ No newline at end of file +]