mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-03 01:50:23 +08:00
i18n: localize stop button aria-label with chat.stopGeneration key across dictionaries
This commit is contained in:
@@ -563,7 +563,7 @@ export const ChatInput = forwardRef<ChatInputRef, ChatInputProps>(
|
|||||||
size="sm"
|
size="sm"
|
||||||
variant="destructive"
|
variant="destructive"
|
||||||
className="h-8 w-8 p-0 rounded-xl shadow-sm"
|
className="h-8 w-8 p-0 rounded-xl shadow-sm"
|
||||||
aria-label="Stop generation"
|
aria-label={dict.chat.stopGeneration}
|
||||||
>
|
>
|
||||||
<Square className="h-4 w-4" />
|
<Square className="h-4 w-4" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
"chat": {
|
"chat": {
|
||||||
"placeholder": "Describe your diagram or upload a file...",
|
"placeholder": "Describe your diagram or upload a file...",
|
||||||
"send": "Send",
|
"send": "Send",
|
||||||
|
"stopGeneration": "Stop generation",
|
||||||
"sending": "Sending...",
|
"sending": "Sending...",
|
||||||
"sendMessage": "Send message",
|
"sendMessage": "Send message",
|
||||||
"clearConversation": "Clear conversation",
|
"clearConversation": "Clear conversation",
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
"chat": {
|
"chat": {
|
||||||
"placeholder": "ダイアグラムを説明するか、ファイルをアップロード...",
|
"placeholder": "ダイアグラムを説明するか、ファイルをアップロード...",
|
||||||
"send": "送信",
|
"send": "送信",
|
||||||
|
"stopGeneration": "生成を停止",
|
||||||
"sending": "送信中...",
|
"sending": "送信中...",
|
||||||
"sendMessage": "メッセージを送信",
|
"sendMessage": "メッセージを送信",
|
||||||
"clearConversation": "会話をクリア",
|
"clearConversation": "会話をクリア",
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
"chat": {
|
"chat": {
|
||||||
"placeholder": "描述您的圖表或上傳檔案...",
|
"placeholder": "描述您的圖表或上傳檔案...",
|
||||||
"send": "傳送",
|
"send": "傳送",
|
||||||
|
"stopGeneration": "停止產生",
|
||||||
"sending": "傳送中...",
|
"sending": "傳送中...",
|
||||||
"sendMessage": "傳送訊息",
|
"sendMessage": "傳送訊息",
|
||||||
"clearConversation": "清除對話",
|
"clearConversation": "清除對話",
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
"chat": {
|
"chat": {
|
||||||
"placeholder": "描述您的图表或上传文件...",
|
"placeholder": "描述您的图表或上传文件...",
|
||||||
"send": "发送",
|
"send": "发送",
|
||||||
|
"stopGeneration": "停止生成",
|
||||||
"sending": "发送中...",
|
"sending": "发送中...",
|
||||||
"sendMessage": "发送消息",
|
"sendMessage": "发送消息",
|
||||||
"clearConversation": "清除对话",
|
"clearConversation": "清除对话",
|
||||||
|
|||||||
Reference in New Issue
Block a user