DUNGEONS-34: implement Webka local streaming app

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
2026-09-06 16:23:09 +05:00
parent 5540b9a1f4
commit 7c737c1011
36 changed files with 21596 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
export function useApiError() {
const { t, te } = useI18n();
return (error: any) => {
const key = `errors.${error?.data?.error || error?.name || "server"}`;
return te(key) ? t(key) : t("errors.server");
};
}