feat: localize interface messages

This commit is contained in:
Erzbir
2026-08-07 14:45:14 +08:00
parent b556dd9a74
commit e83853ba34
22 changed files with 188 additions and 41 deletions
+3
View File
@@ -0,0 +1,3 @@
export function getMessage(key, fallback) {
return window.TerminalThemeConfig?.messages?.[key] || fallback;
}