Skip to content

Commit 38ec057

Browse files
committed
fix: hard-coded default conversion format toggle (#187)
fixes #187
1 parent 46edeaa commit 38ec057

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

messages/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@
142142
"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.",
143143
"placeholder": "VERT_%name%",
144144
"default_format": "Default conversion format",
145+
"default_format_enable": "Enable",
146+
"default_format_disable": "Disable",
145147
"default_format_description": "This will change the default format selected when you upload a file of this file type.",
146148
"default_format_image": "Images",
147149
"default_format_video": "Videos",

src/lib/sections/settings/Conversion.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
size="24"
103103
class="inline-block mr-2"
104104
/>
105-
Enable
105+
{m["settings.conversion.default_format_enable"]()}
106106
</button>
107107

108108
<button
@@ -118,7 +118,7 @@
118118
size="24"
119119
class="inline-block mr-2"
120120
/>
121-
Disable
121+
{m["settings.conversion.default_format_disable"]()}
122122
</button>
123123
</div>
124124
</div>

0 commit comments

Comments
 (0)