@yh-ui/locale 0.1.7 → 0.1.12

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