Skip to content

Commit 9364d95

Browse files
jflin19990707jackjflin
andauthored
fix:TDDateTimePicker日期时分秒的英文配置改为缩写 (Tencent#770)
fix:日期时分秒的英文配置改为简写 Co-authored-by: jackjflin <[email protected]>
1 parent 9a95b73 commit 9364d95

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
lines changed

tdesign-component/example/lib/l10n/app_en.arb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
"pullToRefresh": "PullToRefresh",
1919
"completeRefresh": "CompleteRefresh",
2020
"reset": "Reset",
21-
"days": "days",
22-
"hours": "hours",
23-
"minutes": "minutes",
24-
"seconds": "seconds",
25-
"milliseconds": "milliseconds",
26-
"yearLabel": "year",
27-
"monthLabel": "month",
28-
"dateLabel": "date",
29-
"weeks":"weeks",
21+
"days": "d",
22+
"hours": "h",
23+
"minutes": "min",
24+
"seconds": "s",
25+
"milliseconds": "ms",
26+
"yearLabel": "y",
27+
"monthLabel": "m",
28+
"dateLabel": "d",
29+
"weeks":"w",
3030
"sunday": "SUN",
3131
"monday": "MON",
3232
"tuesday": "TUE",
@@ -52,10 +52,10 @@
5252
"end": "End",
5353
"notRated": "Not rated",
5454
"cascadeLabel": "Select Item",
55-
"yearLabel": "year",
56-
"monthLabel": "month",
57-
"dateLabel": "date",
58-
"weeks": "weeks",
55+
"yearLabel": "y",
56+
"monthLabel": "m",
57+
"dateLabel": "d",
58+
"weeks": "w",
5959
"back": "BACK",
6060
"top": "TOP",
6161
"emptyData": "No Data"

tdesign-component/example/lib/l10n/app_localizations.dart

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -215,55 +215,55 @@ abstract class AppLocalizations {
215215
/// No description provided for @days.
216216
///
217217
/// In en, this message translates to:
218-
/// **'days'**
218+
/// **'d'**
219219
String get days;
220220

221221
/// No description provided for @hours.
222222
///
223223
/// In en, this message translates to:
224-
/// **'hours'**
224+
/// **'h'**
225225
String get hours;
226226

227227
/// No description provided for @minutes.
228228
///
229229
/// In en, this message translates to:
230-
/// **'minutes'**
230+
/// **'min'**
231231
String get minutes;
232232

233233
/// No description provided for @seconds.
234234
///
235235
/// In en, this message translates to:
236-
/// **'seconds'**
236+
/// **'s'**
237237
String get seconds;
238238

239239
/// No description provided for @milliseconds.
240240
///
241241
/// In en, this message translates to:
242-
/// **'milliseconds'**
242+
/// **'ms'**
243243
String get milliseconds;
244244

245245
/// No description provided for @yearLabel.
246246
///
247247
/// In en, this message translates to:
248-
/// **'year'**
248+
/// **'y'**
249249
String get yearLabel;
250250

251251
/// No description provided for @monthLabel.
252252
///
253253
/// In en, this message translates to:
254-
/// **'month'**
254+
/// **'m'**
255255
String get monthLabel;
256256

257257
/// No description provided for @dateLabel.
258258
///
259259
/// In en, this message translates to:
260-
/// **'date'**
260+
/// **'d'**
261261
String get dateLabel;
262262

263263
/// No description provided for @weeks.
264264
///
265265
/// In en, this message translates to:
266-
/// **'weeks'**
266+
/// **'w'**
267267
String get weeks;
268268

269269
/// No description provided for @sunday.

tdesign-component/example/lib/l10n/app_localizations_en.dart

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,31 +66,31 @@ class AppLocalizationsEn extends AppLocalizations {
6666
String get reset => 'Reset';
6767

6868
@override
69-
String get days => 'days';
69+
String get days => 'd';
7070

7171
@override
72-
String get hours => 'hours';
72+
String get hours => 'h';
7373

7474
@override
75-
String get minutes => 'minutes';
75+
String get minutes => 'min';
7676

7777
@override
78-
String get seconds => 'seconds';
78+
String get seconds => 's';
7979

8080
@override
81-
String get milliseconds => 'milliseconds';
81+
String get milliseconds => 'ms';
8282

8383
@override
84-
String get yearLabel => 'year';
84+
String get yearLabel => 'y';
8585

8686
@override
87-
String get monthLabel => 'month';
87+
String get monthLabel => 'm';
8888

8989
@override
90-
String get dateLabel => 'date';
90+
String get dateLabel => 'd';
9191

9292
@override
93-
String get weeks => 'weeks';
93+
String get weeks => 'w';
9494

9595
@override
9696
String get sunday => 'SUN';

0 commit comments

Comments
 (0)