mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-23 05:31:23 +00:00
* feat(i18n): localize /model command output
Reported by @tianma8888: when Chinese users run /model, the labels
("Provider:", "Context:", "_session only_", etc.) are still English.
This routes the static prose through the existing i18n catalog so it
follows display.language / HERMES_LANGUAGE.
Changes:
- locales/{en,zh,ja,de,es,fr,tr,uk}.yaml: add 17 keys under
gateway.model.* covering switched/provider/context/max_output/cost/
capabilities/prompt_caching/warning/saved_global/session_only_hint/
current_label/current_tag/more_models_suffix/usage_*.
- gateway/run.py _handle_model_command: replace hardcoded f-strings in
the picker callback, the text-list fallback, and the direct-switch
confirmation block with t("gateway.model.<key>", ...).
What stays English:
- model IDs, provider slugs, capability strings, cost figures, and the
"[Note: model was just switched...]" prepended to the model's next
prompt (LLM-facing, not user-facing).
- The two slightly-different session-only hints unify on a single key
with the em-dash phrasing.
Validation: tests/agent/test_i18n.py 27/27 passing (parity contract
holds), tests/gateway/ -k 'model or i18n' 74/74 passing.
* feat(i18n): localize all gateway slash command outputs
Expands the i18n catalog from 7 strings to 234 keys across 35 gateway
slash command handlers, so non-English users see localized output for
\`/profile\`, \`/status\`, \`/help\`, \`/personality\`, \`/voice\`, \`/reset\`,
\`/agents\`, \`/restart\`, \`/commands\`, \`/goal\`, \`/retry\`, \`/undo\`,
\`/sethome\`, \`/title\`, \`/yolo\`, \`/background\`, \`/approve\`, \`/deny\`,
\`/insights\`, \`/debug\`, \`/rollback\`, \`/reasoning\`, \`/fast\`,
\`/verbose\`, \`/footer\`, \`/compress\`, \`/topic\`, \`/kanban\`,
\`/resume\`, \`/branch\`, \`/usage\`, \`/reload-mcp\`, \`/reload-skills\`,
\`/update\`, \`/stop\` (plus the \`/model\` block already added in the
previous commit).
Reported by @tianma8888 — Chinese users want command output prose in
their language, not just the labels we already had.
Translations are hand-written for all 8 supported locales (en, zh, ja,
de, es, fr, tr, uk), matching each catalog's existing style: full-width
punctuation in zh, em-dashes in zh/ja/uk, French spaced colons,
German noun capitalization, etc.
What stays English (unchanged):
- Identifiers/values: model IDs, file paths, profile names, session IDs,
command flag names like --global, URLs, config keys.
- Backtick code spans: \`/foo\`, \`config.yaml\`.
- Log messages (logger.info/warning/error).
- LLM-facing system notes prepended to next prompt (e.g. [Note: model
was just switched...]).
- Strings produced by external modules (gateway_help_lines,
format_gateway, manual_compression_feedback) — those have their
own surfaces.
New shared keys for cross-handler boilerplate:
- gateway.shared.session_db_unavailable (5 call sites: branch, title,
resume, topic, _disable_telegram_topic_mode_for_chat)
- gateway.shared.session_not_found (1 site)
- gateway.shared.warn_passthrough (2 sites in /title's f"⚠️ {e}" pattern)
YAML gotcha fixed: \`yolo.on\` and \`yolo.off\` were originally written
unquoted, which YAML 1.1 parses as boolean True/False keys. Renamed to
\`yolo.enabled\` / \`yolo.disabled\` for both safety and clarity.
Test fix: tests/agent/test_i18n.py::test_t_missing_key_in_non_english_falls_back_to_english
now resets the catalog cache on teardown, so the fake "foo: English Foo"
locale doesn't poison the module-level cache for subsequent tests in
the same xdist worker. (Without this, every gateway slash command test
that shares a worker with the i18n suite would see the fake catalog.)
Validation:
- tests/agent/test_i18n.py: 27/27 (parity contract — every key in every
locale, matching placeholder tokens).
- tests/gateway/: 5077 passed, 0 failed (full gateway suite).
- 180 t() call sites added across 35 handlers; 1872 catalog entries
total (234 keys × 8 locales).
* feat(i18n): add 8 new locales — af, ko, it, ga, zh-hant, pt, ru, hu
Expands the static-message catalog from 8 → 16 languages, each with full
270-key parity against the English source-of-truth. Every locale now
covers the same surface PR #22914 added: approval prompts plus all 35
gateway slash command outputs.
New locales:
- af Afrikaans (community ask in #21961 by @GodsBoy; PRs #21962, #21970)
- ko Korean (PRs #20297 by @tmdgusya, #22285 by @project820)
- it Italian (PR #20371 by @leprincep35700)
- ga Irish/Gaeilge (PR #20962 by @ryanmcc09-dot)
- zh-hant Traditional Chinese (PRs #20523 by @jackey8616, #13140 by @anomixer)
- pt Portuguese (PRs #20443 by @pedroborges, #15737 by @carloshenriquecarniatto, #22063 by @Magaav)
- ru Russian (PR #22770 by @DrMaks22)
- hu Hungarian (PR #22336 by @lunasec007)
Each locale uses native-quality translations matching the existing tone
and conventions of the older 8 locales:
- zh-hant uses 繁體 characters with TW/HK technical vocabulary (軟體
not 软件, 連線 not 连接, 設定 not 设置, 訊息 not 消息, 工作階段 not 会话, 程式
not 程序, 預設 not 默认, 伺服器 not 服务器), full-width punctuation 「:()」.
- ko uses formal 합니다체 (습니다/합니다) register throughout.
- pt uses European Portuguese as baseline with neutral PT/BR vocabulary
where possible.
- ga uses standard An Caighdeán Oifigiúil; English loanwords retained
for tech terms without good Irish equivalents (gateway, API, JSON).
- All preserve {placeholder} tokens, backtick code spans, slash commands,
brand names (Hermes, MCP, TTS, YOLO, OpenAI, Telegram, etc.), and emoji.
Aliases added in agent/i18n.py:
- af-za, Afrikaans → af
- ko-kr, Korean, 한국어 → ko
- it-it, italiano → it
- ga-ie, Irish, Gaeilge → ga
- zh-tw, zh-hk, zh-mo, traditional-chinese → zh-hant (note: zh-tw used to
alias to zh; now aliases to its own zh-hant catalog)
- zh-cn, zh-hans, zh-sg → zh (unchanged from before)
- pt-pt, pt-br, brazilian, portuguese → pt
- ru-ru, Russian, русский → ru
- hu-hu, Magyar → hu
The zh-tw alias re-routing is intentional: previously typing 'zh-TW' got
the Simplified Chinese catalog (wrong vocabulary for Taiwan/HK users).
Now those users get the proper Traditional Chinese catalog.
Validation:
- tests/agent/test_i18n.py: 43/43 (parity contract holds for all 16
languages × 270 keys = 4320 catalog entries, with matching placeholder
tokens).
- E2E alias resolution verified for all 19 alias inputs (Afrikaans, ko-KR,
한국어, italiano, Gaeilge, zh-TW, zh-HK, traditional-chinese, pt-BR,
brazilian, Magyar, etc.).
- tests/gateway/: 5198 passed (3 pre-existing TTS routing failures
unrelated to i18n).
Credit to all contributors whose PRs surfaced these language requests.
Their original PRs may now be closed as superseded with credit.
* feat(dashboard-i18n): add 14 web dashboard locales matching the static catalog
Brings the React dashboard (web/src/) up to the same 16-language
coverage the static catalog already has after the previous commits in
this PR. The Translations interface is TypeScript-typed, so every new
locale must provide every key — tsc -b is the parity guard.
Languages added (each is a complete 429-line locale file):
- af Afrikaans
- ja Japanese (PR #22513 by @snuffxxx surfaced this)
- de German (PR #21749 by @mag1art)
- es Spanish (PR #21749)
- fr French (PRs #21749, #10310 by @foXaCe)
- tr Turkish
- uk Ukrainian
- ko Korean (PRs #21749, #18894 by @ovstng, #22285 by @project820)
- it Italian
- ga Irish (Gaeilge)
- zh-hant Traditional Chinese (PR #13140 by @anomixer)
- pt Portuguese (PRs #22063 by @Magaav, #22182 by @wesleysimplicio, #15737 by @carloshenriquecarniatto)
- ru Russian (PRs #21749, #22770 by @DrMaks22)
- hu Hungarian (PR #22336 by @lunasec007)
Each translation covers all 15 namespaces with full key parity vs en.ts,
preserves every {placeholder} token verbatim, keeps identifiers
untranslated (brand names, file paths, cron expressions, code spans),
translates the language.switchTo tooltip into the target language, and
matches existing tone conventions (zh-hant uses TW/HK vocab; ja uses
formal desu/masu; ko uses formal seumnida register; ga uses An
Caighdean Oifigiuil with English loanwords for tech vocab without good
Irish equivalents).
Plumbing:
- web/src/i18n/types.ts: Locale union expanded to all 16 codes.
- web/src/i18n/context.tsx: imports all 16 catalogs; exports
LOCALE_META (endonym + flag per locale); isLocale() type guard.
- web/src/i18n/index.ts: re-export LOCALE_META.
- web/src/components/LanguageSwitcher.tsx: replaced two-state EN-ZH
toggle with a click-to-open dropdown listing all 16 languages.
Note: zh-hant.ts exports zhHant (camelCase) since hyphen is invalid in
a JS identifier; the canonical 'zh-hant' string keys it in TRANSLATIONS.
Validation:
- npx tsc -b: 0 errors. Every locale satisfies Translations.
- npm run build (tsc + vite production): green, 2062 modules.
- Each locale file is exactly 429 lines.
Out of scope: plugin dashboards (kanban/achievements ship as prebuilt
bundles with no source in repo); Docusaurus docs (separate surface);
TUI (no i18n yet).
* feat(plugin-i18n): localize achievements + kanban plugin dashboards across all 16 locales
Brings the two shipped plugin dashboards (hermes-achievements, kanban)
under the same i18n umbrella as the core dashboard PR #22914 just
established. Both bundles now read user-facing strings from the host's
i18n catalog via SDK.useI18n() instead of hardcoded English.
## Approach
Plugin dashboards ship as prebuilt IIFE bundles in
plugins/<name>/dashboard/dist/index.js — no build step, no source in
repo (upstream-authored, vendored as compiled JS). Earlier contributor
PRs (#22594, #22595, #18747) tried direct edits but didn't actually
wire the bundles to read translations.
This change does the wiring properly:
1. Each bundle gets a useI18n shim at IIFE scope:
const useI18n = SDK.useI18n
|| function () { return { t: { kanban: null }, locale: "en" }; };
Older host SDKs without useI18n still load the bundle and render
English fallbacks.
2. A small tx(t, path, fallback, vars) helper resolves dotted keys
under the plugin's namespace (t.kanban.* or t.achievements.*) and
interpolates {placeholder} tokens.
3. Every React component starts with const { t } = useI18n() and
each user-visible string is wrapped in tx(t, "key", "English fallback").
Helpers called outside React components (window.prompt callers,
constants used during init) take t as a parameter.
4. Top-level constants that were English dictionaries (COLUMN_LABEL,
COLUMN_HELP, DESTRUCTIVE_TRANSITIONS, DIAGNOSTIC_EVENT_LABELS in
kanban) become getColumnLabel(t, status)-style functions backed by
FALLBACK_* dictionaries.
## Translations added
Two new top-level namespaces added to the dashboard's TypeScript-typed
Translations interface:
- achievements: ~70 keys covering the hero, scan banner, achievement
card, share dialog, stats, filters, and empty states.
- kanban: ~145 keys covering the board, columns (with nested
columnLabels and columnHelp sub-dicts), card detail panel,
bulk-actions toolbar, dependency editor, board switcher, and
diagnostic callouts.
Each key is provided across all 16 supported locales:
en, zh, zh-hant, ja, de, es, fr, tr, uk, af, ko, it, ga, pt, ru, hu.
Total new translation entries: ~3,440 (215 keys × 16 locales).
## What stays English (deliberate)
- API paths, CSS class names, data-* attributes, JSON keys, regex
strings, URLs, file paths (~/.hermes/kanban.db, boards/_archived/).
- State identifier strings used as lookup keys (triage / todo / ready /
running / blocked / done / archived) — labels translate, key strings
don't.
- The PNG share-card text rendered to canvas in the achievements
ShareDialog (HERMES AGENT watermark, UNLOCKED stamp, tier names) —
these become part of a globally-shared image and stay English.
- localStorage keys (hermes.kanban.selectedBoard).
- Brand names (Kanban, Hermes, WebSocket, Nous Research).
## Contributor credit
PR #22594 by @02356abc and PR #22595 by @02356abc supplied the
en + zh kanban namespace skeleton (145 keys); used as the en source-
of-truth in this commit and translated to the other 14 locales.
PR #18747 by @laolaoshiren first surfaced the achievements
localization request.
## Validation
- npx tsc -b: 0 errors. All 16 locale .ts files satisfy the
Translations type with full key parity.
- npm run build (tsc + vite production build): green, 2062 modules,
1.56MB JS / 95KB CSS, ~2.5s build.
- node --check on both plugin bundles: parse cleanly.
- 126 tx() call sites in kanban, 46 in achievements.
## Out of scope
- TUI (ui-tui/) has no i18n infrastructure yet.
- Docusaurus docs (website/i18n/) — already had zh-Hans; expanding
is a separate translation workstream (Thai / Korean / Hindi PRs).
696 lines
31 KiB
TypeScript
696 lines
31 KiB
TypeScript
import type { Translations } from "./types";
|
||
|
||
export const ja: Translations = {
|
||
common: {
|
||
save: "保存",
|
||
saving: "保存中...",
|
||
cancel: "キャンセル",
|
||
close: "閉じる",
|
||
confirm: "確認",
|
||
delete: "削除",
|
||
refresh: "更新",
|
||
retry: "再試行",
|
||
search: "検索...",
|
||
loading: "読み込み中...",
|
||
create: "作成",
|
||
creating: "作成中...",
|
||
set: "設定",
|
||
replace: "置換",
|
||
clear: "クリア",
|
||
live: "ライブ",
|
||
off: "オフ",
|
||
enabled: "有効",
|
||
disabled: "無効",
|
||
active: "アクティブ",
|
||
inactive: "非アクティブ",
|
||
unknown: "不明",
|
||
untitled: "無題",
|
||
none: "なし",
|
||
form: "フォーム",
|
||
noResults: "結果がありません",
|
||
of: "/",
|
||
page: "ページ",
|
||
msgs: "メッセージ",
|
||
tools: "ツール",
|
||
match: "一致",
|
||
other: "その他",
|
||
configured: "設定済み",
|
||
removed: "削除されました",
|
||
failedToToggle: "切り替えに失敗しました",
|
||
failedToRemove: "削除に失敗しました",
|
||
failedToReveal: "表示に失敗しました",
|
||
collapse: "折りたたむ",
|
||
expand: "展開",
|
||
general: "一般",
|
||
messaging: "メッセージング",
|
||
pluginLoadFailed:
|
||
"このプラグインのスクリプトを読み込めませんでした。Network タブ(dashboard-plugins/…)とサーバーのプラグインパスをご確認ください。",
|
||
pluginNotRegistered:
|
||
"プラグインのスクリプトが register() を呼び出していないか、スクリプトでエラーが発生しました。詳細はブラウザのコンソールをご確認ください。",
|
||
},
|
||
|
||
app: {
|
||
brand: "Hermes Agent",
|
||
brandShort: "HA",
|
||
closeNavigation: "ナビゲーションを閉じる",
|
||
closeModelTools: "モデルとツールを閉じる",
|
||
footer: {
|
||
org: "Nous Research",
|
||
},
|
||
activeSessionsLabel: "アクティブなセッション:",
|
||
gatewayStatusLabel: "ゲートウェイの状態:",
|
||
gatewayStrip: {
|
||
failed: "起動に失敗しました",
|
||
off: "オフ",
|
||
running: "実行中",
|
||
starting: "起動中",
|
||
stopped: "停止",
|
||
},
|
||
nav: {
|
||
analytics: "分析",
|
||
chat: "チャット",
|
||
config: "設定",
|
||
cron: "Cron",
|
||
documentation: "ドキュメント",
|
||
keys: "キー",
|
||
logs: "ログ",
|
||
models: "モデル",
|
||
profiles: "プロファイル : マルチエージェント",
|
||
plugins: "プラグイン",
|
||
sessions: "セッション",
|
||
skills: "スキル",
|
||
},
|
||
modelToolsSheetSubtitle: "とツール",
|
||
modelToolsSheetTitle: "モデル",
|
||
navigation: "ナビゲーション",
|
||
openDocumentation: "ドキュメントを新しいタブで開く",
|
||
openNavigation: "ナビゲーションを開く",
|
||
pluginNavSection: "プラグイン",
|
||
sessionsActiveCount: "{count} 件アクティブ",
|
||
statusOverview: "ステータス概要",
|
||
system: "システム",
|
||
webUi: "Web UI",
|
||
},
|
||
|
||
status: {
|
||
actionFailed: "アクションが失敗しました",
|
||
actionFinished: "完了",
|
||
actions: "アクション",
|
||
agent: "エージェント",
|
||
activeSessions: "アクティブなセッション",
|
||
connected: "接続済み",
|
||
connectedPlatforms: "接続済みプラットフォーム",
|
||
disconnected: "切断",
|
||
error: "エラー",
|
||
failed: "失敗",
|
||
gateway: "ゲートウェイ",
|
||
gatewayFailedToStart: "ゲートウェイの起動に失敗しました",
|
||
lastUpdate: "最終更新",
|
||
noneRunning: "なし",
|
||
notRunning: "実行されていません",
|
||
pid: "PID",
|
||
platformDisconnected: "切断",
|
||
platformError: "エラー",
|
||
recentSessions: "最近のセッション",
|
||
restartGateway: "ゲートウェイを再起動",
|
||
restartingGateway: "ゲートウェイを再起動しています…",
|
||
running: "実行中",
|
||
runningRemote: "実行中 (リモート)",
|
||
startFailed: "起動に失敗しました",
|
||
starting: "起動中",
|
||
startedInBackground: "バックグラウンドで起動しました — 進行状況はログをご確認ください",
|
||
stopped: "停止",
|
||
updateHermes: "Hermes を更新",
|
||
updatingHermes: "Hermes を更新しています…",
|
||
waitingForOutput: "出力を待機しています…",
|
||
},
|
||
|
||
sessions: {
|
||
title: "セッション",
|
||
searchPlaceholder: "メッセージ内容を検索...",
|
||
noSessions: "まだセッションがありません",
|
||
noMatch: "検索条件に一致するセッションはありません",
|
||
startConversation: "会話を開始するとここに表示されます",
|
||
noMessages: "メッセージがありません",
|
||
untitledSession: "無題のセッション",
|
||
deleteSession: "セッションを削除",
|
||
confirmDeleteTitle: "セッションを削除しますか?",
|
||
confirmDeleteMessage:
|
||
"会話とそのすべてのメッセージが完全に削除されます。この操作は取り消せません。",
|
||
sessionDeleted: "セッションを削除しました",
|
||
failedToDelete: "セッションの削除に失敗しました",
|
||
resumeInChat: "チャットで再開",
|
||
previousPage: "前のページ",
|
||
nextPage: "次のページ",
|
||
roles: {
|
||
user: "ユーザー",
|
||
assistant: "アシスタント",
|
||
system: "システム",
|
||
tool: "ツール",
|
||
},
|
||
},
|
||
|
||
analytics: {
|
||
period: "期間:",
|
||
totalTokens: "合計トークン数",
|
||
totalSessions: "合計セッション数",
|
||
apiCalls: "API 呼び出し",
|
||
dailyTokenUsage: "日次トークン使用量",
|
||
dailyBreakdown: "日次内訳",
|
||
perModelBreakdown: "モデル別内訳",
|
||
topSkills: "トップスキル",
|
||
skill: "スキル",
|
||
loads: "エージェント読み込み",
|
||
edits: "エージェント管理",
|
||
lastUsed: "最終使用",
|
||
input: "入力",
|
||
output: "出力",
|
||
total: "合計",
|
||
noUsageData: "この期間の使用データはありません",
|
||
startSession: "セッションを開始すると分析がここに表示されます",
|
||
date: "日付",
|
||
model: "モデル",
|
||
tokens: "トークン",
|
||
perDayAvg: "/日 平均",
|
||
acrossModels: "{count} モデル全体",
|
||
inOut: "{input} 入力 / {output} 出力",
|
||
},
|
||
|
||
models: {
|
||
modelsUsed: "使用モデル",
|
||
estimatedCost: "推定コスト",
|
||
tokens: "トークン",
|
||
sessions: "セッション",
|
||
avgPerSession: "平均/セッション",
|
||
apiCalls: "API 呼び出し",
|
||
toolCalls: "ツール呼び出し",
|
||
noModelsData: "この期間のモデル使用データはありません",
|
||
startSession: "セッションを開始するとモデルデータがここに表示されます",
|
||
},
|
||
|
||
logs: {
|
||
title: "ログ",
|
||
autoRefresh: "自動更新",
|
||
file: "ファイル",
|
||
level: "レベル",
|
||
component: "コンポーネント",
|
||
lines: "行数",
|
||
noLogLines: "ログ行が見つかりません",
|
||
},
|
||
|
||
cron: {
|
||
confirmDeleteMessage:
|
||
"ジョブをスケジュールから削除します。この操作は取り消せません。",
|
||
confirmDeleteTitle: "スケジュールされたジョブを削除しますか?",
|
||
newJob: "新しい Cron ジョブ",
|
||
nameOptional: "名前 (任意)",
|
||
namePlaceholder: "例: 日次サマリー",
|
||
prompt: "プロンプト",
|
||
promptPlaceholder: "実行ごとにエージェントが行う内容は?",
|
||
schedule: "スケジュール (cron 式)",
|
||
schedulePlaceholder: "0 9 * * *",
|
||
deliverTo: "配信先",
|
||
scheduledJobs: "スケジュール済みジョブ",
|
||
noJobs: "Cron ジョブが設定されていません。上で作成してください。",
|
||
last: "前回",
|
||
next: "次回",
|
||
pause: "一時停止",
|
||
resume: "再開",
|
||
triggerNow: "今すぐ実行",
|
||
delivery: {
|
||
local: "ローカル",
|
||
telegram: "Telegram",
|
||
discord: "Discord",
|
||
slack: "Slack",
|
||
email: "Email",
|
||
},
|
||
},
|
||
|
||
profiles: {
|
||
newProfile: "新しいプロファイル",
|
||
name: "名前",
|
||
namePlaceholder: "例: coder, writer など",
|
||
nameRequired: "名前は必須です",
|
||
nameRule:
|
||
"小文字、数字、_ および - のみ使用可能。最初は文字または数字で始める必要があります。最大 64 文字。",
|
||
invalidName: "無効なプロファイル名",
|
||
cloneFromDefault: "デフォルトプロファイルから設定を複製",
|
||
allProfiles: "プロファイル",
|
||
noProfiles: "プロファイルが見つかりません。",
|
||
defaultBadge: "デフォルト",
|
||
hasEnv: "env",
|
||
model: "モデル",
|
||
skills: "スキル",
|
||
rename: "名前を変更",
|
||
editSoul: "SOUL.md を編集",
|
||
soulSection: "SOUL.md (パーソナリティ / システムプロンプト)",
|
||
soulPlaceholder: "# このエージェントの振る舞い…",
|
||
saveSoul: "SOUL を保存",
|
||
soulSaved: "SOUL.md を保存しました",
|
||
openInTerminal: "CLI コマンドをコピー",
|
||
commandCopied: "クリップボードにコピーしました",
|
||
copyFailed: "コピーできませんでした",
|
||
confirmDeleteTitle: "プロファイルを削除しますか?",
|
||
confirmDeleteMessage:
|
||
"プロファイル '{name}' を完全に削除します — 設定、キー、メモリ、セッション、スキル、cron ジョブ。この操作は取り消せません。",
|
||
created: "作成しました",
|
||
deleted: "削除しました",
|
||
renamed: "名前を変更しました",
|
||
},
|
||
|
||
pluginsPage: {
|
||
contextEngineLabel: "コンテキストエンジン",
|
||
dashboardSlots: "ダッシュボードスロット",
|
||
disableRuntime: "無効化",
|
||
enableAfterInstall: "インストール後に有効化",
|
||
enableRuntime: "有効化",
|
||
forceReinstall: "強制再インストール (既存のフォルダを先に削除)",
|
||
headline:
|
||
"Hermes プラグインを発見、インストール、有効化、更新します (`hermes plugins` 相当)。",
|
||
identifierLabel: "Git URL または owner/repo",
|
||
inactive: "非アクティブ",
|
||
installBtn: "Git からインストール",
|
||
installHeading: "GitHub / Git URL からインストール",
|
||
installHint: "owner/repo の短縮形、または完全な https:// もしくは git@ クローン URL を使用してください。",
|
||
memoryProviderLabel: "メモリプロバイダー",
|
||
missingEnvWarn: "プラグインを実行する前にこれらをキーに設定してください:",
|
||
noDashboardTab: "ダッシュボードタブなし",
|
||
openTab: "開く",
|
||
orphanHeading: "ダッシュボード専用拡張 (該当する agent plugin.yaml なし)",
|
||
pluginListHeading: "インストール済みプラグイン",
|
||
providerDefaults: "組み込み / デフォルト",
|
||
providersHeading: "ランタイムプロバイダープラグイン",
|
||
providersHint:
|
||
"memory.provider (空 = 組み込み) と context.engine を config.yaml に書き込みます。次のセッションで有効になります。",
|
||
refreshDashboard: "ダッシュボード拡張を再スキャン",
|
||
removeConfirm: "このプラグインを ~/.hermes/plugins/ から削除しますか?",
|
||
removeHint: "削除できるのは ~/.hermes/plugins 配下のユーザーがインストールしたプラグインのみです。",
|
||
rescanHeading: "SPA プラグインレジストリ",
|
||
rescanHint: "ディスクにファイルを追加した後に再スキャンすると、ダッシュボードのサイドバーが新しいマニフェストを認識します。",
|
||
runtimeHeading: "ゲートウェイランタイム (YAML プラグイン)",
|
||
saveProviders: "プロバイダー設定を保存",
|
||
savedProviders: "プロバイダー設定を保存しました。",
|
||
sourceBadge: "ソース",
|
||
authRequired: "認証が必要",
|
||
authRequiredHint: "認証するには次のコマンドを実行してください:",
|
||
updateGit: "Git pull",
|
||
versionBadge: "バージョン",
|
||
showInSidebar: "サイドバーに表示",
|
||
hideFromSidebar: "サイドバーから非表示",
|
||
},
|
||
|
||
skills: {
|
||
title: "スキル",
|
||
searchPlaceholder: "スキルとツールセットを検索...",
|
||
enabledOf: "{enabled}/{total} 有効",
|
||
all: "すべて",
|
||
categories: "カテゴリ",
|
||
filters: "フィルター",
|
||
noSkills: "スキルが見つかりません。スキルは ~/.hermes/skills/ から読み込まれます",
|
||
noSkillsMatch: "検索またはフィルターに一致するスキルはありません。",
|
||
skillCount: "{count} スキル{s}",
|
||
resultCount: "{count} 件の結果{s}",
|
||
noDescription: "説明はありません。",
|
||
toolsets: "ツールセット",
|
||
toolsetLabel: "{name} ツールセット",
|
||
noToolsetsMatch: "検索に一致するツールセットはありません。",
|
||
setupNeeded: "セットアップが必要",
|
||
disabledForCli: "CLI では無効",
|
||
more: "+{count} 件",
|
||
},
|
||
|
||
config: {
|
||
configPath: "~/.hermes/config.yaml",
|
||
filters: "フィルター",
|
||
sections: "セクション",
|
||
exportConfig: "設定を JSON としてエクスポート",
|
||
importConfig: "JSON から設定をインポート",
|
||
resetDefaults: "デフォルトにリセット",
|
||
resetScopeTooltip: "{scope} をデフォルトにリセット",
|
||
confirmResetScope: "すべての {scope} 設定をデフォルトにリセットしますか?フォームのみ更新されます — 保存を押すまで config.yaml には書き込まれません。",
|
||
resetScopeToast: "{scope} をデフォルトにリセットしました — 確認して保存してください",
|
||
rawYaml: "生の YAML 設定",
|
||
searchResults: "検索結果",
|
||
fields: "フィールド{s}",
|
||
noFieldsMatch: '"{query}" に一致するフィールドはありません',
|
||
configSaved: "設定を保存しました",
|
||
yamlConfigSaved: "YAML 設定を保存しました",
|
||
failedToSave: "保存に失敗しました",
|
||
failedToSaveYaml: "YAML の保存に失敗しました",
|
||
failedToLoadRaw: "生の設定の読み込みに失敗しました",
|
||
configImported: "設定をインポートしました — 確認して保存してください",
|
||
invalidJson: "無効な JSON ファイル",
|
||
categories: {
|
||
general: "一般",
|
||
agent: "エージェント",
|
||
terminal: "ターミナル",
|
||
display: "表示",
|
||
delegation: "委任",
|
||
memory: "メモリ",
|
||
compression: "圧縮",
|
||
security: "セキュリティ",
|
||
browser: "ブラウザ",
|
||
voice: "音声",
|
||
tts: "音声合成",
|
||
stt: "音声認識",
|
||
logging: "ロギング",
|
||
discord: "Discord",
|
||
auxiliary: "補助",
|
||
},
|
||
},
|
||
|
||
env: {
|
||
changesNote: "変更は即座にディスクへ保存されます。アクティブなセッションは新しいキーを自動的に取得します。",
|
||
confirmClearMessage:
|
||
"この変数の保存値が .env ファイルから削除されます。この操作は UI から取り消せません。",
|
||
confirmClearTitle: "このキーをクリアしますか?",
|
||
description: "API キーとシークレットを管理します。保存先:",
|
||
hideAdvanced: "詳細設定を隠す",
|
||
showAdvanced: "詳細設定を表示",
|
||
llmProviders: "LLM プロバイダー",
|
||
providersConfigured: "{configured} / {total} プロバイダーが設定済み",
|
||
getKey: "キーを取得",
|
||
notConfigured: "{count} 件未設定",
|
||
notSet: "未設定",
|
||
keysCount: "{count} キー{s}",
|
||
enterValue: "値を入力...",
|
||
replaceCurrentValue: "現在の値を置き換える ({preview})",
|
||
showValue: "実際の値を表示",
|
||
hideValue: "値を非表示",
|
||
},
|
||
|
||
oauth: {
|
||
title: "プロバイダーログイン (OAuth)",
|
||
providerLogins: "プロバイダーログイン (OAuth)",
|
||
description: "{connected} / {total} OAuth プロバイダーが接続されています。ログインフローは現在 CLI 経由で実行されます。「コマンドをコピー」をクリックして、ターミナルに貼り付けてセットアップしてください。",
|
||
connected: "接続済み",
|
||
expired: "期限切れ",
|
||
notConnected: "未接続です。ターミナルで {command} を実行してください。",
|
||
runInTerminal: "ターミナルで実行してください。",
|
||
noProviders: "OAuth 対応プロバイダーは検出されませんでした。",
|
||
login: "ログイン",
|
||
disconnect: "切断",
|
||
managedExternally: "外部で管理",
|
||
copied: "コピーしました ✓",
|
||
cli: "CLI",
|
||
copyCliCommand: "CLI コマンドをコピー (外部 / フォールバック用)",
|
||
connect: "接続",
|
||
sessionExpires: "セッションは {time} 後に期限切れになります",
|
||
initiatingLogin: "ログインフローを開始しています…",
|
||
exchangingCode: "コードをトークンと交換しています…",
|
||
connectedClosing: "接続しました!閉じています…",
|
||
loginFailed: "ログインに失敗しました。",
|
||
sessionExpired: "セッションの有効期限が切れました。再試行をクリックして新しいログインを開始してください。",
|
||
reOpenAuth: "認証ページを再度開く",
|
||
reOpenVerification: "確認ページを再度開く",
|
||
submitCode: "コードを送信",
|
||
pasteCode: "認可コードを貼り付け (#state サフィックス付きでも問題ありません)",
|
||
waitingAuth: "ブラウザでの認可をお待ちしています…",
|
||
enterCodePrompt: "新しいタブが開きました。プロンプトが表示されたらこのコードを入力してください:",
|
||
pkceStep1: "claude.ai への新しいタブが開きました。サインインして「Authorize」をクリックしてください。",
|
||
pkceStep2: "認可後に表示される認可コードをコピーしてください。",
|
||
pkceStep3: "下に貼り付けて送信してください。",
|
||
flowLabels: {
|
||
pkce: "ブラウザログイン (PKCE)",
|
||
device_code: "デバイスコード",
|
||
external: "外部 CLI",
|
||
},
|
||
expiresIn: "{time} 後に期限切れ",
|
||
},
|
||
|
||
language: {
|
||
switchTo: "英語に切り替え",
|
||
},
|
||
|
||
theme: {
|
||
title: "テーマ",
|
||
switchTheme: "テーマを切り替え",
|
||
},
|
||
|
||
achievements: {
|
||
hero: {
|
||
kicker: "Agentic Gamerscore",
|
||
title: "Hermes Achievements",
|
||
subtitle:
|
||
"実際のセッション履歴から獲得できる Hermes のコレクタブル バッジです。既知の未達成の実績は「Discovered」として表示され、Secret 実績は最初の該当する挙動が検出されるまで非表示のままです。",
|
||
scan_subtitle:
|
||
"Hermes のセッション履歴をスキャンしています。履歴が大きい場合、初回スキャンには 5~10 秒かかることがあります。",
|
||
},
|
||
actions: {
|
||
rescan: "再スキャン",
|
||
},
|
||
stats: {
|
||
unlocked: "解除済み",
|
||
unlocked_hint: "獲得したバッジ",
|
||
discovered: "発見済み",
|
||
discovered_hint: "判明していますが未獲得",
|
||
secrets: "シークレット",
|
||
secrets_hint: "最初のシグナルまで非表示",
|
||
highest_tier: "最高ティア",
|
||
highest_tier_hint: "Copper → Silver → Gold → Diamond → Olympian",
|
||
latest: "最新",
|
||
latest_hint_empty: "Hermes をもっと使ってみてください",
|
||
none_yet: "まだありません",
|
||
},
|
||
state: {
|
||
unlocked: "解除済み",
|
||
discovered: "発見済み",
|
||
secret: "シークレット",
|
||
},
|
||
tier: {
|
||
target: "目標 {tier}",
|
||
hidden: "非表示",
|
||
complete: "達成",
|
||
objective: "目的",
|
||
},
|
||
progress: {
|
||
hidden: "非表示",
|
||
},
|
||
scan: {
|
||
building_headline: "実績プロファイルを構築中…",
|
||
building_detail:
|
||
"セッション、ツール呼び出し、モデルのメタデータ、解除状態を読み込んでいます。",
|
||
starting_headline: "実績スキャンを開始しています…",
|
||
progress_detail:
|
||
"{total} 件中 {scanned} 件のセッションをスキャンしました · {pct}%。履歴が読み込まれるにつれてバッジが解除されます。",
|
||
idle_detail:
|
||
"セッション、ツール呼び出し、モデルのメタデータ、解除状態を読み込んでいます。バッジは解除され次第ここに表示されます。",
|
||
},
|
||
guide: {
|
||
tiers_header: "ティア",
|
||
secret_header: "シークレット実績",
|
||
secret_body:
|
||
"シークレットはトリガー条件を隠しています。Hermes が関連するシグナルを検出すると、カードは「Discovered」になり、要件が表示されます。",
|
||
scan_status_header: "スキャン状況",
|
||
scan_status_body:
|
||
"Hermes はローカル履歴を一度スキャンし、その後カードが自動的に表示されます。数秒かかってもスタックしているわけではありません。",
|
||
what_scanned_header: "スキャン対象",
|
||
what_scanned_body:
|
||
"セッション、ツール呼び出し、モデルのメタデータ、エラー、実績、ローカルの解除状態。",
|
||
},
|
||
card: {
|
||
share_title: "この実績を共有",
|
||
share_label: "{name} を共有",
|
||
share_text: "共有",
|
||
how_to_reveal: "解除する方法",
|
||
what_counts: "対象となる条件",
|
||
evidence_label: "エビデンス",
|
||
evidence_session_fallback: "セッション",
|
||
no_evidence: "エビデンスはまだありません",
|
||
},
|
||
latest: {
|
||
header: "最近の解除",
|
||
},
|
||
empty: {
|
||
no_secrets_header: "このスキャンに残っている隠しシークレットはありません。",
|
||
no_secrets_body:
|
||
"ヒント: シークレットは通常、想定外の失敗やパワーユーザー的なパターンから生まれます — ポート競合、権限の壁、環境変数の不足、YAML のミス、Docker の衝突、ロールバックやチェックポイントの利用、キャッシュヒット、あるいは大量の赤いエラーの後の小さな修正など。",
|
||
},
|
||
filters: {
|
||
all_categories: "すべて",
|
||
visibility_all: "すべて",
|
||
visibility_unlocked: "解除済み",
|
||
visibility_discovered: "発見済み",
|
||
visibility_secret: "シークレット",
|
||
},
|
||
share: {
|
||
dialog_label: "実績を共有",
|
||
header: "共有: {name}",
|
||
close: "閉じる",
|
||
rendering: "描画中…",
|
||
card_alt: "{name} の共有カード",
|
||
error_generic: "問題が発生しました。",
|
||
x_title: "事前入力された投稿で X を開きます",
|
||
x_button: "X で共有",
|
||
copy_title: "投稿に貼り付けるために画像をコピーします",
|
||
copy_button: "画像をコピー",
|
||
copied: "コピーしました ✓",
|
||
download_button: "PNG をダウンロード",
|
||
hint:
|
||
"「X で共有」は事前入力された投稿を新しいタブで開きます。1200×630 のバッジを添付したい場合は、先に「画像をコピー」を押してください — X では投稿エディタに直接貼り付けられます。「PNG をダウンロード」はファイルとして保存し、どこでも使えるようにします。",
|
||
clipboard_unsupported:
|
||
"このブラウザではクリップボードへの画像コピーがサポートされていません — 代わりに「ダウンロード」をご利用ください。",
|
||
tweet_text: "Just unlocked {tier_part}\"{name}\" in Hermes Agent ☤",
|
||
},
|
||
},
|
||
kanban: {
|
||
loading: "Kanban ボードを読み込んでいます…",
|
||
loadFailed: "Kanban ボードの読み込みに失敗しました: ",
|
||
loadFailedHint:
|
||
"バックエンドは初回読み込み時に kanban.db を自動作成します。問題が続く場合は、ダッシュボードのログをご確認ください。",
|
||
board: "ボード",
|
||
newBoard: "+ 新しいボード",
|
||
newBoardTitle: "新しいボード",
|
||
newBoardDescription:
|
||
"ボードを使うと、関連のない作業の流れを分けられます — プロジェクト、リポジトリ、ドメインごとに 1 つずつ。あるボードのワーカーは、別のボードのタスクを見ることはありません。",
|
||
slug: "スラッグ",
|
||
slugHint: "— 小文字とハイフン、例: atm10-server",
|
||
displayName: "表示名",
|
||
displayNameHint: "(任意)",
|
||
description: "説明",
|
||
descriptionHint: "(任意)",
|
||
icon: "アイコン",
|
||
iconHint: "(1 文字または絵文字)",
|
||
switchAfterCreate: "作成後にこのボードへ切り替える",
|
||
cancel: "キャンセル",
|
||
creating: "作成中…",
|
||
createBoard: "ボードを作成",
|
||
search: "検索",
|
||
filterCards: "カードを絞り込む…",
|
||
tenant: "テナント",
|
||
allTenants: "すべてのテナント",
|
||
assignee: "担当者",
|
||
allProfiles: "すべてのプロファイル",
|
||
showArchived: "アーカイブ済みを表示",
|
||
lanesByProfile: "プロファイル別レーン",
|
||
nudgeDispatcher: "ディスパッチャーを起動",
|
||
refresh: "更新",
|
||
selected: "選択中",
|
||
complete: "完了",
|
||
archive: "アーカイブ",
|
||
apply: "適用",
|
||
clear: "クリア",
|
||
createTask: "この列にタスクを作成",
|
||
noTasks: "— タスクはありません —",
|
||
unassigned: "未割り当て",
|
||
untitled: "(タイトルなし)",
|
||
loadingDetail: "読み込み中…",
|
||
addComment: "コメントを追加…(Enter で送信)",
|
||
comment: "コメント",
|
||
status: "ステータス",
|
||
workspace: "ワークスペース",
|
||
skills: "スキル",
|
||
createdBy: "作成者",
|
||
result: "結果",
|
||
comments: "コメント",
|
||
events: "イベント",
|
||
runHistory: "実行履歴",
|
||
workerLog: "ワーカーログ",
|
||
loadingLog: "ログを読み込んでいます…",
|
||
noWorkerLog:
|
||
"— ワーカーログはまだありません(タスクが起動していないか、ログがローテーションされました)—",
|
||
noDescription: "— 説明はありません —",
|
||
noComments: "— コメントはありません —",
|
||
edit: "編集",
|
||
save: "保存",
|
||
dependencies: "依存関係",
|
||
parents: "親タスク:",
|
||
children: "子タスク:",
|
||
none: "なし",
|
||
addParent: "— 親タスクを追加 —",
|
||
addChild: "— 子タスクを追加 —",
|
||
removeDependency: "依存関係を削除",
|
||
block: "ブロック",
|
||
unblock: "ブロック解除",
|
||
notifyHomeChannels: "ホームチャンネルに通知する",
|
||
diagnostics: "診断情報",
|
||
hide: "非表示",
|
||
show: "表示",
|
||
attention: "注意",
|
||
tasksNeedAttention: "件のタスクが対応を必要としています",
|
||
taskNeedsAttention: "1 件のタスクが対応を必要としています",
|
||
diagnostic: "診断",
|
||
open: "開く",
|
||
close: "閉じる (Esc)",
|
||
reassignTo: "再割り当て先:",
|
||
copied: "コピーしました",
|
||
copyCommand: "コマンドをクリップボードにコピー",
|
||
reclaim: "回収",
|
||
reassign: "再割り当て",
|
||
renderingError: "Kanban タブで描画エラーが発生しました",
|
||
reloadView: "ビューを再読み込み",
|
||
wsAuthFailed:
|
||
"WebSocket 認証に失敗しました — ページを再読み込みしてセッショントークンを更新してください。",
|
||
markDone: "{n} 件のタスクを完了にしますか?",
|
||
markArchived: "{n} 件のタスクをアーカイブしますか?",
|
||
warning: "警告",
|
||
phantomIds: "ファントム ID:",
|
||
active: "実行中",
|
||
ended: "終了",
|
||
noProfile: "(プロファイルなし)",
|
||
showAllAttempts: "すべての試行を表示",
|
||
sendingUpdates: "更新の送信先: ",
|
||
sendNotifications: "完了 / ブロック / 諦めの通知の送信先",
|
||
archiveBoardConfirm:
|
||
"ボード「{name}」をアーカイブしますか?ボードは boards/_archived/ に移動され、後で復元できます。このボード上のタスクは UI のどこにも表示されなくなります。",
|
||
archiveBoardTitle: "このボードをアーカイブ",
|
||
boardSwitcherHint: "ボードを使うと、関連のない作業の流れを分けられます",
|
||
taskCreatedWarning: "タスクは作成されましたが: ",
|
||
moveFailed: "移動に失敗しました: ",
|
||
bulkFailed: "一括処理: ",
|
||
completionBlockedHallucination: "⚠ 完了がブロックされました — ファントムカード ID",
|
||
suspectedHallucinatedReferences: "⚠ 本文がファントムカード ID を参照しています",
|
||
pickProfileFirst: "まずプロファイルを選択してください。",
|
||
unblockedMessage: "{id} のブロックを解除しました。タスクは次のティックの準備ができています。",
|
||
unblockFailed: "ブロック解除に失敗しました: ",
|
||
reclaimedMessage: "{id} を回収しました。タスクは ready に戻りました。",
|
||
reclaimFailed: "回収に失敗しました: ",
|
||
reassignedMessage: "{id} を {profile} に再割り当てしました。",
|
||
reassignFailed: "再割り当てに失敗しました: ",
|
||
selectForBulk: "一括操作のために選択",
|
||
clickToEdit: "クリックして編集",
|
||
clickToEditAssignee: "クリックして担当者を編集",
|
||
emptyAssignee: "(空 = 割り当て解除)",
|
||
columnLabels: {
|
||
triage: "トリアージ",
|
||
todo: "ToDo",
|
||
ready: "準備完了",
|
||
running: "進行中",
|
||
blocked: "ブロック中",
|
||
done: "完了",
|
||
archived: "アーカイブ済み",
|
||
},
|
||
columnHelp: {
|
||
triage: "未整理のアイデア — スペシファイアが仕様を肉付けします",
|
||
todo: "依存関係の待機中、または未割り当て",
|
||
ready: "割り当て済み、ディスパッチャーのティック待ち",
|
||
running: "ワーカーが取得中 — 実行中",
|
||
blocked: "ワーカーが人間の入力を求めています",
|
||
done: "完了",
|
||
archived: "アーカイブ済み",
|
||
},
|
||
confirmDone:
|
||
"このタスクを完了にしますか?ワーカーの取得は解放され、依存している子タスクが ready になります。",
|
||
confirmArchive:
|
||
"このタスクをアーカイブしますか?既定のボードビューから消えます。",
|
||
confirmBlocked:
|
||
"このタスクをブロック中にしますか?ワーカーの取得は解放されます。",
|
||
completionSummary:
|
||
"{label} の完了サマリ。これはタスクの結果として保存されます。",
|
||
completionSummaryRequired:
|
||
"タスクを完了にする前に、完了サマリの入力が必要です。",
|
||
triagePlaceholder: "おおまかなアイデア — AI が仕様化します…",
|
||
taskTitlePlaceholder: "新しいタスクのタイトル…",
|
||
specifier: "スペシファイア",
|
||
assigneePlaceholder: "担当者",
|
||
priority: "優先度",
|
||
skillsPlaceholder:
|
||
"スキル(任意、カンマ区切り): translation, github-code-review",
|
||
noParent: "— 親タスクなし —",
|
||
workspacePathDir: "ワークスペースのパス(必須、例: ~/projects/my-app)",
|
||
workspacePathOptional:
|
||
"ワークスペースのパス(任意、空の場合は担当者から導出)",
|
||
logTruncated: "(最後の 100 KB を表示中 — 完全なログは ",
|
||
logAt: ")",
|
||
},
|
||
};
|