forked from shoelace-style/shoelace
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ukrainian translation for shoelace (shoelace-style#2270)
* Ukrainian translation is added. * Update message with numerals in uk.ts
- Loading branch information
1 parent
4985bb0
commit f4cf506
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { registerTranslation } from '../utilities/localize.js'; | ||
import type { Translation } from '../utilities/localize.js'; | ||
|
||
const translation: Translation = { | ||
$code: 'uk', | ||
$name: 'Українська', | ||
$dir: 'ltr', | ||
|
||
carousel: 'Карусель', | ||
clearEntry: 'Очистити поле', | ||
close: 'Закрити', | ||
copied: 'Скопійовано', | ||
copy: 'Скопіювати', | ||
currentValue: 'Поточне значення', | ||
error: 'Збій', | ||
goToSlide: (slide, count) => `Перейти до слайда №${slide} з ${count}`, | ||
hidePassword: 'Приховати пароль', | ||
loading: 'Завантаження', | ||
nextSlide: 'Наступний слайд', | ||
numOptionsSelected: num => { | ||
var n = num % 10; | ||
if (n === 0) return 'не вибрано варіантів'; | ||
if (n === 1) return 'вибрано 1 варіант'; | ||
if (n === 2 || n === 3 || n === 4) return `вибрано ${num} варіанти`; | ||
return `вибрано ${num} варіантів`; | ||
}, | ||
previousSlide: 'Попередній слайд', | ||
progress: 'Поступ', | ||
remove: 'Видалити', | ||
resize: 'Змінити розмір', | ||
scrollToEnd: 'Прокрутити в кінець', | ||
scrollToStart: 'Прокрутити на початок', | ||
selectAColorFromTheScreen: 'Виберіть колір на екрані', | ||
showPassword: 'Показати пароль', | ||
slideNum: slide => `Слайд ${slide}`, | ||
toggleColorFormat: 'Переключити кольорову модель' | ||
}; | ||
|
||
registerTranslation(translation); | ||
|
||
export default translation; |