Files
multica/packages/views/locales/ja/usage.json
Anderson Shindy Oki 1aa742053b i18n: add japanese locale (MUL-2893) (#3538)
* i18n: add japanese locale

* fix: spacing issues

* refactor

* fix(desktop): set <html lang> before paint to avoid JA Kanji font flash

Switch the documentElement.lang sync from useEffect to useLayoutEffect so
lang is committed before the first paint. Otherwise Japanese desktop users
saw one frame of Kanji rendered with the Chinese-first fallback stack before
the html[lang|="ja"] CJK override applied. Also fix the stale selector in the
HTML_LANG comment (html[lang^="ja"] -> html[lang|="ja"]).

Addresses review nits on MUL-2893.

Co-authored-by: multica-agent <github@multica.ai>

* fix(docs): tokenize the ideographic iteration mark in JA search

Add U+3005 (々) to the Japanese search tokenizer character class. It sits just
below the kana blocks, so words like 様々 / 日々 / 個々 previously dropped the
mark and split awkwardly, hurting recall.

Addresses a review nit on MUL-2893.

Co-authored-by: multica-agent <github@multica.ai>

* fix(i18n): restore ja locale parity after merging main

Merging main brought new EN strings into agents/chat/onboarding/settings/
squads that the ja bundle (authored against an older snapshot) lacked, breaking
the locales parity test. Add the Japanese translations for the new keys
(workspace logo upload, agents runtime filter, chat session-history stop
dialog, onboarding social_github, squad archived status) and drop the two
renamed chat window keys (active_group / archived_group) that EN removed in
favour of history_group.

Fixes the failing @multica/views parity.test.ts on the FE CI for MUL-2893.

Co-authored-by: multica-agent <github@multica.ai>

---------

Co-authored-by: J <j@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
2026-06-02 14:29:29 +08:00

59 lines
2.0 KiB
JSON

{
"title": "使用量",
"subtitle": "このワークスペース全体のトークン消費とエージェントの活動です。",
"filter": {
"project_label": "プロジェクト",
"all_projects": "すべてのプロジェクト",
"period_label": "期間"
},
"kpi": {
"cost_label": "コスト · {{days}}日",
"tokens_label": "トークン · {{days}}日",
"tokens_hint": "入力 {{input}} · 出力 {{output}}",
"run_time_label": "実行時間 · {{days}}日",
"run_time_hint": "{{tasks}} 件のタスク全体",
"tasks_label": "タスク · {{days}}日",
"tasks_hint": "{{failed}} 件失敗"
},
"dim": {
"label": "単位",
"daily": "日別",
"weekly": "週別"
},
"daily": {
"title_cost": "日別コスト",
"title_tokens": "日別トークン",
"title_time": "日別実行時間",
"title_tasks": "日別タスク",
"metric_cost": "コスト",
"metric_tokens": "トークン",
"metric_time": "時間",
"metric_tasks": "タスク",
"no_data": "この期間に使用量はありません。"
},
"weekly": {
"title_cost": "週別コスト",
"title_tokens": "週別トークン",
"title_time": "週別実行時間",
"title_tasks": "週別タスク",
"partial_label": "{{range}} (一部 · 7日中 {{covered}}日)"
},
"leaderboard": {
"title": "リーダーボード",
"caption": "{{count}} 件のエージェント",
"header_agent": "エージェント",
"header_tokens": "トークン",
"header_cost": "コスト",
"header_time": "時間",
"header_tasks": "タスク",
"no_data": "この期間にエージェントの活動はありません。"
},
"empty": {
"title": "まだ使用量はありません",
"body": "ここでエージェントがタスクを実行し始めると、トークンの消費と実行時間がこの画面に表示されます。"
},
"duration": {
"less_than_minute": "1分未満"
}
}