@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,113 +1,112 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
// 文件有效,为国际化做准备
|
|
3
|
-
import
|
|
2
|
+
import "dayjs/locale/ar";
|
|
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:
|
|
9
|
+
confirm: "أكد",
|
|
10
|
+
title: "انتقِ التاريخ",
|
|
11
|
+
weekdays: ["يوم الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"],
|
|
12
|
+
monthTitle: "{شهر واحد} {سنة واحدة}",
|
|
14
13
|
months: [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
]
|
|
14
|
+
"يناير",
|
|
15
|
+
"فبراير",
|
|
16
|
+
"مارس",
|
|
17
|
+
"أبريل",
|
|
18
|
+
"مايو",
|
|
19
|
+
"يونيو",
|
|
20
|
+
"يوليو",
|
|
21
|
+
"أغسطس",
|
|
22
|
+
"سبتمبر",
|
|
23
|
+
"أكتوبر",
|
|
24
|
+
"نوفمبر",
|
|
25
|
+
"ديسمبر"
|
|
26
|
+
]
|
|
28
27
|
},
|
|
29
28
|
cascader: {
|
|
30
|
-
title:
|
|
31
|
-
placeholder:
|
|
29
|
+
title: "العنوان",
|
|
30
|
+
placeholder: "اختر الخيارات"
|
|
32
31
|
},
|
|
33
32
|
dropdownMenu: {
|
|
34
|
-
reset:
|
|
35
|
-
confirm:
|
|
33
|
+
reset: "إعادة الضبط",
|
|
34
|
+
confirm: "أكد"
|
|
36
35
|
},
|
|
37
36
|
dateTimePicker: {
|
|
38
|
-
title:
|
|
39
|
-
cancel:
|
|
40
|
-
confirm:
|
|
41
|
-
format:
|
|
42
|
-
yearLabel:
|
|
43
|
-
monthLabel:
|
|
44
|
-
dateLabel:
|
|
45
|
-
hourLabel:
|
|
46
|
-
minuteLabel:
|
|
47
|
-
secondLabel:
|
|
37
|
+
title: "انتقِ التاريخ",
|
|
38
|
+
cancel: "الإلغاء",
|
|
39
|
+
confirm: "أكد",
|
|
40
|
+
format: "DD-MM-YYYY",
|
|
41
|
+
yearLabel: "سنة",
|
|
42
|
+
monthLabel: "الشهر",
|
|
43
|
+
dateLabel: "التاريخ",
|
|
44
|
+
hourLabel: "الساعة",
|
|
45
|
+
minuteLabel: "دقيقة",
|
|
46
|
+
secondLabel: "ثانيا"
|
|
48
47
|
},
|
|
49
48
|
form: {
|
|
50
49
|
errorMessage: {
|
|
51
|
-
date:
|
|
52
|
-
url:
|
|
53
|
-
whitespace:
|
|
54
|
-
required:
|
|
55
|
-
max:
|
|
56
|
-
min:
|
|
57
|
-
len:
|
|
58
|
-
enum:
|
|
59
|
-
idcard:
|
|
60
|
-
telnumber:
|
|
61
|
-
pattern:
|
|
62
|
-
validator:
|
|
63
|
-
boolean:
|
|
64
|
-
number:
|
|
65
|
-
}
|
|
50
|
+
date: "الرجاء إدخال ${name} الصحيح",
|
|
51
|
+
url: "الرجاء إدخال ${name} الصحيح",
|
|
52
|
+
whitespace: "لا يمكن أن يكون ${name} فارغًا",
|
|
53
|
+
required: "مطلوب ${name}",
|
|
54
|
+
max: "يمكن أن يحتوي ${name} على ما يصل إلى ${validate} حرفًا",
|
|
55
|
+
min: "لا يمكن أن يكون ${name} أقل من ${validate} حرفًا",
|
|
56
|
+
len: "يجب أن يتكون ${name} من أحرف ${validate} بالضبط",
|
|
57
|
+
enum: "${name} يجب أن يكون واحدًا من ${validate} ",
|
|
58
|
+
idcard: "الرجاء إدخال ${name} الصحيح",
|
|
59
|
+
telnumber: "الرجاء إدخال ${name} الصحيح",
|
|
60
|
+
pattern: "الرجاء إدخال ${name} الصحيح",
|
|
61
|
+
validator: "${name} غير صالح",
|
|
62
|
+
boolean: "${name} ليس منطقيًا",
|
|
63
|
+
number: "يجب أن يكون ${name} رقمًا"
|
|
64
|
+
}
|
|
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: "{القيمة} نتيجة",
|
|
75
|
+
noValueText: "لا توجد نقاط"
|
|
77
76
|
},
|
|
78
77
|
tabBar: {
|
|
79
|
-
newsAriaLabel:
|
|
80
|
-
moreNewsAriaLabel:
|
|
81
|
-
haveMoreNewsAriaLabel:
|
|
82
|
-
haveNewsAriaLabel:
|
|
78
|
+
newsAriaLabel: "هناك أخبار جديدة",
|
|
79
|
+
moreNewsAriaLabel: "هناك الكثير من الأخبار السيئة",
|
|
80
|
+
haveMoreNewsAriaLabel: "هناك { قيمة }+ أخبار",
|
|
81
|
+
haveNewsAriaLabel: "هناك { قيمة } أخبار"
|
|
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
|
};
|
|
@@ -1,114 +1,113 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
// 文件有效,为国际化做准备
|
|
3
|
-
import
|
|
2
|
+
import "dayjs/locale/en";
|
|
4
3
|
|
|
5
4
|
export default {
|
|
6
5
|
actionSheet: {
|
|
7
|
-
cancel:
|
|
6
|
+
cancel: "Cancel"
|
|
8
7
|
},
|
|
9
8
|
calendar: {
|
|
10
|
-
confirm:
|
|
11
|
-
title:
|
|
12
|
-
weekdays: [
|
|
13
|
-
monthTitle:
|
|
9
|
+
confirm: "Confirm",
|
|
10
|
+
title: "Select Date",
|
|
11
|
+
weekdays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
12
|
+
monthTitle: "{month} {year}",
|
|
14
13
|
months: [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
]
|
|
14
|
+
"January",
|
|
15
|
+
"February",
|
|
16
|
+
"March",
|
|
17
|
+
"April",
|
|
18
|
+
"May",
|
|
19
|
+
"June",
|
|
20
|
+
"July",
|
|
21
|
+
"August",
|
|
22
|
+
"September",
|
|
23
|
+
"October",
|
|
24
|
+
"November",
|
|
25
|
+
"December"
|
|
26
|
+
]
|
|
28
27
|
},
|
|
29
28
|
cascader: {
|
|
30
|
-
title:
|
|
31
|
-
placeholder:
|
|
29
|
+
title: "Title",
|
|
30
|
+
placeholder: "Select options"
|
|
32
31
|
},
|
|
33
32
|
dropdownMenu: {
|
|
34
|
-
reset:
|
|
35
|
-
confirm:
|
|
33
|
+
reset: "Reset",
|
|
34
|
+
confirm: "Confirm"
|
|
36
35
|
},
|
|
37
36
|
dateTimePicker: {
|
|
38
|
-
title:
|
|
39
|
-
cancel:
|
|
40
|
-
confirm:
|
|
41
|
-
format:
|
|
42
|
-
yearLabel:
|
|
43
|
-
monthLabel:
|
|
44
|
-
dateLabel:
|
|
45
|
-
hourLabel:
|
|
46
|
-
minuteLabel:
|
|
47
|
-
secondLabel:
|
|
37
|
+
title: "Select Date",
|
|
38
|
+
cancel: "Cancel",
|
|
39
|
+
confirm: "Confirm",
|
|
40
|
+
format: "YYYY-MM-DD",
|
|
41
|
+
yearLabel: "Year",
|
|
42
|
+
monthLabel: "Month",
|
|
43
|
+
dateLabel: "Date",
|
|
44
|
+
hourLabel: "Hour",
|
|
45
|
+
minuteLabel: "Minute",
|
|
46
|
+
secondLabel: "Second"
|
|
48
47
|
},
|
|
49
48
|
form: {
|
|
50
49
|
errorMessage: {
|
|
51
|
-
date:
|
|
52
|
-
url:
|
|
53
|
-
required:
|
|
54
|
-
whitespace:
|
|
55
|
-
max:
|
|
56
|
-
min:
|
|
57
|
-
len:
|
|
58
|
-
enum:
|
|
59
|
-
idcard:
|
|
60
|
-
telnumber:
|
|
61
|
-
pattern:
|
|
62
|
-
validator:
|
|
63
|
-
boolean:
|
|
64
|
-
number:
|
|
50
|
+
date: "${name} is invalid",
|
|
51
|
+
url: "${name} is invalid",
|
|
52
|
+
required: "${name} is required",
|
|
53
|
+
whitespace: "${name} cannot be empty",
|
|
54
|
+
max: "${name} must be at least ${validate} characters",
|
|
55
|
+
min: "${name} cannot be longer than ${validate} characters",
|
|
56
|
+
len: "${name} must be exactly ${validate} characters",
|
|
57
|
+
enum: "${name} must be one of ${validate}",
|
|
58
|
+
idcard: "${name} is invalid",
|
|
59
|
+
telnumber: "${name} is invalid",
|
|
60
|
+
pattern: "${name} is invalid",
|
|
61
|
+
validator: "${name} is invalid",
|
|
62
|
+
boolean: "${name} is not a boolean",
|
|
63
|
+
number: "${name} must be a number"
|
|
65
64
|
},
|
|
66
|
-
colonText:
|
|
65
|
+
colonText: ":"
|
|
67
66
|
},
|
|
68
67
|
picker: {
|
|
69
|
-
cancel:
|
|
70
|
-
confirm:
|
|
68
|
+
cancel: "Cancel",
|
|
69
|
+
confirm: "Confirm"
|
|
71
70
|
},
|
|
72
71
|
pullDownRefresh: {
|
|
73
|
-
loadingTexts: [
|
|
72
|
+
loadingTexts: ["Pull to refresh", "Loose to refresh", "Refreshing ", "Refresh completed"]
|
|
74
73
|
},
|
|
75
74
|
rate: {
|
|
76
|
-
valueText:
|
|
77
|
-
noValueText:
|
|
75
|
+
valueText: "{value} score",
|
|
76
|
+
noValueText: "No score"
|
|
78
77
|
},
|
|
79
78
|
tabBar: {
|
|
80
|
-
newsAriaLabel:
|
|
81
|
-
moreNewsAriaLabel:
|
|
82
|
-
haveMoreNewsAriaLabel:
|
|
83
|
-
haveNewsAriaLabel:
|
|
79
|
+
newsAriaLabel: "There is new news",
|
|
80
|
+
moreNewsAriaLabel: "There is a lot of news",
|
|
81
|
+
haveMoreNewsAriaLabel: "There are {value}+ news",
|
|
82
|
+
haveNewsAriaLabel: "There are {value} news"
|
|
84
83
|
},
|
|
85
84
|
table: {
|
|
86
|
-
empty:
|
|
85
|
+
empty: "Empty Data"
|
|
87
86
|
},
|
|
88
87
|
list: {
|
|
89
|
-
loading:
|
|
90
|
-
loadingMoreText:
|
|
91
|
-
pulling:
|
|
92
|
-
loosing:
|
|
93
|
-
success:
|
|
88
|
+
loading: "Loading...",
|
|
89
|
+
loadingMoreText: "Click to load more",
|
|
90
|
+
pulling: "Pull to refresh...",
|
|
91
|
+
loosing: "Loose to refresh...",
|
|
92
|
+
success: "Refresh successful"
|
|
94
93
|
},
|
|
95
94
|
upload: {
|
|
96
95
|
progress: {
|
|
97
|
-
uploadingText:
|
|
98
|
-
waitingText:
|
|
99
|
-
failText:
|
|
100
|
-
successText:
|
|
101
|
-
}
|
|
96
|
+
uploadingText: "Uploading...",
|
|
97
|
+
waitingText: "Waiting",
|
|
98
|
+
failText: "Failed",
|
|
99
|
+
successText: "Success"
|
|
100
|
+
}
|
|
102
101
|
},
|
|
103
102
|
guide: {
|
|
104
|
-
next:
|
|
105
|
-
skip:
|
|
106
|
-
finish:
|
|
107
|
-
back:
|
|
103
|
+
next: "Next",
|
|
104
|
+
skip: "Skip",
|
|
105
|
+
finish: "Finish",
|
|
106
|
+
back: "Back"
|
|
108
107
|
},
|
|
109
108
|
qrcode: {
|
|
110
|
-
expiredText:
|
|
111
|
-
refreshText:
|
|
112
|
-
scannedText:
|
|
113
|
-
}
|
|
109
|
+
expiredText: "expired",
|
|
110
|
+
refreshText: "refresh",
|
|
111
|
+
scannedText: "scanned"
|
|
112
|
+
}
|
|
114
113
|
};
|
|
@@ -1,114 +1,113 @@
|
|
|
1
|
-
/* eslint-disable no-template-curly-in-string */
|
|
2
1
|
// 文件有效,为国际化做准备
|
|
3
|
-
import
|
|
2
|
+
import "dayjs/locale/it";
|
|
4
3
|
|
|
5
4
|
export default {
|
|
6
5
|
actionSheet: {
|
|
7
|
-
cancel:
|
|
6
|
+
cancel: "Annulla"
|
|
8
7
|
},
|
|
9
8
|
calendar: {
|
|
10
|
-
confirm:
|
|
11
|
-
title:
|
|
12
|
-
weekdays: [
|
|
13
|
-
monthTitle:
|
|
9
|
+
confirm: "Conferma",
|
|
10
|
+
title: "Seleziona Data",
|
|
11
|
+
weekdays: ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"],
|
|
12
|
+
monthTitle: "{mese} {anno}",
|
|
14
13
|
months: [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
]
|
|
14
|
+
"Gennaio",
|
|
15
|
+
"Febbraio",
|
|
16
|
+
"Marzo",
|
|
17
|
+
"Aprile",
|
|
18
|
+
"Maggio",
|
|
19
|
+
"Giugno",
|
|
20
|
+
"Luglio",
|
|
21
|
+
"Agosto",
|
|
22
|
+
"Settembre",
|
|
23
|
+
"Ottobre",
|
|
24
|
+
"Novembre",
|
|
25
|
+
"Dicembre"
|
|
26
|
+
]
|
|
28
27
|
},
|
|
29
28
|
cascader: {
|
|
30
|
-
title:
|
|
31
|
-
placeholder:
|
|
29
|
+
title: "Titolo",
|
|
30
|
+
placeholder: "Seleziona opzioni"
|
|
32
31
|
},
|
|
33
32
|
dropdownMenu: {
|
|
34
|
-
reset:
|
|
35
|
-
confirm:
|
|
33
|
+
reset: "Reimposta",
|
|
34
|
+
confirm: "Conferma"
|
|
36
35
|
},
|
|
37
36
|
dateTimePicker: {
|
|
38
|
-
title:
|
|
39
|
-
cancel:
|
|
40
|
-
confirm:
|
|
41
|
-
format:
|
|
42
|
-
yearLabel:
|
|
43
|
-
monthLabel:
|
|
44
|
-
dateLabel:
|
|
45
|
-
hourLabel:
|
|
46
|
-
minuteLabel:
|
|
47
|
-
secondLabel:
|
|
37
|
+
title: "Seleziona Data",
|
|
38
|
+
cancel: "Annulla",
|
|
39
|
+
confirm: "Conferma",
|
|
40
|
+
format: "DD-MM-YYYY",
|
|
41
|
+
yearLabel: "Anno",
|
|
42
|
+
monthLabel: "Mese",
|
|
43
|
+
dateLabel: "Data",
|
|
44
|
+
hourLabel: "Ora",
|
|
45
|
+
minuteLabel: "Minuto",
|
|
46
|
+
secondLabel: "Secondo"
|
|
48
47
|
},
|
|
49
48
|
form: {
|
|
50
49
|
errorMessage: {
|
|
51
|
-
date:
|
|
52
|
-
url:
|
|
53
|
-
whitespace:
|
|
54
|
-
required:
|
|
55
|
-
max:
|
|
56
|
-
min:
|
|
57
|
-
len:
|
|
58
|
-
enum:
|
|
59
|
-
idcard:
|
|
60
|
-
telnumber:
|
|
61
|
-
pattern:
|
|
62
|
-
validator:
|
|
63
|
-
boolean:
|
|
64
|
-
number:
|
|
50
|
+
date: "Inserisci la ${name} corretta",
|
|
51
|
+
url: "Inserisci la ${name} corretta",
|
|
52
|
+
whitespace: "Il ${name} non può essere vuoto",
|
|
53
|
+
required: "${name} obbligatorio",
|
|
54
|
+
max: "La lunghezza dei caratteri di ${name} non può superare i ${validate} caratteri",
|
|
55
|
+
min: "La lunghezza dei caratteri di ${name} non può essere inferiore a ${validate} caratteri",
|
|
56
|
+
len: "La lunghezza dei caratteri di ${name} deve essere ${validate}",
|
|
57
|
+
enum: "${name} può essere solo ${validate}, ecc.",
|
|
58
|
+
idcard: "Inserisci la ${name} corretta",
|
|
59
|
+
telnumber: "Inserisci la ${name} corretta",
|
|
60
|
+
pattern: "Inserisci la ${name} corretta",
|
|
61
|
+
validator: "${name} non conforme ai requisiti",
|
|
62
|
+
boolean: "Il tipo di dati di ${name} deve essere booleano",
|
|
63
|
+
number: "${name} deve essere un numero"
|
|
65
64
|
},
|
|
66
|
-
colonText:
|
|
65
|
+
colonText: ":"
|
|
67
66
|
},
|
|
68
67
|
picker: {
|
|
69
|
-
cancel:
|
|
70
|
-
confirm:
|
|
68
|
+
cancel: "Annulla",
|
|
69
|
+
confirm: "Conferma"
|
|
71
70
|
},
|
|
72
71
|
pullDownRefresh: {
|
|
73
|
-
loadingTexts: [
|
|
72
|
+
loadingTexts: ["Tirare per aggiornare", "Libera da aggiornare", "Rinfrescante", "Aggiornamento completato"]
|
|
74
73
|
},
|
|
75
74
|
rate: {
|
|
76
|
-
valueText:
|
|
77
|
-
noValueText:
|
|
75
|
+
valueText: "{valore} punteggio",
|
|
76
|
+
noValueText: "Nessun punteggio"
|
|
78
77
|
},
|
|
79
78
|
tabBar: {
|
|
80
|
-
newsAriaLabel:
|
|
81
|
-
moreNewsAriaLabel:
|
|
82
|
-
haveMoreNewsAriaLabel:
|
|
83
|
-
haveNewsAriaLabel:
|
|
79
|
+
newsAriaLabel: "Ci sono nuove notizie",
|
|
80
|
+
moreNewsAriaLabel: "Ci sono molte notizie",
|
|
81
|
+
haveMoreNewsAriaLabel: "Ci sono {valore}+ notizie",
|
|
82
|
+
haveNewsAriaLabel: "Ci sono {valore} notizie"
|
|
84
83
|
},
|
|
85
84
|
table: {
|
|
86
|
-
empty:
|
|
85
|
+
empty: "Dati Vuoti"
|
|
87
86
|
},
|
|
88
87
|
list: {
|
|
89
|
-
loading:
|
|
90
|
-
loadingMoreText:
|
|
91
|
-
pulling:
|
|
92
|
-
loosing:
|
|
93
|
-
success:
|
|
88
|
+
loading: "Caricamento...",
|
|
89
|
+
loadingMoreText: "Fai clic per caricare di più",
|
|
90
|
+
pulling: "Estrai per aggiornare...",
|
|
91
|
+
loosing: "Libera da aggiornare...",
|
|
92
|
+
success: "Aggiorna riuscito"
|
|
94
93
|
},
|
|
95
94
|
upload: {
|
|
96
95
|
progress: {
|
|
97
|
-
uploadingText:
|
|
98
|
-
waitingText:
|
|
99
|
-
failText:
|
|
100
|
-
successText:
|
|
101
|
-
}
|
|
96
|
+
uploadingText: "Invio...",
|
|
97
|
+
waitingText: "Attesa",
|
|
98
|
+
failText: "Fallito",
|
|
99
|
+
successText: "Successo"
|
|
100
|
+
}
|
|
102
101
|
},
|
|
103
102
|
guide: {
|
|
104
|
-
next:
|
|
105
|
-
skip:
|
|
106
|
-
finish:
|
|
107
|
-
back:
|
|
103
|
+
next: "Successivo",
|
|
104
|
+
skip: "Salta",
|
|
105
|
+
finish: "Finisci",
|
|
106
|
+
back: "Indietro"
|
|
108
107
|
},
|
|
109
108
|
qrcode: {
|
|
110
|
-
expiredText:
|
|
111
|
-
refreshText:
|
|
112
|
-
scannedText:
|
|
113
|
-
}
|
|
109
|
+
expiredText: "scaduto",
|
|
110
|
+
refreshText: "aggiornare",
|
|
111
|
+
scannedText: "scansionato"
|
|
112
|
+
}
|
|
114
113
|
};
|