Initial frontend import

This commit is contained in:
TerryM
2026-05-16 00:18:22 +08:00
commit 9c54ffec76
99 changed files with 14992 additions and 0 deletions

7
src/admin/useAdminT.ts Normal file
View File

@@ -0,0 +1,7 @@
import { useCallback } from "react";
import { tLang } from "../i18n";
/** Admin area always uses 繁體中文, independent of site language. */
export function useAdminT() {
return useCallback((key: string) => tLang("zh-TW", key), []);
}