diff --git a/docs/data/date-pickers/localization/data.json b/docs/data/date-pickers/localization/data.json index 57afc42d751b..8009acf73184 100644 --- a/docs/data/date-pickers/localization/data.json +++ b/docs/data/date-pickers/localization/data.json @@ -19,7 +19,7 @@ "languageTag": "ca-ES", "importName": "caES", "localeName": "Catalan", - "missingKeysCount": 14, + "missingKeysCount": 0, "totalKeysCount": 50, "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/caES.ts" }, diff --git a/packages/x-date-pickers/src/locales/caES.ts b/packages/x-date-pickers/src/locales/caES.ts index 022b5b706f05..a20b33f90f2e 100644 --- a/packages/x-date-pickers/src/locales/caES.ts +++ b/packages/x-date-pickers/src/locales/caES.ts @@ -3,38 +3,38 @@ import { getPickersLocalization } from './utils/getPickersLocalization'; import { TimeViewWithMeridiem } from '../internals/models'; const views: Record = { - hours: 'les hores', - minutes: 'els minuts', - seconds: 'els segons', - meridiem: 'meridiem', + hours: 'Hores', + minutes: 'Minuts', + seconds: 'Segons', + meridiem: 'Meridià', }; const caESPickers: Partial> = { // Calendar navigation - previousMonth: 'Últim mes', - nextMonth: 'Pròxim mes', + previousMonth: 'Mes anterior', + nextMonth: 'Mes següent', // View navigation openPreviousView: "Obrir l'última vista", - openNextView: 'obrir la següent vista', + openNextView: 'Obrir la següent vista', calendarViewSwitchingButtonAriaLabel: (view) => view === 'year' - ? "la vista de l'any està oberta, canvie a la vista de calendari" - : "la vista de calendari està oberta, canvie a la vista de l'any", + ? 'la vista anual està oberta, canvia a la vista de calendari' + : 'la vista de calendari està oberta, canvia a la vista anual', // DateRange labels start: 'Començar', end: 'Terminar', - // startDate: 'Start date', - // startTime: 'Start time', - // endDate: 'End date', - // endTime: 'End time', + startDate: 'Data inicial', + startTime: 'Hora inicial', + endDate: 'Data final', + endTime: 'Hora final', // Action bar cancelButtonLabel: 'Cancel·lar', clearButtonLabel: 'Netejar', okButtonLabel: 'OK', - todayButtonLabel: 'Hui', + todayButtonLabel: 'Avuí', // Toolbar titles datePickerToolbarTitle: 'Seleccionar data', @@ -44,7 +44,7 @@ const caESPickers: Partial> = { // Clock labels clockLabelText: (view, time, adapter) => - `Seleccione ${views[view]}. ${time === null ? 'Sense temps seleccionat' : `El temps seleccionat és ${adapter.format(time, 'fullTime')}`}`, + `Selecciona ${views[view]}. ${time === null ? 'Hora no seleccionada' : `L'hora seleccionada és ${adapter.format(time, 'fullTime')}`}`, hoursClockNumberText: (hours) => `${hours} hores`, minutesClockNumberText: (minutes) => `${minutes} minuts`, secondsClockNumberText: (seconds) => `${seconds} segons`, @@ -53,7 +53,7 @@ const caESPickers: Partial> = { selectViewText: (view) => `Seleccionar ${views[view]}`, // Calendar labels - calendarWeekNumberHeaderLabel: 'Número de setmana', + calendarWeekNumberHeaderLabel: 'Número de la setmana', calendarWeekNumberHeaderText: '#', calendarWeekNumberAriaLabelText: (weekNumber) => `Setmana ${weekNumber}`, calendarWeekNumberText: (weekNumber) => `${weekNumber}`, @@ -67,7 +67,7 @@ const caESPickers: Partial> = { value !== null && utils.isValid(value) ? `Tria l'hora, l'hora triada és ${utils.format(value, 'fullTime')}` : "Tria l'hora", - // fieldClearLabel: 'Clear value', + fieldClearLabel: 'Netega el valor', // Table labels timeTableLabel: 'tria la data', @@ -84,17 +84,17 @@ const caESPickers: Partial> = { fieldMeridiemPlaceholder: () => 'aa', // View names - // year: 'Year', - // month: 'Month', - // day: 'Day', - // weekDay: 'Week day', - // hours: 'Hours', - // minutes: 'Minutes', - // seconds: 'Seconds', - // meridiem: 'Meridiem', + year: 'Any', + month: 'Mes', + day: 'Dia', + weekDay: 'Dia de la setmana', + hours: 'Hores', + minutes: 'Minuts', + seconds: 'Segons', + meridiem: 'Meridià', // Common - // empty: 'Empty', + empty: 'Buit', }; export const caES = getPickersLocalization(caESPickers);