From 38ec057eef59b80eab3d8f676d19d030bbe4b7df Mon Sep 17 00:00:00 2001 From: Maya Date: Thu, 27 Nov 2025 15:57:45 +0300 Subject: [PATCH] fix: hard-coded default conversion format toggle (#187) fixes #187 --- messages/en.json | 2 ++ src/lib/sections/settings/Conversion.svelte | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/messages/en.json b/messages/en.json index 05fa559..d808b3d 100644 --- a/messages/en.json +++ b/messages/en.json @@ -142,6 +142,8 @@ "filename_description": "This will determine the name of the file on download, not including the file extension. You can put these following templates in the format, which will be replaced with the relevant information: %name% for the original file name, %extension% for the original file extension, and %date% for a date string of when the file was converted.", "placeholder": "VERT_%name%", "default_format": "Default conversion format", + "default_format_enable": "Enable", + "default_format_disable": "Disable", "default_format_description": "This will change the default format selected when you upload a file of this file type.", "default_format_image": "Images", "default_format_video": "Videos", diff --git a/src/lib/sections/settings/Conversion.svelte b/src/lib/sections/settings/Conversion.svelte index ad352e6..e959839 100644 --- a/src/lib/sections/settings/Conversion.svelte +++ b/src/lib/sections/settings/Conversion.svelte @@ -102,7 +102,7 @@ size="24" class="inline-block mr-2" /> - Enable + {m["settings.conversion.default_format_enable"]()}