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

View File

@@ -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>

View File

@@ -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",

View File

@@ -34,6 +34,7 @@
"chat": { "chat": {
"placeholder": "ダイアグラムを説明するか、ファイルをアップロード...", "placeholder": "ダイアグラムを説明するか、ファイルをアップロード...",
"send": "送信", "send": "送信",
"stopGeneration": "生成を停止",
"sending": "送信中...", "sending": "送信中...",
"sendMessage": "メッセージを送信", "sendMessage": "メッセージを送信",
"clearConversation": "会話をクリア", "clearConversation": "会話をクリア",

View File

@@ -34,6 +34,7 @@
"chat": { "chat": {
"placeholder": "描述您的圖表或上傳檔案...", "placeholder": "描述您的圖表或上傳檔案...",
"send": "傳送", "send": "傳送",
"stopGeneration": "停止產生",
"sending": "傳送中...", "sending": "傳送中...",
"sendMessage": "傳送訊息", "sendMessage": "傳送訊息",
"clearConversation": "清除對話", "clearConversation": "清除對話",

View File

@@ -34,6 +34,7 @@
"chat": { "chat": {
"placeholder": "描述您的图表或上传文件...", "placeholder": "描述您的图表或上传文件...",
"send": "发送", "send": "发送",
"stopGeneration": "停止生成",
"sending": "发送中...", "sending": "发送中...",
"sendMessage": "发送消息", "sendMessage": "发送消息",
"clearConversation": "清除对话", "clearConversation": "清除对话",