@tendaui/components 1.2.4 → 1.3.1
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/_util/scroll.ts +9 -0
- package/alert/_example/base.tsx +13 -0
- package/alert/_example/collapse.tsx +15 -0
- package/badge/_example/base.tsx +10 -0
- package/badge/_example/count.tsx +29 -0
- package/badge/_example/custom-color.tsx +32 -0
- package/badge/_example/dot.tsx +26 -0
- package/badge/_example/max-count.tsx +26 -0
- package/badge/_example/offset.tsx +29 -0
- package/badge/_example/shape.tsx +32 -0
- package/badge/_example/show-zero.tsx +23 -0
- package/badge/_example/size.tsx +35 -0
- package/badge/_example/standalone.tsx +14 -0
- package/badge/_example/text-count.tsx +26 -0
- package/badge/_example/with-button.tsx +23 -0
- package/button/_example/block.tsx +18 -0
- package/button/_example/disabled.tsx +22 -0
- package/button/_example/ghost.tsx +21 -0
- package/button/_example/link.tsx +15 -0
- package/button/_example/loading.tsx +19 -0
- package/button/_example/shape.tsx +18 -0
- package/button/_example/size.tsx +18 -0
- package/button/_example/suffix.tsx +16 -0
- package/button/_example/theme.tsx +14 -0
- package/button/_example/variant-base.tsx +24 -0
- package/button/_example/variant-dashed.tsx +24 -0
- package/button/_example/variant-outline.tsx +24 -0
- package/button/_example/variant-text.tsx +24 -0
- package/checkbox/_example/base.tsx +8 -0
- package/checkbox/_example/controlled.tsx +11 -0
- package/checkbox/_example/group-disabled.tsx +13 -0
- package/checkbox/_example/group-with-check-all.tsx +22 -0
- package/checkbox/_example/group-with-max.tsx +17 -0
- package/checkbox/_example/group-with-options.tsx +18 -0
- package/checkbox/_example/group.tsx +17 -0
- package/checkbox/_example/states.tsx +19 -0
- package/color-picker/ColorPicker.tsx +16 -2
- package/color-picker/_example/base.tsx +12 -0
- package/color-picker/_example/borderless.tsx +17 -0
- package/color-picker/_example/clearable.tsx +12 -0
- package/color-picker/_example/disabled.tsx +17 -0
- package/color-picker/_example/formats.tsx +30 -0
- package/color-picker/_example/manual-input.tsx +39 -0
- package/color-picker/_example/recent-colors.tsx +19 -0
- package/color-picker/_example/swatch-colors.tsx +28 -0
- package/color-picker/_example/with-alpha.tsx +21 -0
- package/color-picker/components/panel/format/inputs.tsx +1 -1
- package/color-picker/components/panel/index.tsx +13 -0
- package/color-picker/components/trigger.tsx +64 -13
- package/color-picker/defaultProps.ts +4 -1
- package/color-picker/utils/color-picker/cmyk.ts +5 -5
- package/color-picker/utils/color-picker/draggable.ts +14 -15
- package/color-picker/utils/color-picker/format.ts +21 -26
- package/color-picker/utils/color-picker/gradient.ts +35 -41
- package/color-picker/utils/color-picker/types.ts +4 -4
- package/config-provider/ConfigContext.tsx +1 -0
- package/config-provider/ConfigProvider.tsx +18 -1
- package/config-provider/type.ts +5 -0
- package/dialog/_example/base.tsx +27 -0
- package/dialog/_example/confirm-loading.tsx +32 -0
- package/dialog/_example/custom-buttons.tsx +24 -0
- package/dialog/_example/full-screen.tsx +26 -0
- package/dialog/_example/hide-buttons.tsx +39 -0
- package/dialog/_example/modeless.tsx +25 -0
- package/dialog/_example/placement.tsx +40 -0
- package/dialog/_example/plugin-example.tsx +69 -0
- package/dialog/_example/themes.tsx +41 -0
- package/drawer/Drawer.tsx +17 -9
- package/drawer/_example/custom-header-footer.tsx +29 -0
- package/drawer/_example/default.tsx +20 -0
- package/drawer/_example/events.tsx +53 -0
- package/drawer/_example/no-footer.tsx +20 -0
- package/drawer/_example/no-overlay.tsx +20 -0
- package/drawer/_example/placement.tsx +43 -0
- package/drawer/_example/size-draggable.tsx +26 -0
- package/drawer/_example/size.tsx +40 -0
- package/drawer/defaultProps.ts +1 -1
- package/fireworks/Fireworks.tsx +1 -10
- package/fireworks/index.ts +0 -1
- package/fireworks/type.ts +0 -1
- package/form/_example/complex.tsx +76 -0
- package/form/_example/default.tsx +58 -0
- package/form/_example/disabled.tsx +26 -0
- package/form/_example/form-list.tsx +74 -0
- package/form/_example/inline-layout.tsx +20 -0
- package/form/_example/label-align.tsx +46 -0
- package/form/_example/methods.tsx +66 -0
- package/form/_example/validation.tsx +71 -0
- package/form/hooks/useFormItemStyle.tsx +19 -7
- package/form/index.ts +20 -2
- package/global-config/default-config.ts +28 -28
- package/global-config/locale/ar_KW.ts +176 -187
- package/global-config/locale/en_US.ts +180 -195
- package/global-config/locale/it_IT.ts +174 -197
- package/global-config/locale/ja_JP.ts +178 -193
- package/global-config/locale/ko_KR.ts +178 -193
- package/global-config/locale/ru_RU.ts +189 -200
- package/global-config/locale/zh_CN.ts +179 -193
- package/global-config/locale/zh_TW.ts +178 -192
- package/global-config/mobile/default-config.ts +3 -3
- package/global-config/mobile/locale/ar_KW.ts +76 -77
- package/global-config/mobile/locale/en_US.ts +76 -77
- package/global-config/mobile/locale/it_IT.ts +76 -77
- package/global-config/mobile/locale/ja_JP.ts +64 -65
- package/global-config/mobile/locale/ko_KR.ts +64 -65
- package/global-config/mobile/locale/ru_RU.ts +76 -77
- package/global-config/mobile/locale/zh_CN.ts +64 -65
- package/global-config/mobile/locale/zh_TW.ts +64 -65
- package/global-config/t.ts +12 -12
- package/hooks/useDebounce.ts +27 -0
- package/hooks/useLastest.ts +6 -2
- package/hooks/useResizeObserve.ts +0 -1
- package/index.ts +1 -1
- package/input/Input.tsx +53 -10
- package/input/_example/auto-width.tsx +14 -0
- package/input/_example/borderless.tsx +17 -0
- package/input/_example/clearable.tsx +14 -0
- package/input/_example/default.tsx +10 -0
- package/input/_example/disabled-readonly.tsx +12 -0
- package/input/_example/events.tsx +42 -0
- package/input/_example/group.tsx +14 -0
- package/input/_example/label-suffix.tsx +12 -0
- package/input/_example/max-length.tsx +11 -0
- package/input/_example/password.tsx +14 -0
- package/input/_example/sizes.tsx +12 -0
- package/input/_example/status.tsx +13 -0
- package/input/_example/text-align.tsx +12 -0
- package/input/_example/with-icon.tsx +13 -0
- package/input/type.ts +3 -0
- package/input/useLengthLimit.ts +122 -0
- package/input-number/_example/align.tsx +23 -0
- package/input-number/_example/auto-width.tsx +8 -0
- package/input-number/_example/default.tsx +8 -0
- package/input-number/_example/events.tsx +45 -0
- package/input-number/_example/format.tsx +27 -0
- package/input-number/_example/large-number.tsx +17 -0
- package/input-number/_example/min-max.tsx +14 -0
- package/input-number/_example/sizes.tsx +35 -0
- package/input-number/_example/status.tsx +65 -0
- package/input-number/_example/step-and-decimal.tsx +14 -0
- package/input-number/_example/themes.tsx +21 -0
- package/input-number/_example/with-suffix.tsx +12 -0
- package/ip-input/_example/controlled.tsx +26 -0
- package/ip-input/_example/default.tsx +12 -0
- package/ip-input/_example/full-featured.tsx +32 -0
- package/ip-input/_example/ipv6.tsx +23 -0
- package/ip-input/_example/keyboard-navigation.tsx +19 -0
- package/ip-input/_example/paste-demo.tsx +23 -0
- package/ip-input/_example/states.tsx +21 -0
- package/ip-input/_example/with-cidr.tsx +23 -0
- package/layout/_example/combine-left.tsx +54 -0
- package/layout/_example/combine-right.tsx +54 -0
- package/layout/_example/custom-aside-width.tsx +56 -0
- package/layout/_example/custom-height.tsx +45 -0
- package/layout/_example/double-sidebar.tsx +57 -0
- package/layout/_example/side-navigation-right.tsx +51 -0
- package/layout/_example/side-navigation.tsx +51 -0
- package/layout/_example/top-navigation.tsx +41 -0
- package/list/_example/async-loading.tsx +46 -0
- package/list/_example/default.tsx +23 -0
- package/list/_example/header-footer.tsx +40 -0
- package/list/_example/multiline.tsx +24 -0
- package/list/_example/scroll-loading.tsx +69 -0
- package/list/_example/sizes.tsx +45 -0
- package/list/_example/split.tsx +36 -0
- package/list/_example/stripe.tsx +24 -0
- package/list/_example/virtual-scroll.tsx +51 -0
- package/list/_example/with-image.tsx +26 -0
- package/loading/_example/default.tsx +6 -0
- package/loading/_example/delay.tsx +53 -0
- package/loading/_example/fullscreen.tsx +29 -0
- package/loading/_example/inherit-color.tsx +24 -0
- package/loading/_example/no-overlay.tsx +15 -0
- package/loading/_example/sizes.tsx +25 -0
- package/loading/_example/with-text.tsx +12 -0
- package/loading/_example/wrapper.tsx +30 -0
- package/notification/_example/default.tsx +31 -0
- package/notification/_example/long-content.tsx +37 -0
- package/notification/_example/stacking.tsx +40 -0
- package/notification/_example/types.tsx +78 -0
- package/notification/_example/usage-example.tsx +62 -0
- package/package.json +4 -3
- package/popup/Popup.tsx +17 -5
- package/popup/_example/controlled.tsx +32 -0
- package/popup/_example/custom-content.tsx +64 -0
- package/popup/_example/default.tsx +19 -0
- package/popup/_example/delay.tsx +35 -0
- package/popup/_example/disabled.tsx +17 -0
- package/popup/_example/no-arrow.tsx +17 -0
- package/popup/_example/placements.tsx +61 -0
- package/popup/_example/triggers.tsx +26 -0
- package/radio/_example/allow-uncheck.tsx +19 -0
- package/radio/_example/button-style.tsx +40 -0
- package/radio/_example/controlled.tsx +13 -0
- package/radio/_example/default.tsx +13 -0
- package/radio/_example/group-disabled.tsx +22 -0
- package/radio/_example/group-with-options.tsx +20 -0
- package/radio/_example/group.tsx +19 -0
- package/radio/_example/sizes.tsx +37 -0
- package/radio/_example/states.tsx +20 -0
- package/select/_example/collapsed.tsx +30 -0
- package/select/_example/creatable.tsx +36 -0
- package/select/_example/custom-content.tsx +26 -0
- package/select/_example/default.tsx +29 -0
- package/select/_example/disabled.tsx +20 -0
- package/select/_example/filterable.tsx +27 -0
- package/select/_example/group-options.tsx +44 -0
- package/select/_example/label-suffix.tsx +24 -0
- package/select/_example/loading.tsx +19 -0
- package/select/_example/multiple.tsx +31 -0
- package/select/_example/sizes.tsx +20 -0
- package/select/_example/status.tsx +27 -0
- package/slider/Slider.tsx +13 -5
- package/slider/_example/custom-label.tsx +19 -0
- package/slider/_example/default.tsx +14 -0
- package/slider/_example/disabled.tsx +17 -0
- package/slider/_example/marks.tsx +31 -0
- package/slider/_example/range.tsx +16 -0
- package/slider/_example/step.tsx +14 -0
- package/slider/_example/vertical.tsx +26 -0
- package/slider/_example/with-input-number.tsx +21 -0
- package/slider/type.ts +1 -1
- package/styles/_vars.scss +16 -0
- package/styles/components/button/_index.scss +3 -3
- package/styles/components/dialog/_index.scss +18 -20
- package/styles/components/drawer/_index.scss +4 -3
- package/styles/components/drawer/_var.scss +1 -1
- package/styles/components/form/_index.scss +7 -6
- package/styles/components/input/_mixins.scss +7 -5
- package/styles/components/input-number/_index.scss +13 -12
- package/styles/components/list/_index.scss +5 -5
- package/styles/components/notification/_index.scss +4 -4
- package/styles/components/slider/_index.scss +8 -8
- package/styles/components/switch/_index.scss +98 -15
- package/styles/components/table/_index.scss +37 -29
- package/styles/components/tabs/_index.scss +8 -9
- package/styles/components/tooltip/_index.scss +104 -0
- package/styles/components/tooltip/_vars.scss +23 -0
- package/switch/_example/async-change.tsx +25 -0
- package/switch/_example/before-change.tsx +22 -0
- package/switch/_example/controlled.tsx +14 -0
- package/switch/_example/custom-value.tsx +21 -0
- package/switch/_example/default.tsx +6 -0
- package/switch/_example/disabled.tsx +25 -0
- package/switch/_example/loading.tsx +17 -0
- package/switch/_example/sizes.tsx +21 -0
- package/switch/_example/with-label.tsx +21 -0
- package/tab/TabPanel.tsx +9 -6
- package/tab/_example/addable.tsx +45 -0
- package/tab/_example/card-theme.tsx +22 -0
- package/tab/_example/default.tsx +22 -0
- package/tab/_example/disabled.tsx +38 -0
- package/tab/_example/lazy.tsx +25 -0
- package/tab/_example/placement.tsx +36 -0
- package/tab/_example/removable.tsx +31 -0
- package/tab/_example/sizes.tsx +31 -0
- package/tab/_example/with-action.tsx +26 -0
- package/table/Cell.tsx +3 -6
- package/table/Ellipsis.tsx +73 -0
- package/table/_example/alignment.tsx +46 -0
- package/table/_example/auto-width.tsx +47 -0
- package/table/_example/bordered-stripe-hover.tsx +42 -0
- package/table/_example/bordered.tsx +42 -0
- package/table/_example/cell-click.tsx +52 -0
- package/table/_example/complex.tsx +82 -0
- package/table/_example/custom-cell.tsx +68 -0
- package/table/_example/custom-empty.tsx +37 -0
- package/table/_example/custom-row-class-name.tsx +57 -0
- package/table/_example/default.tsx +42 -0
- package/table/_example/ellipsis.tsx +56 -0
- package/table/_example/empty.tsx +28 -0
- package/table/_example/fixed-width.tsx +48 -0
- package/table/_example/hover.tsx +42 -0
- package/table/_example/row-click.tsx +52 -0
- package/table/_example/sizes.tsx +57 -0
- package/table/_example/stripe.tsx +42 -0
- package/table/_example/vertical-align.tsx +110 -0
- package/table/hooks/useTableClassName.ts +3 -3
- package/table/index.ts +2 -0
- package/table/type.ts +1 -0
- package/tag/Tag.tsx +1 -1
- package/tag/_example/closable.tsx +44 -0
- package/tag/_example/default.tsx +17 -0
- package/tag/_example/disabled.tsx +19 -0
- package/tag/_example/sizes.tsx +18 -0
- package/tag/_example/variants.tsx +37 -0
- package/tag-input/_example/collapsed.tsx +27 -0
- package/tag-input/_example/controlled-uncontrolled.tsx +26 -0
- package/tag-input/_example/default.tsx +15 -0
- package/tag-input/_example/disabled-readonly.tsx +21 -0
- package/tag-input/_example/events.tsx +64 -0
- package/tag-input/_example/excess-display.tsx +27 -0
- package/tag-input/_example/max-tags.tsx +22 -0
- package/tag-input/_example/sizes.tsx +21 -0
- package/tag-input/_example/status.tsx +37 -0
- package/tag-input/_example/with-label.tsx +23 -0
- package/tag-input/hooks/useTagList.tsx +1 -1
- package/tooltip/Tooltip.tsx +76 -0
- package/tooltip/_example/base.tsx +26 -0
- package/tooltip/_example/custom-content.tsx +47 -0
- package/tooltip/_example/placement.tsx +33 -0
- package/tooltip/_example/theme.tsx +34 -0
- package/tooltip/defaultProps.ts +14 -0
- package/tooltip/index.ts +7 -0
- package/tooltip/style/index.js +1 -0
- package/tooltip/type.ts +99 -0
- package/utils/log/index.ts +1 -1
- package/utils/log/log.ts +2 -3
- package/utils/log/types.ts +1 -4
|
@@ -1,101 +1,100 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
// 文件有效,为国际化做准备
|
|
3
|
-
import
|
|
2
|
+
import "dayjs/locale/ja";
|
|
4
3
|
|
|
5
4
|
export default {
|
|
6
5
|
actionSheet: {
|
|
7
|
-
cancel:
|
|
6
|
+
cancel: "キャンセル"
|
|
8
7
|
},
|
|
9
8
|
calendar: {
|
|
10
|
-
confirm:
|
|
11
|
-
title:
|
|
12
|
-
weekdays: [
|
|
13
|
-
monthTitle:
|
|
14
|
-
months: [
|
|
9
|
+
confirm: "確認",
|
|
10
|
+
title: "日付の選択",
|
|
11
|
+
weekdays: ["日", "月", "火", "水", "木", "金", "土"],
|
|
12
|
+
monthTitle: "{month} {year}",
|
|
13
|
+
months: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"]
|
|
15
14
|
},
|
|
16
15
|
cascader: {
|
|
17
|
-
title:
|
|
18
|
-
placeholder:
|
|
16
|
+
title: "タイトル",
|
|
17
|
+
placeholder: "オプションを選択"
|
|
19
18
|
},
|
|
20
19
|
dropdownMenu: {
|
|
21
|
-
reset:
|
|
22
|
-
confirm:
|
|
20
|
+
reset: "リセット",
|
|
21
|
+
confirm: "確認"
|
|
23
22
|
},
|
|
24
23
|
dateTimePicker: {
|
|
25
|
-
title:
|
|
26
|
-
cancel:
|
|
27
|
-
confirm:
|
|
28
|
-
format:
|
|
29
|
-
yearLabel:
|
|
30
|
-
monthLabel:
|
|
31
|
-
dateLabel:
|
|
32
|
-
hourLabel:
|
|
33
|
-
minuteLabel:
|
|
34
|
-
secondLabel:
|
|
24
|
+
title: "日付を選択",
|
|
25
|
+
cancel: "キャンセル",
|
|
26
|
+
confirm: "確認",
|
|
27
|
+
format: "YYYY-MM-DD",
|
|
28
|
+
yearLabel: "年",
|
|
29
|
+
monthLabel: "月",
|
|
30
|
+
dateLabel: "日",
|
|
31
|
+
hourLabel: "時",
|
|
32
|
+
minuteLabel: "分",
|
|
33
|
+
secondLabel: "秒"
|
|
35
34
|
},
|
|
36
35
|
form: {
|
|
37
36
|
errorMessage: {
|
|
38
|
-
date:
|
|
39
|
-
url:
|
|
40
|
-
required:
|
|
41
|
-
whitespace:
|
|
42
|
-
max:
|
|
43
|
-
min:
|
|
44
|
-
len:
|
|
45
|
-
enum:
|
|
46
|
-
idcard:
|
|
47
|
-
telnumber:
|
|
48
|
-
pattern:
|
|
49
|
-
validator:
|
|
50
|
-
boolean:
|
|
51
|
-
number:
|
|
37
|
+
date: "正しく入力してください${name}",
|
|
38
|
+
url: "正しく入力してください${name}",
|
|
39
|
+
required: "${name}必須項目",
|
|
40
|
+
whitespace: "${name}を空にすることはできません",
|
|
41
|
+
max: "${name}文字数制限 ${validate} 文字,一中二文",
|
|
42
|
+
min: "${name}を下回る文字数は使用できません ${validate} 文字,一中二文",
|
|
43
|
+
len: "${name}文字の長さは、必ず ${validate}",
|
|
44
|
+
enum: "${name}でしかありえません${validate}等",
|
|
45
|
+
idcard: "正しく入力してください${name}",
|
|
46
|
+
telnumber: "正しく入力してください${name}",
|
|
47
|
+
pattern: "正しく入力してください${name}",
|
|
48
|
+
validator: "${name}要件を満たしていない",
|
|
49
|
+
boolean: "${name}データ型は Boolean 型であること",
|
|
50
|
+
number: "${name}デジタルであること"
|
|
52
51
|
},
|
|
53
|
-
colonText:
|
|
52
|
+
colonText: ":"
|
|
54
53
|
},
|
|
55
54
|
picker: {
|
|
56
|
-
cancel:
|
|
57
|
-
confirm:
|
|
55
|
+
cancel: "キャンセル",
|
|
56
|
+
confirm: "確認"
|
|
58
57
|
},
|
|
59
58
|
pullDownRefresh: {
|
|
60
|
-
loadingTexts: [
|
|
59
|
+
loadingTexts: ["更新に引っ張ってください", "緩めて更新中", "更新中…", "更新が完了しました"]
|
|
61
60
|
},
|
|
62
61
|
rate: {
|
|
63
|
-
valueText:
|
|
64
|
-
noValueText:
|
|
62
|
+
valueText: "{value} 点",
|
|
63
|
+
noValueText: "スコアなし"
|
|
65
64
|
},
|
|
66
65
|
tabBar: {
|
|
67
|
-
newsAriaLabel:
|
|
68
|
-
moreNewsAriaLabel:
|
|
69
|
-
haveMoreNewsAriaLabel:
|
|
70
|
-
haveNewsAriaLabel:
|
|
66
|
+
newsAriaLabel: "新しいニュースがあります",
|
|
67
|
+
moreNewsAriaLabel: "たくさんのニュースがあります",
|
|
68
|
+
haveMoreNewsAriaLabel: "{value}+ 件のニュースがあります",
|
|
69
|
+
haveNewsAriaLabel: "{value} 件のニュースがあります"
|
|
71
70
|
},
|
|
72
71
|
table: {
|
|
73
|
-
empty:
|
|
72
|
+
empty: "データがありません"
|
|
74
73
|
},
|
|
75
74
|
list: {
|
|
76
|
-
loading:
|
|
77
|
-
loadingMoreText:
|
|
78
|
-
pulling:
|
|
79
|
-
loosing:
|
|
80
|
-
success:
|
|
75
|
+
loading: "読み込み中…",
|
|
76
|
+
loadingMoreText: "もっと見るにはクリックしてください",
|
|
77
|
+
pulling: "更新に引っ張ってください…",
|
|
78
|
+
loosing: "緩めて更新中…",
|
|
79
|
+
success: "更新が成功しました"
|
|
81
80
|
},
|
|
82
81
|
upload: {
|
|
83
82
|
progress: {
|
|
84
|
-
uploadingText:
|
|
85
|
-
waitingText:
|
|
86
|
-
failText:
|
|
87
|
-
successText:
|
|
88
|
-
}
|
|
83
|
+
uploadingText: "アップロード中…",
|
|
84
|
+
waitingText: "待機中",
|
|
85
|
+
failText: "失敗しました",
|
|
86
|
+
successText: "成功しました"
|
|
87
|
+
}
|
|
89
88
|
},
|
|
90
89
|
guide: {
|
|
91
|
-
next:
|
|
92
|
-
skip:
|
|
93
|
-
finish:
|
|
94
|
-
back:
|
|
90
|
+
next: "次へ",
|
|
91
|
+
skip: "スキップ",
|
|
92
|
+
finish: "完了",
|
|
93
|
+
back: "戻る"
|
|
95
94
|
},
|
|
96
95
|
qrcode: {
|
|
97
|
-
expiredText:
|
|
98
|
-
refreshText:
|
|
99
|
-
scannedText:
|
|
100
|
-
}
|
|
96
|
+
expiredText: "期限切れ",
|
|
97
|
+
refreshText: "リフレッシュ",
|
|
98
|
+
scannedText: "スキャンされた"
|
|
99
|
+
}
|
|
101
100
|
};
|
|
@@ -1,101 +1,100 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
// 文件有效,为国际化做准备
|
|
3
|
-
import
|
|
2
|
+
import "dayjs/locale/ko";
|
|
4
3
|
|
|
5
4
|
export default {
|
|
6
5
|
actionSheet: {
|
|
7
|
-
cancel:
|
|
6
|
+
cancel: "취소"
|
|
8
7
|
},
|
|
9
8
|
calendar: {
|
|
10
|
-
confirm:
|
|
11
|
-
title:
|
|
12
|
-
weekdays: [
|
|
13
|
-
monthTitle:
|
|
14
|
-
months: [
|
|
9
|
+
confirm: "확인",
|
|
10
|
+
title: "날짜 선택",
|
|
11
|
+
weekdays: ["일", "월", "화", "수", "목", "금", "토"],
|
|
12
|
+
monthTitle: "{month} {year}",
|
|
13
|
+
months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"]
|
|
15
14
|
},
|
|
16
15
|
cascader: {
|
|
17
|
-
title:
|
|
18
|
-
placeholder:
|
|
16
|
+
title: "제목",
|
|
17
|
+
placeholder: "옵션 선택"
|
|
19
18
|
},
|
|
20
19
|
dropdownMenu: {
|
|
21
|
-
reset:
|
|
22
|
-
confirm:
|
|
20
|
+
reset: "초기화",
|
|
21
|
+
confirm: "확인"
|
|
23
22
|
},
|
|
24
23
|
dateTimePicker: {
|
|
25
|
-
title:
|
|
26
|
-
cancel:
|
|
27
|
-
confirm:
|
|
28
|
-
format:
|
|
29
|
-
yearLabel:
|
|
30
|
-
monthLabel:
|
|
31
|
-
dateLabel:
|
|
32
|
-
hourLabel:
|
|
33
|
-
minuteLabel:
|
|
34
|
-
secondLabel:
|
|
24
|
+
title: "날짜 선택",
|
|
25
|
+
cancel: "취소",
|
|
26
|
+
confirm: "확인",
|
|
27
|
+
format: "YYYY-MM-DD",
|
|
28
|
+
yearLabel: "년",
|
|
29
|
+
monthLabel: "월",
|
|
30
|
+
dateLabel: "일",
|
|
31
|
+
hourLabel: "시",
|
|
32
|
+
minuteLabel: "분",
|
|
33
|
+
secondLabel: "초"
|
|
35
34
|
},
|
|
36
35
|
form: {
|
|
37
36
|
errorMessage: {
|
|
38
|
-
date:
|
|
39
|
-
url:
|
|
40
|
-
required:
|
|
41
|
-
whitespace:
|
|
42
|
-
max:
|
|
43
|
-
min:
|
|
44
|
-
len:
|
|
45
|
-
enum:
|
|
46
|
-
idcard:
|
|
47
|
-
telnumber:
|
|
48
|
-
pattern:
|
|
49
|
-
validator:
|
|
50
|
-
boolean:
|
|
51
|
-
number:
|
|
37
|
+
date: "정확한 내용을 입력해주세요${name}",
|
|
38
|
+
url: "정확한 내용을 입력해주세요${name}",
|
|
39
|
+
required: "${name}필수의",
|
|
40
|
+
whitespace: "${name}은 비어 있을 수 없습니다",
|
|
41
|
+
max: "${name}문자 길이는 초과할 수 없습니다 ${validate} 캐릭터,한자는 두 글자와 같다",
|
|
42
|
+
min: "${name}문자 길이는 다음보다 작을 수 없습니다 ${validate} 캐릭터,한자는 두 글자와 같다",
|
|
43
|
+
len: "${name}문자 길이는 다음과 같아야 합니다. ${validate}",
|
|
44
|
+
enum: "${name}만 될 수 있습니다${validate}그리고 더",
|
|
45
|
+
idcard: "정확한 내용을 입력해주세요${name}",
|
|
46
|
+
telnumber: "정확한 내용을 입력해주세요${name}",
|
|
47
|
+
pattern: "정확한 내용을 입력해주세요${name}",
|
|
48
|
+
validator: "${name}비준수",
|
|
49
|
+
boolean: "${name}데이터 유형은 부울이어야 합니다",
|
|
50
|
+
number: "${name}숫자여야 합니다"
|
|
52
51
|
},
|
|
53
|
-
colonText:
|
|
52
|
+
colonText: ":"
|
|
54
53
|
},
|
|
55
54
|
picker: {
|
|
56
|
-
cancel:
|
|
57
|
-
confirm:
|
|
55
|
+
cancel: "취소",
|
|
56
|
+
confirm: "확인"
|
|
58
57
|
},
|
|
59
58
|
pullDownRefresh: {
|
|
60
|
-
loadingTexts: [
|
|
59
|
+
loadingTexts: ["새로고침을 당겨주세요", "느슨하게 하여 새로 고침", "새로고침 중...", "새로고침 완료"]
|
|
61
60
|
},
|
|
62
61
|
rate: {
|
|
63
|
-
valueText:
|
|
64
|
-
noValueText:
|
|
62
|
+
valueText: "{value}점",
|
|
63
|
+
noValueText: "점수 없음"
|
|
65
64
|
},
|
|
66
65
|
tabBar: {
|
|
67
|
-
newsAriaLabel:
|
|
68
|
-
moreNewsAriaLabel:
|
|
69
|
-
haveMoreNewsAriaLabel:
|
|
70
|
-
haveNewsAriaLabel:
|
|
66
|
+
newsAriaLabel: "새 뉴스가 있습니다",
|
|
67
|
+
moreNewsAriaLabel: "많은 뉴스가 있습니다",
|
|
68
|
+
haveMoreNewsAriaLabel: "{value}+건의 뉴스가 있습니다",
|
|
69
|
+
haveNewsAriaLabel: "{value}건의 뉴스가 있습니다"
|
|
71
70
|
},
|
|
72
71
|
table: {
|
|
73
|
-
empty:
|
|
72
|
+
empty: "빈 데이터"
|
|
74
73
|
},
|
|
75
74
|
list: {
|
|
76
|
-
loading:
|
|
77
|
-
loadingMoreText:
|
|
78
|
-
pulling:
|
|
79
|
-
loosing:
|
|
80
|
-
success:
|
|
75
|
+
loading: "로딩 중...",
|
|
76
|
+
loadingMoreText: "더 많은 것을 보시려면 클릭하세요",
|
|
77
|
+
pulling: "새로고침을 당겨주세요...",
|
|
78
|
+
loosing: "느슨하게 하여 새로 고침...",
|
|
79
|
+
success: "새로고침 성공"
|
|
81
80
|
},
|
|
82
81
|
upload: {
|
|
83
82
|
progress: {
|
|
84
|
-
uploadingText:
|
|
85
|
-
waitingText:
|
|
86
|
-
failText:
|
|
87
|
-
successText:
|
|
88
|
-
}
|
|
83
|
+
uploadingText: "업로드 중...",
|
|
84
|
+
waitingText: "대기 중",
|
|
85
|
+
failText: "실패했습니다",
|
|
86
|
+
successText: "성공했습니다"
|
|
87
|
+
}
|
|
89
88
|
},
|
|
90
89
|
guide: {
|
|
91
|
-
next:
|
|
92
|
-
skip:
|
|
93
|
-
finish:
|
|
94
|
-
back:
|
|
90
|
+
next: "다음",
|
|
91
|
+
skip: "건너뛰기",
|
|
92
|
+
finish: "완료",
|
|
93
|
+
back: "뒤로"
|
|
95
94
|
},
|
|
96
95
|
qrcode: {
|
|
97
|
-
expiredText:
|
|
98
|
-
refreshText:
|
|
99
|
-
scannedText:
|
|
100
|
-
}
|
|
96
|
+
expiredText: "만료됨",
|
|
97
|
+
refreshText: "새로 고치다",
|
|
98
|
+
scannedText: "스캔됨"
|
|
99
|
+
}
|
|
101
100
|
};
|
|
@@ -1,113 +1,112 @@
|
|
|
1
|
-
|
|
2
|
-
import 'dayjs/locale/ru';
|
|
1
|
+
import "dayjs/locale/ru";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
actionSheet: {
|
|
6
|
-
cancel:
|
|
5
|
+
cancel: "Отмена"
|
|
7
6
|
},
|
|
8
7
|
calendar: {
|
|
9
|
-
confirm:
|
|
10
|
-
title:
|
|
11
|
-
weekdays: [
|
|
12
|
-
monthTitle:
|
|
8
|
+
confirm: "Подтвердить",
|
|
9
|
+
title: "Выберите дату",
|
|
10
|
+
weekdays: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
|
|
11
|
+
monthTitle: "{month} {year}",
|
|
13
12
|
months: [
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
]
|
|
13
|
+
"Январь",
|
|
14
|
+
"Февраль",
|
|
15
|
+
"Март",
|
|
16
|
+
"Апрель",
|
|
17
|
+
"Май",
|
|
18
|
+
"Июнь",
|
|
19
|
+
"Июль",
|
|
20
|
+
"Август",
|
|
21
|
+
"Сентябрь",
|
|
22
|
+
"Октябрь",
|
|
23
|
+
"Ноябрь",
|
|
24
|
+
"Декабрь"
|
|
25
|
+
]
|
|
27
26
|
},
|
|
28
27
|
cascader: {
|
|
29
|
-
title:
|
|
30
|
-
placeholder:
|
|
28
|
+
title: "Название",
|
|
29
|
+
placeholder: "Выберите опцию"
|
|
31
30
|
},
|
|
32
31
|
dropdownMenu: {
|
|
33
|
-
reset:
|
|
34
|
-
confirm:
|
|
32
|
+
reset: "Сброс",
|
|
33
|
+
confirm: "Подтвердить"
|
|
35
34
|
},
|
|
36
35
|
dateTimePicker: {
|
|
37
|
-
title:
|
|
38
|
-
cancel:
|
|
39
|
-
confirm:
|
|
40
|
-
format:
|
|
41
|
-
yearLabel:
|
|
42
|
-
monthLabel:
|
|
43
|
-
dateLabel:
|
|
44
|
-
hourLabel:
|
|
45
|
-
minuteLabel:
|
|
46
|
-
secondLabel:
|
|
36
|
+
title: "Выберите время",
|
|
37
|
+
cancel: "Отмена",
|
|
38
|
+
confirm: "Подтвердить",
|
|
39
|
+
format: "DD.MM.YYYY",
|
|
40
|
+
yearLabel: "Год",
|
|
41
|
+
monthLabel: "Месяц",
|
|
42
|
+
dateLabel: "День",
|
|
43
|
+
hourLabel: "Час",
|
|
44
|
+
minuteLabel: "Минута",
|
|
45
|
+
secondLabel: "Секунда"
|
|
47
46
|
},
|
|
48
47
|
form: {
|
|
49
48
|
errorMessage: {
|
|
50
|
-
date:
|
|
51
|
-
url:
|
|
52
|
-
whitespace:
|
|
53
|
-
required:
|
|
54
|
-
max:
|
|
55
|
-
min:
|
|
56
|
-
len:
|
|
57
|
-
enum:
|
|
58
|
-
idcard:
|
|
59
|
-
telnumber:
|
|
60
|
-
pattern:
|
|
61
|
-
validator:
|
|
62
|
-
boolean:
|
|
63
|
-
number:
|
|
49
|
+
date: "Введите правильный ${name}",
|
|
50
|
+
url: "Введите правильный ${name}",
|
|
51
|
+
whitespace: "${name} не может быть пустым",
|
|
52
|
+
required: "${name} обязательно для заполнения",
|
|
53
|
+
max: "Длина символов ${name} не должна превышать ${validate} символов",
|
|
54
|
+
min: "Длина символов ${name} не должна быть меньше ${validate} символов",
|
|
55
|
+
len: "Длина символов ${name} должна быть ${validate}",
|
|
56
|
+
enum: "${name} может быть только ${validate} и т.д.",
|
|
57
|
+
idcard: "Введите правильный ${name}",
|
|
58
|
+
telnumber: "Введите правильный ${name}",
|
|
59
|
+
pattern: "Введите правильный ${name}",
|
|
60
|
+
validator: "${name} не соответствует требованиям",
|
|
61
|
+
boolean: "Тип данных ${name} должен быть булевым",
|
|
62
|
+
number: "${name} должно быть числом"
|
|
64
63
|
},
|
|
65
|
-
colonText:
|
|
64
|
+
colonText: ":"
|
|
66
65
|
},
|
|
67
66
|
picker: {
|
|
68
|
-
cancel:
|
|
69
|
-
confirm:
|
|
67
|
+
cancel: "Отмена",
|
|
68
|
+
confirm: "Подтвердить"
|
|
70
69
|
},
|
|
71
70
|
pullDownRefresh: {
|
|
72
|
-
loadingTexts: [
|
|
71
|
+
loadingTexts: ["Потяните вниз для обновления", "Отпустите для обновления", "Обновление...", "Обновление завершено"]
|
|
73
72
|
},
|
|
74
73
|
rate: {
|
|
75
|
-
valueText:
|
|
76
|
-
noValueText:
|
|
74
|
+
valueText: "{value} баллов",
|
|
75
|
+
noValueText: "Без оценки"
|
|
77
76
|
},
|
|
78
77
|
tabBar: {
|
|
79
|
-
newsAriaLabel:
|
|
80
|
-
moreNewsAriaLabel:
|
|
81
|
-
haveMoreNewsAriaLabel:
|
|
82
|
-
haveNewsAriaLabel:
|
|
78
|
+
newsAriaLabel: "Есть новые сообщения",
|
|
79
|
+
moreNewsAriaLabel: "Есть много новых сообщений",
|
|
80
|
+
haveMoreNewsAriaLabel: "Есть {value}+ сообщений",
|
|
81
|
+
haveNewsAriaLabel: "Есть {value} сообщений"
|
|
83
82
|
},
|
|
84
83
|
table: {
|
|
85
|
-
empty:
|
|
84
|
+
empty: "Нет данных"
|
|
86
85
|
},
|
|
87
86
|
list: {
|
|
88
|
-
loading:
|
|
89
|
-
loadingMoreText:
|
|
90
|
-
pulling:
|
|
91
|
-
loosing:
|
|
92
|
-
success:
|
|
87
|
+
loading: "Загрузка...",
|
|
88
|
+
loadingMoreText: "Нажмите, чтобы загрузить больше",
|
|
89
|
+
pulling: "Потяните, чтобы обновить...",
|
|
90
|
+
loosing: "Отпустите, чтобы обновить...",
|
|
91
|
+
success: "Успешно обновлено"
|
|
93
92
|
},
|
|
94
93
|
upload: {
|
|
95
94
|
progress: {
|
|
96
|
-
uploadingText:
|
|
97
|
-
waitingText:
|
|
98
|
-
failText:
|
|
99
|
-
successText:
|
|
100
|
-
}
|
|
95
|
+
uploadingText: "Загрузка...",
|
|
96
|
+
waitingText: "Ожидание загрузки",
|
|
97
|
+
failText: "Ошибка загрузки",
|
|
98
|
+
successText: "Загрузка завершена"
|
|
99
|
+
}
|
|
101
100
|
},
|
|
102
101
|
guide: {
|
|
103
|
-
next:
|
|
104
|
-
skip:
|
|
105
|
-
finish:
|
|
106
|
-
back:
|
|
102
|
+
next: "Далее",
|
|
103
|
+
skip: "Пропустить",
|
|
104
|
+
finish: "Готово",
|
|
105
|
+
back: "Назад"
|
|
107
106
|
},
|
|
108
107
|
qrcode: {
|
|
109
|
-
expiredText:
|
|
110
|
-
refreshText:
|
|
111
|
-
scannedText:
|
|
112
|
-
}
|
|
108
|
+
expiredText: "истекший",
|
|
109
|
+
refreshText: "обновить",
|
|
110
|
+
scannedText: "сканированный"
|
|
111
|
+
}
|
|
113
112
|
};
|