feat(i18n): update chat localization strings to enhance user experience and clarity (#424)
This commit is contained in:
@@ -3,11 +3,12 @@
|
||||
"gatewayRequired": "The OpenClaw Gateway needs to be running to use chat. It will start automatically, or you can start it from Settings.",
|
||||
"welcome": {
|
||||
"title": "ClawX Chat",
|
||||
"subtitle": "Your AI assistant is ready. Start a conversation below.",
|
||||
"askQuestions": "Ask Questions",
|
||||
"askQuestionsDesc": "Get answers on any topic",
|
||||
"creativeTasks": "Creative Tasks",
|
||||
"creativeTasksDesc": "Writing, brainstorming, ideas"
|
||||
"subtitle": "What can I do for you?",
|
||||
"askQuestions": "Handle Tasks",
|
||||
"askQuestionsDesc": "Work on task-oriented requests",
|
||||
"creativeTasks": "Continuous Execution",
|
||||
"creativeTasksDesc": "Keep running through multi-step work",
|
||||
"brainstorming": "Multi-Agent Parallel"
|
||||
},
|
||||
"noLogs": "(No logs available yet)",
|
||||
"toolbar": {
|
||||
|
||||
@@ -3,11 +3,12 @@
|
||||
"gatewayRequired": "チャットを使用するには OpenClaw ゲートウェイが実行されている必要があります。自動的に起動するか、設定から起動できます。",
|
||||
"welcome": {
|
||||
"title": "ClawX チャット",
|
||||
"subtitle": "AI アシスタントの準備ができました。下の入力欄から会話を始めましょう。",
|
||||
"askQuestions": "質問する",
|
||||
"askQuestionsDesc": "あらゆるトピックについて回答を得る",
|
||||
"creativeTasks": "クリエイティブタスク",
|
||||
"creativeTasksDesc": "ライティング、ブレスト、アイデア"
|
||||
"subtitle": "何をお手伝いできますか?",
|
||||
"askQuestions": "タスク処理",
|
||||
"askQuestionsDesc": "タスク指向の依頼に対応します",
|
||||
"creativeTasks": "継続実行",
|
||||
"creativeTasksDesc": "複数ステップの作業を継続して進めます",
|
||||
"brainstorming": "マルチエージェント並列"
|
||||
},
|
||||
"noLogs": "(ログはまだありません)",
|
||||
"toolbar": {
|
||||
|
||||
@@ -3,11 +3,12 @@
|
||||
"gatewayRequired": "OpenClaw 网关需要运行才能使用聊天。它将自动启动,或者您可以从设置中启动。",
|
||||
"welcome": {
|
||||
"title": "ClawX 聊天",
|
||||
"subtitle": "您的 AI 助手已就绪。在下方开始对话。",
|
||||
"askQuestions": "提问",
|
||||
"askQuestionsDesc": "获取任何话题的答案",
|
||||
"creativeTasks": "创意任务",
|
||||
"creativeTasksDesc": "写作、头脑风暴、创意"
|
||||
"subtitle": "我能为你做些什么?",
|
||||
"askQuestions": "处理任务",
|
||||
"askQuestionsDesc": "处理面向任务的请求",
|
||||
"creativeTasks": "持续执行",
|
||||
"creativeTasksDesc": "持续推进多步骤工作",
|
||||
"brainstorming": "多智能体并行"
|
||||
},
|
||||
"noLogs": "(暂无日志)",
|
||||
"toolbar": {
|
||||
|
||||
@@ -188,19 +188,23 @@ export function Chat() {
|
||||
// ── Welcome Screen ──────────────────────────────────────────────
|
||||
|
||||
function WelcomeScreen() {
|
||||
const { t } = useTranslation('chat');
|
||||
const quickActions = [
|
||||
{ key: 'askQuestions', label: t('welcome.askQuestions') },
|
||||
{ key: 'creativeTasks', label: t('welcome.creativeTasks') },
|
||||
{ key: 'brainstorming', label: t('welcome.brainstorming') },
|
||||
];
|
||||
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center text-center h-[60vh]">
|
||||
<h1 className="text-6xl md:text-7xl font-serif text-foreground mb-3 font-normal tracking-tight" style={{ fontFamily: 'Georgia, Cambria, "Times New Roman", Times, serif' }}>
|
||||
Welcome
|
||||
<h1 className="text-4xl md:text-5xl font-serif text-foreground/80 mb-8 font-normal tracking-tight" style={{ fontFamily: 'Georgia, Cambria, "Times New Roman", Times, serif' }}>
|
||||
{t('welcome.subtitle')}
|
||||
</h1>
|
||||
<p className="text-[17px] text-foreground/80 mb-8 font-medium">
|
||||
Your AI assistant is ready. Start a conversation below.
|
||||
</p>
|
||||
|
||||
<div className="flex flex-wrap items-center justify-center gap-2.5 max-w-lg w-full">
|
||||
{['Ask Questions', 'Creative Tasks', 'Brainstorming'].map((label, i) => (
|
||||
{quickActions.map(({ key, label }) => (
|
||||
<button
|
||||
key={i}
|
||||
key={key}
|
||||
className="px-4 py-1.5 rounded-full border border-black/10 dark:border-white/10 text-[13px] font-medium text-foreground/70 hover:bg-black/5 dark:hover:bg-white/5 transition-colors bg-black/[0.02]"
|
||||
>
|
||||
{label}
|
||||
|
||||
Reference in New Issue
Block a user