kopia lustrzana https://github.com/shoelace-style/shoelace
prettier / changelog
rodzic
604526f465
commit
8cbd07b401
|
@ -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 <kbd>Enter</kbd> to `<sl-split-panel>` to align with ARIA APG's [window splitter pattern](https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/) [#2234]
|
||||
- Fixed a bug in `<sl-carousel>` that caused the navigation icons to be reversed
|
||||
- Fixed a bug in `<sl-select>` that prevented label changes in `<sl-option>` from updating the controller [#1971]
|
||||
|
|
|
@ -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} варіанти`;
|
||||
|
|
Ładowanie…
Reference in New Issue