firstsun-dev_git-files-sync/tests/i18n
ClaudiaFang 144eb286d8 feat: add i18n (multi-language) support (#38)
Add an i18n layer (t(key, vars?)) with English (default) and
Traditional Chinese translations, detecting the active locale via
Obsidian's window.moment.locale() with a fallback to English for
unsupported locales.

Replace ~130 hardcoded UI strings across the settings tab, ribbon/
command labels, Notice messages, and the sync status view/modals with
translated keys. Left untranslated on purpose: service provider names
(GitHub/GitLab/Gitea), diff-format markers, URL placeholders, and
changelog release-note content.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011BNWwPd5zudtW2JQr6ZAUm
2026-07-13 14:28:18 +00:00
..
index.test.ts feat: add i18n (multi-language) support (#38) 2026-07-13 14:28:18 +00:00