Skip to content

armgit / VERT

Public Imported from GitHub
0

The next-generation file converter. Open source, fully local* and free forever.

fix: hard-coded default conversion format toggle (#187)

Maya38ec057eef59
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, <b>not including the file extension.</b> You can put these following templates in the format, which will be replaced with the relevant information: <b>%name%</b> for the original file name, <b>%extension%</b> for the original file extension, and <b>%date%</b> 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"]()}
</button>
<button
@@ -118,7 +118,7 @@
size="24"
class="inline-block mr-2"
/>
- Disable
+ {m["settings.conversion.default_format_disable"]()}
</button>
</div>
</div>