Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[l10n] Improve Korean (ko-KR) locale #13651

Merged
merged 2 commits into from
Jul 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions packages/x-date-pickers/src/locales/koKR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const koKRPickers: Partial<PickersLocaleText<any>> = {
// DateRange labels
start: '시작',
end: '종료',
// startDate: 'Start date',
// startTime: 'Start time',
// endDate: 'End date',
// endTime: 'End time',
startDate: '시작 날짜',
startTime: '시작 시간',
endDate: '종료 날짜',
endTime: '종료 시간',

// Action bar
cancelButtonLabel: '취소',
Expand Down Expand Up @@ -77,24 +77,24 @@ const koKRPickers: Partial<PickersLocaleText<any>> = {
fieldYearPlaceholder: (params) => 'Y'.repeat(params.digitAmount),
fieldMonthPlaceholder: (params) => (params.contentType === 'letter' ? 'MMMM' : 'MM'),
fieldDayPlaceholder: () => 'DD',
// fieldWeekDayPlaceholder: params => params.contentType === 'letter' ? 'EEEE' : 'EE',
fieldWeekDayPlaceholder: (params) => (params.contentType === 'letter' ? 'EEEE' : 'EE'),
fieldHoursPlaceholder: () => 'hh',
fieldMinutesPlaceholder: () => 'mm',
fieldSecondsPlaceholder: () => 'ss',
fieldMeridiemPlaceholder: () => 'aa',

// View names
// year: 'Year',
// month: 'Month',
// day: 'Day',
// weekDay: 'Week day',
// hours: 'Hours',
// minutes: 'Minutes',
// seconds: 'Seconds',
year: '',
month: '',
day: '',
weekDay: '평일',
hours: '시간',
minutes: '',
seconds: '',
// meridiem: 'Meridiem',

// Common
// empty: 'Empty',
empty: '공란',
};

export const koKR = getPickersLocalization(koKRPickers);
Loading