adds hungarian translation

This commit is contained in:
Christian Beutel
2024-03-31 13:10:51 +02:00
parent 36b7b3a309
commit f6fb35ec40
12 changed files with 112 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ export type User = {
password: string,
avatar?: string;
unit?: "metric" | "imperial";
language?: "en" | "de" | "fr" | "nl" | "pl" | "pt";
language?: "en" | "de" | "fr" | "hu" | "nl" | "pl" | "pt";
location?: { name: string, lat: number, lon: number }
}
@@ -62,7 +62,7 @@ export async function oauth_login(data: { name: string, code: string, codeVerifi
const r = await fetch('/api/v1/auth/oauth', {
method: 'POST',
body: JSON.stringify(data)
})
})
if (r.ok) {
pb.authStore.loadFromCookie(document.cookie)