Skip to content

Commit

Permalink
[uk] add Ukrainian (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgisser authored Jun 19, 2024
1 parent 9a20fc0 commit 5898485
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions 4-make-yomitan.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ function normalizeOrthography(term) {
return term.normalize('NFD').replace(/[aeiourAEIOUR][\u0300-\u036f]/g, (match) => match[0]);
case 'ro':
return term.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
case 'uk':
case 'ru':
return term.replace(/́/g, '');
default:
Expand Down
1 change: 1 addition & 0 deletions languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
{"iso": "sv", "language": "Swedish", "flag": "🇸🇪"},
{"iso": "th", "language": "Thai", "flag": "🇹🇭"},
{"iso": "tr", "language": "Turkish", "flag": "🇹🇷"},
{"iso": "uk", "language": "Ukrainian", "flag": "🇺🇦"},
{"iso": "vi", "language": "Vietnamese", "flag": "🇻🇳"},
{"iso": "zh", "language": "Chinese", "flag": "🇨🇳"}
]

0 comments on commit 5898485

Please sign in to comment.