mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-20 23:22:05 +08:00
fix(i18n): add input placeholder translations for multiple languages (#11320)
feat(i18n): add input placeholder translations for multiple languages - Introduced a new placeholder for the input field in various language files, providing guidance on message entry and command selection. - Updated English, Chinese (Simplified and Traditional), German, Greek, Spanish, French, Japanese, Portuguese, and Russian translations to include the new input placeholder text. - Adjusted the reference in the AgentSessionInputbar component to use the new translation key for consistency.
This commit is contained in:
parent
31eec403f7
commit
139950e193
@ -27,6 +27,9 @@
|
|||||||
"null_id": "Agent ID is null."
|
"null_id": "Agent ID is null."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"input": {
|
||||||
|
"placeholder": "Enter your message here, send with {{key}} - @ select path, / select command"
|
||||||
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"error": {
|
"error": {
|
||||||
"failed": "Failed to list agents."
|
"failed": "Failed to list agents."
|
||||||
|
|||||||
@ -27,6 +27,9 @@
|
|||||||
"null_id": "智能体 ID 为空。"
|
"null_id": "智能体 ID 为空。"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"input": {
|
||||||
|
"placeholder": "在这里输入消息,按 {{key}} 发送 - @ 选择路径, / 选择命令"
|
||||||
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"error": {
|
"error": {
|
||||||
"failed": "获取智能体列表失败"
|
"failed": "获取智能体列表失败"
|
||||||
|
|||||||
@ -27,6 +27,9 @@
|
|||||||
"null_id": "代理程式 ID 為空。"
|
"null_id": "代理程式 ID 為空。"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"input": {
|
||||||
|
"placeholder": "[to be translated]:Enter your message here, send with {{key}} - @ select path, / select command"
|
||||||
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"error": {
|
"error": {
|
||||||
"failed": "無法列出代理程式。"
|
"failed": "無法列出代理程式。"
|
||||||
|
|||||||
@ -27,6 +27,9 @@
|
|||||||
"null_id": "Agent ID ist leer."
|
"null_id": "Agent ID ist leer."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"input": {
|
||||||
|
"placeholder": "[to be translated]:Enter your message here, send with {{key}} - @ select path, / select command"
|
||||||
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"error": {
|
"error": {
|
||||||
"failed": "Agent-Liste abrufen fehlgeschlagen"
|
"failed": "Agent-Liste abrufen fehlgeschlagen"
|
||||||
|
|||||||
@ -27,6 +27,9 @@
|
|||||||
"null_id": "Το ID του πράκτορα είναι null."
|
"null_id": "Το ID του πράκτορα είναι null."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"input": {
|
||||||
|
"placeholder": "[to be translated]:Enter your message here, send with {{key}} - @ select path, / select command"
|
||||||
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"error": {
|
"error": {
|
||||||
"failed": "Αποτυχία καταχώρησης πρακτόρων."
|
"failed": "Αποτυχία καταχώρησης πρακτόρων."
|
||||||
|
|||||||
@ -27,6 +27,9 @@
|
|||||||
"null_id": "El ID del agente es nulo."
|
"null_id": "El ID del agente es nulo."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"input": {
|
||||||
|
"placeholder": "[to be translated]:Enter your message here, send with {{key}} - @ select path, / select command"
|
||||||
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"error": {
|
"error": {
|
||||||
"failed": "Error al listar agentes."
|
"failed": "Error al listar agentes."
|
||||||
|
|||||||
@ -27,6 +27,9 @@
|
|||||||
"null_id": "L'ID de l'agent est nul."
|
"null_id": "L'ID de l'agent est nul."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"input": {
|
||||||
|
"placeholder": "[to be translated]:Enter your message here, send with {{key}} - @ select path, / select command"
|
||||||
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"error": {
|
"error": {
|
||||||
"failed": "Échec de la liste des agents."
|
"failed": "Échec de la liste des agents."
|
||||||
|
|||||||
@ -27,6 +27,9 @@
|
|||||||
"null_id": "エージェント ID が null です。"
|
"null_id": "エージェント ID が null です。"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"input": {
|
||||||
|
"placeholder": "[to be translated]:Enter your message here, send with {{key}} - @ select path, / select command"
|
||||||
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"error": {
|
"error": {
|
||||||
"failed": "エージェントの一覧取得に失敗しました。"
|
"failed": "エージェントの一覧取得に失敗しました。"
|
||||||
|
|||||||
@ -27,6 +27,9 @@
|
|||||||
"null_id": "O ID do agente é nulo."
|
"null_id": "O ID do agente é nulo."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"input": {
|
||||||
|
"placeholder": "[to be translated]:Enter your message here, send with {{key}} - @ select path, / select command"
|
||||||
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"error": {
|
"error": {
|
||||||
"failed": "Falha ao listar agentes."
|
"failed": "Falha ao listar agentes."
|
||||||
|
|||||||
@ -27,6 +27,9 @@
|
|||||||
"null_id": "ID агента равен null."
|
"null_id": "ID агента равен null."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"input": {
|
||||||
|
"placeholder": "[to be translated]:Enter your message here, send with {{key}} - @ select path, / select command"
|
||||||
|
},
|
||||||
"list": {
|
"list": {
|
||||||
"error": {
|
"error": {
|
||||||
"failed": "Не удалось получить список агентов."
|
"failed": "Не удалось получить список агентов."
|
||||||
|
|||||||
@ -470,7 +470,7 @@ const AgentSessionInputbarInner: FC<InnerProps> = ({ assistant, agentId, session
|
|||||||
)
|
)
|
||||||
const placeholderText = useMemo(
|
const placeholderText = useMemo(
|
||||||
() =>
|
() =>
|
||||||
t('chat.input.placeholder', {
|
t('agent.input.placeholder', {
|
||||||
key: getSendMessageShortcutLabel(sendMessageShortcut)
|
key: getSendMessageShortcutLabel(sendMessageShortcut)
|
||||||
}),
|
}),
|
||||||
[sendMessageShortcut, t]
|
[sendMessageShortcut, t]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user