File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -281,3 +281,48 @@ class RussianTextDelegate implements AssetsPickerTextDelegate {
281
281
String durationIndicatorBuilder (Duration duration) =>
282
282
AssetsPickerTextDelegate .defaultDurationIndicatorBuilder (duration);
283
283
}
284
+
285
+ /// [AssetsPickerTextDelegate] implements with Japanese.
286
+ /// 日本語の TextDelegate
287
+ class JapaneseTextDelegate implements AssetsPickerTextDelegate {
288
+ factory JapaneseTextDelegate () => _instance;
289
+
290
+ JapaneseTextDelegate ._internal ();
291
+
292
+ static final JapaneseTextDelegate _instance =
293
+ JapaneseTextDelegate ._internal ();
294
+
295
+ @override
296
+ String confirm = '決定' ;
297
+
298
+ @override
299
+ String cancel = 'キャンセル' ;
300
+
301
+ @override
302
+ String edit = '編集' ;
303
+
304
+ @override
305
+ String gifIndicator = 'GIF' ;
306
+
307
+ @override
308
+ String heicNotSupported = 'HEIC フォーマットはサポートしていません。' ;
309
+
310
+ @override
311
+ String loadFailed = '読み込みに失敗しました。' ;
312
+
313
+ @override
314
+ String original = '元の画像' ;
315
+
316
+ @override
317
+ String preview = 'プレビュー' ;
318
+
319
+ @override
320
+ String select = '選択' ;
321
+
322
+ @override
323
+ String unSupportedAssetType = 'HEIC フォーマットはサポートしていません。' ;
324
+
325
+ @override
326
+ String durationIndicatorBuilder (Duration duration) =>
327
+ AssetsPickerTextDelegate .defaultDurationIndicatorBuilder (duration);
328
+ }
You can’t perform that action at this time.
0 commit comments