adds spanish language options

This commit is contained in:
Christian Beutel
2025-01-10 17:23:12 +01:00
parent 06b6bba31f
commit 92c05144b9
14 changed files with 107 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ import type { Settings } from "../settings";
const SettingsCreateSchema = z.object({
unit: z.enum(["metric", "imperial"]).optional(),
language: z.enum(["en", "de", "fr", "hu", "it", "nl", "pl", "pt", "zh"]).optional(),
language: z.enum(["en", "de", "es", "fr", "hu", "it", "nl", "pl", "pt", "zh"]).optional(),
mapFocus: z.enum(["trails", "location"]).optional(),
location: z.object({
name: z.string(),