@rockshin/tao-ui 0.0.44 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -1
- package/component-manifest.json +38 -4
- package/dist/components/alert/alert.js +20 -17
- package/dist/components/auto-complete/auto-complete.js +12 -3
- package/dist/components/avatar/avatar.js +2 -1
- package/dist/components/breadcrumb/breadcrumb.css +4 -0
- package/dist/components/breadcrumb/breadcrumb.js +82 -77
- package/dist/components/calendar/calendar.d.ts +1 -1
- package/dist/components/calendar/calendar.js +51 -33
- package/dist/components/card/card-tabs.js +204 -182
- package/dist/components/card/card.js +1 -1
- package/dist/components/carousel/carousel.js +11 -5
- package/dist/components/cascader/cascader.js +16 -4
- package/dist/components/collapse/collapse.css +8 -0
- package/dist/components/color-picker/color-picker.js +273 -269
- package/dist/components/context-menu/context-menu.d.ts +2 -1
- package/dist/components/context-menu/context-menu.js +57 -44
- package/dist/components/date-picker/calendar/calendar-grid.js +13 -6
- package/dist/components/date-picker/calendar/use-calendar.d.ts +2 -2
- package/dist/components/date-picker/calendar/use-calendar.js +2 -3
- package/dist/components/date-picker/date-localization.d.ts +3 -0
- package/dist/components/date-picker/date-localization.js +76 -0
- package/dist/components/date-picker/date-picker.css +4 -0
- package/dist/components/date-picker/date-picker.d.ts +1 -0
- package/dist/components/date-picker/date-picker.js +48 -30
- package/dist/components/date-picker/range-picker.d.ts +1 -0
- package/dist/components/date-picker/range-picker.js +41 -23
- package/dist/components/drawer/drawer.d.ts +2 -1
- package/dist/components/drawer/drawer.js +32 -20
- package/dist/components/dropdown/dropdown.d.ts +1 -0
- package/dist/components/dropdown/dropdown.js +160 -143
- package/dist/components/float-button/float-button.js +3 -2
- package/dist/components/form/form.js +88 -103
- package/dist/components/image/image.js +202 -137
- package/dist/components/list/list-pagination.js +148 -147
- package/dist/components/mentions/mentions.js +6 -2
- package/dist/components/modal/confirm-dialog.js +4 -2
- package/dist/components/modal/modal.d.ts +2 -1
- package/dist/components/modal/modal.js +387 -375
- package/dist/components/pagination/pagination.css +4 -0
- package/dist/components/pagination/pagination.js +115 -110
- package/dist/components/popconfirm/popconfirm.js +109 -107
- package/dist/components/popover/popover.d.ts +2 -1
- package/dist/components/popover/popover.js +185 -176
- package/dist/components/qr-code/qr-code.js +22 -21
- package/dist/components/rate/rate.js +114 -88
- package/dist/components/scroll-area/scroll-area.js +132 -120
- package/dist/components/segmented/segmented.js +52 -29
- package/dist/components/select/mobile-select.d.ts +3 -2
- package/dist/components/select/mobile-select.js +54 -48
- package/dist/components/select/select-types.d.ts +1 -0
- package/dist/components/select/select.js +19 -6
- package/dist/components/slider/slider.js +136 -133
- package/dist/components/sonner/sonner.js +10 -10
- package/dist/components/spinner/spinner.js +1 -1
- package/dist/components/splitter/splitter.css +4 -0
- package/dist/components/splitter/splitter.js +29 -24
- package/dist/components/statistic/statistic.d.ts +2 -0
- package/dist/components/statistic/statistic.js +203 -187
- package/dist/components/table/table-filter.js +61 -52
- package/dist/components/table/table-icons.js +3 -1
- package/dist/components/table/table.css +29 -11
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.js +384 -547
- package/dist/components/tabs/tabs.js +3 -2
- package/dist/components/tag/tag.js +22 -19
- package/dist/components/time-picker/time-picker.d.ts +0 -1
- package/dist/components/time-picker/time-picker.js +160 -103
- package/dist/components/tooltip/tooltip.d.ts +2 -1
- package/dist/components/tooltip/tooltip.js +82 -71
- package/dist/components/transfer/transfer-list.js +224 -488
- package/dist/components/transfer/transfer-parts.js +14 -4
- package/dist/components/transfer/transfer-types.d.ts +1 -0
- package/dist/components/transfer/transfer.js +23 -20
- package/dist/components/tree/tree-keyboard.d.ts +6 -0
- package/dist/components/tree/tree-keyboard.js +27 -0
- package/dist/components/tree/tree.js +14 -3
- package/dist/components/tree-select/select-engine.d.ts +2 -1
- package/dist/components/tree-select/select-engine.js +23 -15
- package/dist/components/tree-select/tree-select.js +20 -10
- package/dist/components/upload/upload.js +30 -26
- package/dist/docs/component-docs.d.ts +13 -2
- package/dist/docs/components/headless-input-number.doc.d.ts +5 -0
- package/dist/docs/components/headless-input-number.doc.js +7 -0
- package/dist/docs/components/input-number.doc.d.ts +5 -0
- package/dist/docs/components/input-number.doc.js +7 -0
- package/dist/docs/components/statistic.doc.d.ts +5 -0
- package/dist/docs/components/statistic.doc.js +7 -0
- package/dist/docs/components/tao-provider.doc.d.ts +8 -2
- package/dist/docs/components/tao-provider.doc.js +16 -3
- package/dist/docs/components/tooltip.doc.d.ts +2 -2
- package/dist/entries/provider.d.ts +2 -1
- package/dist/entries/provider.js +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/locales/ar-EG.d.ts +3 -0
- package/dist/locales/ar-EG.js +199 -0
- package/dist/locales/create-locale.d.ts +41 -0
- package/dist/locales/create-locale.js +88 -0
- package/dist/locales/de-DE.d.ts +3 -0
- package/dist/locales/de-DE.js +195 -0
- package/dist/locales/en-US.d.ts +2 -0
- package/dist/locales/en-US.js +194 -0
- package/dist/locales/es-ES.d.ts +3 -0
- package/dist/locales/es-ES.js +195 -0
- package/dist/locales/fr-FR.d.ts +3 -0
- package/dist/locales/fr-FR.js +195 -0
- package/dist/locales/hi-IN.d.ts +3 -0
- package/dist/locales/hi-IN.js +194 -0
- package/dist/locales/id-ID.d.ts +3 -0
- package/dist/locales/id-ID.js +194 -0
- package/dist/locales/index.d.ts +18 -0
- package/dist/locales/index.js +17 -0
- package/dist/locales/it-IT.d.ts +3 -0
- package/dist/locales/it-IT.js +195 -0
- package/dist/locales/ja-JP.d.ts +3 -0
- package/dist/locales/ja-JP.js +194 -0
- package/dist/locales/ko-KR.d.ts +3 -0
- package/dist/locales/ko-KR.js +194 -0
- package/dist/locales/pt-BR.d.ts +3 -0
- package/dist/locales/pt-BR.js +195 -0
- package/dist/locales/ru-RU.d.ts +3 -0
- package/dist/locales/ru-RU.js +197 -0
- package/dist/locales/th-TH.d.ts +3 -0
- package/dist/locales/th-TH.js +194 -0
- package/dist/locales/tr-TR.d.ts +3 -0
- package/dist/locales/tr-TR.js +194 -0
- package/dist/locales/types.d.ts +176 -0
- package/dist/locales/types.js +0 -0
- package/dist/locales/vi-VN.d.ts +3 -0
- package/dist/locales/vi-VN.js +194 -0
- package/dist/locales/zh-CN.d.ts +3 -0
- package/dist/locales/zh-CN.js +194 -0
- package/dist/locales/zh-TW.d.ts +3 -0
- package/dist/locales/zh-TW.js +194 -0
- package/dist/number-input/format.d.ts +4 -3
- package/dist/number-input/format.js +9 -7
- package/dist/number-input/locale.d.ts +19 -0
- package/dist/number-input/locale.js +44 -0
- package/dist/number-input/number-input.js +1 -0
- package/dist/number-input/use-number-input.d.ts +2 -0
- package/dist/number-input/use-number-input.js +180 -176
- package/dist/provider/locale.d.ts +3 -65
- package/dist/provider/locale.js +2 -146
- package/dist/provider/merge-locale.d.ts +8 -0
- package/dist/provider/merge-locale.js +53 -0
- package/dist/provider/tao-provider.d.ts +16 -5
- package/dist/provider/tao-provider.js +200 -92
- package/dist/utils/scroll-left.d.ts +3 -0
- package/dist/utils/scroll-left.js +7 -0
- package/llms.txt +3 -3
- package/package.json +5 -1
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import ja_JP from "@rc-component/picker/locale/ja_JP";
|
|
2
|
+
import "dayjs/locale/ja";
|
|
3
|
+
import { createFormMessages, createItemCount, createLocale } from "./create-locale.js";
|
|
4
|
+
const jaJP = createLocale({
|
|
5
|
+
locale: 'ja_JP',
|
|
6
|
+
numberLocale: 'ja-JP',
|
|
7
|
+
dayjsLocale: 'ja',
|
|
8
|
+
weekStartsOn: 0,
|
|
9
|
+
pickerLocale: ja_JP,
|
|
10
|
+
select: '選択',
|
|
11
|
+
searchPlaceholder: '検索…',
|
|
12
|
+
search: '検索',
|
|
13
|
+
showPassword: 'パスワードを表示',
|
|
14
|
+
hidePassword: 'パスワードを隠す',
|
|
15
|
+
otpLabel: (index, length)=>`${length} 文字中 ${index} 文字目`,
|
|
16
|
+
searchOptions: '選択肢を検索',
|
|
17
|
+
noResults: '結果がありません',
|
|
18
|
+
emptyDescription: 'データがありません',
|
|
19
|
+
done: '完了',
|
|
20
|
+
clear: 'クリア',
|
|
21
|
+
close: '閉じる',
|
|
22
|
+
remove: (label)=>`${label} を削除`,
|
|
23
|
+
dateTime: '日時',
|
|
24
|
+
selectDate: '日付を選択',
|
|
25
|
+
selectTime: '時刻を選択',
|
|
26
|
+
startTime: '開始時刻',
|
|
27
|
+
endTime: '終了時刻',
|
|
28
|
+
dateRange: '日付範囲を選択',
|
|
29
|
+
startDate: '開始日',
|
|
30
|
+
endDate: '終了日',
|
|
31
|
+
now: '現在',
|
|
32
|
+
ok: 'OK',
|
|
33
|
+
cancel: 'キャンセル',
|
|
34
|
+
previous: '前へ',
|
|
35
|
+
next: '次へ',
|
|
36
|
+
previousMonth: '前の月',
|
|
37
|
+
nextMonth: '次の月',
|
|
38
|
+
previousYear: '前の年',
|
|
39
|
+
nextYear: '次の年',
|
|
40
|
+
hour: '時',
|
|
41
|
+
minute: '分',
|
|
42
|
+
second: '秒',
|
|
43
|
+
qrCode: {
|
|
44
|
+
expired: 'QR コードの有効期限が切れました',
|
|
45
|
+
refresh: '更新',
|
|
46
|
+
scanned: 'スキャン済み'
|
|
47
|
+
},
|
|
48
|
+
messages: {
|
|
49
|
+
tableEmpty: 'データがありません',
|
|
50
|
+
loading: '読み込み中',
|
|
51
|
+
pagination: 'ページ切り替え',
|
|
52
|
+
previousPage: '前のページ',
|
|
53
|
+
nextPage: '次のページ',
|
|
54
|
+
itemsPerPage: '件/ページ',
|
|
55
|
+
pageSize: 'ページあたりの件数',
|
|
56
|
+
jumpTo: '移動先',
|
|
57
|
+
jumpToConfirm: '移動',
|
|
58
|
+
previousPages: '前のページ群',
|
|
59
|
+
nextPages: '次のページ群',
|
|
60
|
+
selectAllRows: 'すべての行を選択',
|
|
61
|
+
expandRow: '行を展開',
|
|
62
|
+
collapseRow: '行を折りたたむ',
|
|
63
|
+
uploadFile: 'ファイルをアップロード',
|
|
64
|
+
uploadDrop: 'クリックするか、ここにファイルをドロップしてアップロード',
|
|
65
|
+
removeFile: 'ファイルを削除',
|
|
66
|
+
previewFile: 'ファイルをプレビュー',
|
|
67
|
+
downloadFile: 'ファイルをダウンロード',
|
|
68
|
+
uploadError: 'アップロードに失敗しました',
|
|
69
|
+
previewUnavailable: 'プレビューできません',
|
|
70
|
+
source: '転送元',
|
|
71
|
+
target: '転送先',
|
|
72
|
+
itemUnit: '件',
|
|
73
|
+
itemsUnit: '件',
|
|
74
|
+
selectAll: 'すべて選択',
|
|
75
|
+
deselectAll: 'すべて選択解除',
|
|
76
|
+
selectCurrent: '現在のページを選択',
|
|
77
|
+
invertCurrent: '現在の選択を反転',
|
|
78
|
+
removeAll: 'すべて削除',
|
|
79
|
+
removeCurrent: '現在のページを削除',
|
|
80
|
+
moveToTarget: '転送先に移動',
|
|
81
|
+
moveToSource: '転送元に移動',
|
|
82
|
+
clearSearch: '検索をクリア',
|
|
83
|
+
calendarYear: '年',
|
|
84
|
+
calendarMonth: '月',
|
|
85
|
+
calendarView: 'カレンダー表示',
|
|
86
|
+
zoomIn: '拡大',
|
|
87
|
+
zoomOut: '縮小',
|
|
88
|
+
rotateLeft: '左に回転',
|
|
89
|
+
rotateRight: '右に回転',
|
|
90
|
+
flipX: '左右反転',
|
|
91
|
+
flipY: '上下反転',
|
|
92
|
+
colorMode: 'カラーモード',
|
|
93
|
+
colorSingle: '単色',
|
|
94
|
+
colorGradient: 'グラデーション',
|
|
95
|
+
colorStop: 'カラーストップ',
|
|
96
|
+
addColorStop: 'カラーストップを追加',
|
|
97
|
+
removeColorStop: 'カラーストップを削除',
|
|
98
|
+
colorPosition: '位置',
|
|
99
|
+
colorStopPosition: 'ストップの位置',
|
|
100
|
+
colorFormat: 'カラー形式',
|
|
101
|
+
colorHex: '16 進数カラー',
|
|
102
|
+
colorRed: '赤',
|
|
103
|
+
colorGreen: '緑',
|
|
104
|
+
colorBlue: '青',
|
|
105
|
+
colorHue: '色相',
|
|
106
|
+
colorSaturation: '彩度',
|
|
107
|
+
colorBrightness: '明度',
|
|
108
|
+
colorAlpha: '不透明度',
|
|
109
|
+
clearColor: '色をクリア',
|
|
110
|
+
colorPreset: 'プリセット',
|
|
111
|
+
colorTransparent: '透明',
|
|
112
|
+
chooseColor: '色を選択',
|
|
113
|
+
colorPicker: 'カラーピッカー',
|
|
114
|
+
loadingQrCode: 'QR コードを読み込み中',
|
|
115
|
+
loadingNotification: '通知を読み込み中',
|
|
116
|
+
closeNotification: '通知を閉じる',
|
|
117
|
+
floatingActions: 'フローティング操作',
|
|
118
|
+
breadcrumb: 'パンくずリスト',
|
|
119
|
+
showMore: 'さらに表示',
|
|
120
|
+
collapsePanel: 'パネルを折りたたむ',
|
|
121
|
+
selectionActions: '選択操作',
|
|
122
|
+
more: 'その他',
|
|
123
|
+
scrollVertically: '縦にスクロール',
|
|
124
|
+
scrollHorizontally: '横にスクロール',
|
|
125
|
+
filter: 'フィルター',
|
|
126
|
+
filterReset: 'フィルターをリセット',
|
|
127
|
+
page: (page)=>`${page} ページ`,
|
|
128
|
+
selectRow: (label)=>`行 ${label} を選択`,
|
|
129
|
+
moreUsers: (count)=>`他 ${count} 人のユーザー`,
|
|
130
|
+
resizePanels: (first, second)=>`パネル ${first} と ${second} のサイズを変更`,
|
|
131
|
+
backToTop: '先頭に戻る',
|
|
132
|
+
successNotification: '成功の通知',
|
|
133
|
+
errorNotification: 'エラーの通知',
|
|
134
|
+
warningNotification: '警告の通知',
|
|
135
|
+
infoNotification: '情報の通知',
|
|
136
|
+
notification: '通知',
|
|
137
|
+
removeFileError: 'ファイルを削除できませんでした',
|
|
138
|
+
readFileError: 'ファイルを読み込めませんでした',
|
|
139
|
+
millisecond: 'ミリ秒',
|
|
140
|
+
meridiem: '午前/午後',
|
|
141
|
+
pageUnit: 'ページ',
|
|
142
|
+
itemCount: createItemCount('ja-JP', {
|
|
143
|
+
other: '# 件'
|
|
144
|
+
})
|
|
145
|
+
},
|
|
146
|
+
form: createFormMessages({
|
|
147
|
+
default: "「${name}」の検証に失敗しました",
|
|
148
|
+
required: "「${name}」は必須です",
|
|
149
|
+
enum: "「${name}」は [${enum}] のいずれかである必要があります",
|
|
150
|
+
whitespace: "「${name}」を空にすることはできません",
|
|
151
|
+
invalid: "「${name}」は有効な${type}である必要があります",
|
|
152
|
+
dateFormat: "「${name}」の日付形式が無効です",
|
|
153
|
+
dateParse: "「${name}」を日付として解析できません",
|
|
154
|
+
dateInvalid: "「${name}」は有効な日付ではありません",
|
|
155
|
+
string: {
|
|
156
|
+
len: "「${name}」は ${len} 文字である必要があります",
|
|
157
|
+
min: "「${name}」は ${min} 文字以上である必要があります",
|
|
158
|
+
max: "「${name}」は ${max} 文字以内である必要があります",
|
|
159
|
+
range: "「${name}」は ${min}~${max} 文字である必要があります"
|
|
160
|
+
},
|
|
161
|
+
number: {
|
|
162
|
+
len: "「${name}」は ${len} と等しい必要があります",
|
|
163
|
+
min: "「${name}」は ${min} 以上である必要があります",
|
|
164
|
+
max: "「${name}」は ${max} 以下である必要があります",
|
|
165
|
+
range: "「${name}」は ${min}~${max} の範囲である必要があります"
|
|
166
|
+
},
|
|
167
|
+
array: {
|
|
168
|
+
len: "「${name}」には ${len} 件の項目が必要です",
|
|
169
|
+
min: "「${name}」には ${min} 件以上の項目が必要です",
|
|
170
|
+
max: "「${name}」の項目は ${max} 件以内にしてください",
|
|
171
|
+
range: "「${name}」には ${min}~${max} 件の項目が必要です"
|
|
172
|
+
},
|
|
173
|
+
pattern: "「${name}」はパターン ${pattern} に一致しません",
|
|
174
|
+
typeNames: {
|
|
175
|
+
string: '文字列',
|
|
176
|
+
method: '関数',
|
|
177
|
+
array: '配列',
|
|
178
|
+
object: 'オブジェクト',
|
|
179
|
+
number: '数値',
|
|
180
|
+
date: '日付',
|
|
181
|
+
boolean: '真偽値',
|
|
182
|
+
integer: '整数',
|
|
183
|
+
float: '小数',
|
|
184
|
+
regexp: '正規表現',
|
|
185
|
+
email: 'メールアドレス',
|
|
186
|
+
tel: '電話番号',
|
|
187
|
+
url: 'ウェブアドレス',
|
|
188
|
+
hex: '16 進数値'
|
|
189
|
+
}
|
|
190
|
+
})
|
|
191
|
+
});
|
|
192
|
+
const locales_ja_JP = jaJP;
|
|
193
|
+
export default locales_ja_JP;
|
|
194
|
+
export { jaJP };
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import ko_KR from "@rc-component/picker/locale/ko_KR";
|
|
2
|
+
import "dayjs/locale/ko";
|
|
3
|
+
import { createFormMessages, createItemCount, createLocale } from "./create-locale.js";
|
|
4
|
+
const koKR = createLocale({
|
|
5
|
+
locale: 'ko_KR',
|
|
6
|
+
numberLocale: 'ko-KR',
|
|
7
|
+
dayjsLocale: 'ko',
|
|
8
|
+
weekStartsOn: 0,
|
|
9
|
+
pickerLocale: ko_KR,
|
|
10
|
+
select: '선택',
|
|
11
|
+
searchPlaceholder: '검색…',
|
|
12
|
+
search: '검색',
|
|
13
|
+
showPassword: '비밀번호 표시',
|
|
14
|
+
hidePassword: '비밀번호 숨기기',
|
|
15
|
+
otpLabel: (index, length)=>`${length}자 중 ${index}번째 문자`,
|
|
16
|
+
searchOptions: '옵션 검색',
|
|
17
|
+
noResults: '검색 결과가 없습니다',
|
|
18
|
+
emptyDescription: '데이터가 없습니다',
|
|
19
|
+
done: '완료',
|
|
20
|
+
clear: '지우기',
|
|
21
|
+
close: '닫기',
|
|
22
|
+
remove: (label)=>`${label} 삭제`,
|
|
23
|
+
dateTime: '날짜 및 시간',
|
|
24
|
+
selectDate: '날짜 선택',
|
|
25
|
+
selectTime: '시간 선택',
|
|
26
|
+
startTime: '시작 시간',
|
|
27
|
+
endTime: '종료 시간',
|
|
28
|
+
dateRange: '날짜 범위 선택',
|
|
29
|
+
startDate: '시작일',
|
|
30
|
+
endDate: '종료일',
|
|
31
|
+
now: '현재',
|
|
32
|
+
ok: '확인',
|
|
33
|
+
cancel: '취소',
|
|
34
|
+
previous: '이전',
|
|
35
|
+
next: '다음',
|
|
36
|
+
previousMonth: '이전 달',
|
|
37
|
+
nextMonth: '다음 달',
|
|
38
|
+
previousYear: '이전 연도',
|
|
39
|
+
nextYear: '다음 연도',
|
|
40
|
+
hour: '시',
|
|
41
|
+
minute: '분',
|
|
42
|
+
second: '초',
|
|
43
|
+
qrCode: {
|
|
44
|
+
expired: 'QR 코드가 만료되었습니다',
|
|
45
|
+
refresh: '새로 고침',
|
|
46
|
+
scanned: '스캔됨'
|
|
47
|
+
},
|
|
48
|
+
messages: {
|
|
49
|
+
tableEmpty: '데이터가 없습니다',
|
|
50
|
+
loading: '로딩 중',
|
|
51
|
+
pagination: '페이지 탐색',
|
|
52
|
+
previousPage: '이전 페이지',
|
|
53
|
+
nextPage: '다음 페이지',
|
|
54
|
+
itemsPerPage: '개/페이지',
|
|
55
|
+
pageSize: '페이지당 항목 수',
|
|
56
|
+
jumpTo: '이동할 페이지',
|
|
57
|
+
jumpToConfirm: '이동',
|
|
58
|
+
previousPages: '이전 페이지들',
|
|
59
|
+
nextPages: '다음 페이지들',
|
|
60
|
+
selectAllRows: '모든 행 선택',
|
|
61
|
+
expandRow: '행 펼치기',
|
|
62
|
+
collapseRow: '행 접기',
|
|
63
|
+
uploadFile: '파일 업로드',
|
|
64
|
+
uploadDrop: '클릭하거나 여기에 파일을 놓아 업로드하세요',
|
|
65
|
+
removeFile: '파일 삭제',
|
|
66
|
+
previewFile: '파일 미리 보기',
|
|
67
|
+
downloadFile: '파일 다운로드',
|
|
68
|
+
uploadError: '업로드 실패',
|
|
69
|
+
previewUnavailable: '미리 보기를 사용할 수 없습니다',
|
|
70
|
+
source: '원본',
|
|
71
|
+
target: '대상',
|
|
72
|
+
itemUnit: '개',
|
|
73
|
+
itemsUnit: '개',
|
|
74
|
+
selectAll: '모두 선택',
|
|
75
|
+
deselectAll: '모두 선택 해제',
|
|
76
|
+
selectCurrent: '현재 페이지 선택',
|
|
77
|
+
invertCurrent: '현재 선택 반전',
|
|
78
|
+
removeAll: '모두 삭제',
|
|
79
|
+
removeCurrent: '현재 페이지 삭제',
|
|
80
|
+
moveToTarget: '대상으로 이동',
|
|
81
|
+
moveToSource: '원본으로 이동',
|
|
82
|
+
clearSearch: '검색 지우기',
|
|
83
|
+
calendarYear: '연도',
|
|
84
|
+
calendarMonth: '월',
|
|
85
|
+
calendarView: '달력 보기',
|
|
86
|
+
zoomIn: '확대',
|
|
87
|
+
zoomOut: '축소',
|
|
88
|
+
rotateLeft: '왼쪽으로 회전',
|
|
89
|
+
rotateRight: '오른쪽으로 회전',
|
|
90
|
+
flipX: '좌우 뒤집기',
|
|
91
|
+
flipY: '상하 뒤집기',
|
|
92
|
+
colorMode: '색상 모드',
|
|
93
|
+
colorSingle: '단색',
|
|
94
|
+
colorGradient: '그라데이션',
|
|
95
|
+
colorStop: '색상 지점',
|
|
96
|
+
addColorStop: '색상 지점 추가',
|
|
97
|
+
removeColorStop: '색상 지점 삭제',
|
|
98
|
+
colorPosition: '위치',
|
|
99
|
+
colorStopPosition: '지점 위치',
|
|
100
|
+
colorFormat: '색상 형식',
|
|
101
|
+
colorHex: '16진수 색상',
|
|
102
|
+
colorRed: '빨강',
|
|
103
|
+
colorGreen: '초록',
|
|
104
|
+
colorBlue: '파랑',
|
|
105
|
+
colorHue: '색조',
|
|
106
|
+
colorSaturation: '채도',
|
|
107
|
+
colorBrightness: '밝기',
|
|
108
|
+
colorAlpha: '불투명도',
|
|
109
|
+
clearColor: '색상 지우기',
|
|
110
|
+
colorPreset: '사전 설정',
|
|
111
|
+
colorTransparent: '투명',
|
|
112
|
+
chooseColor: '색상 선택',
|
|
113
|
+
colorPicker: '색상 선택기',
|
|
114
|
+
loadingQrCode: 'QR 코드 로딩 중',
|
|
115
|
+
loadingNotification: '알림 로딩 중',
|
|
116
|
+
closeNotification: '알림 닫기',
|
|
117
|
+
floatingActions: '플로팅 작업',
|
|
118
|
+
breadcrumb: '탐색 경로',
|
|
119
|
+
showMore: '더 보기',
|
|
120
|
+
collapsePanel: '패널 접기',
|
|
121
|
+
selectionActions: '선택 작업',
|
|
122
|
+
more: '더 보기',
|
|
123
|
+
scrollVertically: '세로로 스크롤',
|
|
124
|
+
scrollHorizontally: '가로로 스크롤',
|
|
125
|
+
filter: '필터',
|
|
126
|
+
filterReset: '필터 초기화',
|
|
127
|
+
page: (page)=>`${page}페이지`,
|
|
128
|
+
selectRow: (label)=>`${label} 행 선택`,
|
|
129
|
+
moreUsers: (count)=>`사용자 ${count}명 더 보기`,
|
|
130
|
+
resizePanels: (first, second)=>`패널 ${first} 및 ${second} 크기 조정`,
|
|
131
|
+
backToTop: '맨 위로',
|
|
132
|
+
successNotification: '성공 알림',
|
|
133
|
+
errorNotification: '오류 알림',
|
|
134
|
+
warningNotification: '경고 알림',
|
|
135
|
+
infoNotification: '정보 알림',
|
|
136
|
+
notification: '알림',
|
|
137
|
+
removeFileError: '파일을 삭제할 수 없습니다',
|
|
138
|
+
readFileError: '파일을 읽을 수 없습니다',
|
|
139
|
+
millisecond: '밀리초',
|
|
140
|
+
meridiem: '오전/오후',
|
|
141
|
+
pageUnit: '페이지',
|
|
142
|
+
itemCount: createItemCount('ko-KR', {
|
|
143
|
+
other: '#개'
|
|
144
|
+
})
|
|
145
|
+
},
|
|
146
|
+
form: createFormMessages({
|
|
147
|
+
default: "“${name}” 필드의 유효성 검사에 실패했습니다",
|
|
148
|
+
required: "“${name}” 항목은 필수입니다",
|
|
149
|
+
enum: "“${name}” 값은 [${enum}] 중 하나여야 합니다",
|
|
150
|
+
whitespace: "“${name}” 항목은 비워 둘 수 없습니다",
|
|
151
|
+
invalid: "“${name}” 값은 유효한 ${type} 형식이어야 합니다",
|
|
152
|
+
dateFormat: "“${name}” 날짜 형식이 올바르지 않습니다",
|
|
153
|
+
dateParse: "“${name}” 값을 날짜로 해석할 수 없습니다",
|
|
154
|
+
dateInvalid: "“${name}” 값은 올바른 날짜가 아닙니다",
|
|
155
|
+
string: {
|
|
156
|
+
len: "“${name}” 항목은 정확히 ${len}자여야 합니다",
|
|
157
|
+
min: "“${name}” 항목은 ${min}자 이상이어야 합니다",
|
|
158
|
+
max: "“${name}” 항목은 ${max}자를 초과할 수 없습니다",
|
|
159
|
+
range: "“${name}” 항목은 ${min}~${max}자여야 합니다"
|
|
160
|
+
},
|
|
161
|
+
number: {
|
|
162
|
+
len: "“${name}” 값은 ${len}이어야 합니다",
|
|
163
|
+
min: "“${name}” 값은 ${min} 이상이어야 합니다",
|
|
164
|
+
max: "“${name}” 값은 ${max} 이하이어야 합니다",
|
|
165
|
+
range: "“${name}” 값은 ${min}~${max} 사이여야 합니다"
|
|
166
|
+
},
|
|
167
|
+
array: {
|
|
168
|
+
len: "“${name}” 항목은 정확히 ${len}개의 요소를 포함해야 합니다",
|
|
169
|
+
min: "“${name}” 항목은 ${min}개 이상의 요소를 포함해야 합니다",
|
|
170
|
+
max: "“${name}” 항목은 ${max}개를 초과하는 요소를 포함할 수 없습니다",
|
|
171
|
+
range: "“${name}” 항목은 ${min}~${max}개의 요소를 포함해야 합니다"
|
|
172
|
+
},
|
|
173
|
+
pattern: "“${name}” 값이 ${pattern} 패턴과 일치하지 않습니다",
|
|
174
|
+
typeNames: {
|
|
175
|
+
string: '문자열',
|
|
176
|
+
method: '함수',
|
|
177
|
+
array: '배열',
|
|
178
|
+
object: '객체',
|
|
179
|
+
number: '숫자',
|
|
180
|
+
date: '날짜',
|
|
181
|
+
boolean: '불리언',
|
|
182
|
+
integer: '정수',
|
|
183
|
+
float: '소수',
|
|
184
|
+
regexp: '정규식',
|
|
185
|
+
email: '이메일 주소',
|
|
186
|
+
tel: '전화번호',
|
|
187
|
+
url: '웹 주소',
|
|
188
|
+
hex: '16진수 값'
|
|
189
|
+
}
|
|
190
|
+
})
|
|
191
|
+
});
|
|
192
|
+
const locales_ko_KR = koKR;
|
|
193
|
+
export default locales_ko_KR;
|
|
194
|
+
export { koKR };
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import pt_BR from "@rc-component/picker/locale/pt_BR";
|
|
2
|
+
import "dayjs/locale/pt-br";
|
|
3
|
+
import { createFormMessages, createItemCount, createLocale } from "./create-locale.js";
|
|
4
|
+
const ptBR = createLocale({
|
|
5
|
+
locale: 'pt_BR',
|
|
6
|
+
numberLocale: 'pt-BR',
|
|
7
|
+
dayjsLocale: 'pt-br',
|
|
8
|
+
weekStartsOn: 0,
|
|
9
|
+
pickerLocale: pt_BR,
|
|
10
|
+
select: 'Selecionar',
|
|
11
|
+
searchPlaceholder: 'Pesquisar…',
|
|
12
|
+
search: 'Pesquisar',
|
|
13
|
+
showPassword: 'Mostrar senha',
|
|
14
|
+
hidePassword: 'Ocultar senha',
|
|
15
|
+
otpLabel: (index, length)=>`Caractere ${index} de ${length}`,
|
|
16
|
+
searchOptions: 'Pesquisar opções',
|
|
17
|
+
noResults: 'Nenhum resultado',
|
|
18
|
+
emptyDescription: 'Nenhum dado',
|
|
19
|
+
done: 'Concluído',
|
|
20
|
+
clear: 'Limpar',
|
|
21
|
+
close: 'Fechar',
|
|
22
|
+
remove: (label)=>`Remover ${label}`,
|
|
23
|
+
dateTime: 'Data e hora',
|
|
24
|
+
selectDate: 'Selecionar data',
|
|
25
|
+
selectTime: 'Selecionar hora',
|
|
26
|
+
startTime: 'Hora inicial',
|
|
27
|
+
endTime: 'Hora final',
|
|
28
|
+
dateRange: 'Selecionar período',
|
|
29
|
+
startDate: 'Data inicial',
|
|
30
|
+
endDate: 'Data final',
|
|
31
|
+
now: 'Agora',
|
|
32
|
+
ok: 'OK',
|
|
33
|
+
cancel: 'Cancelar',
|
|
34
|
+
previous: 'Anterior',
|
|
35
|
+
next: 'Próximo',
|
|
36
|
+
previousMonth: 'Mês anterior',
|
|
37
|
+
nextMonth: 'Próximo mês',
|
|
38
|
+
previousYear: 'Ano anterior',
|
|
39
|
+
nextYear: 'Próximo ano',
|
|
40
|
+
hour: 'Hora',
|
|
41
|
+
minute: 'Minuto',
|
|
42
|
+
second: 'Segundo',
|
|
43
|
+
qrCode: {
|
|
44
|
+
expired: 'Código QR expirado',
|
|
45
|
+
refresh: 'Atualizar',
|
|
46
|
+
scanned: 'Escaneado'
|
|
47
|
+
},
|
|
48
|
+
messages: {
|
|
49
|
+
tableEmpty: 'Nenhum dado',
|
|
50
|
+
loading: 'Carregando',
|
|
51
|
+
pagination: 'Paginação',
|
|
52
|
+
previousPage: 'Página anterior',
|
|
53
|
+
nextPage: 'Próxima página',
|
|
54
|
+
itemsPerPage: '/ página',
|
|
55
|
+
pageSize: 'Itens por página',
|
|
56
|
+
jumpTo: 'Ir para',
|
|
57
|
+
jumpToConfirm: 'Ir',
|
|
58
|
+
previousPages: 'Páginas anteriores',
|
|
59
|
+
nextPages: 'Próximas páginas',
|
|
60
|
+
selectAllRows: 'Selecionar todas as linhas',
|
|
61
|
+
expandRow: 'Expandir linha',
|
|
62
|
+
collapseRow: 'Recolher linha',
|
|
63
|
+
uploadFile: 'Enviar arquivos',
|
|
64
|
+
uploadDrop: 'Clique ou arraste arquivos aqui para enviar',
|
|
65
|
+
removeFile: 'Remover arquivo',
|
|
66
|
+
previewFile: 'Visualizar arquivo',
|
|
67
|
+
downloadFile: 'Baixar arquivo',
|
|
68
|
+
uploadError: 'Falha no envio',
|
|
69
|
+
previewUnavailable: 'Prévia indisponível',
|
|
70
|
+
source: 'Origem',
|
|
71
|
+
target: 'Destino',
|
|
72
|
+
itemUnit: 'item',
|
|
73
|
+
itemsUnit: 'itens',
|
|
74
|
+
selectAll: 'Selecionar tudo',
|
|
75
|
+
deselectAll: 'Desmarcar tudo',
|
|
76
|
+
selectCurrent: 'Selecionar página atual',
|
|
77
|
+
invertCurrent: 'Inverter seleção atual',
|
|
78
|
+
removeAll: 'Remover tudo',
|
|
79
|
+
removeCurrent: 'Remover página atual',
|
|
80
|
+
moveToTarget: 'Mover para o destino',
|
|
81
|
+
moveToSource: 'Mover para a origem',
|
|
82
|
+
clearSearch: 'Limpar pesquisa',
|
|
83
|
+
calendarYear: 'Ano',
|
|
84
|
+
calendarMonth: 'Mês',
|
|
85
|
+
calendarView: 'Visualização do calendário',
|
|
86
|
+
zoomIn: 'Ampliar',
|
|
87
|
+
zoomOut: 'Reduzir',
|
|
88
|
+
rotateLeft: 'Girar à esquerda',
|
|
89
|
+
rotateRight: 'Girar à direita',
|
|
90
|
+
flipX: 'Inverter horizontalmente',
|
|
91
|
+
flipY: 'Inverter verticalmente',
|
|
92
|
+
colorMode: 'Modo de cor',
|
|
93
|
+
colorSingle: 'Cor sólida',
|
|
94
|
+
colorGradient: 'Gradiente',
|
|
95
|
+
colorStop: 'Ponto de cor',
|
|
96
|
+
addColorStop: 'Adicionar ponto de cor',
|
|
97
|
+
removeColorStop: 'Remover ponto de cor',
|
|
98
|
+
colorPosition: 'Posição',
|
|
99
|
+
colorStopPosition: 'Posição do ponto',
|
|
100
|
+
colorFormat: 'Formato de cor',
|
|
101
|
+
colorHex: 'Cor hexadecimal',
|
|
102
|
+
colorRed: 'Vermelho',
|
|
103
|
+
colorGreen: 'Verde',
|
|
104
|
+
colorBlue: 'Azul',
|
|
105
|
+
colorHue: 'Matiz',
|
|
106
|
+
colorSaturation: 'Saturação',
|
|
107
|
+
colorBrightness: 'Brilho',
|
|
108
|
+
colorAlpha: 'Opacidade',
|
|
109
|
+
clearColor: 'Limpar cor',
|
|
110
|
+
colorPreset: 'Predefinição',
|
|
111
|
+
colorTransparent: 'Transparente',
|
|
112
|
+
chooseColor: 'Escolher cor',
|
|
113
|
+
colorPicker: 'Seletor de cores',
|
|
114
|
+
loadingQrCode: 'Carregando código QR',
|
|
115
|
+
loadingNotification: 'Carregando notificação',
|
|
116
|
+
closeNotification: 'Fechar notificação',
|
|
117
|
+
floatingActions: 'Ações flutuantes',
|
|
118
|
+
breadcrumb: 'Caminho de navegação',
|
|
119
|
+
showMore: 'Mostrar mais',
|
|
120
|
+
collapsePanel: 'Recolher painel',
|
|
121
|
+
selectionActions: 'Ações de seleção',
|
|
122
|
+
more: 'Mais',
|
|
123
|
+
scrollVertically: 'Rolar verticalmente',
|
|
124
|
+
scrollHorizontally: 'Rolar horizontalmente',
|
|
125
|
+
filter: 'Filtrar',
|
|
126
|
+
filterReset: 'Redefinir filtros',
|
|
127
|
+
page: (page)=>`Página ${page}`,
|
|
128
|
+
selectRow: (label)=>`Selecionar linha ${label}`,
|
|
129
|
+
moreUsers: (count)=>`Mais ${count} usuários`,
|
|
130
|
+
resizePanels: (first, second)=>`Redimensionar os painéis ${first} e ${second}`,
|
|
131
|
+
backToTop: 'Voltar ao topo',
|
|
132
|
+
successNotification: 'Notificação de sucesso',
|
|
133
|
+
errorNotification: 'Notificação de erro',
|
|
134
|
+
warningNotification: 'Notificação de aviso',
|
|
135
|
+
infoNotification: 'Notificação informativa',
|
|
136
|
+
notification: 'Notificação',
|
|
137
|
+
removeFileError: 'Não foi possível remover o arquivo',
|
|
138
|
+
readFileError: 'Não foi possível ler o arquivo',
|
|
139
|
+
millisecond: 'Milissegundo',
|
|
140
|
+
meridiem: 'Manhã/Tarde',
|
|
141
|
+
pageUnit: 'página',
|
|
142
|
+
itemCount: createItemCount('pt-BR', {
|
|
143
|
+
one: '# item',
|
|
144
|
+
other: '# itens'
|
|
145
|
+
})
|
|
146
|
+
},
|
|
147
|
+
form: createFormMessages({
|
|
148
|
+
default: "Erro de validação no campo “${name}”",
|
|
149
|
+
required: "“${name}” é obrigatório",
|
|
150
|
+
enum: "“${name}” deve ser um dos valores [${enum}]",
|
|
151
|
+
whitespace: "“${name}” não pode estar vazio",
|
|
152
|
+
invalid: "“${name}” deve ser do tipo ${type}",
|
|
153
|
+
dateFormat: "O formato de data de “${name}” é inválido",
|
|
154
|
+
dateParse: "Não foi possível interpretar “${name}” como data",
|
|
155
|
+
dateInvalid: "“${name}” não é uma data válida",
|
|
156
|
+
string: {
|
|
157
|
+
len: "“${name}” deve ter exatamente ${len} caracteres",
|
|
158
|
+
min: "“${name}” deve ter pelo menos ${min} caracteres",
|
|
159
|
+
max: "“${name}” não pode exceder ${max} caracteres",
|
|
160
|
+
range: "“${name}” deve ter entre ${min} e ${max} caracteres"
|
|
161
|
+
},
|
|
162
|
+
number: {
|
|
163
|
+
len: "“${name}” deve ser igual a ${len}",
|
|
164
|
+
min: "“${name}” não pode ser menor que ${min}",
|
|
165
|
+
max: "“${name}” não pode ser maior que ${max}",
|
|
166
|
+
range: "“${name}” deve estar entre ${min} e ${max}"
|
|
167
|
+
},
|
|
168
|
+
array: {
|
|
169
|
+
len: "“${name}” deve conter exatamente ${len} itens",
|
|
170
|
+
min: "“${name}” deve conter pelo menos ${min} itens",
|
|
171
|
+
max: "“${name}” não pode conter mais de ${max} itens",
|
|
172
|
+
range: "“${name}” deve conter entre ${min} e ${max} itens"
|
|
173
|
+
},
|
|
174
|
+
pattern: "“${name}” não corresponde ao padrão ${pattern}",
|
|
175
|
+
typeNames: {
|
|
176
|
+
string: 'texto',
|
|
177
|
+
method: 'função',
|
|
178
|
+
array: 'lista',
|
|
179
|
+
object: 'objeto',
|
|
180
|
+
number: 'número',
|
|
181
|
+
date: 'data',
|
|
182
|
+
boolean: 'booleano',
|
|
183
|
+
integer: 'número inteiro',
|
|
184
|
+
float: 'número decimal',
|
|
185
|
+
regexp: 'expressão regular',
|
|
186
|
+
email: 'endereço de e-mail',
|
|
187
|
+
tel: 'número de telefone',
|
|
188
|
+
url: 'endereço web',
|
|
189
|
+
hex: 'valor hexadecimal'
|
|
190
|
+
}
|
|
191
|
+
})
|
|
192
|
+
});
|
|
193
|
+
const locales_pt_BR = ptBR;
|
|
194
|
+
export default locales_pt_BR;
|
|
195
|
+
export { ptBR };
|