1
0
Fork 0
react-playground/node_modules/@mui/x-date-pickers/locales/ukUA.js
Techognito fc0f69dacb Added Statistics calculation
Statistics now show calculated values
2025-09-04 17:30:00 +02:00

83 lines
No EOL
3.7 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ukUA = void 0;
var _getPickersLocalization = require("./utils/getPickersLocalization");
const timeViews = {
hours: 'годин',
minutes: 'хвилин',
seconds: 'секунд',
meridiem: 'Південь'
};
const ukUAPickers = {
// Calendar navigation
previousMonth: 'Попередній місяць',
nextMonth: 'Наступний місяць',
// View navigation
openPreviousView: 'Відкрити попередній вигляд',
openNextView: 'Відкрити наступний вигляд',
calendarViewSwitchingButtonAriaLabel: view => view === 'year' ? 'річний вигляд відкрито, перейти до календарного вигляду' : 'календарний вигляд відкрито, перейти до річного вигляду',
// DateRange labels
start: 'Початок',
end: 'Кінець',
startDate: 'День початку',
startTime: 'Час початку',
endDate: 'День закінчення',
endTime: 'Час закінчення',
// Action bar
cancelButtonLabel: 'Відміна',
clearButtonLabel: 'Очистити',
okButtonLabel: 'OK',
todayButtonLabel: 'Сьогодні',
nextStepButtonLabel: 'Наступний',
// Toolbar titles
datePickerToolbarTitle: 'Вибрати дату',
dateTimePickerToolbarTitle: 'Вибрати дату і час',
timePickerToolbarTitle: 'Вибрати час',
dateRangePickerToolbarTitle: 'Вибрати календарний період',
// timeRangePickerToolbarTitle: 'Select time range',
// Clock labels
clockLabelText: (view, formattedTime) => `Вибрати ${timeViews[view]}. ${!formattedTime ? 'Час не вибраний' : `Вибрано час ${formattedTime}`}`,
hoursClockNumberText: hours => `${hours} годин`,
minutesClockNumberText: minutes => `${minutes} хвилин`,
secondsClockNumberText: seconds => `${seconds} секунд`,
// Digital clock labels
selectViewText: view => `Вибрати ${timeViews[view]}`,
// Calendar labels
calendarWeekNumberHeaderLabel: 'Номер тижня',
calendarWeekNumberHeaderText: '#',
calendarWeekNumberAriaLabelText: weekNumber => `Тиждень ${weekNumber}`,
calendarWeekNumberText: weekNumber => `${weekNumber}`,
// Open Picker labels
openDatePickerDialogue: formattedDate => formattedDate ? `Оберіть дату, обрана дата ${formattedDate}` : 'Оберіть дату',
openTimePickerDialogue: formattedTime => formattedTime ? `Оберіть час, обраний час ${formattedTime}` : 'Оберіть час',
// openRangePickerDialogue: formattedRange => formattedRange ? `Choose range, selected range is ${formattedRange}` : 'Choose range',
fieldClearLabel: 'Очистити дані',
// Table labels
timeTableLabel: 'оберіть час',
dateTableLabel: 'оберіть дату',
// Field section placeholders
fieldYearPlaceholder: params => 'Y'.repeat(params.digitAmount),
fieldMonthPlaceholder: params => params.contentType === 'letter' ? 'MMMM' : 'MM',
fieldDayPlaceholder: () => 'DD',
fieldWeekDayPlaceholder: params => params.contentType === 'letter' ? 'EEEE' : 'EE',
fieldHoursPlaceholder: () => 'hh',
fieldMinutesPlaceholder: () => 'mm',
fieldSecondsPlaceholder: () => 'ss',
fieldMeridiemPlaceholder: () => 'aa',
// View names
year: 'Рік',
month: 'Місяць',
day: 'День',
weekDay: 'День тижня',
hours: 'Годин',
minutes: 'Хвилин',
seconds: 'Секунд',
meridiem: 'Меридіем',
// Common
empty: 'Порожній'
};
const ukUA = exports.ukUA = (0, _getPickersLocalization.getPickersLocalization)(ukUAPickers);