fix: comprehensive i18n — replace hardcoded French/English strings with t() calls
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 1m7s
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 1m7s
Replaced ~100+ hardcoded French and English text strings across 30+ components with proper i18n t() calls. Added 57 new translation keys to all 15 locale files (ar, de, en, es, fa, fr, hi, it, ja, ko, nl, pl, pt, ru, zh). Key changes: - contextual-ai-chat.tsx: 30 French strings → t() (actions, toasts, labels, placeholders) - ai-chat.tsx: 15 French/English strings → t() (header, tabs, welcome, insights, history) - note-inline-editor.tsx: 20 French fallbacks removed (toolbar, save status, checklist) - lab-skeleton.tsx: French loading text → t() - admin-header.tsx, header.tsx, editor-connections-section.tsx: French fallbacks removed - New AI chat component, agent cards, sidebar, settings panel i18n cleanup Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -81,7 +81,30 @@
|
||||
"noModels": "モデルなし。↺ をクリック",
|
||||
"modelsAvailable": "{count} 件のモデルが利用可能",
|
||||
"enterUrlToLoad": "URLを入力して↺をクリック",
|
||||
"currentProvider": "(現在: {provider})"
|
||||
"currentProvider": "(現在: {provider})",
|
||||
"pageTitle": "AI管理",
|
||||
"pageDescription": "AI機能の監視と設定",
|
||||
"configure": "設定",
|
||||
"features": "AI機能",
|
||||
"providerStatus": "AIプロバイダーステータス",
|
||||
"recentRequests": "最近のAIリクエスト",
|
||||
"comingSoon": "近日公開",
|
||||
"activeFeatures": "アクティブな機能",
|
||||
"successRate": "成功率",
|
||||
"avgResponseTime": "平均応答時間",
|
||||
"configuredProviders": "設定済みプロバイダー",
|
||||
"settingUpdated": "設定を更新しました",
|
||||
"updateFailedShort": "更新に失敗しました",
|
||||
"titleSuggestions": "タイトル候補",
|
||||
"titleSuggestionsDesc": "50語以上のノートにタイトルを提案",
|
||||
"aiAssistant": "AIアシスタント",
|
||||
"aiAssistantDesc": "AIチャットとテキスト改善ツールを有効化",
|
||||
"memoryEchoFeature": "気づいたこと...",
|
||||
"memoryEchoFeatureDesc": "ノート間のつながりの毎日分析",
|
||||
"languageDetection": "言語検出",
|
||||
"languageDetectionDesc": "各ノートの言語を自動検出",
|
||||
"autoLabeling": "自動ラベリング",
|
||||
"autoLabelingDesc": "ラベルを自動で提案・適用"
|
||||
},
|
||||
"aiTest": {
|
||||
"description": "タグ生成とセマンティック検索埋め込みのAIプロバイダーをテストします",
|
||||
@@ -195,7 +218,9 @@
|
||||
"email": "メール",
|
||||
"name": "名前",
|
||||
"role": "役割"
|
||||
}
|
||||
},
|
||||
"title": "ユーザー",
|
||||
"description": "ユーザーと権限を管理"
|
||||
},
|
||||
"chat": "AIチャット",
|
||||
"lab": "ラボ",
|
||||
@@ -231,7 +256,18 @@
|
||||
"testing": "テスト中...",
|
||||
"testSearch": "ウェブ検索をテスト"
|
||||
},
|
||||
"settingsDescription": "アプリケーション設定を構成"
|
||||
"settingsDescription": "アプリケーション設定を構成",
|
||||
"dashboard": {
|
||||
"title": "ダッシュボード",
|
||||
"description": "アプリケーション指標の概要",
|
||||
"recentActivity": "最近のアクティビティ",
|
||||
"recentActivityPlaceholder": "最近のアクティビティがここに表示されます。"
|
||||
},
|
||||
"error": {
|
||||
"title": "管理パネルでエラーが発生しました",
|
||||
"description": "ページの表示に失敗しました。再試行できます。",
|
||||
"retry": "再試行"
|
||||
}
|
||||
},
|
||||
"ai": {
|
||||
"analyzing": "AI分析中...",
|
||||
@@ -322,7 +358,57 @@
|
||||
"translationFailed": "翻訳に失敗しました",
|
||||
"undo": "AIを取り消し",
|
||||
"undoAI": "AI変換を取り消し",
|
||||
"undoApplied": "元のテキストに戻しました"
|
||||
"undoApplied": "元のテキストに戻しました",
|
||||
"minWordsError": "AIアクションを使用するには、ノートに5語以上が必要です。",
|
||||
"genericError": "AIエラー",
|
||||
"actionError": "AIアクション中にエラー",
|
||||
"appliedToNote": "ノートに適用しました",
|
||||
"applyToNote": "ノートに適用",
|
||||
"undoLastAction": "最後のAIアクションを元に戻す",
|
||||
"selectContext": "コンテキストを選択...",
|
||||
"selectNotebook": "ノートブックを選択",
|
||||
"chatPlaceholder": "AIに編集、要約、または下書きを依頼...",
|
||||
"assistantTitle": "AIアシスタント",
|
||||
"currentNote": "現在のノート",
|
||||
"shrinkPanel": "パネルを縮小",
|
||||
"expandPanel": "パネルを展開",
|
||||
"chatTab": "チャット",
|
||||
"noteActions": "ノートアクション",
|
||||
"askToStart": "アシスタントに質問して始めましょう。",
|
||||
"contextLabel": "コンテキスト",
|
||||
"thisNote": "このノート",
|
||||
"allMyNotes": "すべてのノート",
|
||||
"notebookGeneric": "ノートブック",
|
||||
"writingTone": "文章のトーン",
|
||||
"askAboutThisNote": "このノートについてAIに質問...",
|
||||
"askAboutYourNotes": "ノートについてAIに質問...",
|
||||
"webSearchLabel": "ウェブ検索",
|
||||
"newLineHint": "Shift+Enter = 改行",
|
||||
"resultLabel": "結果",
|
||||
"discardAction": "破棄",
|
||||
"transformationsDesc": "変換 — ノートに直接適用",
|
||||
"writeMinWordsAction": "AIアクションを有効にするには5語以上書いてください。",
|
||||
"processingAction": "処理中...",
|
||||
"action": {
|
||||
"clarify": "明確化",
|
||||
"shorten": "短縮",
|
||||
"improve": "改善",
|
||||
"toMarkdown": "Markdownに"
|
||||
},
|
||||
"openAssistant": "AIアシスタントを開く",
|
||||
"poweredByMomento": "Momento AI搭載",
|
||||
"welcomeMsg": "こんにちは!AIアシスタントです。ノートについて何かお手伝いできますか?トーンの調整、メッセージの展開、要約などが可能です。",
|
||||
"summaryLast5": "最近の5ノートの要約",
|
||||
"analyzingProgress": "分析中...",
|
||||
"generateInsightsBtn": "インサイトを生成",
|
||||
"newDiscussion": "新しい会話",
|
||||
"noRecentConversations": "最近の会話はありません。",
|
||||
"discussionContextLabel": "会話コンテキスト",
|
||||
"webSearchNotConfigured": "ウェブ検索(未設定)",
|
||||
"historyTab": "履歴",
|
||||
"insightsTab": "インサイト",
|
||||
"aiCopilot": "AIコパイロット",
|
||||
"suggestTitle": "AIタイトル提案"
|
||||
},
|
||||
"aiSettings": {
|
||||
"description": "AI機能と設定を構成",
|
||||
@@ -907,7 +993,12 @@
|
||||
"viewModeGroup": "ノートの表示モード",
|
||||
"reorderTabs": "タブを並べ替え",
|
||||
"modified": "更新日時",
|
||||
"created": "作成日時"
|
||||
"created": "作成日時",
|
||||
"loading": "読み込み中...",
|
||||
"exportPDF": "PDFエクスポート",
|
||||
"savedStatus": "保存済み",
|
||||
"dirtyStatus": "変更済み",
|
||||
"completedLabel": "完了"
|
||||
},
|
||||
"pagination": {
|
||||
"next": "→",
|
||||
@@ -999,7 +1090,8 @@
|
||||
"searchPlaceholder": "ノートを検索...",
|
||||
"searching": "検索中...",
|
||||
"semanticInProgress": "AI検索中...",
|
||||
"semanticTooltip": "AIセマンティック検索"
|
||||
"semanticTooltip": "AIセマンティック検索",
|
||||
"disabledAdmin": "管理者モードで検索は無効"
|
||||
},
|
||||
"semanticSearch": {
|
||||
"exactMatch": "完全一致",
|
||||
@@ -1440,5 +1532,9 @@
|
||||
"markUndone": "未完了にする",
|
||||
"todayAt": "今日 {time}",
|
||||
"tomorrowAt": "明日 {time}"
|
||||
},
|
||||
"lab": {
|
||||
"initializing": "ワークスペースを初期化中",
|
||||
"loadingIdeas": "アイデアを読み込み中..."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user