From 4f5754399b7dfa992c2c992c5a786110aced4f89 Mon Sep 17 00:00:00 2001
From: schroda <50052685+schroda@users.noreply.github.com>
Date: Sat, 2 Aug 2025 13:05:29 +0200
Subject: [PATCH] Prevent translation of hardcoded value in user facing text
---
public/locales/en.json | 2 +-
src/modules/downloads/components/DownloadConversionSetting.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/public/locales/en.json b/public/locales/en.json
index f77cc7e1..6ed258cf 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -207,7 +207,7 @@
},
"conversion": {
"compression_level": "Compression level",
- "description": "In case no MIME-Type is defined, the \"default\" one will be used for the conversion.\nSet \"none\" as the target type to disable conversion for a MIME-Type",
+ "description": "In case no MIME-Type is defined, the \"default\" one will be used for the conversion.\nSet \"{{value}}\" as the target type to disable conversion for a MIME-Type",
"mime_type": "MIME-Type",
"target": "MIME-Type target",
"title": "Download conversion"
diff --git a/src/modules/downloads/components/DownloadConversionSetting.tsx b/src/modules/downloads/components/DownloadConversionSetting.tsx
index 7f85af9a..698c4b17 100644
--- a/src/modules/downloads/components/DownloadConversionSetting.tsx
+++ b/src/modules/downloads/components/DownloadConversionSetting.tsx
@@ -280,7 +280,7 @@ export const DownloadConversionSetting = ({
{t('download.settings.conversion.title')}
- {t('download.settings.conversion.description')}
+ {t('download.settings.conversion.description', { value: 'none' })}
{tmpConversions.map((conversion, index) => {