i18n: localize stop button aria-label with chat.stopGeneration key across dictionaries

This commit is contained in:
Biki Kalita
2026-01-29 19:10:25 +05:30
parent f8a0ebd149
commit f2c8fea58d
5 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -563,7 +563,7 @@ export const ChatInput = forwardRef<ChatInputRef, ChatInputProps>(
size="sm"
variant="destructive"
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" />
</Button>
+1
View File
@@ -34,6 +34,7 @@
"chat": {
"placeholder": "Describe your diagram or upload a file...",
"send": "Send",
"stopGeneration": "Stop generation",
"sending": "Sending...",
"sendMessage": "Send message",
"clearConversation": "Clear conversation",
+1
View File
@@ -34,6 +34,7 @@
"chat": {
"placeholder": "ダイアグラムを説明するか、ファイルをアップロード...",
"send": "送信",
"stopGeneration": "生成を停止",
"sending": "送信中...",
"sendMessage": "メッセージを送信",
"clearConversation": "会話をクリア",
+1
View File
@@ -34,6 +34,7 @@
"chat": {
"placeholder": "描述您的圖表或上傳檔案...",
"send": "傳送",
"stopGeneration": "停止產生",
"sending": "傳送中...",
"sendMessage": "傳送訊息",
"clearConversation": "清除對話",
+1
View File
@@ -34,6 +34,7 @@
"chat": {
"placeholder": "描述您的图表或上传文件...",
"send": "发送",
"stopGeneration": "停止生成",
"sending": "发送中...",
"sendMessage": "发送消息",
"clearConversation": "清除对话",