Skip to content

fix(viewer): localize legacy DB migration scan results#1566

Merged
hijzy merged 1 commit into
MemTensor:mem-agent-0424from
hijzy:fix/legacy-migrate-i18n
Apr 28, 2026
Merged

fix(viewer): localize legacy DB migration scan results#1566
hijzy merged 1 commit into
MemTensor:mem-agent-0424from
hijzy:fix/legacy-migrate-i18n

Conversation

@hijzy
Copy link
Copy Markdown
Collaborator

@hijzy hijzy commented Apr 28, 2026

Summary

The "Found legacy hermes DB at ..." and "No legacy database found" messages on the Import page were hard-coded English strings. They now use i18n so users in Chinese mode see proper translations.

Verified the legacy hermes DB path is correct: `~/.hermes/memos-state/memos-local/memos.db` (matches the legacy plugin's `stateDir/memos-local/memos.db` convention from openclaw-local-plugin-20260408).

Test plan

  • Switch viewer to Chinese mode → Import page → click "扫描旧数据库" → verify result message is in Chinese
  • Switch back to English mode → result message is in English

The "Found legacy DB" / "No legacy database found" messages were
hard-coded English. Move them to i18n so Chinese mode displays
properly translated strings.
@hijzy hijzy merged commit a72dc05 into MemTensor:mem-agent-0424 Apr 28, 2026
@hijzy hijzy deleted the fix/legacy-migrate-i18n branch April 29, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant