From 4b1248b8650d011e3e1a25b0a8a7bb4e05a5d9f2 Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Mon, 3 Jun 2024 16:30:16 +0100 Subject: [PATCH] fix: updating translation for removed --- src/locales/pt/translation.json | 2 +- src/main/events/helpers/validators.ts | 2 -- src/main/vite-env.d.ts | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.json index 65887813..1ec065e6 100644 --- a/src/locales/pt/translation.json +++ b/src/locales/pt/translation.json @@ -118,7 +118,7 @@ "verifying": "Verificando…", "completed_at": "Concluído em {{date}}", "completed": "Concluído", - "removed": "Não baixado", + "removed": "Cancelado", "download_again": "Baixar novamente", "cancel": "Cancelar", "filter": "Filtrar jogos baixados", diff --git a/src/main/events/helpers/validators.ts b/src/main/events/helpers/validators.ts index 1f7cdcb7..f3c9d844 100644 --- a/src/main/events/helpers/validators.ts +++ b/src/main/events/helpers/validators.ts @@ -5,8 +5,6 @@ export const downloadSourceSchema = z.object({ downloads: z.array( z.object({ title: z.string().max(255), - objectId: z.string().max(255).nullable(), - shop: z.enum(["steam"]).nullable(), downloaders: z.array(z.enum(["real_debrid", "torrent"])), uris: z.array(z.string()), uploadDate: z.string().max(255), diff --git a/src/main/vite-env.d.ts b/src/main/vite-env.d.ts index 23a0b1f5..7542ff52 100644 --- a/src/main/vite-env.d.ts +++ b/src/main/vite-env.d.ts @@ -1,5 +1,4 @@ /// -/// interface ImportMetaEnv { readonly MAIN_VITE_STEAMGRIDDB_API_KEY: string;