antd-mobile 5.35.0 → 5.36.0
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/2x/bundle/antd-mobile.cjs.development.js +45 -175
- package/2x/bundle/antd-mobile.cjs.js +7 -7
- package/2x/bundle/antd-mobile.es.development.js +45 -175
- package/2x/bundle/antd-mobile.es.js +5189 -5319
- package/2x/bundle/antd-mobile.umd.development.js +45 -175
- package/2x/bundle/antd-mobile.umd.js +7 -7
- package/2x/cjs/components/button/button.d.ts +2 -2
- package/2x/cjs/components/input/input.d.ts +2 -4
- package/2x/cjs/components/input/input.js +8 -17
- package/2x/cjs/components/input/useInputHandleKeyDown.d.ts +8 -0
- package/2x/cjs/components/input/useInputHandleKeyDown.js +29 -0
- package/2x/cjs/components/result-page/result-page.d.ts +1 -1
- package/2x/cjs/components/swiper/index.d.ts +1 -1
- package/2x/cjs/components/swiper/swiper.d.ts +2 -2
- package/2x/cjs/components/swiper/swiper.js +5 -1
- package/2x/cjs/components/text-area/text-area.d.ts +6 -2
- package/2x/cjs/components/text-area/text-area.js +9 -1
- package/2x/cjs/locales/ar-SA.d.ts +139 -0
- package/2x/cjs/locales/ar-SA.js +149 -0
- package/2x/cjs/locales/de-DE.d.ts +139 -0
- package/2x/cjs/locales/de-DE.js +149 -0
- package/2x/cjs/locales/ms-MY.d.ts +139 -0
- package/2x/cjs/locales/ms-MY.js +149 -0
- package/2x/cjs/locales/pt-BR.d.ts +139 -0
- package/2x/cjs/locales/pt-BR.js +144 -0
- package/2x/cjs/locales/vi-VN.d.ts +139 -0
- package/2x/cjs/locales/vi-VN.js +149 -0
- package/2x/cjs/locales/zh-CN.d.ts +2 -138
- package/2x/cjs/locales/zh-CN.js +2 -4
- package/2x/cjs/locales/zh-CN.test.d.ts +1 -0
- package/2x/cjs/locales/zh-CN.test.js +19 -0
- package/2x/es/components/button/button.d.ts +2 -2
- package/2x/es/components/input/input.d.ts +2 -4
- package/2x/es/components/input/input.js +8 -17
- package/2x/es/components/input/useInputHandleKeyDown.d.ts +8 -0
- package/2x/es/components/input/useInputHandleKeyDown.js +23 -0
- package/2x/es/components/result-page/result-page.d.ts +1 -1
- package/2x/es/components/swiper/index.d.ts +1 -1
- package/2x/es/components/swiper/swiper.d.ts +2 -2
- package/2x/es/components/swiper/swiper.js +5 -1
- package/2x/es/components/text-area/text-area.d.ts +6 -2
- package/2x/es/components/text-area/text-area.js +9 -1
- package/2x/es/locales/ar-SA.d.ts +139 -0
- package/2x/es/locales/ar-SA.js +142 -0
- package/2x/es/locales/de-DE.d.ts +139 -0
- package/2x/es/locales/de-DE.js +142 -0
- package/2x/es/locales/ms-MY.d.ts +139 -0
- package/2x/es/locales/ms-MY.js +142 -0
- package/2x/es/locales/pt-BR.d.ts +139 -0
- package/2x/es/locales/pt-BR.js +137 -0
- package/2x/es/locales/vi-VN.d.ts +139 -0
- package/2x/es/locales/vi-VN.js +142 -0
- package/2x/es/locales/zh-CN.d.ts +2 -138
- package/2x/es/locales/zh-CN.js +2 -4
- package/2x/es/locales/zh-CN.test.d.ts +1 -0
- package/2x/es/locales/zh-CN.test.js +16 -0
- package/2x/package.json +29 -20
- package/bundle/antd-mobile.cjs.development.js +45 -175
- package/bundle/antd-mobile.cjs.js +7 -7
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +45 -175
- package/bundle/antd-mobile.es.js +5189 -5319
- package/bundle/antd-mobile.umd.development.js +45 -175
- package/bundle/antd-mobile.umd.js +7 -7
- package/cjs/components/button/button.d.ts +2 -2
- package/cjs/components/input/input.d.ts +2 -4
- package/cjs/components/input/input.js +8 -17
- package/cjs/components/input/useInputHandleKeyDown.d.ts +8 -0
- package/cjs/components/input/useInputHandleKeyDown.js +29 -0
- package/cjs/components/result-page/result-page.d.ts +1 -1
- package/cjs/components/swiper/index.d.ts +1 -1
- package/cjs/components/swiper/swiper.d.ts +2 -2
- package/cjs/components/swiper/swiper.js +5 -1
- package/cjs/components/text-area/text-area.d.ts +6 -2
- package/cjs/components/text-area/text-area.js +9 -1
- package/cjs/locales/ar-SA.d.ts +139 -0
- package/cjs/locales/ar-SA.js +149 -0
- package/cjs/locales/de-DE.d.ts +139 -0
- package/cjs/locales/de-DE.js +149 -0
- package/cjs/locales/ms-MY.d.ts +139 -0
- package/cjs/locales/ms-MY.js +149 -0
- package/cjs/locales/pt-BR.d.ts +139 -0
- package/cjs/locales/pt-BR.js +144 -0
- package/cjs/locales/vi-VN.d.ts +139 -0
- package/cjs/locales/vi-VN.js +149 -0
- package/cjs/locales/zh-CN.d.ts +2 -138
- package/cjs/locales/zh-CN.js +2 -4
- package/cjs/locales/zh-CN.test.d.ts +1 -0
- package/cjs/locales/zh-CN.test.js +19 -0
- package/es/components/button/button.d.ts +2 -2
- package/es/components/input/input.d.ts +2 -4
- package/es/components/input/input.js +8 -17
- package/es/components/input/useInputHandleKeyDown.d.ts +8 -0
- package/es/components/input/useInputHandleKeyDown.js +23 -0
- package/es/components/result-page/result-page.d.ts +1 -1
- package/es/components/swiper/index.d.ts +1 -1
- package/es/components/swiper/swiper.d.ts +2 -2
- package/es/components/swiper/swiper.js +5 -1
- package/es/components/text-area/text-area.d.ts +6 -2
- package/es/components/text-area/text-area.js +9 -1
- package/es/locales/ar-SA.d.ts +139 -0
- package/es/locales/ar-SA.js +142 -0
- package/es/locales/de-DE.d.ts +139 -0
- package/es/locales/de-DE.js +142 -0
- package/es/locales/ms-MY.d.ts +139 -0
- package/es/locales/ms-MY.js +142 -0
- package/es/locales/pt-BR.d.ts +139 -0
- package/es/locales/pt-BR.js +137 -0
- package/es/locales/vi-VN.d.ts +139 -0
- package/es/locales/vi-VN.js +142 -0
- package/es/locales/zh-CN.d.ts +2 -138
- package/es/locales/zh-CN.js +2 -4
- package/es/locales/zh-CN.test.d.ts +1 -0
- package/es/locales/zh-CN.test.js +16 -0
- package/package.json +29 -20
- package/umd/antd-mobile.js +1 -1
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { mergeLocale } from '../utils/merge-locale';
|
|
2
|
+
import { base } from './base';
|
|
3
|
+
const typeTemplate = '${label}ist kein gültiges${type}';
|
|
4
|
+
const deDE = mergeLocale(base, {
|
|
5
|
+
'locale': 'de-DE',
|
|
6
|
+
'common': {
|
|
7
|
+
'confirm': 'Bestätigen',
|
|
8
|
+
'cancel': 'Abbrechen',
|
|
9
|
+
'loading': 'Wird geladen',
|
|
10
|
+
'close': 'Deaktivieren'
|
|
11
|
+
},
|
|
12
|
+
'Calendar': {
|
|
13
|
+
'title': 'Datum auswählen',
|
|
14
|
+
'confirm': 'Bestätigen',
|
|
15
|
+
'start': 'Starten',
|
|
16
|
+
'end': 'Beenden',
|
|
17
|
+
'today': 'Heute',
|
|
18
|
+
'markItems': ['Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag', 'Tag'],
|
|
19
|
+
'yearAndMonth': '${year}Jahr${month}Monat'
|
|
20
|
+
},
|
|
21
|
+
'Cascader': {
|
|
22
|
+
'placeholder': 'Bitte auswählen'
|
|
23
|
+
},
|
|
24
|
+
'Dialog': {
|
|
25
|
+
'ok': 'OK'
|
|
26
|
+
},
|
|
27
|
+
'DatePicker': {
|
|
28
|
+
'tillNow': 'Bis heute'
|
|
29
|
+
},
|
|
30
|
+
'ErrorBlock': {
|
|
31
|
+
'default': {
|
|
32
|
+
'title': 'Es gibt ein kleines Problem auf der Seite',
|
|
33
|
+
'description': 'Versuche Sie es später'
|
|
34
|
+
},
|
|
35
|
+
'busy': {
|
|
36
|
+
'title': 'Stau im Voraus',
|
|
37
|
+
'description': 'Einmal aktualisieren'
|
|
38
|
+
},
|
|
39
|
+
'disconnected': {
|
|
40
|
+
'title': 'Beschäftigtes Internet',
|
|
41
|
+
'description': 'Beweg deine Finger und hilf mit!'
|
|
42
|
+
},
|
|
43
|
+
'empty': {
|
|
44
|
+
'title': 'Sie haben nicht gefunden, was Sie brauchen.',
|
|
45
|
+
'description': 'Finden Sie etwas anderes.'
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
'Form': {
|
|
49
|
+
'required': 'Pflichtfeld',
|
|
50
|
+
'optional': 'Optional',
|
|
51
|
+
'defaultValidateMessages': {
|
|
52
|
+
'default': 'Fehler bei der Feldüberprüfung${label}',
|
|
53
|
+
'required': 'Bitte geben ${label}ein',
|
|
54
|
+
'enum': '${label}muss einer von ihnen sein[${enum}]',
|
|
55
|
+
'whitespace': '${label}kann nicht ein Nullzeichen sein',
|
|
56
|
+
'date': {
|
|
57
|
+
'format': '${label}Ungültiges Datumsformat',
|
|
58
|
+
'parse': '${label}kann nicht in ein Datum umgewandelt werden',
|
|
59
|
+
'invalid': '${label}ist ein ungültiges Datum'
|
|
60
|
+
},
|
|
61
|
+
'types': {
|
|
62
|
+
'string': typeTemplate,
|
|
63
|
+
'method': typeTemplate,
|
|
64
|
+
'array': typeTemplate,
|
|
65
|
+
'object': typeTemplate,
|
|
66
|
+
'number': typeTemplate,
|
|
67
|
+
'date': typeTemplate,
|
|
68
|
+
'boolean': typeTemplate,
|
|
69
|
+
'integer': typeTemplate,
|
|
70
|
+
'float': typeTemplate,
|
|
71
|
+
'regexp': typeTemplate,
|
|
72
|
+
'email': typeTemplate,
|
|
73
|
+
'url': typeTemplate,
|
|
74
|
+
'hex': typeTemplate
|
|
75
|
+
},
|
|
76
|
+
'string': {
|
|
77
|
+
'len': '${label} muss ${len} Zeichen lang sein',
|
|
78
|
+
'min': '${label}kann mindestens ${min} Zeichen haben',
|
|
79
|
+
'max': '${label}kann bis zu${max} Zeichen haben',
|
|
80
|
+
'range': '${label}muss zwischen${min}-${max} Zeichen liegen'
|
|
81
|
+
},
|
|
82
|
+
'number': {
|
|
83
|
+
'len': '${label}Muss gleich${len}sein',
|
|
84
|
+
'min': '${label}Der Mindestwert beträgt${min}',
|
|
85
|
+
'max': '${label}Der Höchstwert beträgt ${max}',
|
|
86
|
+
'range': '${label}muss zwischen${min}-${max} liegen'
|
|
87
|
+
},
|
|
88
|
+
'array': {
|
|
89
|
+
'len': 'Muss${len}sein${label}',
|
|
90
|
+
'min': 'Mindestens${min}${label}',
|
|
91
|
+
'max': 'Bis zu${max}${label}',
|
|
92
|
+
'range': '${label}Die Anzahl muss zwischen${min}-${max} liegen'
|
|
93
|
+
},
|
|
94
|
+
'pattern': {
|
|
95
|
+
'mismatch': '${label}stimmt nicht mit dem Muster überein${pattern}'
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
'ImageUploader': {
|
|
100
|
+
'uploading': 'Beim Hochladen',
|
|
101
|
+
'upload': 'Hochladen'
|
|
102
|
+
},
|
|
103
|
+
'InfiniteScroll': {
|
|
104
|
+
'noMore': "Das war's",
|
|
105
|
+
'failedToLoad': 'Hochladen Fehlgeschlagen',
|
|
106
|
+
'retry': 'Erneut laden'
|
|
107
|
+
},
|
|
108
|
+
'Input': {
|
|
109
|
+
'clear': 'Löschen'
|
|
110
|
+
},
|
|
111
|
+
'Mask': {
|
|
112
|
+
'name': 'Hintergrundmaske'
|
|
113
|
+
},
|
|
114
|
+
'Modal': {
|
|
115
|
+
'ok': 'OK'
|
|
116
|
+
},
|
|
117
|
+
'PasscodeInput': {
|
|
118
|
+
'name': 'Passwort-Eingabefeld'
|
|
119
|
+
},
|
|
120
|
+
'PullToRefresh': {
|
|
121
|
+
'pulling': 'Nach unten zum Aktualisieren ziehen',
|
|
122
|
+
'canRelease': 'Loslassen zum sofortige aktualisieren',
|
|
123
|
+
'complete': 'Erfolgreiche Aktualisierung'
|
|
124
|
+
},
|
|
125
|
+
'SearchBar': {
|
|
126
|
+
'name': 'Suchfeld'
|
|
127
|
+
},
|
|
128
|
+
'Slider': {
|
|
129
|
+
'name': 'Schieberegler für die Eingabe'
|
|
130
|
+
},
|
|
131
|
+
'Stepper': {
|
|
132
|
+
'decrease': 'Reduzieren',
|
|
133
|
+
'increase': 'Erhöhen'
|
|
134
|
+
},
|
|
135
|
+
'Switch': {
|
|
136
|
+
'name': 'Schalter'
|
|
137
|
+
},
|
|
138
|
+
'Selector': {
|
|
139
|
+
'name': 'Gruppe auswählen'
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
export default deDE;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
declare const msMY: {
|
|
2
|
+
locale: string;
|
|
3
|
+
common: {
|
|
4
|
+
confirm: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
loading: string;
|
|
7
|
+
close: string;
|
|
8
|
+
};
|
|
9
|
+
Calendar: {
|
|
10
|
+
title: string;
|
|
11
|
+
confirm: string;
|
|
12
|
+
start: string;
|
|
13
|
+
end: string;
|
|
14
|
+
today: string;
|
|
15
|
+
markItems: string[];
|
|
16
|
+
yearAndMonth: string;
|
|
17
|
+
};
|
|
18
|
+
Cascader: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
};
|
|
21
|
+
Dialog: {
|
|
22
|
+
ok: string;
|
|
23
|
+
};
|
|
24
|
+
DatePicker: {
|
|
25
|
+
tillNow: string;
|
|
26
|
+
};
|
|
27
|
+
ErrorBlock: {
|
|
28
|
+
default: {
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
busy: {
|
|
33
|
+
title: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
disconnected: {
|
|
37
|
+
title: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
empty: {
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
Form: {
|
|
46
|
+
required: string;
|
|
47
|
+
optional: string;
|
|
48
|
+
defaultValidateMessages: {
|
|
49
|
+
default: string;
|
|
50
|
+
required: string;
|
|
51
|
+
enum: string;
|
|
52
|
+
whitespace: string;
|
|
53
|
+
date: {
|
|
54
|
+
format: string;
|
|
55
|
+
parse: string;
|
|
56
|
+
invalid: string;
|
|
57
|
+
};
|
|
58
|
+
types: {
|
|
59
|
+
string: string;
|
|
60
|
+
method: string;
|
|
61
|
+
array: string;
|
|
62
|
+
object: string;
|
|
63
|
+
number: string;
|
|
64
|
+
date: string;
|
|
65
|
+
boolean: string;
|
|
66
|
+
integer: string;
|
|
67
|
+
float: string;
|
|
68
|
+
regexp: string;
|
|
69
|
+
email: string;
|
|
70
|
+
url: string;
|
|
71
|
+
hex: string;
|
|
72
|
+
};
|
|
73
|
+
string: {
|
|
74
|
+
len: string;
|
|
75
|
+
min: string;
|
|
76
|
+
max: string;
|
|
77
|
+
range: string;
|
|
78
|
+
};
|
|
79
|
+
number: {
|
|
80
|
+
len: string;
|
|
81
|
+
min: string;
|
|
82
|
+
max: string;
|
|
83
|
+
range: string;
|
|
84
|
+
};
|
|
85
|
+
array: {
|
|
86
|
+
len: string;
|
|
87
|
+
min: string;
|
|
88
|
+
max: string;
|
|
89
|
+
range: string;
|
|
90
|
+
};
|
|
91
|
+
pattern: {
|
|
92
|
+
mismatch: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
ImageUploader: {
|
|
97
|
+
uploading: string;
|
|
98
|
+
upload: string;
|
|
99
|
+
};
|
|
100
|
+
InfiniteScroll: {
|
|
101
|
+
noMore: string;
|
|
102
|
+
failedToLoad: string;
|
|
103
|
+
retry: string;
|
|
104
|
+
};
|
|
105
|
+
Input: {
|
|
106
|
+
clear: string;
|
|
107
|
+
};
|
|
108
|
+
Mask: {
|
|
109
|
+
name: string;
|
|
110
|
+
};
|
|
111
|
+
Modal: {
|
|
112
|
+
ok: string;
|
|
113
|
+
};
|
|
114
|
+
PasscodeInput: {
|
|
115
|
+
name: string;
|
|
116
|
+
};
|
|
117
|
+
PullToRefresh: {
|
|
118
|
+
pulling: string;
|
|
119
|
+
canRelease: string;
|
|
120
|
+
complete: string;
|
|
121
|
+
};
|
|
122
|
+
SearchBar: {
|
|
123
|
+
name: string;
|
|
124
|
+
};
|
|
125
|
+
Slider: {
|
|
126
|
+
name: string;
|
|
127
|
+
};
|
|
128
|
+
Stepper: {
|
|
129
|
+
decrease: string;
|
|
130
|
+
increase: string;
|
|
131
|
+
};
|
|
132
|
+
Switch: {
|
|
133
|
+
name: string;
|
|
134
|
+
};
|
|
135
|
+
Selector: {
|
|
136
|
+
name: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export default msMY;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { mergeLocale } from '../utils/merge-locale';
|
|
2
|
+
import { base } from './base';
|
|
3
|
+
const typeTemplate = '${label} Bukan satu yabg sah ${type}';
|
|
4
|
+
const msMY = mergeLocale(base, {
|
|
5
|
+
'locale': 'ms-MY',
|
|
6
|
+
'common': {
|
|
7
|
+
'confirm': 'OK',
|
|
8
|
+
'cancel': 'Batal',
|
|
9
|
+
'loading': 'Memuatkan',
|
|
10
|
+
'close': 'Tutup'
|
|
11
|
+
},
|
|
12
|
+
'Calendar': {
|
|
13
|
+
'title': 'Pemilihan tarikh',
|
|
14
|
+
'confirm': 'Ok',
|
|
15
|
+
'start': 'Mula',
|
|
16
|
+
'end': 'Tamat',
|
|
17
|
+
'today': 'Hari ini',
|
|
18
|
+
'markItems': ['Satu', 'Dua', 'Tiga', 'Empat', 'Lima', 'Enam', 'Hari'],
|
|
19
|
+
'yearAndMonth': 'Tahun${year} bulan ${month}'
|
|
20
|
+
},
|
|
21
|
+
'Cascader': {
|
|
22
|
+
'placeholder': 'Sila pilih'
|
|
23
|
+
},
|
|
24
|
+
'Dialog': {
|
|
25
|
+
'ok': 'Faham'
|
|
26
|
+
},
|
|
27
|
+
'DatePicker': {
|
|
28
|
+
'tillNow': 'Sehingga kini'
|
|
29
|
+
},
|
|
30
|
+
'ErrorBlock': {
|
|
31
|
+
'default': {
|
|
32
|
+
'title': 'Halaman mengalami beberapa isu kecil',
|
|
33
|
+
'description': 'Cuba kemudian'
|
|
34
|
+
},
|
|
35
|
+
'busy': {
|
|
36
|
+
'title': 'Kesesakan di hadapan',
|
|
37
|
+
'description': 'Muat semula dan cuba'
|
|
38
|
+
},
|
|
39
|
+
'disconnected': {
|
|
40
|
+
'title': 'Rangkaian agak sibuk',
|
|
41
|
+
'description': 'Untuk membantu membaiki, gerakkan jari anda.'
|
|
42
|
+
},
|
|
43
|
+
'empty': {
|
|
44
|
+
'title': 'Tidak menemui apa yang anda perlukan',
|
|
45
|
+
'description': 'Cari yang lain'
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
'Form': {
|
|
49
|
+
'required': 'Wajib',
|
|
50
|
+
'optional': 'Pilihan',
|
|
51
|
+
'defaultValidateMessages': {
|
|
52
|
+
'default': 'Ralat pengesahan medan ${label}',
|
|
53
|
+
'required': 'Sila masukkan ${label}',
|
|
54
|
+
'enum': '${label} mestilah salah satu daripada [${enum}]',
|
|
55
|
+
'whitespace': '${label} Tidak boleh menjadi watak nol',
|
|
56
|
+
'date': {
|
|
57
|
+
'format': 'Format tarikh ${label} tidak sah',
|
|
58
|
+
'parse': '${label} tidak boleh ditukar kepada tarikh',
|
|
59
|
+
'invalid': '${label} Adalah tarikh yang tidak sah'
|
|
60
|
+
},
|
|
61
|
+
'types': {
|
|
62
|
+
'string': typeTemplate,
|
|
63
|
+
'method': typeTemplate,
|
|
64
|
+
'array': typeTemplate,
|
|
65
|
+
'object': typeTemplate,
|
|
66
|
+
'number': typeTemplate,
|
|
67
|
+
'date': typeTemplate,
|
|
68
|
+
'boolean': typeTemplate,
|
|
69
|
+
'integer': typeTemplate,
|
|
70
|
+
'float': typeTemplate,
|
|
71
|
+
'regexp': typeTemplate,
|
|
72
|
+
'email': typeTemplate,
|
|
73
|
+
'url': typeTemplate,
|
|
74
|
+
'hex': typeTemplate
|
|
75
|
+
},
|
|
76
|
+
'string': {
|
|
77
|
+
'len': '${label} Mestilah ${len} aksara',
|
|
78
|
+
'min': '${label} Sekurang-kurangnya ${min} aksara',
|
|
79
|
+
'max': '${label}Maksimum ${max} aksara',
|
|
80
|
+
'range': '${label} Mesti antara ${min}-${max} aksara'
|
|
81
|
+
},
|
|
82
|
+
'number': {
|
|
83
|
+
'len': '${label} mesti sama dengan ${len}',
|
|
84
|
+
'min': 'Nilai minimum ${label} ialah ${min}',
|
|
85
|
+
'max': 'Nilai maksimum ${label} ialah ${max}',
|
|
86
|
+
'range': '${label}Mesti antara ${min}-${max}'
|
|
87
|
+
},
|
|
88
|
+
'array': {
|
|
89
|
+
'len': 'Mesti ${len} ${label}',
|
|
90
|
+
'min': 'Minimum ${min} ${label}',
|
|
91
|
+
'max': 'Maksimum ${max} ${label}',
|
|
92
|
+
'range': '${label}Kuantiti mestilah antara ${min}-${max}'
|
|
93
|
+
},
|
|
94
|
+
'pattern': {
|
|
95
|
+
'mismatch': '${label}Tidak sepadan dengan model${pattern}'
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
'ImageUploader': {
|
|
100
|
+
'uploading': 'Sedang memuat naik...',
|
|
101
|
+
'upload': 'memuat naik'
|
|
102
|
+
},
|
|
103
|
+
'InfiniteScroll': {
|
|
104
|
+
'noMore': 'Tiada lagi',
|
|
105
|
+
'failedToLoad': 'Gagal dimuatkan.',
|
|
106
|
+
'retry': 'Muat semula'
|
|
107
|
+
},
|
|
108
|
+
'Input': {
|
|
109
|
+
'clear': 'Bersihkan'
|
|
110
|
+
},
|
|
111
|
+
'Mask': {
|
|
112
|
+
'name': 'lapisan topeng latar belakang'
|
|
113
|
+
},
|
|
114
|
+
'Modal': {
|
|
115
|
+
'ok': 'Faham'
|
|
116
|
+
},
|
|
117
|
+
'PasscodeInput': {
|
|
118
|
+
'name': 'Kotak input kata laluan'
|
|
119
|
+
},
|
|
120
|
+
'PullToRefresh': {
|
|
121
|
+
'pulling': 'Tarik ke bawah untuk muat semula',
|
|
122
|
+
'canRelease': 'Lepaskan untuk memuatkan semula',
|
|
123
|
+
'complete': 'Muat semula selesai'
|
|
124
|
+
},
|
|
125
|
+
'SearchBar': {
|
|
126
|
+
'name': 'Kotak carian'
|
|
127
|
+
},
|
|
128
|
+
'Slider': {
|
|
129
|
+
'name': 'Bar input gelongsor'
|
|
130
|
+
},
|
|
131
|
+
'Stepper': {
|
|
132
|
+
'decrease': 'Menurun',
|
|
133
|
+
'increase': 'Meningkat'
|
|
134
|
+
},
|
|
135
|
+
'Switch': {
|
|
136
|
+
'name': 'Suis'
|
|
137
|
+
},
|
|
138
|
+
'Selector': {
|
|
139
|
+
'name': 'Pilih kumpulan'
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
export default msMY;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
declare const ptBR: {
|
|
2
|
+
locale: string;
|
|
3
|
+
common: {
|
|
4
|
+
confirm: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
loading: string;
|
|
7
|
+
close: string;
|
|
8
|
+
};
|
|
9
|
+
Calendar: {
|
|
10
|
+
title: string;
|
|
11
|
+
confirm: string;
|
|
12
|
+
start: string;
|
|
13
|
+
end: string;
|
|
14
|
+
today: string;
|
|
15
|
+
markItems: string[];
|
|
16
|
+
yearAndMonth: string;
|
|
17
|
+
};
|
|
18
|
+
Cascader: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
};
|
|
21
|
+
Dialog: {
|
|
22
|
+
ok: string;
|
|
23
|
+
};
|
|
24
|
+
DatePicker: {
|
|
25
|
+
tillNow: string;
|
|
26
|
+
};
|
|
27
|
+
ErrorBlock: {
|
|
28
|
+
default: {
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
busy: {
|
|
33
|
+
title: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
disconnected: {
|
|
37
|
+
title: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
empty: {
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
Form: {
|
|
46
|
+
required: string;
|
|
47
|
+
optional: string;
|
|
48
|
+
defaultValidateMessages: {
|
|
49
|
+
default: string;
|
|
50
|
+
required: string;
|
|
51
|
+
enum: string;
|
|
52
|
+
whitespace: string;
|
|
53
|
+
date: {
|
|
54
|
+
format: string;
|
|
55
|
+
parse: string;
|
|
56
|
+
invalid: string;
|
|
57
|
+
};
|
|
58
|
+
types: {
|
|
59
|
+
string: string;
|
|
60
|
+
method: string;
|
|
61
|
+
array: string;
|
|
62
|
+
object: string;
|
|
63
|
+
number: string;
|
|
64
|
+
date: string;
|
|
65
|
+
boolean: string;
|
|
66
|
+
integer: string;
|
|
67
|
+
float: string;
|
|
68
|
+
regexp: string;
|
|
69
|
+
email: string;
|
|
70
|
+
url: string;
|
|
71
|
+
hex: string;
|
|
72
|
+
};
|
|
73
|
+
string: {
|
|
74
|
+
len: string;
|
|
75
|
+
min: string;
|
|
76
|
+
max: string;
|
|
77
|
+
range: string;
|
|
78
|
+
};
|
|
79
|
+
number: {
|
|
80
|
+
len: string;
|
|
81
|
+
min: string;
|
|
82
|
+
max: string;
|
|
83
|
+
range: string;
|
|
84
|
+
};
|
|
85
|
+
array: {
|
|
86
|
+
len: string;
|
|
87
|
+
min: string;
|
|
88
|
+
max: string;
|
|
89
|
+
range: string;
|
|
90
|
+
};
|
|
91
|
+
pattern: {
|
|
92
|
+
mismatch: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
ImageUploader: {
|
|
97
|
+
uploading: string;
|
|
98
|
+
upload: string;
|
|
99
|
+
};
|
|
100
|
+
InfiniteScroll: {
|
|
101
|
+
noMore: string;
|
|
102
|
+
failedToLoad: string;
|
|
103
|
+
retry: string;
|
|
104
|
+
};
|
|
105
|
+
Input: {
|
|
106
|
+
clear: string;
|
|
107
|
+
};
|
|
108
|
+
Mask: {
|
|
109
|
+
name: string;
|
|
110
|
+
};
|
|
111
|
+
Modal: {
|
|
112
|
+
ok: string;
|
|
113
|
+
};
|
|
114
|
+
PasscodeInput: {
|
|
115
|
+
name: string;
|
|
116
|
+
};
|
|
117
|
+
PullToRefresh: {
|
|
118
|
+
pulling: string;
|
|
119
|
+
canRelease: string;
|
|
120
|
+
complete: string;
|
|
121
|
+
};
|
|
122
|
+
SearchBar: {
|
|
123
|
+
name: string;
|
|
124
|
+
};
|
|
125
|
+
Slider: {
|
|
126
|
+
name: string;
|
|
127
|
+
};
|
|
128
|
+
Stepper: {
|
|
129
|
+
decrease: string;
|
|
130
|
+
increase: string;
|
|
131
|
+
};
|
|
132
|
+
Switch: {
|
|
133
|
+
name: string;
|
|
134
|
+
};
|
|
135
|
+
Selector: {
|
|
136
|
+
name: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export default ptBR;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { mergeLocale } from '../utils/merge-locale';
|
|
2
|
+
import { base } from './base';
|
|
3
|
+
const typeTemplate = '${label} não é um ${type} válido';
|
|
4
|
+
const ptBR = mergeLocale(base, {
|
|
5
|
+
locale: 'pt-BR',
|
|
6
|
+
common: {
|
|
7
|
+
confirm: 'Confirmar',
|
|
8
|
+
cancel: 'Cancelar',
|
|
9
|
+
loading: 'Carregando',
|
|
10
|
+
close: 'Fechar'
|
|
11
|
+
},
|
|
12
|
+
Calendar: {
|
|
13
|
+
markItems: ['Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb', 'Dom'],
|
|
14
|
+
yearAndMonth: '${month}/${year}'
|
|
15
|
+
},
|
|
16
|
+
Cascader: {
|
|
17
|
+
placeholder: 'Selecionando'
|
|
18
|
+
},
|
|
19
|
+
Dialog: {
|
|
20
|
+
ok: 'OK'
|
|
21
|
+
},
|
|
22
|
+
DatePicker: {
|
|
23
|
+
tillNow: 'Até agora'
|
|
24
|
+
},
|
|
25
|
+
ErrorBlock: {
|
|
26
|
+
default: {
|
|
27
|
+
title: 'Oops, algo deu errado',
|
|
28
|
+
description: 'Por favor, aguarde um minuto e tente novamente'
|
|
29
|
+
},
|
|
30
|
+
busy: {
|
|
31
|
+
title: 'Oops, não está carregando',
|
|
32
|
+
description: 'Tente atualizar a página'
|
|
33
|
+
},
|
|
34
|
+
disconnected: {
|
|
35
|
+
title: 'A rede está ocupada',
|
|
36
|
+
description: 'Tente atualizar a página'
|
|
37
|
+
},
|
|
38
|
+
empty: {
|
|
39
|
+
title: 'Hmm, não conseguimos encontrar isso...',
|
|
40
|
+
description: 'Quer tentar uma nova busca?'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
Form: {
|
|
44
|
+
required: 'Obrigatório',
|
|
45
|
+
optional: 'Opcional',
|
|
46
|
+
defaultValidateMessages: {
|
|
47
|
+
default: 'Erro de validação para o campo ${label}',
|
|
48
|
+
required: 'Por favor, insira ${label}',
|
|
49
|
+
enum: '${label} deve ser um dos seguintes [${enum}]',
|
|
50
|
+
whitespace: '${label} não pode ser um espaço em branco',
|
|
51
|
+
date: {
|
|
52
|
+
format: 'Formato de data inválido para ${label}',
|
|
53
|
+
parse: '${label} não pode ser convertido para data',
|
|
54
|
+
invalid: '${label} não é uma data válida'
|
|
55
|
+
},
|
|
56
|
+
types: {
|
|
57
|
+
string: typeTemplate,
|
|
58
|
+
method: typeTemplate,
|
|
59
|
+
array: typeTemplate,
|
|
60
|
+
object: typeTemplate,
|
|
61
|
+
number: typeTemplate,
|
|
62
|
+
date: typeTemplate,
|
|
63
|
+
boolean: typeTemplate,
|
|
64
|
+
integer: typeTemplate,
|
|
65
|
+
float: typeTemplate,
|
|
66
|
+
regexp: typeTemplate,
|
|
67
|
+
email: typeTemplate,
|
|
68
|
+
url: typeTemplate,
|
|
69
|
+
hex: typeTemplate
|
|
70
|
+
},
|
|
71
|
+
string: {
|
|
72
|
+
len: '${label} deve ter ${len} caracteres',
|
|
73
|
+
min: '${label} deve ter pelo menos ${min} caracteres',
|
|
74
|
+
max: '${label} deve ter no máximo ${max} caracteres',
|
|
75
|
+
range: '${label} deve ter entre ${min}-${max} caracteres'
|
|
76
|
+
},
|
|
77
|
+
number: {
|
|
78
|
+
len: '${label} deve ser igual a ${len}',
|
|
79
|
+
min: '${label} deve ser no mínimo ${min}',
|
|
80
|
+
max: '${label} deve ser no máximo ${max}',
|
|
81
|
+
range: '${label} deve estar entre ${min} e ${max}'
|
|
82
|
+
},
|
|
83
|
+
array: {
|
|
84
|
+
len: 'Deve ter ${len} ${label}',
|
|
85
|
+
min: 'Pelo menos ${min} ${label}',
|
|
86
|
+
max: 'No máximo ${max} ${label}',
|
|
87
|
+
range: 'A quantidade de ${label} deve estar entre ${min} e ${max}'
|
|
88
|
+
},
|
|
89
|
+
pattern: {
|
|
90
|
+
mismatch: '${label} não corresponde ao padrão ${pattern}'
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
ImageUploader: {
|
|
95
|
+
uploading: 'Carregando...',
|
|
96
|
+
upload: 'Carregar'
|
|
97
|
+
},
|
|
98
|
+
InfiniteScroll: {
|
|
99
|
+
noMore: 'Fim',
|
|
100
|
+
failedToLoad: 'Falha ao carregar',
|
|
101
|
+
retry: 'Tentar novamente'
|
|
102
|
+
},
|
|
103
|
+
Input: {
|
|
104
|
+
clear: 'limpar'
|
|
105
|
+
},
|
|
106
|
+
Mask: {
|
|
107
|
+
name: 'Máscara'
|
|
108
|
+
},
|
|
109
|
+
Modal: {
|
|
110
|
+
ok: 'OK'
|
|
111
|
+
},
|
|
112
|
+
PasscodeInput: {
|
|
113
|
+
name: 'Input de código de acesso'
|
|
114
|
+
},
|
|
115
|
+
PullToRefresh: {
|
|
116
|
+
pulling: 'Deslize para baixo para atualizar',
|
|
117
|
+
canRelease: 'Solte para atualizar',
|
|
118
|
+
complete: 'Atualizado com sucesso'
|
|
119
|
+
},
|
|
120
|
+
SearchBar: {
|
|
121
|
+
name: 'Barra de pesquisa'
|
|
122
|
+
},
|
|
123
|
+
Slider: {
|
|
124
|
+
name: 'Deslizante'
|
|
125
|
+
},
|
|
126
|
+
Stepper: {
|
|
127
|
+
decrease: 'diminuir',
|
|
128
|
+
increase: 'aumentar'
|
|
129
|
+
},
|
|
130
|
+
Switch: {
|
|
131
|
+
name: 'Interruptor'
|
|
132
|
+
},
|
|
133
|
+
Selector: {
|
|
134
|
+
name: 'Seletor'
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
export default ptBR;
|