From 9e3b91561254034234bf2c1a638ab7df749281d6 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 27 Oct 2024 11:47:36 +0200 Subject: [PATCH] client: Use translation for auto-detect --- src/public/app/widgets/type_widgets/editable_text.js | 2 +- src/public/translations/en/translation.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/type_widgets/editable_text.js b/src/public/app/widgets/type_widgets/editable_text.js index c39e0a622..1aa080423 100644 --- a/src/public/app/widgets/type_widgets/editable_text.js +++ b/src/public/app/widgets/type_widgets/editable_text.js @@ -99,7 +99,7 @@ function buildListOfLanguages() { return [ { language: mimeTypesService.MIME_TYPE_AUTO, - label: "Auto" + label: t("editable-text.auto-detect-language") }, ...userLanguages ]; diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index 06604c638..32f7462fc 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -1497,5 +1497,8 @@ "move-to-visible-launchers": "Move to visible launchers", "move-to-available-launchers": "Move to available launchers", "duplicate-launcher": "Duplicate launcher" + }, + "editable-text": { + "auto-detect-language": "Auto-detected" } }