@liujitcn/kratos-admin-core 0.0.26 → 0.0.28
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/dist/package/declarations/src/layouts/components/Menu/MenuTitle.vue.d.ts +7 -0
- package/dist/package/declarations/src/locales/generated.d.ts +482 -0
- package/dist/package/declarations/src/locales/index.d.ts +4 -4
- package/dist/package/declarations/src/rpc/common/v1/enum.d.ts +15 -6
- package/dist/package/declarations/src/rpc/system/admin/v1/base_dict.d.ts +5 -5
- package/dist/package/declarations/src/rpc/system/admin/v1/{base_translation.d.ts → base_i18n.d.ts} +3 -3
- package/dist/package/src/components/Dialog/FormDialog.vue +1 -1
- package/dist/package/src/components/ImportExcel/index.vue +1 -1
- package/dist/package/src/components/ProForm/index.vue +5 -2
- package/dist/package/src/components/SelectIcon/index.vue +1 -1
- package/dist/package/src/layouts/components/Menu/MenuTitle.vue +43 -0
- package/dist/package/src/layouts/components/Menu/SubMenu.vue +3 -2
- package/dist/package/src/locales/en-US.json +1 -0
- package/dist/package/src/locales/generated.ts +6 -0
- package/dist/package/src/locales/index.ts +1 -0
- package/dist/package/src/locales/ja-JP.json +280 -0
- package/dist/package/src/locales/zh-CN.json +1 -0
- package/dist/package/src/locales/zh-TW.json +1 -0
- package/dist/package/src/rpc/common/v1/enum.ts +16 -6
- package/dist/package/src/rpc/system/admin/v1/base_dict.ts +5 -5
- package/dist/package/src/rpc/system/admin/v1/{base_translation.ts → base_i18n.ts} +4 -4
- package/dist/package/src/views/login/components/LoginForm.vue +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 菜单标题。 */
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "dayjs/locale/zh-cn";
|
|
2
2
|
import "dayjs/locale/en";
|
|
3
|
+
import "dayjs/locale/ja";
|
|
3
4
|
import "dayjs/locale/zh-tw";
|
|
4
5
|
export declare const LOCALE_MESSAGES: {
|
|
5
6
|
readonly "zh-CN": {
|
|
@@ -29,6 +30,7 @@ export declare const LOCALE_MESSAGES: {
|
|
|
29
30
|
"common.language.en-US": string;
|
|
30
31
|
"common.language.zh-CN": string;
|
|
31
32
|
"common.language.zh-TW": string;
|
|
33
|
+
"common.language.ja-JP": string;
|
|
32
34
|
"common.message.no_data": string;
|
|
33
35
|
"common.message.operation_success": string;
|
|
34
36
|
"common.message.system_error": string;
|
|
@@ -308,6 +310,287 @@ export declare const LOCALE_MESSAGES: {
|
|
|
308
310
|
"common.language.en-US": string;
|
|
309
311
|
"common.language.zh-CN": string;
|
|
310
312
|
"common.language.zh-TW": string;
|
|
313
|
+
"common.language.ja-JP": string;
|
|
314
|
+
"common.message.no_data": string;
|
|
315
|
+
"common.message.operation_success": string;
|
|
316
|
+
"common.message.system_error": string;
|
|
317
|
+
"common.validation.phone_invalid": string;
|
|
318
|
+
"common.validation.phone_required": string;
|
|
319
|
+
"common.title.notice": string;
|
|
320
|
+
"common.title.warning": string;
|
|
321
|
+
"common.placeholder.input": string;
|
|
322
|
+
"common.placeholder.input_content": string;
|
|
323
|
+
"common.placeholder.select": string;
|
|
324
|
+
"common.status.disabled": string;
|
|
325
|
+
"common.status.enabled": string;
|
|
326
|
+
"common.value.female": string;
|
|
327
|
+
"common.value.male": string;
|
|
328
|
+
"common.value.all": string;
|
|
329
|
+
"core.auth.login_again": string;
|
|
330
|
+
"core.auth.refresh_token_missing": string;
|
|
331
|
+
"core.auth.session_expired": string;
|
|
332
|
+
"core.auth.no_menu_permission": string;
|
|
333
|
+
"core.auth.no_permission": string;
|
|
334
|
+
"core.clipboard.success": string;
|
|
335
|
+
"core.cron.cycle_unit.day": string;
|
|
336
|
+
"core.cron.cycle_unit.hour": string;
|
|
337
|
+
"core.cron.cycle_unit.minute": string;
|
|
338
|
+
"core.cron.cycle_unit.month": string;
|
|
339
|
+
"core.cron.cycle_unit.second": string;
|
|
340
|
+
"core.cron.cycle_unit.year": string;
|
|
341
|
+
"core.cron.description.every": string;
|
|
342
|
+
"core.cron.description.range": string;
|
|
343
|
+
"core.cron.description.specific": string;
|
|
344
|
+
"core.cron.description.step": string;
|
|
345
|
+
"core.cron.description.unspecified": string;
|
|
346
|
+
"core.cron.description.weekday": string;
|
|
347
|
+
"core.cron.description_separator": string;
|
|
348
|
+
"core.cron.edit": string;
|
|
349
|
+
"core.cron.every_unit": string;
|
|
350
|
+
"core.cron.expression": string;
|
|
351
|
+
"core.cron.from": string;
|
|
352
|
+
"core.cron.last_day": string;
|
|
353
|
+
"core.cron.nearest_workday": string;
|
|
354
|
+
"core.cron.not_configured": string;
|
|
355
|
+
"core.cron.placeholder": string;
|
|
356
|
+
"core.cron.preset.daily_eight": string;
|
|
357
|
+
"core.cron.preset.daily_midnight": string;
|
|
358
|
+
"core.cron.preset.every_five_minutes": string;
|
|
359
|
+
"core.cron.preset.every_hour": string;
|
|
360
|
+
"core.cron.preset.every_minute": string;
|
|
361
|
+
"core.cron.preset.monthly_first": string;
|
|
362
|
+
"core.cron.preset.next_year_daily": string;
|
|
363
|
+
"core.cron.presets": string;
|
|
364
|
+
"core.cron.range": string;
|
|
365
|
+
"core.cron.repeat": string;
|
|
366
|
+
"core.cron.run_once": string;
|
|
367
|
+
"core.cron.segment.day": string;
|
|
368
|
+
"core.cron.segment.hour": string;
|
|
369
|
+
"core.cron.segment.minute": string;
|
|
370
|
+
"core.cron.segment.month": string;
|
|
371
|
+
"core.cron.segment.second": string;
|
|
372
|
+
"core.cron.segment.year": string;
|
|
373
|
+
"core.cron.specific": string;
|
|
374
|
+
"core.cron.start_every": string;
|
|
375
|
+
"core.cron.this_month": string;
|
|
376
|
+
"core.cron.title": string;
|
|
377
|
+
"core.cron.to": string;
|
|
378
|
+
"core.cron.unit.day": string;
|
|
379
|
+
"core.cron.unit.hour": string;
|
|
380
|
+
"core.cron.unit.minute": string;
|
|
381
|
+
"core.cron.unit.month": string;
|
|
382
|
+
"core.cron.unit.second": string;
|
|
383
|
+
"core.cron.unit.year": string;
|
|
384
|
+
"core.cron.unspecified": string;
|
|
385
|
+
"core.cron.value_separator": string;
|
|
386
|
+
"core.cron.value_with_unit": string;
|
|
387
|
+
"core.cron.workday": string;
|
|
388
|
+
"core.data.confirm_action": string;
|
|
389
|
+
"core.data.operation_success": string;
|
|
390
|
+
"core.download.large_file_notice": string;
|
|
391
|
+
"core.error.403.detail": string;
|
|
392
|
+
"core.error.404.detail": string;
|
|
393
|
+
"core.error.500.detail": string;
|
|
394
|
+
"core.error.pending.detail": string;
|
|
395
|
+
"core.error.javascript.eval": string;
|
|
396
|
+
"core.error.javascript.internal": string;
|
|
397
|
+
"core.error.javascript.range": string;
|
|
398
|
+
"core.error.javascript.reference": string;
|
|
399
|
+
"core.error.javascript.syntax": string;
|
|
400
|
+
"core.error.javascript.type": string;
|
|
401
|
+
"core.error.javascript.unknown": string;
|
|
402
|
+
"core.error.javascript.uri": string;
|
|
403
|
+
"core.header.fullscreen": string;
|
|
404
|
+
"core.header.fullscreen_exit": string;
|
|
405
|
+
"core.header.fullscreen_unsupported": string;
|
|
406
|
+
"core.header.language": string;
|
|
407
|
+
"core.header.menu_search": string;
|
|
408
|
+
"core.header.menu_search_empty": string;
|
|
409
|
+
"core.header.menu_search_placeholder": string;
|
|
410
|
+
"core.header.size.default": string;
|
|
411
|
+
"core.header.size.large": string;
|
|
412
|
+
"core.header.size.small": string;
|
|
413
|
+
"core.header.size_select": string;
|
|
414
|
+
"core.header.theme": string;
|
|
415
|
+
"core.icon.empty": string;
|
|
416
|
+
"core.icon.placeholder": string;
|
|
417
|
+
"core.icon.search": string;
|
|
418
|
+
"core.layout.department_unassigned": string;
|
|
419
|
+
"core.layout.home": string;
|
|
420
|
+
"core.layout.info": string;
|
|
421
|
+
"core.layout.password_change": string;
|
|
422
|
+
"core.layout.unnamed_menu": string;
|
|
423
|
+
"core.layout.logout_confirm": string;
|
|
424
|
+
"core.layout.logout_success": string;
|
|
425
|
+
"core.layout.not_set": string;
|
|
426
|
+
"core.layout.role_unassigned": string;
|
|
427
|
+
"core.login.behavior_click": string;
|
|
428
|
+
"core.login.behavior_confirm": string;
|
|
429
|
+
"core.login.behavior_puzzle": string;
|
|
430
|
+
"core.login.behavior_rotate": string;
|
|
431
|
+
"core.login.captcha": string;
|
|
432
|
+
"core.login.captcha_alt": string;
|
|
433
|
+
"core.login.greeting.afternoon": string;
|
|
434
|
+
"core.login.greeting.evening": string;
|
|
435
|
+
"core.login.greeting.morning": string;
|
|
436
|
+
"core.login.greeting.night": string;
|
|
437
|
+
"core.login.greeting.noon": string;
|
|
438
|
+
"core.login.other_methods": string;
|
|
439
|
+
"core.login.password": string;
|
|
440
|
+
"core.login.tenant_code": string;
|
|
441
|
+
"core.login.user_name": string;
|
|
442
|
+
"core.login.welcome": string;
|
|
443
|
+
"core.oauth.dingtalk": string;
|
|
444
|
+
"core.oauth.feishu": string;
|
|
445
|
+
"core.oauth.wechat": string;
|
|
446
|
+
"core.oauth.wechatmp": string;
|
|
447
|
+
"core.oauth.wechatwork": string;
|
|
448
|
+
"core.oauth.unknown": string;
|
|
449
|
+
"core.password.error": string;
|
|
450
|
+
"core.password.crypto_unsupported": string;
|
|
451
|
+
"core.password.required": string;
|
|
452
|
+
"core.password.strength": string;
|
|
453
|
+
"core.password.strength.empty": string;
|
|
454
|
+
"core.password.strength.high": string;
|
|
455
|
+
"core.password.strength.low": string;
|
|
456
|
+
"core.password.strength.medium": string;
|
|
457
|
+
"core.password.tip": string;
|
|
458
|
+
"core.theme.accordion": string;
|
|
459
|
+
"core.theme.aside_inverted": string;
|
|
460
|
+
"core.theme.aside_inverted_tip": string;
|
|
461
|
+
"core.theme.breadcrumb": string;
|
|
462
|
+
"core.theme.breadcrumb_icon": string;
|
|
463
|
+
"core.theme.color": string;
|
|
464
|
+
"core.theme.dark": string;
|
|
465
|
+
"core.theme.footer": string;
|
|
466
|
+
"core.theme.global": string;
|
|
467
|
+
"core.theme.grey": string;
|
|
468
|
+
"core.theme.header_inverted": string;
|
|
469
|
+
"core.theme.header_inverted_tip": string;
|
|
470
|
+
"core.theme.interface": string;
|
|
471
|
+
"core.theme.layout": string;
|
|
472
|
+
"core.theme.layout.classic": string;
|
|
473
|
+
"core.theme.layout.columns": string;
|
|
474
|
+
"core.theme.layout.transverse": string;
|
|
475
|
+
"core.theme.layout.vertical": string;
|
|
476
|
+
"core.theme.menu_collapse": string;
|
|
477
|
+
"core.theme.primary_reset": string;
|
|
478
|
+
"core.theme.settings": string;
|
|
479
|
+
"core.theme.tabs": string;
|
|
480
|
+
"core.theme.tabs_icon": string;
|
|
481
|
+
"core.theme.watermark": string;
|
|
482
|
+
"core.theme.weak": string;
|
|
483
|
+
"core.theme.color_hex_invalid": string;
|
|
484
|
+
"core.theme.color_rgb_invalid": string;
|
|
485
|
+
"core.route.forbidden": string;
|
|
486
|
+
"core.route.login": string;
|
|
487
|
+
"core.route.not_found": string;
|
|
488
|
+
"core.route.server_error": string;
|
|
489
|
+
"core.tabs.close_all": string;
|
|
490
|
+
"core.tabs.close_current": string;
|
|
491
|
+
"core.tabs.close_left": string;
|
|
492
|
+
"core.tabs.close_other": string;
|
|
493
|
+
"core.tabs.close_right": string;
|
|
494
|
+
"core.tabs.maximize": string;
|
|
495
|
+
"core.tabs.refresh": string;
|
|
496
|
+
"core.table.collapse_all": string;
|
|
497
|
+
"core.table.column_name": string;
|
|
498
|
+
"core.table.column_setting": string;
|
|
499
|
+
"core.table.expand_all": string;
|
|
500
|
+
"core.table.hide_search": string;
|
|
501
|
+
"core.table.no_configurable_columns": string;
|
|
502
|
+
"core.table.refresh": string;
|
|
503
|
+
"core.table.show": string;
|
|
504
|
+
"core.table.show_search": string;
|
|
505
|
+
"core.table.sort": string;
|
|
506
|
+
"core.tree.filter_placeholder": string;
|
|
507
|
+
"core.tree.reset_selection": string;
|
|
508
|
+
"core.upload.action": string;
|
|
509
|
+
"core.upload.batch_add": string;
|
|
510
|
+
"core.upload.batch_failed": string;
|
|
511
|
+
"core.upload.batch_success": string;
|
|
512
|
+
"core.upload.click": string;
|
|
513
|
+
"core.upload.data_cover": string;
|
|
514
|
+
"core.upload.drag_or_click": string;
|
|
515
|
+
"core.upload.excel_format": string;
|
|
516
|
+
"core.upload.file": string;
|
|
517
|
+
"core.upload.file_failed": string;
|
|
518
|
+
"core.upload.file_format_invalid": string;
|
|
519
|
+
"core.upload.file_size_exceeded": string;
|
|
520
|
+
"core.upload.file_success": string;
|
|
521
|
+
"core.upload.image_failed": string;
|
|
522
|
+
"core.upload.image_format_invalid": string;
|
|
523
|
+
"core.upload.image_limit_exceeded": string;
|
|
524
|
+
"core.upload.image_size_exceeded": string;
|
|
525
|
+
"core.upload.image_success": string;
|
|
526
|
+
"core.upload.limit_exceeded": string;
|
|
527
|
+
"core.upload.single_file_only": string;
|
|
528
|
+
"core.upload.template": string;
|
|
529
|
+
"core.upload.template_download": string;
|
|
530
|
+
"core.upload.unnamed_file": string;
|
|
531
|
+
"common.action.create_resource": string;
|
|
532
|
+
"common.action.edit_resource": string;
|
|
533
|
+
"common.action.refresh_cache": string;
|
|
534
|
+
"common.dialog.cancel_delete": string;
|
|
535
|
+
"common.dialog.delete_batch": string;
|
|
536
|
+
"common.dialog.delete_selected": string;
|
|
537
|
+
"common.dialog.delete_single": string;
|
|
538
|
+
"common.dialog.resource_field": string;
|
|
539
|
+
"common.dialog.status_change": string;
|
|
540
|
+
"common.field.created_at": string;
|
|
541
|
+
"common.field.remark": string;
|
|
542
|
+
"common.field.sort": string;
|
|
543
|
+
"common.field.status": string;
|
|
544
|
+
"common.field.tenant": string;
|
|
545
|
+
"common.field.updated_at": string;
|
|
546
|
+
"common.message.create_success": string;
|
|
547
|
+
"common.message.delete_success": string;
|
|
548
|
+
"common.message.load_children_failed": string;
|
|
549
|
+
"common.message.refresh_success": string;
|
|
550
|
+
"common.message.select_delete_item": string;
|
|
551
|
+
"common.message.status_success": string;
|
|
552
|
+
"common.message.update_success": string;
|
|
553
|
+
"common.placeholder.remark": string;
|
|
554
|
+
"common.validation.max_length": string;
|
|
555
|
+
"common.validation.required_input": string;
|
|
556
|
+
"common.validation.required_select": string;
|
|
557
|
+
"common.validation.sort_positive": string;
|
|
558
|
+
"common.field.action": string;
|
|
559
|
+
"common.placeholder.start_date": string;
|
|
560
|
+
"common.placeholder.end_date": string;
|
|
561
|
+
"common.value.yes": string;
|
|
562
|
+
"common.value.no": string;
|
|
563
|
+
"common.value.unknown": string;
|
|
564
|
+
"common.value.none": string;
|
|
565
|
+
};
|
|
566
|
+
readonly "ja-JP": {
|
|
567
|
+
"common.action.back": string;
|
|
568
|
+
"common.action.cancel": string;
|
|
569
|
+
"common.action.close": string;
|
|
570
|
+
"common.action.confirm": string;
|
|
571
|
+
"common.action.create": string;
|
|
572
|
+
"common.action.delete": string;
|
|
573
|
+
"common.action.download": string;
|
|
574
|
+
"common.action.edit": string;
|
|
575
|
+
"common.action.expand": string;
|
|
576
|
+
"common.action.collapse": string;
|
|
577
|
+
"common.action.login": string;
|
|
578
|
+
"common.action.logout": string;
|
|
579
|
+
"common.action.reset": string;
|
|
580
|
+
"common.action.save": string;
|
|
581
|
+
"common.action.search": string;
|
|
582
|
+
"common.action.view": string;
|
|
583
|
+
"common.field.end_time": string;
|
|
584
|
+
"common.field.language": string;
|
|
585
|
+
"common.field.operation": string;
|
|
586
|
+
"common.field.parameter_name": string;
|
|
587
|
+
"common.field.parameter_value": string;
|
|
588
|
+
"common.field.phone": string;
|
|
589
|
+
"common.field.start_time": string;
|
|
590
|
+
"common.language.en-US": string;
|
|
591
|
+
"common.language.zh-CN": string;
|
|
592
|
+
"common.language.zh-TW": string;
|
|
593
|
+
"common.language.ja-JP": string;
|
|
311
594
|
"common.message.no_data": string;
|
|
312
595
|
"common.message.operation_success": string;
|
|
313
596
|
"common.message.system_error": string;
|
|
@@ -587,6 +870,7 @@ export declare const LOCALE_MESSAGES: {
|
|
|
587
870
|
"common.language.en-US": string;
|
|
588
871
|
"common.language.zh-CN": string;
|
|
589
872
|
"common.language.zh-TW": string;
|
|
873
|
+
"common.language.ja-JP": string;
|
|
590
874
|
"common.message.no_data": string;
|
|
591
875
|
"common.message.operation_success": string;
|
|
592
876
|
"common.message.system_error": string;
|
|
@@ -1241,6 +1525,204 @@ export declare const ELEMENT_LOCALES: {
|
|
|
1241
1525
|
};
|
|
1242
1526
|
};
|
|
1243
1527
|
};
|
|
1528
|
+
readonly "ja-JP": {
|
|
1529
|
+
name: string;
|
|
1530
|
+
el: {
|
|
1531
|
+
breadcrumb: {
|
|
1532
|
+
label: string;
|
|
1533
|
+
};
|
|
1534
|
+
colorpicker: {
|
|
1535
|
+
confirm: string;
|
|
1536
|
+
clear: string;
|
|
1537
|
+
defaultLabel: string;
|
|
1538
|
+
description: string;
|
|
1539
|
+
alphaLabel: string;
|
|
1540
|
+
alphaDescription: string;
|
|
1541
|
+
hueLabel: string;
|
|
1542
|
+
hueDescription: string;
|
|
1543
|
+
svLabel: string;
|
|
1544
|
+
svDescription: string;
|
|
1545
|
+
predefineDescription: string;
|
|
1546
|
+
};
|
|
1547
|
+
datepicker: {
|
|
1548
|
+
now: string;
|
|
1549
|
+
today: string;
|
|
1550
|
+
cancel: string;
|
|
1551
|
+
clear: string;
|
|
1552
|
+
confirm: string;
|
|
1553
|
+
dateTablePrompt: string;
|
|
1554
|
+
monthTablePrompt: string;
|
|
1555
|
+
yearTablePrompt: string;
|
|
1556
|
+
selectedDate: string;
|
|
1557
|
+
selectDate: string;
|
|
1558
|
+
selectTime: string;
|
|
1559
|
+
startDate: string;
|
|
1560
|
+
startTime: string;
|
|
1561
|
+
endDate: string;
|
|
1562
|
+
endTime: string;
|
|
1563
|
+
prevYear: string;
|
|
1564
|
+
nextYear: string;
|
|
1565
|
+
prevMonth: string;
|
|
1566
|
+
nextMonth: string;
|
|
1567
|
+
year: string;
|
|
1568
|
+
month1: string;
|
|
1569
|
+
month2: string;
|
|
1570
|
+
month3: string;
|
|
1571
|
+
month4: string;
|
|
1572
|
+
month5: string;
|
|
1573
|
+
month6: string;
|
|
1574
|
+
month7: string;
|
|
1575
|
+
month8: string;
|
|
1576
|
+
month9: string;
|
|
1577
|
+
month10: string;
|
|
1578
|
+
month11: string;
|
|
1579
|
+
month12: string;
|
|
1580
|
+
weeks: {
|
|
1581
|
+
sun: string;
|
|
1582
|
+
mon: string;
|
|
1583
|
+
tue: string;
|
|
1584
|
+
wed: string;
|
|
1585
|
+
thu: string;
|
|
1586
|
+
fri: string;
|
|
1587
|
+
sat: string;
|
|
1588
|
+
};
|
|
1589
|
+
weeksFull: {
|
|
1590
|
+
sun: string;
|
|
1591
|
+
mon: string;
|
|
1592
|
+
tue: string;
|
|
1593
|
+
wed: string;
|
|
1594
|
+
thu: string;
|
|
1595
|
+
fri: string;
|
|
1596
|
+
sat: string;
|
|
1597
|
+
};
|
|
1598
|
+
months: {
|
|
1599
|
+
jan: string;
|
|
1600
|
+
feb: string;
|
|
1601
|
+
mar: string;
|
|
1602
|
+
apr: string;
|
|
1603
|
+
may: string;
|
|
1604
|
+
jun: string;
|
|
1605
|
+
jul: string;
|
|
1606
|
+
aug: string;
|
|
1607
|
+
sep: string;
|
|
1608
|
+
oct: string;
|
|
1609
|
+
nov: string;
|
|
1610
|
+
dec: string;
|
|
1611
|
+
};
|
|
1612
|
+
};
|
|
1613
|
+
inputNumber: {
|
|
1614
|
+
decrease: string;
|
|
1615
|
+
increase: string;
|
|
1616
|
+
};
|
|
1617
|
+
select: {
|
|
1618
|
+
loading: string;
|
|
1619
|
+
noMatch: string;
|
|
1620
|
+
noData: string;
|
|
1621
|
+
placeholder: string;
|
|
1622
|
+
};
|
|
1623
|
+
mention: {
|
|
1624
|
+
loading: string;
|
|
1625
|
+
};
|
|
1626
|
+
dropdown: {
|
|
1627
|
+
toggleDropdown: string;
|
|
1628
|
+
};
|
|
1629
|
+
cascader: {
|
|
1630
|
+
noMatch: string;
|
|
1631
|
+
loading: string;
|
|
1632
|
+
placeholder: string;
|
|
1633
|
+
noData: string;
|
|
1634
|
+
};
|
|
1635
|
+
pagination: {
|
|
1636
|
+
goto: string;
|
|
1637
|
+
pagesize: string;
|
|
1638
|
+
total: string;
|
|
1639
|
+
pageClassifier: string;
|
|
1640
|
+
page: string;
|
|
1641
|
+
prev: string;
|
|
1642
|
+
next: string;
|
|
1643
|
+
currentPage: string;
|
|
1644
|
+
prevPages: string;
|
|
1645
|
+
nextPages: string;
|
|
1646
|
+
deprecationWarning: string;
|
|
1647
|
+
};
|
|
1648
|
+
dialog: {
|
|
1649
|
+
close: string;
|
|
1650
|
+
};
|
|
1651
|
+
drawer: {
|
|
1652
|
+
close: string;
|
|
1653
|
+
};
|
|
1654
|
+
messagebox: {
|
|
1655
|
+
title: string;
|
|
1656
|
+
confirm: string;
|
|
1657
|
+
cancel: string;
|
|
1658
|
+
error: string;
|
|
1659
|
+
close: string;
|
|
1660
|
+
};
|
|
1661
|
+
upload: {
|
|
1662
|
+
deleteTip: string;
|
|
1663
|
+
delete: string;
|
|
1664
|
+
preview: string;
|
|
1665
|
+
continue: string;
|
|
1666
|
+
};
|
|
1667
|
+
slider: {
|
|
1668
|
+
defaultLabel: string;
|
|
1669
|
+
defaultRangeStartLabel: string;
|
|
1670
|
+
defaultRangeEndLabel: string;
|
|
1671
|
+
};
|
|
1672
|
+
table: {
|
|
1673
|
+
emptyText: string;
|
|
1674
|
+
confirmFilter: string;
|
|
1675
|
+
resetFilter: string;
|
|
1676
|
+
clearFilter: string;
|
|
1677
|
+
sumText: string;
|
|
1678
|
+
selectAllLabel: string;
|
|
1679
|
+
selectRowLabel: string;
|
|
1680
|
+
expandRowLabel: string;
|
|
1681
|
+
collapseRowLabel: string;
|
|
1682
|
+
sortLabel: string;
|
|
1683
|
+
filterLabel: string;
|
|
1684
|
+
};
|
|
1685
|
+
tag: {
|
|
1686
|
+
close: string;
|
|
1687
|
+
};
|
|
1688
|
+
tour: {
|
|
1689
|
+
next: string;
|
|
1690
|
+
previous: string;
|
|
1691
|
+
finish: string;
|
|
1692
|
+
close: string;
|
|
1693
|
+
};
|
|
1694
|
+
tree: {
|
|
1695
|
+
emptyText: string;
|
|
1696
|
+
};
|
|
1697
|
+
transfer: {
|
|
1698
|
+
noMatch: string;
|
|
1699
|
+
noData: string;
|
|
1700
|
+
titles: string[];
|
|
1701
|
+
filterPlaceholder: string;
|
|
1702
|
+
noCheckedFormat: string;
|
|
1703
|
+
hasCheckedFormat: string;
|
|
1704
|
+
};
|
|
1705
|
+
image: {
|
|
1706
|
+
error: string;
|
|
1707
|
+
};
|
|
1708
|
+
pageHeader: {
|
|
1709
|
+
title: string;
|
|
1710
|
+
};
|
|
1711
|
+
popconfirm: {
|
|
1712
|
+
confirmButtonText: string;
|
|
1713
|
+
cancelButtonText: string;
|
|
1714
|
+
};
|
|
1715
|
+
carousel: {
|
|
1716
|
+
leftArrow: string;
|
|
1717
|
+
rightArrow: string;
|
|
1718
|
+
indicator: string;
|
|
1719
|
+
};
|
|
1720
|
+
inputOTP: {
|
|
1721
|
+
groupLabel: string;
|
|
1722
|
+
defaultLabel: string;
|
|
1723
|
+
};
|
|
1724
|
+
};
|
|
1725
|
+
};
|
|
1244
1726
|
readonly "zh-TW": {
|
|
1245
1727
|
name: string;
|
|
1246
1728
|
el: {
|
|
@@ -2,7 +2,7 @@ import type { AdminModule } from "../modules";
|
|
|
2
2
|
import type { OptionLanguageResponse } from "../rpc/base/v1/language";
|
|
3
3
|
import { type GeneratedLocale } from "./generated";
|
|
4
4
|
/** 管理端已打包的语言区域;运行时可切换列表由 base_language 接口决定。 */
|
|
5
|
-
export declare const SUPPORTED_LOCALES: ("zh-CN" | "en-US" | "zh-TW")[];
|
|
5
|
+
export declare const SUPPORTED_LOCALES: ("zh-CN" | "en-US" | "ja-JP" | "zh-TW")[];
|
|
6
6
|
/** 管理端支持的语言区域类型。 */
|
|
7
7
|
export type SupportedLocale = GeneratedLocale;
|
|
8
8
|
/** 单个模块的扁平语言包。 */
|
|
@@ -19,7 +19,7 @@ export interface LocaleOption {
|
|
|
19
19
|
export declare const DEFAULT_LOCALE: SupportedLocale;
|
|
20
20
|
export declare const LOCALE_STORAGE_KEY = "kratos-admin:locale";
|
|
21
21
|
/** 管理端 Vue I18n 实例。 */
|
|
22
|
-
export declare const adminI18n: import("vue-i18n").I18n<{}, {}, {}, "zh-CN" | "en-US" | "zh-TW", false>;
|
|
22
|
+
export declare const adminI18n: import("vue-i18n").I18n<{}, {}, {}, "zh-CN" | "en-US" | "ja-JP" | "zh-TW", false>;
|
|
23
23
|
/** 规范化任意语言输入到管理端白名单。 */
|
|
24
24
|
export declare function normalizeLocale(value?: string): SupportedLocale;
|
|
25
25
|
/** 注册模块语言包并校验语言键、占位符和命名空间。 */
|
|
@@ -44,10 +44,10 @@ export declare function registerLocaleChangeHandler(handler: () => void | Promis
|
|
|
44
44
|
export declare function t(key: string, params?: LocaleParams): string;
|
|
45
45
|
/** 管理端响应式语言状态。 */
|
|
46
46
|
export declare function useLocaleStore(): {
|
|
47
|
-
locale: Readonly<globalThis.Ref<"zh-CN" | "en-US" | "zh-TW", "zh-CN" | "en-US" | "zh-TW">>;
|
|
47
|
+
locale: Readonly<globalThis.Ref<"zh-CN" | "en-US" | "ja-JP" | "zh-TW", "zh-CN" | "en-US" | "ja-JP" | "zh-TW">>;
|
|
48
48
|
localeIndex: globalThis.ComputedRef<number>;
|
|
49
49
|
languageOptions: globalThis.ComputedRef<LocaleOption[]>;
|
|
50
|
-
supportedLocales: globalThis.ComputedRef<("zh-CN" | "en-US" | "zh-TW")[]>;
|
|
50
|
+
supportedLocales: globalThis.ComputedRef<("zh-CN" | "en-US" | "ja-JP" | "zh-TW")[]>;
|
|
51
51
|
setLocale: typeof setCurrentLocale;
|
|
52
52
|
t: typeof t;
|
|
53
53
|
};
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
/** 状态 */
|
|
2
2
|
export declare enum Status {
|
|
3
|
-
/**
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
|
|
3
|
+
/** STATUS_UNSPECIFIED - 未知状态 */
|
|
4
|
+
STATUS_UNSPECIFIED = 0,
|
|
5
|
+
/** STATUS_ENABLE - 启用 */
|
|
6
|
+
STATUS_ENABLE = 1,
|
|
7
|
+
/** STATUS_DISABLE - 禁用 */
|
|
8
|
+
STATUS_DISABLE = 2
|
|
9
|
+
}
|
|
10
|
+
/** 定时任务日志状态 */
|
|
11
|
+
export declare enum BaseJobLogStatus {
|
|
12
|
+
/** BASE_JOB_LOG_STATUS_UNSPECIFIED - 未指定定时任务日志状态 */
|
|
13
|
+
BASE_JOB_LOG_STATUS_UNSPECIFIED = 0,
|
|
14
|
+
/** BASE_JOB_LOG_STATUS_SUCCESS - 成功 */
|
|
15
|
+
BASE_JOB_LOG_STATUS_SUCCESS = 1,
|
|
16
|
+
/** BASE_JOB_LOG_STATUS_FAIL - 失败 */
|
|
17
|
+
BASE_JOB_LOG_STATUS_FAIL = 2
|
|
9
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Status } from "../../../common/v1/enum";
|
|
2
2
|
import type { Empty } from "../../../google/protobuf/empty";
|
|
3
|
-
import type {
|
|
3
|
+
import type { BaseI18n } from "./base_i18n";
|
|
4
4
|
/** 字典选项查询条件 */
|
|
5
5
|
export interface OptionBaseDictRequest {
|
|
6
6
|
}
|
|
@@ -81,7 +81,7 @@ export interface BaseDictForm {
|
|
|
81
81
|
/** 字典名称 */
|
|
82
82
|
name: string;
|
|
83
83
|
/** 非主语言翻译 */
|
|
84
|
-
translations:
|
|
84
|
+
translations: BaseI18n[];
|
|
85
85
|
/** 状态 */
|
|
86
86
|
status: Status;
|
|
87
87
|
}
|
|
@@ -105,7 +105,7 @@ export interface BaseDictItemForm {
|
|
|
105
105
|
/** 排序 */
|
|
106
106
|
sort: number;
|
|
107
107
|
/** 非主语言翻译 */
|
|
108
|
-
translations:
|
|
108
|
+
translations: BaseI18n[];
|
|
109
109
|
/** 状态 */
|
|
110
110
|
status: Status;
|
|
111
111
|
}
|
|
@@ -168,7 +168,7 @@ export interface BaseDict {
|
|
|
168
168
|
/** 更新时间 */
|
|
169
169
|
updated_at: string;
|
|
170
170
|
/** 非主语言翻译 */
|
|
171
|
-
translations:
|
|
171
|
+
translations: BaseI18n[];
|
|
172
172
|
}
|
|
173
173
|
/** 字典项 */
|
|
174
174
|
export interface BaseDictItem {
|
|
@@ -191,7 +191,7 @@ export interface BaseDictItem {
|
|
|
191
191
|
/** 更新时间 */
|
|
192
192
|
updated_at: string;
|
|
193
193
|
/** 非主语言翻译 */
|
|
194
|
-
translations:
|
|
194
|
+
translations: BaseI18n[];
|
|
195
195
|
}
|
|
196
196
|
/** Admin字典服务 */
|
|
197
197
|
export interface BaseDictService {
|
package/dist/package/declarations/src/rpc/system/admin/v1/{base_translation.d.ts → base_i18n.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Empty } from "../../../google/protobuf/empty";
|
|
2
|
-
/** 统一翻译表目标类型,和
|
|
2
|
+
/** 统一翻译表目标类型,和 base_i18n.target_type 的值一一对应。 */
|
|
3
3
|
export declare enum TranslationTargetType {
|
|
4
4
|
/** TRANSLATION_TARGET_TYPE_UNSPECIFIED - 未指定统一翻译表目标类型。 */
|
|
5
5
|
TRANSLATION_TARGET_TYPE_UNSPECIFIED = 0,
|
|
@@ -47,7 +47,7 @@ export interface UpdateBaseTranslationRequest {
|
|
|
47
47
|
name: string;
|
|
48
48
|
}
|
|
49
49
|
/** 国际化翻译信息 */
|
|
50
|
-
export interface
|
|
50
|
+
export interface BaseI18n {
|
|
51
51
|
/** 翻译记录ID */
|
|
52
52
|
id: number;
|
|
53
53
|
/** 翻译目标类型 */
|
|
@@ -67,7 +67,7 @@ export interface CodeGenLocaleConfig {
|
|
|
67
67
|
left_tree_comment: string;
|
|
68
68
|
}
|
|
69
69
|
/** 国际化翻译信息服务。 */
|
|
70
|
-
export interface
|
|
70
|
+
export interface BaseI18nService {
|
|
71
71
|
/** 翻译单个文本。 */
|
|
72
72
|
DraftBaseTranslation(request: DraftBaseTranslationRequest): Promise<DraftBaseTranslationResponse>;
|
|
73
73
|
/** 修改国际化翻译信息 */
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
width="580px"
|
|
7
7
|
draggable
|
|
8
8
|
>
|
|
9
|
-
<el-form class="drawer-multiColumn-form" label-width="
|
|
9
|
+
<el-form class="drawer-multiColumn-form" label-width="180px">
|
|
10
10
|
<el-form-item :label="t('core.upload.template_download')">
|
|
11
11
|
<el-button type="primary" :icon="Download" @click="downloadTemp">{{ t("common.action.download") }}</el-button>
|
|
12
12
|
</el-form-item>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form ref="formRef" :model="model" :rules="formRules" :label-width="labelWidth" v-bind="$attrs">
|
|
2
|
+
<el-form class="pro-form" ref="formRef" :model="model" :rules="formRules" :label-width="labelWidth" v-bind="$attrs">
|
|
3
3
|
<el-row :gutter="gutter">
|
|
4
4
|
<template v-for="field in visibleFields" :key="field.prop">
|
|
5
5
|
<span v-if="field.rowBreakBefore" class="pro-form__row-break" aria-hidden="true" />
|
|
@@ -47,7 +47,7 @@ interface ProFormProps {
|
|
|
47
47
|
|
|
48
48
|
const props = withDefaults(defineProps<ProFormProps>(), {
|
|
49
49
|
rules: () => ({}),
|
|
50
|
-
labelWidth: "",
|
|
50
|
+
labelWidth: "180px",
|
|
51
51
|
gutter: 20,
|
|
52
52
|
colSpan: 24
|
|
53
53
|
});
|
|
@@ -108,6 +108,9 @@ defineExpose({
|
|
|
108
108
|
flex: 0 0 100%;
|
|
109
109
|
height: 0;
|
|
110
110
|
}
|
|
111
|
+
:global(.pro-form .el-form-item__label) {
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
}
|
|
111
114
|
.pro-form__label {
|
|
112
115
|
display: inline-flex;
|
|
113
116
|
gap: 4px;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<el-button :icon="customIcons[iconValue]" />
|
|
14
14
|
</template>
|
|
15
15
|
</el-input>
|
|
16
|
-
<el-dialog v-model="dialogVisible" :title="placeholder" top="50px" width="
|
|
16
|
+
<el-dialog v-model="dialogVisible" :title="placeholder" top="50px" width="760px">
|
|
17
17
|
<el-input v-model="inputValue" :placeholder="t('core.icon.search')" size="large" :prefix-icon="Icons.Search" />
|
|
18
18
|
<el-scrollbar v-if="Object.keys(iconsList).length">
|
|
19
19
|
<div class="icon-list">
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-tooltip :content="title" placement="right" :show-after="0" :disabled="!isOverflow">
|
|
3
|
+
<span ref="titleRef" class="sle" :title="isOverflow ? title : undefined">{{ title }}</span>
|
|
4
|
+
</el-tooltip>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup lang="ts">
|
|
8
|
+
import { nextTick, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
|
9
|
+
|
|
10
|
+
const props = defineProps<{
|
|
11
|
+
/** 菜单标题。 */
|
|
12
|
+
title: string;
|
|
13
|
+
}>();
|
|
14
|
+
|
|
15
|
+
const titleRef = ref<HTMLElement>();
|
|
16
|
+
const isOverflow = ref(false);
|
|
17
|
+
let resizeObserver: ResizeObserver | undefined;
|
|
18
|
+
|
|
19
|
+
/** 检测菜单标题是否被当前菜单宽度截断。 */
|
|
20
|
+
function updateOverflow() {
|
|
21
|
+
const element = titleRef.value;
|
|
22
|
+
isOverflow.value = Boolean(element && element.clientWidth > 0 && element.scrollWidth > element.clientWidth);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
onMounted(() => {
|
|
26
|
+
void nextTick(updateOverflow);
|
|
27
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
28
|
+
|
|
29
|
+
resizeObserver = new ResizeObserver(updateOverflow);
|
|
30
|
+
if (titleRef.value) resizeObserver.observe(titleRef.value);
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
watch(
|
|
34
|
+
() => props.title,
|
|
35
|
+
() => {
|
|
36
|
+
void nextTick(updateOverflow);
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
onBeforeUnmount(() => {
|
|
41
|
+
resizeObserver?.disconnect();
|
|
42
|
+
});
|
|
43
|
+
</script>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<el-icon v-if="getRouteMetaIcon(subItem.meta)">
|
|
6
6
|
<component :is="getRouteMetaIcon(subItem.meta)"></component>
|
|
7
7
|
</el-icon>
|
|
8
|
-
<
|
|
8
|
+
<MenuTitle :title="getRouteMetaTitle(subItem.meta)" />
|
|
9
9
|
</template>
|
|
10
10
|
<SubMenu :menu-list="getSubMenuChildren(subItem)" />
|
|
11
11
|
</el-sub-menu>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<component :is="getRouteMetaIcon(getMenuItem(subItem).meta)"></component>
|
|
15
15
|
</el-icon>
|
|
16
16
|
<template #title>
|
|
17
|
-
<
|
|
17
|
+
<MenuTitle :title="getRouteMetaTitle(getMenuItem(subItem).meta)" />
|
|
18
18
|
</template>
|
|
19
19
|
</el-menu-item>
|
|
20
20
|
</template>
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
<script setup lang="ts">
|
|
24
24
|
import { useRouter } from "vue-router";
|
|
25
25
|
import type { RouteItem } from "../../../rpc/system/admin/v1/auth";
|
|
26
|
+
import MenuTitle from "./MenuTitle.vue";
|
|
26
27
|
import {
|
|
27
28
|
getRouteTarget,
|
|
28
29
|
getRouteMenuKey,
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"common.language.en-US": "English",
|
|
26
26
|
"common.language.zh-CN": "简体中文",
|
|
27
27
|
"common.language.zh-TW": "Traditional Chinese",
|
|
28
|
+
"common.language.ja-JP": "Japanese",
|
|
28
29
|
"common.message.no_data": "No data",
|
|
29
30
|
"common.message.operation_success": "Operation completed",
|
|
30
31
|
"common.message.system_error": "System error",
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
/* 此文件由 scripts/sync_locales.py 生成,请勿手工修改。 */
|
|
2
2
|
import "dayjs/locale/zh-cn";
|
|
3
3
|
import "dayjs/locale/en";
|
|
4
|
+
import "dayjs/locale/ja";
|
|
4
5
|
import "dayjs/locale/zh-tw";
|
|
5
6
|
import elementLocaleZhCn from "element-plus/es/locale/lang/zh-cn";
|
|
6
7
|
import elementLocaleEnUs from "element-plus/es/locale/lang/en";
|
|
8
|
+
import elementLocaleJaJp from "element-plus/es/locale/lang/ja";
|
|
7
9
|
import elementLocaleZhTw from "element-plus/es/locale/lang/zh-tw";
|
|
8
10
|
|
|
9
11
|
import localeZhCn from "./zh-CN.json";
|
|
10
12
|
import localeEnUs from "./en-US.json";
|
|
13
|
+
import localeJaJp from "./ja-JP.json";
|
|
11
14
|
import localeZhTw from "./zh-TW.json";
|
|
12
15
|
|
|
13
16
|
export const LOCALE_MESSAGES = {
|
|
14
17
|
"zh-CN": localeZhCn,
|
|
15
18
|
"en-US": localeEnUs,
|
|
19
|
+
"ja-JP": localeJaJp,
|
|
16
20
|
"zh-TW": localeZhTw,
|
|
17
21
|
} as const satisfies Record<string, Record<string, string>>;
|
|
18
22
|
|
|
@@ -23,11 +27,13 @@ export const SUPPORTED_LOCALES = Object.keys(LOCALE_MESSAGES) as GeneratedLocale
|
|
|
23
27
|
export const DAYJS_LOCALE_MAP: Record<string, string> = {
|
|
24
28
|
"zh-CN": "zh-cn",
|
|
25
29
|
"en-US": "en",
|
|
30
|
+
"ja-JP": "ja",
|
|
26
31
|
"zh-TW": "zh-tw",
|
|
27
32
|
};
|
|
28
33
|
|
|
29
34
|
export const ELEMENT_LOCALES = {
|
|
30
35
|
"zh-CN": elementLocaleZhCn,
|
|
31
36
|
"en-US": elementLocaleEnUs,
|
|
37
|
+
"ja-JP": elementLocaleJaJp,
|
|
32
38
|
"zh-TW": elementLocaleZhTw,
|
|
33
39
|
} as const;
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
{
|
|
2
|
+
"common.action.back": "戻る",
|
|
3
|
+
"common.action.cancel": "キャンセル",
|
|
4
|
+
"common.action.close": "閉じる",
|
|
5
|
+
"common.action.confirm": "OK",
|
|
6
|
+
"common.action.create": "新規",
|
|
7
|
+
"common.action.delete": "削除",
|
|
8
|
+
"common.action.download": "ダウンロード",
|
|
9
|
+
"common.action.edit": "編集者",
|
|
10
|
+
"common.action.expand": "展開する",
|
|
11
|
+
"common.action.collapse": "閉じる",
|
|
12
|
+
"common.action.login": "ログイン",
|
|
13
|
+
"common.action.logout": "ログアウト",
|
|
14
|
+
"common.action.reset": "リセット",
|
|
15
|
+
"common.action.save": "保存",
|
|
16
|
+
"common.action.search": "検索",
|
|
17
|
+
"common.action.view": "表示",
|
|
18
|
+
"common.field.end_time": "終了時刻",
|
|
19
|
+
"common.field.language": "言語",
|
|
20
|
+
"common.field.operation": "オペレーション",
|
|
21
|
+
"common.field.parameter_name": "パラメータ名",
|
|
22
|
+
"common.field.parameter_value": "パラメータ値",
|
|
23
|
+
"common.field.phone": "携帯電話番号",
|
|
24
|
+
"common.field.start_time": "開始時刻",
|
|
25
|
+
"common.language.en-US": "英語",
|
|
26
|
+
"common.language.zh-CN": "簡体字中国語",
|
|
27
|
+
"common.language.zh-TW": "繁体字中国語",
|
|
28
|
+
"common.language.ja-JP": "日本語",
|
|
29
|
+
"common.message.no_data": "データはまだありません",
|
|
30
|
+
"common.message.operation_success": "操作は成功しました",
|
|
31
|
+
"common.message.system_error": "システムエラー",
|
|
32
|
+
"common.validation.phone_invalid": "正しい携帯電話番号を入力してください",
|
|
33
|
+
"common.validation.phone_required": "携帯電話番号を入力してください",
|
|
34
|
+
"common.title.notice": "ヒント",
|
|
35
|
+
"common.title.warning": "温かいリマインダー",
|
|
36
|
+
"common.placeholder.input": "入力してください",
|
|
37
|
+
"common.placeholder.input_content": "内容を入力してください",
|
|
38
|
+
"common.placeholder.select": "選択してください",
|
|
39
|
+
"common.status.disabled": "無効",
|
|
40
|
+
"common.status.enabled": "有効にする",
|
|
41
|
+
"common.value.female": "女性",
|
|
42
|
+
"common.value.male": "男性",
|
|
43
|
+
"common.value.all": "すべて",
|
|
44
|
+
"core.auth.login_again": "再度ログインしてください",
|
|
45
|
+
"core.auth.refresh_token_missing": "リフレッシュトークンが存在しません",
|
|
46
|
+
"core.auth.session_expired": "ログインステータスの有効期限が切れました。再度ログインしてください。",
|
|
47
|
+
"core.auth.no_menu_permission": "現在のアカウントにはメニュー権限がありません。システム管理者に連絡してください。",
|
|
48
|
+
"core.auth.no_permission": "アクセス権限がありません",
|
|
49
|
+
"core.clipboard.success": "正常にコピーされました",
|
|
50
|
+
"core.cron.cycle_unit.day": "日",
|
|
51
|
+
"core.cron.cycle_unit.hour": "時間",
|
|
52
|
+
"core.cron.cycle_unit.minute": "分",
|
|
53
|
+
"core.cron.cycle_unit.month": "か月",
|
|
54
|
+
"core.cron.cycle_unit.second": "秒",
|
|
55
|
+
"core.cron.cycle_unit.year": "年",
|
|
56
|
+
"core.cron.description.every": "({unit} あたり)",
|
|
57
|
+
"core.cron.description.range": "{segment}{start} ~ {end}",
|
|
58
|
+
"core.cron.description.specific": "{segment} は {values} として指定されます",
|
|
59
|
+
"core.cron.description.step": "{start}{unit} から開始して {step}{cycleUnit} ごとに実行",
|
|
60
|
+
"core.cron.description.unspecified": "{segment} 指定なし",
|
|
61
|
+
"core.cron.description.weekday": "月の最後の営業日 {day}",
|
|
62
|
+
"core.cron.description_separator": "、",
|
|
63
|
+
"core.cron.edit": "式の編集\n あたり",
|
|
64
|
+
"core.cron.every_unit": "{unit}",
|
|
65
|
+
"core.cron.expression": "Cron 式",
|
|
66
|
+
"core.cron.from": "から",
|
|
67
|
+
"core.cron.last_day": "月の最終日",
|
|
68
|
+
"core.cron.nearest_workday": "の最新の営業日",
|
|
69
|
+
"core.cron.not_configured": "実行ルールが設定されていません",
|
|
70
|
+
"core.cron.placeholder": "Cron 式を入力してください",
|
|
71
|
+
"core.cron.preset.daily_eight": "毎日午前 8 時に実行します",
|
|
72
|
+
"core.cron.preset.daily_midnight": "毎日0:00に実行",
|
|
73
|
+
"core.cron.preset.every_five_minutes": "5分ごとに実行",
|
|
74
|
+
"core.cron.preset.every_hour": "1時間ごとに実行",
|
|
75
|
+
"core.cron.preset.every_minute": "1分ごとに実行",
|
|
76
|
+
"core.cron.preset.monthly_first": "毎月1日0:00に実行",
|
|
77
|
+
"core.cron.preset.next_year_daily": "は来年毎日 0:00 に実行されます",
|
|
78
|
+
"core.cron.presets": "一般的な表現",
|
|
79
|
+
"core.cron.range": "サイクル",
|
|
80
|
+
"core.cron.repeat": "ループ",
|
|
81
|
+
"core.cron.run_once": "{unit} 1 回実行",
|
|
82
|
+
"core.cron.segment.day": "日付",
|
|
83
|
+
"core.cron.segment.hour": "時間",
|
|
84
|
+
"core.cron.segment.minute": "分",
|
|
85
|
+
"core.cron.segment.month": "月",
|
|
86
|
+
"core.cron.segment.second": "秒",
|
|
87
|
+
"core.cron.segment.year": "年",
|
|
88
|
+
"core.cron.specific": "が指定されました",
|
|
89
|
+
"core.cron.start_every": "{unit} は次の間隔で開始されます",
|
|
90
|
+
"core.cron.this_month": "今月",
|
|
91
|
+
"core.cron.title": "タイミング式の編集",
|
|
92
|
+
"core.cron.to": "へ",
|
|
93
|
+
"core.cron.unit.day": "日",
|
|
94
|
+
"core.cron.unit.hour": "時間",
|
|
95
|
+
"core.cron.unit.minute": "ポイント",
|
|
96
|
+
"core.cron.unit.month": "月",
|
|
97
|
+
"core.cron.unit.second": "秒",
|
|
98
|
+
"core.cron.unit.year": "年",
|
|
99
|
+
"core.cron.unspecified": "指定されていません",
|
|
100
|
+
"core.cron.value_separator": "、",
|
|
101
|
+
"core.cron.value_with_unit": "{value}{unit}",
|
|
102
|
+
"core.cron.workday": "営業日",
|
|
103
|
+
"core.data.confirm_action": "{action} ですか?",
|
|
104
|
+
"core.data.operation_success": "{action} 成功",
|
|
105
|
+
"core.download.large_file_notice": "データ量が多い場合はダウンロードが遅くなりますので、しばらくお待ちください。",
|
|
106
|
+
"core.error.403.detail": "申し訳ありませんが、このページにアクセスする権限がありません。",
|
|
107
|
+
"core.error.404.detail": "申し訳ありませんが、アクセスしたページは存在しません",
|
|
108
|
+
"core.error.500.detail": "申し訳ありませんが、サーバー エラーが発生しました",
|
|
109
|
+
"core.error.pending.detail": "このページ機能は作成中です",
|
|
110
|
+
"core.error.javascript.eval": "評価使用法エラー",
|
|
111
|
+
"core.error.javascript.internal": "JavaScript エンジンの内部エラー",
|
|
112
|
+
"core.error.javascript.range": "パラメータが許容範囲を超えています",
|
|
113
|
+
"core.error.javascript.reference": "オブジェクトが見つかりません",
|
|
114
|
+
"core.error.javascript.syntax": "構文エラー",
|
|
115
|
+
"core.error.javascript.type": "間違ったタイプまたはオブジェクトが使用されました",
|
|
116
|
+
"core.error.javascript.unknown": "不明なエラー",
|
|
117
|
+
"core.error.javascript.uri": "URI エラー",
|
|
118
|
+
"core.header.fullscreen": "フルスクリーン",
|
|
119
|
+
"core.header.fullscreen_exit": "全画面表示を終了します",
|
|
120
|
+
"core.header.fullscreen_unsupported": "現在のブラウザは全画面表示をサポートしていません",
|
|
121
|
+
"core.header.language": "言語を切り替える",
|
|
122
|
+
"core.header.menu_search": "メニュー検索",
|
|
123
|
+
"core.header.menu_search_empty": "メニューはまだありません",
|
|
124
|
+
"core.header.menu_search_placeholder": "メニュー検索: メニュー名とパスをサポート",
|
|
125
|
+
"core.header.size.default": "デフォルト",
|
|
126
|
+
"core.header.size.large": "大",
|
|
127
|
+
"core.header.size.small": "小",
|
|
128
|
+
"core.header.size_select": "コンポーネントのサイズ",
|
|
129
|
+
"core.header.theme": "テーマの設定",
|
|
130
|
+
"core.icon.empty": "探しているアイコンは見つかりませんでした",
|
|
131
|
+
"core.icon.placeholder": "アイコンを選択してください",
|
|
132
|
+
"core.icon.search": "検索アイコン",
|
|
133
|
+
"core.layout.department_unassigned": "未割り当ての部門",
|
|
134
|
+
"core.layout.home": "ホーム",
|
|
135
|
+
"core.layout.info": "個人情報",
|
|
136
|
+
"core.layout.password_change": "パスワードを変更する",
|
|
137
|
+
"core.layout.unnamed_menu": "名前のないメニュー",
|
|
138
|
+
"core.layout.logout_confirm": "ログアウトしてもよろしいですか?",
|
|
139
|
+
"core.layout.logout_success": "正常にログアウトしました",
|
|
140
|
+
"core.layout.not_set": "が設定されていません",
|
|
141
|
+
"core.layout.role_unassigned": "ロールが割り当てられていません",
|
|
142
|
+
"core.login.behavior_click": "順番にテキストをクリックしてください",
|
|
143
|
+
"core.login.behavior_confirm": "確認",
|
|
144
|
+
"core.login.behavior_puzzle": "スライダーをドラッグしてパズルを完成させてください",
|
|
145
|
+
"core.login.behavior_rotate": "スライダーをドラッグして内側の円の画像を修正します",
|
|
146
|
+
"core.login.captcha": "確認コードを入力してください",
|
|
147
|
+
"core.login.captcha_alt": "確認コード",
|
|
148
|
+
"core.login.greeting.afternoon": "こんにちは",
|
|
149
|
+
"core.login.greeting.evening": "こんばんは。",
|
|
150
|
+
"core.login.greeting.morning": "おはようございます",
|
|
151
|
+
"core.login.greeting.night": "おはようございます",
|
|
152
|
+
"core.login.greeting.noon": "こんにちは",
|
|
153
|
+
"core.login.other_methods": "その他のログイン方法",
|
|
154
|
+
"core.login.password": "パスワードを入力してください",
|
|
155
|
+
"core.login.tenant_code": "テナントコードを入力してください",
|
|
156
|
+
"core.login.user_name": "ユーザー名を入力してください",
|
|
157
|
+
"core.login.welcome": "管理バックグラウンドへのログインへようこそ",
|
|
158
|
+
"core.oauth.dingtalk": "ディントーク",
|
|
159
|
+
"core.oauth.feishu": "フェイシュ",
|
|
160
|
+
"core.oauth.wechat": "WeChat",
|
|
161
|
+
"core.oauth.wechatmp": "WeChat 公開アカウント",
|
|
162
|
+
"core.oauth.wechatwork": "エンタープライズ WeChat",
|
|
163
|
+
"core.oauth.unknown": "不明な方法です",
|
|
164
|
+
"core.password.error": "パスワードには大文字と小文字の両方、数字、特殊文字を含める必要があり、長さは 8 文字以上である必要があります。",
|
|
165
|
+
"core.password.crypto_unsupported": "現在の環境はパスワード暗号化をサポートしていません",
|
|
166
|
+
"core.password.required": "パスワードを空にすることはできません",
|
|
167
|
+
"core.password.strength": "パスワードの強度",
|
|
168
|
+
"core.password.strength.empty": "未入力",
|
|
169
|
+
"core.password.strength.high": "高",
|
|
170
|
+
"core.password.strength.low": "低",
|
|
171
|
+
"core.password.strength.medium": "中",
|
|
172
|
+
"core.password.tip": "には、大文字と小文字の両方、数字、特殊文字を含める必要があり、長さは 8 文字以上である必要があります。最高の強度に達した後にのみ提出できます。",
|
|
173
|
+
"core.theme.accordion": "メニュー アコーディオン",
|
|
174
|
+
"core.theme.aside_inverted": "サイドバーの反転色",
|
|
175
|
+
"core.theme.aside_inverted_tip": "サイドバーの色がダークモードに変わります",
|
|
176
|
+
"core.theme.breadcrumb": "ブレッドクラム",
|
|
177
|
+
"core.theme.breadcrumb_icon": "ブレッドクラム アイコン",
|
|
178
|
+
"core.theme.color": "テーマカラー",
|
|
179
|
+
"core.theme.dark": "ダークモード",
|
|
180
|
+
"core.theme.footer": "フッター",
|
|
181
|
+
"core.theme.global": "グローバル テーマ",
|
|
182
|
+
"core.theme.grey": "グレーモード",
|
|
183
|
+
"core.theme.header_inverted": "ヘッド反転色",
|
|
184
|
+
"core.theme.header_inverted_tip": "頭の色がダークモードに変わります",
|
|
185
|
+
"core.theme.interface": "インターフェース設定",
|
|
186
|
+
"core.theme.layout": "レイアウト スタイル",
|
|
187
|
+
"core.theme.layout.classic": "クラシック",
|
|
188
|
+
"core.theme.layout.columns": "列",
|
|
189
|
+
"core.theme.layout.transverse": "水平",
|
|
190
|
+
"core.theme.layout.vertical": "ポートレート",
|
|
191
|
+
"core.theme.menu_collapse": "メニューの折りたたみ",
|
|
192
|
+
"core.theme.primary_reset": "テーマカラーは {color} にリセットされました",
|
|
193
|
+
"core.theme.settings": "レイアウト設定",
|
|
194
|
+
"core.theme.tabs": "タブバー",
|
|
195
|
+
"core.theme.tabs_icon": "タブバーアイコン",
|
|
196
|
+
"core.theme.watermark": "透かし",
|
|
197
|
+
"core.theme.weak": "カラー弱化モード",
|
|
198
|
+
"core.theme.color_hex_invalid": "正しい 16 進数のカラー値を入力してください",
|
|
199
|
+
"core.theme.color_rgb_invalid": "正しい RGB カラー値を入力してください",
|
|
200
|
+
"core.route.forbidden": "403 ページ",
|
|
201
|
+
"core.route.login": "ログイン",
|
|
202
|
+
"core.route.not_found": "404 ページ",
|
|
203
|
+
"core.route.server_error": "500 ページ",
|
|
204
|
+
"core.tabs.close_all": "すべて閉じる",
|
|
205
|
+
"core.tabs.close_current": "現在のを閉じます",
|
|
206
|
+
"core.tabs.close_left": "左に閉じる",
|
|
207
|
+
"core.tabs.close_other": "他を閉じる",
|
|
208
|
+
"core.tabs.close_right": "右に閉じます",
|
|
209
|
+
"core.tabs.maximize": "最大化",
|
|
210
|
+
"core.tabs.refresh": "現在のデータを更新します",
|
|
211
|
+
"core.table.collapse_all": "すべて折りたたむ",
|
|
212
|
+
"core.table.column_name": "カラム名",
|
|
213
|
+
"core.table.column_setting": "列の設定",
|
|
214
|
+
"core.table.expand_all": "すべて展開",
|
|
215
|
+
"core.table.hide_search": "検索を非表示にする",
|
|
216
|
+
"core.table.no_configurable_columns": "現在、構成列はありません",
|
|
217
|
+
"core.table.refresh": "データを更新します",
|
|
218
|
+
"core.table.show": "ショー",
|
|
219
|
+
"core.table.show_search": "検索を表示",
|
|
220
|
+
"core.table.sort": "並べ替え",
|
|
221
|
+
"core.tree.filter_placeholder": "フィルタリングするキーワードを入力してください",
|
|
222
|
+
"core.tree.reset_selection": "選択をリセット",
|
|
223
|
+
"core.upload.action": "ファイルをアップロード",
|
|
224
|
+
"core.upload.batch_add": "{resource} をバッチで追加します",
|
|
225
|
+
"core.upload.batch_failed": "{resource} のバッチ追加に失敗しました。もう一度アップロードしてください。",
|
|
226
|
+
"core.upload.batch_success": "{resource} のバッチ追加が成功しました",
|
|
227
|
+
"core.upload.click": "クリックしてアップロード",
|
|
228
|
+
"core.upload.data_cover": "データ上書き",
|
|
229
|
+
"core.upload.drag_or_click": "ファイルをここにドラッグするか、",
|
|
230
|
+
"core.upload.excel_format": ".xls、.xlsx 標準形式のファイルをアップロードしてください。最大ファイル サイズは {size} MB です。",
|
|
231
|
+
"core.upload.file": "ファイルのアップロード",
|
|
232
|
+
"core.upload.file_failed": "ファイルのアップロードに失敗しました。もう一度アップロードしてください。",
|
|
233
|
+
"core.upload.file_format_invalid": "アップロードされたファイルは必要な形式を満たしていません",
|
|
234
|
+
"core.upload.file_size_exceeded": "アップロード ファイル サイズは {size} MB を超えることはできません",
|
|
235
|
+
"core.upload.file_success": "ファイルは正常にアップロードされました",
|
|
236
|
+
"core.upload.image_failed": "画像のアップロードに失敗しました。もう一度アップロードしてください。",
|
|
237
|
+
"core.upload.image_format_invalid": "アップロードされた画像は必要な形式を満たしていません",
|
|
238
|
+
"core.upload.image_limit_exceeded": "現在、最大で {limit} 枚の写真のみをアップロードできます。アップロードする前に削除してください。",
|
|
239
|
+
"core.upload.image_size_exceeded": "アップロードする画像のサイズは {size} MB を超えることはできません",
|
|
240
|
+
"core.upload.image_success": "画像が正常にアップロードされました",
|
|
241
|
+
"core.upload.limit_exceeded": "現在、最大 {limit} ファイルをアップロードできます。アップロードする前に削除してください。",
|
|
242
|
+
"core.upload.single_file_only": "アップロードできるファイルは最大 1 つだけです",
|
|
243
|
+
"core.upload.template": "{resource} テンプレート",
|
|
244
|
+
"core.upload.template_download": "テンプレートのダウンロード",
|
|
245
|
+
"core.upload.unnamed_file": "名前のないファイル",
|
|
246
|
+
"common.action.create_resource": "{resource} を追加しました",
|
|
247
|
+
"common.action.edit_resource": "{resource} を変更します",
|
|
248
|
+
"common.action.refresh_cache": "キャッシュを更新します",
|
|
249
|
+
"common.dialog.cancel_delete": "削除を取り消しました {resource}",
|
|
250
|
+
"common.dialog.delete_batch": "選択した {count}{unit}{resource} を削除してもよろしいですか?",
|
|
251
|
+
"common.dialog.delete_selected": "選択した {resource} を削除してもよろしいですか?",
|
|
252
|
+
"common.dialog.delete_single": "{resource} を削除してもよろしいですか?",
|
|
253
|
+
"common.dialog.resource_field": "{field}: {value}",
|
|
254
|
+
"common.dialog.status_change": "{action}{resource} でよろしいですか?\n{field}: {value}",
|
|
255
|
+
"common.field.created_at": "作成時刻",
|
|
256
|
+
"common.field.remark": "備考",
|
|
257
|
+
"common.field.sort": "並べ替え",
|
|
258
|
+
"common.field.status": "ステータス",
|
|
259
|
+
"common.field.tenant": "テナント",
|
|
260
|
+
"common.field.updated_at": "更新時間",
|
|
261
|
+
"common.message.create_success": "{resource} が正常に追加されました",
|
|
262
|
+
"common.message.delete_success": "{resource} の削除に成功しました",
|
|
263
|
+
"common.message.load_children_failed": "は {resource} 子ノードのロードに失敗しました",
|
|
264
|
+
"common.message.refresh_success": "正常に更新されました",
|
|
265
|
+
"common.message.select_delete_item": "項目を削除するにはチェックを入れてください",
|
|
266
|
+
"common.message.status_success": "{action} 成功",
|
|
267
|
+
"common.message.update_success": "が {resource} を正常に変更しました",
|
|
268
|
+
"common.placeholder.remark": "備考を入力してください",
|
|
269
|
+
"common.validation.max_length": "{field} は {max} 文字を超えることはできません",
|
|
270
|
+
"common.validation.required_input": "{field} を入力してください",
|
|
271
|
+
"common.validation.required_select": "{field} を選択してください",
|
|
272
|
+
"common.validation.sort_positive": "並べ替えは 0 より大きくなければなりません",
|
|
273
|
+
"common.field.action": "オペレーション",
|
|
274
|
+
"common.placeholder.start_date": "開始時刻",
|
|
275
|
+
"common.placeholder.end_date": "締め切り",
|
|
276
|
+
"common.value.yes": "はい",
|
|
277
|
+
"common.value.no": "いいえ",
|
|
278
|
+
"common.value.unknown": "不明",
|
|
279
|
+
"common.value.none": "なし"
|
|
280
|
+
}
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"common.language.en-US": "English",
|
|
26
26
|
"common.language.zh-CN": "简体中文",
|
|
27
27
|
"common.language.zh-TW": "繁体中文",
|
|
28
|
+
"common.language.ja-JP": "日语",
|
|
28
29
|
"common.message.no_data": "暂无数据",
|
|
29
30
|
"common.message.operation_success": "操作成功",
|
|
30
31
|
"common.message.system_error": "系统出错",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"common.language.en-US": "英文",
|
|
26
26
|
"common.language.zh-CN": "簡體中文",
|
|
27
27
|
"common.language.zh-TW": "繁體中文",
|
|
28
|
+
"common.language.ja-JP": "日語",
|
|
28
29
|
"common.message.no_data": "暫無資料",
|
|
29
30
|
"common.message.operation_success": "操作成功",
|
|
30
31
|
"common.message.system_error": "系統出錯",
|
|
@@ -8,10 +8,20 @@
|
|
|
8
8
|
|
|
9
9
|
/** 状态 */
|
|
10
10
|
export enum Status {
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
|
|
11
|
+
/** STATUS_UNSPECIFIED - 未知状态 */
|
|
12
|
+
STATUS_UNSPECIFIED = 0,
|
|
13
|
+
/** STATUS_ENABLE - 启用 */
|
|
14
|
+
STATUS_ENABLE = 1,
|
|
15
|
+
/** STATUS_DISABLE - 禁用 */
|
|
16
|
+
STATUS_DISABLE = 2,
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/** 定时任务日志状态 */
|
|
20
|
+
export enum BaseJobLogStatus {
|
|
21
|
+
/** BASE_JOB_LOG_STATUS_UNSPECIFIED - 未指定定时任务日志状态 */
|
|
22
|
+
BASE_JOB_LOG_STATUS_UNSPECIFIED = 0,
|
|
23
|
+
/** BASE_JOB_LOG_STATUS_SUCCESS - 成功 */
|
|
24
|
+
BASE_JOB_LOG_STATUS_SUCCESS = 1,
|
|
25
|
+
/** BASE_JOB_LOG_STATUS_FAIL - 失败 */
|
|
26
|
+
BASE_JOB_LOG_STATUS_FAIL = 2,
|
|
17
27
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
import type { Status } from "../../../common/v1/enum";
|
|
9
9
|
import type { Empty } from "../../../google/protobuf/empty";
|
|
10
|
-
import type {
|
|
10
|
+
import type { BaseI18n } from "./base_i18n";
|
|
11
11
|
|
|
12
12
|
/** 字典选项查询条件 */
|
|
13
13
|
export interface OptionBaseDictRequest {
|
|
@@ -102,7 +102,7 @@ export interface BaseDictForm {
|
|
|
102
102
|
/** 字典名称 */
|
|
103
103
|
name: string;
|
|
104
104
|
/** 非主语言翻译 */
|
|
105
|
-
translations:
|
|
105
|
+
translations: BaseI18n[];
|
|
106
106
|
/** 状态 */
|
|
107
107
|
status: Status;
|
|
108
108
|
}
|
|
@@ -128,7 +128,7 @@ export interface BaseDictItemForm {
|
|
|
128
128
|
/** 排序 */
|
|
129
129
|
sort: number;
|
|
130
130
|
/** 非主语言翻译 */
|
|
131
|
-
translations:
|
|
131
|
+
translations: BaseI18n[];
|
|
132
132
|
/** 状态 */
|
|
133
133
|
status: Status;
|
|
134
134
|
}
|
|
@@ -200,7 +200,7 @@ export interface BaseDict {
|
|
|
200
200
|
/** 更新时间 */
|
|
201
201
|
updated_at: string;
|
|
202
202
|
/** 非主语言翻译 */
|
|
203
|
-
translations:
|
|
203
|
+
translations: BaseI18n[];
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
/** 字典项 */
|
|
@@ -224,7 +224,7 @@ export interface BaseDictItem {
|
|
|
224
224
|
/** 更新时间 */
|
|
225
225
|
updated_at: string;
|
|
226
226
|
/** 非主语言翻译 */
|
|
227
|
-
translations:
|
|
227
|
+
translations: BaseI18n[];
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
/** Admin字典服务 */
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// versions:
|
|
3
3
|
// protoc-gen-ts_proto v2.11.8
|
|
4
4
|
// protoc unknown
|
|
5
|
-
// source: system/admin/v1/
|
|
5
|
+
// source: system/admin/v1/base_i18n.proto
|
|
6
6
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
import type { Empty } from "../../../google/protobuf/empty";
|
|
9
9
|
|
|
10
|
-
/** 统一翻译表目标类型,和
|
|
10
|
+
/** 统一翻译表目标类型,和 base_i18n.target_type 的值一一对应。 */
|
|
11
11
|
export enum TranslationTargetType {
|
|
12
12
|
/** TRANSLATION_TARGET_TYPE_UNSPECIFIED - 未指定统一翻译表目标类型。 */
|
|
13
13
|
TRANSLATION_TARGET_TYPE_UNSPECIFIED = 0,
|
|
@@ -60,7 +60,7 @@ export interface UpdateBaseTranslationRequest {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/** 国际化翻译信息 */
|
|
63
|
-
export interface
|
|
63
|
+
export interface BaseI18n {
|
|
64
64
|
/** 翻译记录ID */
|
|
65
65
|
id: number;
|
|
66
66
|
/** 翻译目标类型 */
|
|
@@ -82,7 +82,7 @@ export interface CodeGenLocaleConfig {
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
/** 国际化翻译信息服务。 */
|
|
85
|
-
export interface
|
|
85
|
+
export interface BaseI18nService {
|
|
86
86
|
/** 翻译单个文本。 */
|
|
87
87
|
DraftBaseTranslation(request: DraftBaseTranslationRequest): Promise<DraftBaseTranslationResponse>;
|
|
88
88
|
/** 修改国际化翻译信息 */
|
|
@@ -107,18 +107,21 @@
|
|
|
107
107
|
<div v-loading="behaviorLoading" class="behavior-captcha-body">
|
|
108
108
|
<GoCaptchaSlide
|
|
109
109
|
v-if="currentCaptchaType === 'slide'"
|
|
110
|
+
:key="loginForm.captcha_id"
|
|
110
111
|
:config="slideCaptchaConfig"
|
|
111
112
|
:data="behaviorCaptchaData"
|
|
112
113
|
:events="slideCaptchaEvents"
|
|
113
114
|
/>
|
|
114
115
|
<GoCaptchaClick
|
|
115
116
|
v-else-if="currentCaptchaType === 'click'"
|
|
117
|
+
:key="loginForm.captcha_id"
|
|
116
118
|
:config="clickCaptchaConfig"
|
|
117
119
|
:data="behaviorCaptchaData"
|
|
118
120
|
:events="clickCaptchaEvents"
|
|
119
121
|
/>
|
|
120
122
|
<GoCaptchaRotate
|
|
121
123
|
v-else-if="currentCaptchaType === 'rotate'"
|
|
124
|
+
:key="loginForm.captcha_id"
|
|
122
125
|
:config="rotateCaptchaConfig"
|
|
123
126
|
:data="behaviorCaptchaData"
|
|
124
127
|
:events="rotateCaptchaEvents"
|