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