Skip to content

armgit / VERT

Public Imported from GitHub
0

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

fix: translate format dropdown results

Maya3e8f86ec35a0
diff --git a/messages/en.json b/messages/en.json
index 3f4b16e..05fa559 100644
--- a/messages/en.json
+++ b/messages/en.json
@@ -77,7 +77,9 @@
"video": "Video",
"doc": "Document",
"image": "Image",
- "placeholder": "Search format"
+ "placeholder": "Search format",
+ "no_formats": "No formats available",
+ "no_results": "No formats match your search"
},
"tooltips": {
"unknown_file": "Unknown file type",
diff --git a/src/lib/components/functional/FormatDropdown.svelte b/src/lib/components/functional/FormatDropdown.svelte
index 95beccd..1f6845b 100644
--- a/src/lib/components/functional/FormatDropdown.svelte
+++ b/src/lib/components/functional/FormatDropdown.svelte
@@ -483,8 +483,8 @@
{:else}
<div class="col-span-3 text-center p-4 text-muted">
{searchQuery
- ? "No formats match your search"
- : "No formats available"}
+ ? m["convert.dropdown.no_results"]()
+ : m["convert.dropdown.no_formats"]()}
</div>
{/if}
</div>