Skip to content

Commit

Permalink
fix: added ko_KR and ja_JP TimePicker.RangePicker placeholder (#30285)
Browse files Browse the repository at this point in the history
* fix: add ko_KR and ja_JP locale TimePicker.RangePicker placeholder

* fix: ko_KR locale grammars in Table and Form messages

* fix: locale ci
  • Loading branch information
chalkpe committed Apr 28, 2021
1 parent 4951b59 commit 7e0af50
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143325,7 +143325,7 @@ exports[`Locale Provider should display the text as ja 1`] = `
>
<input
autocomplete="off"
placeholder="時刻を選択"
placeholder="時間を選択"
readonly=""
size="10"
title=""
Expand Down
18 changes: 10 additions & 8 deletions components/locale/ko_KR.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ const localeValues: Locale = {
filterTitle: '필터 메뉴',
filterConfirm: '확인',
filterReset: '초기화',
filterEmptyText: '필터 없음',
emptyText: '데이터 없음',
selectAll: '모두 선택',
selectInvert: '선택 반전',
},
Expand Down Expand Up @@ -51,9 +53,9 @@ const localeValues: Locale = {
enum: '${label} [${enum}] 중에 하나여야 합니다',
whitespace: '${label} 비워둘 수 없습니다',
date: {
format: '${label} 유효하지 않은 날짜 형식입니다.',
format: '${label} 유효하지 않은 날짜 형식입니다',
parse: '${label} 날짜 형식으로 변환될 수 없습니다',
invalid: '${label} 휴효하지 않은 날짜입니다',
invalid: '${label} 유효하지 않은 날짜입니다',
},
types: {
string: typeTemplate,
Expand All @@ -77,15 +79,15 @@ const localeValues: Locale = {
range: '${label} ${min}-${max}글자 사이어야 합니다',
},
number: {
len: '${label} 값은 ${len} 이어야 합니다',
min: '${label} 최솟값은 ${min} 입니다',
max: '${label} 최댓값은 ${max} 입니다',
len: '${label} 값은 ${len}이어야 합니다',
min: '${label} 최솟값은 ${min}입니다',
max: '${label} 최댓값은 ${max}입니다',
range: '${label} 값은 ${min}-${max} 사이어야 합니다',
},
array: {
len: '${len} 이어야 합니다 ${label} ',
min: '최소 ${min} 이어야 합니다 ${label}',
max: '최대 ${max} 이어야 합니다 ${label}',
len: '${len}이어야 합니다 ${label} ',
min: '최소 ${min}이어야 합니다 ${label}',
max: '최대 ${max}이어야 합니다 ${label}',
range: '${label} ${min}-${max} 사이어야 합니다',
},
pattern: {
Expand Down
3 changes: 2 additions & 1 deletion components/time-picker/locale/ja_JP.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { TimePickerLocale } from '../index';

const locale: TimePickerLocale = {
placeholder: '時刻を選択',
placeholder: '時間を選択',
rangePlaceholder: ['開始時間', '終了時間'],
};

export default locale;
1 change: 1 addition & 0 deletions components/time-picker/locale/ko_KR.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TimePickerLocale } from '../index';

const locale: TimePickerLocale = {
placeholder: '시간 선택',
rangePlaceholder: ['시작 시간', '종료 시간'],
};

export default locale;

0 comments on commit 7e0af50

Please sign in to comment.