@yh-ui/locale 0.1.10 → 0.1.15

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/index.cjs CHANGED
@@ -595,6 +595,108 @@ const zhCn = {
595
595
  placeholder: "\u8BF7\u8F93\u5165",
596
596
  loading: "\u52A0\u8F7D\u4E2D...",
597
597
  noData: "\u6682\u65E0\u6570\u636E"
598
+ },
599
+ // AI 组件
600
+ ai: {
601
+ bubble: {
602
+ citations: "\u53C2\u8003\u5F15\u7528"
603
+ },
604
+ mention: {
605
+ placeholder: "@ \u547C\u53EB Agent\u3001\u6587\u6863\u6216\u8868\u683C...",
606
+ agent: "\u667A\u80FD\u4F53",
607
+ document: "\u6587\u6863",
608
+ table: "\u8868\u683C",
609
+ knowledge: "\u77E5\u8BC6\u5E93"
610
+ },
611
+ codeBlock: {
612
+ copyCode: "\u590D\u5236\u4EE3\u7801",
613
+ copied: "\u5DF2\u590D\u5236\uFF01",
614
+ run: "\u8FD0\u884C\u4EE3\u7801"
615
+ },
616
+ sender: {
617
+ placeholder: "\u53D1\u9001\u6D88\u606F..."
618
+ },
619
+ thoughtChain: {
620
+ thoughtProcess: "\u601D\u8003\u8FC7\u7A0B",
621
+ thinking: "\u601D\u8003\u4E2D..."
622
+ },
623
+ thinking: {
624
+ start: "\u5F00\u59CB\u601D\u8003",
625
+ thinking: "\u601D\u8003\u4E2D...",
626
+ complete: "\u5DF2\u5B8C\u6210\u601D\u8003",
627
+ error: "\u601D\u8003\u51FA\u9519\u4E86"
628
+ },
629
+ welcome: {
630
+ title: "\u4F60\u597D\uFF0C\u6211\u662F YH AI",
631
+ description: "\u6211\u53EF\u4EE5\u5E2E\u4F60\u5199\u4EE3\u7801\u3001\u7FFB\u8BD1\u6587\u6863\u6216\u8FDB\u884C\u521B\u610F\u5199\u4F5C\u3002\u4ECA\u5929\u6211\u80FD\u4E3A\u4F60\u505A\u70B9\u4EC0\u4E48\uFF1F"
632
+ },
633
+ action: {
634
+ copy: "\u590D\u5236",
635
+ regenerate: "\u91CD\u65B0\u751F\u6210",
636
+ share: "\u5206\u4EAB",
637
+ like: "\u8D5E\u540C",
638
+ dislike: "\u53CD\u5BF9",
639
+ edit: "\u7F16\u8F91",
640
+ delete: "\u5220\u9664"
641
+ },
642
+ artifacts: {
643
+ preview: "\u9884\u89C8",
644
+ code: "\u6E90\u7801",
645
+ versions: "\u7248\u672C\u5386\u53F2",
646
+ rendering: "\u6B63\u5728\u6E32\u67D3\u7EC4\u4EF6..."
647
+ },
648
+ voice: {
649
+ trigger: "\u70B9\u51FB\u8BF4\u8BDD",
650
+ listening: "\u8046\u542C\u4E2D..."
651
+ },
652
+ // AiAgentCard
653
+ agent: {
654
+ uses: "\u6B21\u8C03\u7528",
655
+ use: "\u7ACB\u5373\u4F7F\u7528",
656
+ favorite: "\u6536\u85CF",
657
+ unfavorite: "\u53D6\u6D88\u6536\u85CF",
658
+ share: "\u5206\u4EAB",
659
+ online: "\u5728\u7EBF",
660
+ offline: "\u79BB\u7EBF",
661
+ busy: "\u5FD9\u788C",
662
+ verified: "\u5B98\u65B9\u8BA4\u8BC1",
663
+ rating: "\u8BC4\u5206",
664
+ reviews: "\u6761\u8BC4\u4EF7",
665
+ responseTime: "\u54CD\u5E94\u65F6\u95F4",
666
+ ms: "ms"
667
+ },
668
+ // AiSources
669
+ sources: {
670
+ references: "\u53C2\u8003\u6765\u6E90",
671
+ referencedSources: "\u5F15\u7528\u6765\u6E90",
672
+ relevant: "\u76F8\u5173\u5EA6",
673
+ viewOriginal: "\u67E5\u770B\u539F\u6587",
674
+ showAll: "\u663E\u793A\u5168\u90E8",
675
+ more: "\u66F4\u591A\u6765\u6E90",
676
+ drawerTitle: "\u53C2\u8003\u6765\u6E90",
677
+ expandMore: "\u5C55\u5F00\u66F4\u591A",
678
+ collapseMore: "\u6536\u8D77",
679
+ noSources: "\u6682\u65E0\u6765\u6E90",
680
+ today: "\u4ECA\u5929",
681
+ last7Days: "\u6700\u8FD1 7 \u5929",
682
+ last30Days: "\u6700\u8FD1 30 \u5929",
683
+ earlier: "\u66F4\u65E9",
684
+ pinned: "\u5DF2\u7F6E\u9876"
685
+ },
686
+ // AiConversations groups
687
+ conversations: {
688
+ today: "\u4ECA\u5929",
689
+ last7Days: "\u6700\u8FD1 7 \u5929",
690
+ last30Days: "\u6700\u8FD1 30 \u5929",
691
+ earlier: "\u66F4\u65E9",
692
+ pinned: "\u7F6E\u9876",
693
+ pin: "\u7F6E\u9876",
694
+ unpin: "\u53D6\u6D88\u7F6E\u9876",
695
+ newConversation: "\u65B0\u5EFA\u5BF9\u8BDD",
696
+ rename: "\u91CD\u547D\u540D",
697
+ delete: "\u5220\u9664",
698
+ deleteConfirm: "\u786E\u8BA4\u5220\u9664\u6B64\u5BF9\u8BDD\uFF1F"
699
+ }
598
700
  }
599
701
  }
600
702
  };
@@ -1194,6 +1296,108 @@ const en = {
1194
1296
  placeholder: "Please input",
1195
1297
  loading: "Loading...",
1196
1298
  noData: "No Data"
1299
+ },
1300
+ // AI Components
1301
+ ai: {
1302
+ bubble: {
1303
+ citations: "Citations"
1304
+ },
1305
+ mention: {
1306
+ placeholder: "@ Mention Agent, Doc or Table...",
1307
+ agent: "Agent",
1308
+ document: "Document",
1309
+ table: "Table",
1310
+ knowledge: "Knowledge"
1311
+ },
1312
+ codeBlock: {
1313
+ copyCode: "Copy code",
1314
+ copied: "Copied!",
1315
+ run: "Run Code"
1316
+ },
1317
+ sender: {
1318
+ placeholder: "Send a message..."
1319
+ },
1320
+ thoughtChain: {
1321
+ thoughtProcess: "Thought process",
1322
+ thinking: "Thinking..."
1323
+ },
1324
+ thinking: {
1325
+ start: "Start thinking",
1326
+ thinking: "Thinking...",
1327
+ complete: "Thinking complete",
1328
+ error: "Thinking error"
1329
+ },
1330
+ welcome: {
1331
+ title: "Hello, I am YH AI",
1332
+ description: "I can help you with coding, translating documents, or creative writing. What can I do for you today?"
1333
+ },
1334
+ action: {
1335
+ copy: "Copy",
1336
+ regenerate: "Regenerate",
1337
+ share: "Share",
1338
+ like: "Like",
1339
+ dislike: "Dislike",
1340
+ edit: "Edit",
1341
+ delete: "Delete"
1342
+ },
1343
+ artifacts: {
1344
+ preview: "Preview",
1345
+ code: "Source",
1346
+ versions: "Versions",
1347
+ rendering: "Rendering component..."
1348
+ },
1349
+ voice: {
1350
+ trigger: "Click to Speak",
1351
+ listening: "Listening..."
1352
+ },
1353
+ // AiAgentCard
1354
+ agent: {
1355
+ uses: "uses",
1356
+ use: "Use Now",
1357
+ favorite: "Favorite",
1358
+ unfavorite: "Unfavorite",
1359
+ share: "Share",
1360
+ online: "Online",
1361
+ offline: "Offline",
1362
+ busy: "Busy",
1363
+ verified: "Verified",
1364
+ rating: "Rating",
1365
+ reviews: "reviews",
1366
+ responseTime: "Avg. Response",
1367
+ ms: "ms"
1368
+ },
1369
+ // AiSources
1370
+ sources: {
1371
+ references: "References",
1372
+ referencedSources: "Referenced Sources",
1373
+ relevant: "Relevance",
1374
+ viewOriginal: "View Original",
1375
+ showAll: "Show All",
1376
+ more: "more sources",
1377
+ drawerTitle: "References",
1378
+ expandMore: "Show More",
1379
+ collapseMore: "Collapse",
1380
+ noSources: "No sources",
1381
+ today: "Today",
1382
+ last7Days: "Last 7 Days",
1383
+ last30Days: "Last 30 Days",
1384
+ earlier: "Earlier",
1385
+ pinned: "Pinned"
1386
+ },
1387
+ // AiConversations groups
1388
+ conversations: {
1389
+ today: "Today",
1390
+ last7Days: "Last 7 Days",
1391
+ last30Days: "Last 30 Days",
1392
+ earlier: "Earlier",
1393
+ pinned: "Pinned",
1394
+ pin: "Pin",
1395
+ unpin: "Unpin",
1396
+ newConversation: "New Conversation",
1397
+ rename: "Rename",
1398
+ delete: "Delete",
1399
+ deleteConfirm: "Confirm delete this conversation?"
1400
+ }
1197
1401
  }
1198
1402
  }
1199
1403
  };
@@ -2380,7 +2584,33 @@ const ja = {
2380
2584
  // Affix
2381
2585
  affix: {},
2382
2586
  // Anchor
2383
- anchor: {}
2587
+ anchor: {},
2588
+ // 提及
2589
+ mention: {
2590
+ placeholder: "\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
2591
+ loading: "\u30ED\u30FC\u30C9\u4E2D...",
2592
+ noData: "\u30C7\u30FC\u30BF\u306A\u3057"
2593
+ },
2594
+ // AI Components
2595
+ ai: {
2596
+ codeBlock: {
2597
+ copyCode: "\u30B3\u30FC\u30C9\u3092\u30B3\u30D4\u30FC",
2598
+ copied: "\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F\uFF01"
2599
+ },
2600
+ sender: {
2601
+ placeholder: "\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u9001\u4FE1..."
2602
+ },
2603
+ thoughtChain: {
2604
+ thoughtProcess: "\u601D\u8003\u30D7\u30ED\u30BB\u30B9",
2605
+ thinking: "\u601D\u8003\u4E2D..."
2606
+ },
2607
+ thinking: {
2608
+ start: "\u601D\u8003\u958B\u59CB",
2609
+ thinking: "\u601D\u8003\u4E2D...",
2610
+ complete: "\u601D\u8003\u5B8C\u4E86",
2611
+ error: "\u601D\u8003\u30A8\u30E9\u30FC"
2612
+ }
2613
+ }
2384
2614
  }
2385
2615
  };
2386
2616
 
@@ -2898,7 +3128,33 @@ const ko = {
2898
3128
  },
2899
3129
  marquee: {},
2900
3130
  affix: {},
2901
- anchor: {}
3131
+ anchor: {},
3132
+ // 提及
3133
+ mention: {
3134
+ placeholder: "\uC785\uB825\uD558\uC138\uC694",
3135
+ loading: "\uB85C\uB529 \uC911...",
3136
+ noData: "\uB370\uC774\uD130 \uC5C6\uC74C"
3137
+ },
3138
+ // AI Components
3139
+ ai: {
3140
+ codeBlock: {
3141
+ copyCode: "\uCF54\uB4DC \uBCF5\uC0AC",
3142
+ copied: "\uBCF5\uC0AC\uB428!"
3143
+ },
3144
+ sender: {
3145
+ placeholder: "\uBA54\uC2DC\uC9C0 \uBCF4\uB0B4\uAE30..."
3146
+ },
3147
+ thoughtChain: {
3148
+ thoughtProcess: "\uC0DD\uAC01 \uACFC\uC815",
3149
+ thinking: "\uC0DD\uAC01 \uC911..."
3150
+ },
3151
+ thinking: {
3152
+ start: "\uC0DD\uAC01 \uC2DC\uC791",
3153
+ thinking: "\uC0DD\uAC01 \uC911...",
3154
+ complete: "\uC0DD\uAC01 \uC644\uB8CC",
3155
+ error: "\uC0DD\uAC01 \uC624\uB958"
3156
+ }
3157
+ }
2902
3158
  }
2903
3159
  };
2904
3160
 
package/dist/index.d.cts CHANGED
@@ -670,6 +670,104 @@ interface Language {
670
670
  loading: string;
671
671
  noData: string;
672
672
  };
673
+ ai: {
674
+ bubble: {
675
+ citations: string;
676
+ };
677
+ mention: {
678
+ placeholder: string;
679
+ agent: string;
680
+ document: string;
681
+ table: string;
682
+ knowledge: string;
683
+ };
684
+ codeBlock: {
685
+ copyCode: string;
686
+ copied: string;
687
+ run: string;
688
+ };
689
+ sender: {
690
+ placeholder: string;
691
+ };
692
+ thoughtChain: {
693
+ thoughtProcess: string;
694
+ thinking: string;
695
+ };
696
+ thinking: {
697
+ start: string;
698
+ thinking: string;
699
+ complete: string;
700
+ error: string;
701
+ };
702
+ welcome: {
703
+ title: string;
704
+ description: string;
705
+ };
706
+ action: {
707
+ copy: string;
708
+ regenerate: string;
709
+ share: string;
710
+ like: string;
711
+ dislike: string;
712
+ edit: string;
713
+ delete: string;
714
+ };
715
+ artifacts: {
716
+ preview: string;
717
+ code: string;
718
+ versions: string;
719
+ rendering: string;
720
+ };
721
+ voice: {
722
+ trigger: string;
723
+ listening: string;
724
+ };
725
+ agent: {
726
+ uses: string;
727
+ use: string;
728
+ favorite: string;
729
+ unfavorite: string;
730
+ share: string;
731
+ online: string;
732
+ offline: string;
733
+ busy: string;
734
+ verified: string;
735
+ rating: string;
736
+ reviews: string;
737
+ responseTime: string;
738
+ ms: string;
739
+ };
740
+ sources: {
741
+ references: string;
742
+ referencedSources: string;
743
+ relevant: string;
744
+ viewOriginal: string;
745
+ showAll: string;
746
+ more: string;
747
+ drawerTitle: string;
748
+ expandMore: string;
749
+ collapseMore: string;
750
+ noSources: string;
751
+ today: string;
752
+ last7Days: string;
753
+ last30Days: string;
754
+ earlier: string;
755
+ pinned: string;
756
+ };
757
+ conversations: {
758
+ today: string;
759
+ last7Days: string;
760
+ last30Days: string;
761
+ earlier: string;
762
+ pinned: string;
763
+ pin: string;
764
+ unpin: string;
765
+ newConversation: string;
766
+ rename: string;
767
+ delete: string;
768
+ deleteConfirm: string;
769
+ };
770
+ };
673
771
  };
674
772
  }
675
773
 
package/dist/index.d.mts CHANGED
@@ -670,6 +670,104 @@ interface Language {
670
670
  loading: string;
671
671
  noData: string;
672
672
  };
673
+ ai: {
674
+ bubble: {
675
+ citations: string;
676
+ };
677
+ mention: {
678
+ placeholder: string;
679
+ agent: string;
680
+ document: string;
681
+ table: string;
682
+ knowledge: string;
683
+ };
684
+ codeBlock: {
685
+ copyCode: string;
686
+ copied: string;
687
+ run: string;
688
+ };
689
+ sender: {
690
+ placeholder: string;
691
+ };
692
+ thoughtChain: {
693
+ thoughtProcess: string;
694
+ thinking: string;
695
+ };
696
+ thinking: {
697
+ start: string;
698
+ thinking: string;
699
+ complete: string;
700
+ error: string;
701
+ };
702
+ welcome: {
703
+ title: string;
704
+ description: string;
705
+ };
706
+ action: {
707
+ copy: string;
708
+ regenerate: string;
709
+ share: string;
710
+ like: string;
711
+ dislike: string;
712
+ edit: string;
713
+ delete: string;
714
+ };
715
+ artifacts: {
716
+ preview: string;
717
+ code: string;
718
+ versions: string;
719
+ rendering: string;
720
+ };
721
+ voice: {
722
+ trigger: string;
723
+ listening: string;
724
+ };
725
+ agent: {
726
+ uses: string;
727
+ use: string;
728
+ favorite: string;
729
+ unfavorite: string;
730
+ share: string;
731
+ online: string;
732
+ offline: string;
733
+ busy: string;
734
+ verified: string;
735
+ rating: string;
736
+ reviews: string;
737
+ responseTime: string;
738
+ ms: string;
739
+ };
740
+ sources: {
741
+ references: string;
742
+ referencedSources: string;
743
+ relevant: string;
744
+ viewOriginal: string;
745
+ showAll: string;
746
+ more: string;
747
+ drawerTitle: string;
748
+ expandMore: string;
749
+ collapseMore: string;
750
+ noSources: string;
751
+ today: string;
752
+ last7Days: string;
753
+ last30Days: string;
754
+ earlier: string;
755
+ pinned: string;
756
+ };
757
+ conversations: {
758
+ today: string;
759
+ last7Days: string;
760
+ last30Days: string;
761
+ earlier: string;
762
+ pinned: string;
763
+ pin: string;
764
+ unpin: string;
765
+ newConversation: string;
766
+ rename: string;
767
+ delete: string;
768
+ deleteConfirm: string;
769
+ };
770
+ };
673
771
  };
674
772
  }
675
773
 
package/dist/index.d.ts CHANGED
@@ -670,6 +670,104 @@ interface Language {
670
670
  loading: string;
671
671
  noData: string;
672
672
  };
673
+ ai: {
674
+ bubble: {
675
+ citations: string;
676
+ };
677
+ mention: {
678
+ placeholder: string;
679
+ agent: string;
680
+ document: string;
681
+ table: string;
682
+ knowledge: string;
683
+ };
684
+ codeBlock: {
685
+ copyCode: string;
686
+ copied: string;
687
+ run: string;
688
+ };
689
+ sender: {
690
+ placeholder: string;
691
+ };
692
+ thoughtChain: {
693
+ thoughtProcess: string;
694
+ thinking: string;
695
+ };
696
+ thinking: {
697
+ start: string;
698
+ thinking: string;
699
+ complete: string;
700
+ error: string;
701
+ };
702
+ welcome: {
703
+ title: string;
704
+ description: string;
705
+ };
706
+ action: {
707
+ copy: string;
708
+ regenerate: string;
709
+ share: string;
710
+ like: string;
711
+ dislike: string;
712
+ edit: string;
713
+ delete: string;
714
+ };
715
+ artifacts: {
716
+ preview: string;
717
+ code: string;
718
+ versions: string;
719
+ rendering: string;
720
+ };
721
+ voice: {
722
+ trigger: string;
723
+ listening: string;
724
+ };
725
+ agent: {
726
+ uses: string;
727
+ use: string;
728
+ favorite: string;
729
+ unfavorite: string;
730
+ share: string;
731
+ online: string;
732
+ offline: string;
733
+ busy: string;
734
+ verified: string;
735
+ rating: string;
736
+ reviews: string;
737
+ responseTime: string;
738
+ ms: string;
739
+ };
740
+ sources: {
741
+ references: string;
742
+ referencedSources: string;
743
+ relevant: string;
744
+ viewOriginal: string;
745
+ showAll: string;
746
+ more: string;
747
+ drawerTitle: string;
748
+ expandMore: string;
749
+ collapseMore: string;
750
+ noSources: string;
751
+ today: string;
752
+ last7Days: string;
753
+ last30Days: string;
754
+ earlier: string;
755
+ pinned: string;
756
+ };
757
+ conversations: {
758
+ today: string;
759
+ last7Days: string;
760
+ last30Days: string;
761
+ earlier: string;
762
+ pinned: string;
763
+ pin: string;
764
+ unpin: string;
765
+ newConversation: string;
766
+ rename: string;
767
+ delete: string;
768
+ deleteConfirm: string;
769
+ };
770
+ };
673
771
  };
674
772
  }
675
773