The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(i18n): use natural Japanese copy for Memory v2
tjm8874673e33a87f09
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 71272ebc1c..1b766fc904 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -339,4 +339,50 @@ If you are contributing through a coding agent or remote environment, include th- Keep logs grep-friendly and avoid logging secrets, tokens, or full PII.- Follow ESLint, Prettier, and Rust formatting output as authoritative.+### UI translations++All locales use the same workflow. Use `useT()` for UI text and treat+`app/src/lib/i18n/en.ts` as the key source. Preserve existing good translations,+translate new or changed English meanings, and remove keys retired from English.+`scripts/apply-i18n-translations.ts` applies translation JSON files, retains+existing values, removes obsolete keys, and writes keys in English order. Supply+real translations for new strings; its English fallback is not a finished translation.+Run `pnpm i18n:check`, `pnpm i18n:english:check`, the i18n coverage test, and Prettier.+Preserve interpolation placeholders exactly, including repeated placeholders and+double braces. Keep product names, paths, commands, and technical identifiers intact.++#### Japanese UI copy++Review text where it appears: a button, setting label, status, empty state, or+confirmation dialog. Prefer short action labels and plain, polite sentences.+Remove roundabout wording, not information: keep conditions, units, upload+destinations, consent requirements, and deletion scope. Errors should describe+what happened without guessing a cause. For example, keep "no answer" distinct+from "no data" or a connection failure.++| Context | Prefer | Avoid |+| --- | --- | --- |+| Save button | 保存 | 変更内容の保存を実行 |+| Saved status | 保存しました | 正常に保存されました |+| Available action | 変更できます | 変更することができます |+| Delete a stored memory item | メモリーから削除 | 忘れる |++Use these terms consistently on the Memory screens. Translate by meaning rather+than substituting words mechanically; source connections and answer citations are+different concepts.++| Concept | Japanese |+| --- | --- |+| Memory / memory engine | メモリー / メモリーエンジン |+| Learning / preference | 学習内容 / 好み |+| Source to sync / answer citation | ソース / 出典 |+| Context brief | コンテキスト要約; 要約 when the context is clear |+| Sync / import | 同期 / インポート |+| Endpoint URL / API key | 接続先URL / APIキー |+| Conversation / thread / turn | 会話 / スレッド / ターン |++Keep backend count units such as ターン; do not reinterpret them as messages or+conversations. This is contributor writing guidance, not a separate Japanese key+matcher, fallback, or validation rule.+Thank you for contributing to OpenHuman.diff --git a/app/src/lib/i18n/ja.ts b/app/src/lib/i18n/ja.tsindex 6e177b7420..9940bd9318 100644--- a/app/src/lib/i18n/ja.ts+++ b/app/src/lib/i18n/ja.ts@@ -5203,20 +5203,19 @@ const ja: TranslationMap = {'memoryPage.tabs.conversations': '会話','memoryPage.tabs.documents': 'ドキュメント','memoryPage.tabs.context': 'コンテキスト',- 'memoryPage.header.engine':- 'メモリーを保存し、その内容についての質問に答えるエンジンを選択します。',- 'memoryPage.header.ask': 'メモリーに質問し、回答の出典を確認できます。',- 'memoryPage.header.learnings': 'エージェントに常に覚えておいてほしい事実、好み、手順です。',+ 'memoryPage.header.engine': 'メモリーの保存と質問への回答に使うエンジンを選びます。',+ 'memoryPage.header.ask': 'メモリーに質問して、回答の出典を確認できます。',+ 'memoryPage.header.learnings': 'エージェントにいつも覚えておいてほしい事実や好み、手順です。','memoryPage.header.conversations': 'チャットをメモリーに保存するタイミングを設定します。','memoryPage.header.documents': 'メモリーが同期するフォルダ、ファイル、リンク、フィードです。',- 'memoryPage.header.context': 'メモリーからまとめられ、新しいチャットの開始時に使われる要約です。',+ 'memoryPage.header.context': '新しいチャットの開始時に使う、メモリーの要約です。','memoryPage.loading': 'メモリーを読み込み中…','memoryPage.loadMore': 'さらに読み込む','memoryPage.explorer.facet.namespace': 'メモリーノード','memoryPage.explorer.namespace.root': '共有(ルート)','memoryPage.context.node': 'メモリーノード','memoryPage.context.nodeHint':- '各エージェントには、自身のメモリーと共有されたメモリーから作成された専用の要約があります。',+ 'エージェントごとに、自分のメモリーと共有されたメモリーをもとに要約を作成します。','memoryPage.backfill.title': '過去の会話','memoryPage.backfill.description':'自動保存を有効にする前のチャットは、同期するまでメモリーに保存されません。',@@ -5229,31 +5228,30 @@ const ja: TranslationMap = {'memoryPage.backfill.progress':'{total}件中{done}件のチャットを同期済み · {turns}ターンを保存済み','memoryPage.backfill.done': '{threads}件のチャットから{turns}ターンを保存しました。',- 'memoryPage.backfill.failed': '同期が完了する前に停止しました。',+ 'memoryPage.backfill.failed': '同期が途中で停止しました。','memoryPage.backfill.consentTitle': '過去の会話を同期しますか?','memoryPage.backfill.consentBody':- '過去のチャットがメモリーエンジンにアップロードされ、他の会話と同様に保存されます。ツールの引数は一切含まれません。後で再び同期する場合は、新しい内容のみが送信されます。',+ '過去のチャットをメモリーエンジンにアップロードし、他の会話と同じように保存します。ツールの引数は含まれません。次回の同期では、新しい内容だけを送信します。','memoryPage.backfill.consentConfirm': '今すぐ同期','memoryPage.tabs.explorer': 'エクスプローラー','memoryPage.header.explorer':- 'メモリーに保存されたすべての内容を、ソース、フォルダ、スレッド、タグ別に閲覧できます。',+ 'メモリーの内容をソース、フォルダ、スレッド、タグ別に確認できます。','memoryPage.explorer.pathLabel': 'エクスプローラーのパス','memoryPage.explorer.root': 'すべてのメモリー','memoryPage.explorer.groupTitle': 'グループ化',- 'memoryPage.explorer.groupDescription': 'ここにある項目を1つの属性ごとに集計します。',+ 'memoryPage.explorer.groupDescription': '選んだ分類ごとに件数を表示します。','memoryPage.explorer.groupBy': 'グループ化の基準',- 'memoryPage.explorer.total': 'ここには{count}件の項目があります',- 'memoryPage.explorer.noValues': 'ここには{facet}を持つ項目がありません。',+ 'memoryPage.explorer.total': 'この場所の項目: {count}件',+ 'memoryPage.explorer.noValues': '{facet}が設定された項目はありません。','memoryPage.explorer.missing': '{count}件の項目でこの値が未設定です。',- 'memoryPage.explorer.moreBuckets': '他に{count}個の値が表示されていません。',- 'memoryPage.explorer.truncated':- 'メモリーが大きいため、この件数は走査した項目のみを対象としています。',+ 'memoryPage.explorer.moreBuckets': 'ほか{count}個の値は表示されていません。',+ 'memoryPage.explorer.truncated': 'メモリーの量が多いため、一部の項目だけを集計しています。','memoryPage.explorer.itemsTitle': 'この場所の項目','memoryPage.explorer.empty': 'ここには何も保存されていません。','memoryPage.explorer.open': '開く','memoryPage.explorer.itemTitle': '保存された項目',- 'memoryPage.explorer.itemMissing': 'この項目はメモリーに存在しません。',- 'memoryPage.explorer.forget': '忘れる',+ 'memoryPage.explorer.itemMissing': 'この項目はメモリーにありません。',+ 'memoryPage.explorer.forget': 'メモリーから削除','memoryPage.explorer.meta.commit': 'コミット','memoryPage.explorer.meta.turns': 'ターン数','memoryPage.explorer.meta.observedAt': '観測日時',@@ -5284,14 +5282,14 @@ const ja: TranslationMap = {'memoryPage.meta.url': 'リンク','memoryPage.off.title': 'メモリーはオフです','memoryPage.off.description':- '記憶を開始するにはメモリーエンジンを選択してください。TinyHumansのメモリーを使うにはサインインするか、ご自身のCortexDBに接続してください。',+ 'メモリーを使うにはエンジンを選んでください。TinyHumansにサインインするか、お使いのCortexDBに接続できます。','memoryPage.off.action': 'エンジンを選択','memoryPage.engine.listTitle': 'メモリーエンジン','memoryPage.engine.listDescription':- '一度に有効にできるエンジンは1つです。メモリーのすべての内容を保存し、その内容についての質問に答えます。',+ '一度に使えるエンジンは1つです。メモリーのすべての内容を保存し、質問に答えます。','memoryPage.engine.loadError': 'メモリーエンジンを読み込めませんでした','memoryPage.engine.offExplanation':- '現在利用できるメモリーエンジンがないため、保存も想起も行われません。TinyHumansのメモリーを使うにはサインインするか、エンドポイントとAPIキーを指定してご自身のCortexDBに接続してください。',+ '現在使えるメモリーエンジンがないため、保存や呼び出しができません。TinyHumansにサインインするか、接続先URLとAPIキーを入力してお使いのCortexDBに接続してください。','memoryPage.engine.statusDegraded': 'メモリーの一部の機能が低下しています','memoryPage.engine.statusDown': 'メモリーエンジンに接続できません','memoryPage.engine.statusOff': 'オフ',@@ -5299,17 +5297,17 @@ const ja: TranslationMap = {'memoryPage.engine.use': '使用','memoryPage.engine.edit': '編集','memoryPage.engine.signInRequired': 'サインインが必要です',- 'memoryPage.engine.hostedDetail': 'TinyHumansがホスト',- 'memoryPage.engine.selfHostedDetail': '独自のエンドポイントとAPIキー',+ 'memoryPage.engine.hostedDetail': 'TinyHumansが提供',+ 'memoryPage.engine.selfHostedDetail': '接続先URLとAPIキーを指定','memoryPage.engine.connectTitle': '{engine}に接続','memoryPage.engine.connect': '接続',- 'memoryPage.engine.endpoint': 'エンドポイント',+ 'memoryPage.engine.endpoint': '接続先URL','memoryPage.engine.apiKey': 'APIキー','memoryPage.engine.keySavedPlaceholder': '保存済み。変更するには新しいキーを入力','memoryPage.engine.keySavedHint':'キーは保存済みです。変更しない場合は空欄のままにしてください。','memoryPage.ask.questionLabel': '質問',- 'memoryPage.ask.queryLabel': '検索クエリ',+ 'memoryPage.ask.queryLabel': '検索内容','memoryPage.ask.placeholder': 'リリース計画について何を決めましたか?','memoryPage.ask.rawToggle': '検索結果をそのまま表示','memoryPage.ask.modeLabel': '検索モード',@@ -5320,13 +5318,13 @@ const ja: TranslationMap = {'memoryPage.ask.search': '検索','memoryPage.ask.thinking': 'メモリーを検索中…','memoryPage.ask.answerTitle': '回答',- 'memoryPage.ask.noAnswer': 'メモリーにはまだその質問への回答がありません。',+ 'memoryPage.ask.noAnswer': 'その質問への回答はまだありません。','memoryPage.ask.citations': '出典','memoryPage.ask.rawTitle': '結果','memoryPage.ask.noHits': '検索に一致する内容がメモリーにありません。','memoryPage.learnings.addTitle': 'エージェントに教える','memoryPage.learnings.addDescription':- 'エージェントに常に覚えておいてほしいことを記入してください。',+ 'エージェントにいつも覚えておいてほしいことを入力してください。','memoryPage.learnings.textLabel': '学習内容','memoryPage.learnings.placeholder': 'コード例を含む短い回答が好みです。','memoryPage.learnings.kindLabel': '種類',@@ -5338,24 +5336,22 @@ const ja: TranslationMap = {'memoryPage.learnings.add': '学習内容を追加','memoryPage.learnings.listTitle': '学習内容','memoryPage.learnings.empty':- '学習内容はまだありません。上から追加するか、エージェントが一緒に作業する中で追加します。',+ '学習内容はまだありません。上の欄から追加できます。エージェントも作業中に追加します。','memoryPage.learnings.delete': '学習内容を削除','memoryPage.conversations.settingsTitle': '会話を保存','memoryPage.conversations.settingsDescription':- 'チャットは一定のターン数に達するか、しばらくやり取りがなくなると、まとめてメモリーに保存されます。',+ 'チャットは一定のターン数に達するか、しばらくやり取りがなくなると、まとめてメモリーに保存します。','memoryPage.conversations.enabled': '会話をメモリーに保存','memoryPage.conversations.batchTurns': '1回に保存するターン数','memoryPage.conversations.batchTurnsHelp': 'チャットの返信がこの回数に達すると保存します。',- 'memoryPage.conversations.idleSecs': 'やり取りがない場合に保存',- 'memoryPage.conversations.idleSecsHelp':- 'または、チャットでこの時間やり取りがなければ保存します。',+ 'memoryPage.conversations.idleSecs': '最後のやり取りから保存まで',+ 'memoryPage.conversations.idleSecsHelp': 'やり取りがない状態がこの時間続くと保存します。','memoryPage.conversations.seconds': '秒','memoryPage.conversations.recentTitle': '最近保存した会話','memoryPage.conversations.recentEmpty': '保存された会話はまだありません。','memoryPage.conversations.turns': '{count}ターン','memoryPage.documents.listTitle': 'ソース',- 'memoryPage.documents.listDescription':- 'メモリーはこれらを同期し、その内容に基づいて回答します。',+ 'memoryPage.documents.listDescription': 'これらのソースを同期し、その内容をもとに回答します。','memoryPage.documents.add': 'ソースを追加','memoryPage.documents.syncAll': 'すべて同期','memoryPage.documents.sync': '同期',@@ -5368,16 +5364,16 @@ const ja: TranslationMap = {'memoryPage.documents.every': '{mins}分ごと','memoryPage.documents.addTitle': 'ソースを追加','memoryPage.documents.addSubtitle':- 'メモリーは追加直後と、指定したスケジュールに従って同期します。',+ '追加するとすぐに同期します。その後は選んだスケジュールで同期します。','memoryPage.documents.kindLabel': '種類','memoryPage.documents.targetLabel': '場所','memoryPage.documents.labelLabel': '名前(任意)','memoryPage.documents.scheduleLabel': '同期間隔(分、任意)',- 'memoryPage.documents.schedulePlaceholder': '既定のスケジュール',- 'memoryPage.documents.scheduleHelp': '既定のスケジュールを使う場合は空欄のままにしてください。',+ 'memoryPage.documents.schedulePlaceholder': '標準のスケジュール',+ 'memoryPage.documents.scheduleHelp': '空欄にすると、標準のスケジュールで同期します。','memoryPage.documents.removeTitle': 'ソースを削除しますか?','memoryPage.documents.removeBody': '{name}の同期を停止します。',- 'memoryPage.documents.forgetItems': 'このソースから保存した内容もすべて削除する',+ 'memoryPage.documents.forgetItems': 'このソースからメモリーに保存した内容もすべて削除する','memoryPage.sourceKind.folder': 'フォルダ','memoryPage.sourceKind.file': 'ファイル','memoryPage.sourceKind.link': 'リンク',@@ -5398,10 +5394,10 @@ const ja: TranslationMap = {'memoryPage.context.neverGenerated': '未生成','memoryPage.context.regenerate': '再生成','memoryPage.context.regenerating': '再生成中…',- 'memoryPage.context.empty': '要約は空です。メモリーの内容が増えるにつれて作成されます。',+ 'memoryPage.context.empty': '要約は空です。メモリーの内容が増えると、要約にも反映されます。','memoryPage.context.settingsTitle': '要約の設定','memoryPage.context.settingsDescription':- '新しいチャットはこの要約で開始します。既存のチャットは開始時の要約を保持します。',+ '新しいチャットにはこの要約を使います。既存のチャットでは、開始時の要約を引き続き使います。','memoryPage.context.enabled': '新しいチャットを要約付きで開始','memoryPage.context.interval': '再生成の間隔','memoryPage.context.minutes': '分',@@ -5409,15 +5405,15 @@ const ja: TranslationMap = {'memoryPage.context.tokens': 'トークン','memoryPage.import.title': '以前のメモリーが見つかりました','memoryPage.import.counts':- '以前のメモリーから、{documents}件のドキュメント、{conversations}件の会話、{learnings}件の学習内容がこのデバイスに保存されています。',+ 'このデバイスには、以前のメモリーのドキュメント{documents}件、会話{conversations}件、学習内容{learnings}件が保存されています。','memoryPage.import.action': '以前のメモリーをインポート','memoryPage.import.consentTitle': '以前のメモリーをインポートしますか?','memoryPage.import.consentBody':- '以前のメモリーはこのデバイスにのみ保存されています。インポートすると、選択したメモリーエンジンの{engine}にアップロードされます。確認するまで何もアップロードされません。',+ '以前のメモリーはこのデバイスにだけ保存されています。インポートすると、選択中のメモリーエンジン({engine})にアップロードします。確認するまでアップロードしません。','memoryPage.import.consentConfirm': 'アップロードしてインポート','memoryPage.import.running': '以前のメモリーをインポート中…','memoryPage.import.done': '以前のメモリーをインポートしました',- 'memoryPage.import.failed': 'インポートに失敗しました',+ 'memoryPage.import.failed': 'インポートできませんでした','memoryPage.import.progress': '{total}件中{imported}件をインポート済み',};