Skip to content

Commit 27de0a8

Browse files
committed
Polish memory localization coverage
1 parent e6760ef commit 27de0a8

5 files changed

Lines changed: 13 additions & 9 deletions

File tree

web/src/components/ai/AiMessageStatus.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,24 @@ function buildScopeSummary(plan: PlannerAgentDto, t: ReturnType<typeof useTransl
1717
const summary: string[] = [];
1818
const scope = plan.scope;
1919
if (!scope) return summary;
20+
const listSeparator = t('scope.listSeparator');
2021

2122
if (scope.timeRange) summary.push(t('scope.time', { label: scope.timeRange.label }));
2223

2324
if (scope.tags.length) {
24-
summary.push(t('scope.tags', { tags: scope.tags.map((tag) => `#${tag}`).join('、') }));
25+
summary.push(t('scope.tags', { tags: scope.tags.map((tag) => `#${tag}`).join(listSeparator) }));
2526
}
2627

2728
if (scope.excludeTags.length) {
2829
summary.push(
2930
t('scope.excludeTags', {
30-
tags: scope.excludeTags.map((tag) => `#${tag}`).join('、'),
31+
tags: scope.excludeTags.map((tag) => `#${tag}`).join(listSeparator),
3132
})
3233
);
3334
}
3435

3536
if (scope.semanticScope.length) {
36-
summary.push(t('scope.semanticScope', { keywords: scope.semanticScope.join('、') }));
37+
summary.push(t('scope.semanticScope', { keywords: scope.semanticScope.join(listSeparator) }));
3738
}
3839

3940
const sourceTypes = scope.sourceTypes;

web/src/doc/selfhosted/selfhosted.ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Rote は主に環境変数で設定します。
107107
OAuth、ファイルストレージ、メール送信などの詳細設定は、デプロイ後に管理画面から行えます。
108108
初回アクセス時には初期設定ウィザードが表示され、そこで各種項目を設定できます。
109109

110-
AI メモリとベクトル検索は既定で無効です。デプロイ後、管理者は管理画面でモデルプロバイダーを設定し、
110+
メモリーとベクトル検索は既定で無効です。デプロイ後、管理者は管理画面でモデルプロバイダーを設定し、
111111
ベクトル保存を有効化できます。既存インスタンスで有効化する前に、データベースをバックアップし、
112112
データベースイメージが pgvector をサポートしていることを確認してください。
113113

web/src/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,7 @@
656656
"tags": "Tags: {{tags}}",
657657
"excludeTags": "Exclude tags: {{tags}}",
658658
"semanticScope": "Keywords: {{keywords}}",
659+
"listSeparator": ", ",
659660
"sourceTypes": {
660661
"rote": "Content: notes",
661662
"article": "Content: articles",

web/src/locales/ja.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"aiMemory": {
3838
"tagline": "メモリー",
3939
"title": "ノートを会話できる AGENT に",
40-
"subtitle": "記録した内容をベクトル化し、エージェント設計で自分の記憶を扱えるようにします",
40+
"subtitle": "記録した内容をベクトル化し、エージェント設計で自分のメモリーを扱えるようにします",
4141
"features": {
4242
"semantic": {
4343
"title": "断片から意味を見つける",
@@ -660,6 +660,7 @@
660660
"tags": "タグ:{{tags}}",
661661
"excludeTags": "除外タグ:{{tags}}",
662662
"semanticScope": "キーワード:{{keywords}}",
663+
"listSeparator": "",
663664
"sourceTypes": {
664665
"rote": "種類:ノート",
665666
"article": "種類:記事",
@@ -743,8 +744,8 @@
743744
"reading": "ソースを読んで生成中...",
744745
"interrupted": "前回の回答は中断されました",
745746
"askFailed": "リクエスト失敗",
746-
"fallbackNoAnswerWithSources": "関連する記憶が見つかりましたが、モデルから有効な回答が返されませんでした。別の質問を試すか、範囲を絞ってみてください。",
747-
"fallbackNoAnswerNoSources": "関連する記憶が見つからなかったため、現在のノートに基づいて回答することができません。",
747+
"fallbackNoAnswerWithSources": "関連するメモリーが見つかりましたが、モデルから有効な回答が返されませんでした。別の質問を試すか、範囲を絞ってみてください。",
748+
"fallbackNoAnswerNoSources": "関連するメモリーが見つからなかったため、現在のノートに基づいて回答することができません。",
748749
"clarifyUnresolvedTags": "タグ {{tags}} が見つかりませんでした。既存のタグに変更するか、タグを限定せずにキーワードで検索しますか?",
749750
"clarifyAmbiguousTime": "どの期間のノートを見たいですか?",
750751
"clarifyAmbiguousScope": "範囲が少し曖昧です。もう少し具体的に指定していただけますか?",
@@ -1179,7 +1180,7 @@
11791180
},
11801181
"ai": {
11811182
"title": "AI 関連",
1182-
"description": "モデルプロバイダー、セマンティックインデックス、Rote メモリ検索を設定します",
1183+
"description": "モデルプロバイダー、セマンティックインデックス、Rote メモリー検索を設定します",
11831184
"enabled": "AI を有効化",
11841185
"enabledDesc": "設定済みのチャットモデルを AI API で使用します。",
11851186
"vectorEnabled": "ベクトル保存を有効化",

web/src/locales/zh.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,7 @@
646646
"tags": "标签:{{tags}}",
647647
"excludeTags": "排除标签:{{tags}}",
648648
"semanticScope": "关键词:{{keywords}}",
649+
"listSeparator": "",
649650
"sourceTypes": {
650651
"rote": "内容类型:笔记",
651652
"article": "内容类型:文章",
@@ -1165,7 +1166,7 @@
11651166
},
11661167
"ai": {
11671168
"title": "AI 相关",
1168-
"description": "配置模型供应商、语义索引和 Rote记忆检索",
1169+
"description": "配置模型供应商、语义索引和 Rote 记忆检索",
11691170
"enabled": "启用 AI",
11701171
"enabledDesc": "允许 AI 接口使用已配置的对话模型。",
11711172
"vectorEnabled": "启用向量存储",

0 commit comments

Comments
 (0)