diff --git a/docs/pages/resources/changelog.md b/docs/pages/resources/changelog.md index fa9625367..06cb52c8b 100644 --- a/docs/pages/resources/changelog.md +++ b/docs/pages/resources/changelog.md @@ -15,6 +15,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti ## Next - Added Norwegian translations for Bokmål and Nynorsk [#2268] +- Added Ukrainian translation [#2270] - Added support for Enter to `` to align with ARIA APG's [window splitter pattern](https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/) [#2234] - Fixed a bug in `` that caused the navigation icons to be reversed - Fixed a bug in `` that prevented label changes in `` from updating the controller [#1971] diff --git a/src/translations/uk.ts b/src/translations/uk.ts index 98299d0ba..5a106d53f 100644 --- a/src/translations/uk.ts +++ b/src/translations/uk.ts @@ -18,7 +18,7 @@ const translation: Translation = { loading: 'Завантаження', nextSlide: 'Наступний слайд', numOptionsSelected: num => { - var n = num % 10; + const n = num % 10; if (n === 0) return 'не вибрано варіантів'; if (n === 1) return 'вибрано 1 варіант'; if (n === 2 || n === 3 || n === 4) return `вибрано ${num} варіанти`;