Skip to content

Build your personal knowledge base with Trilium Notes

client: Use translation for auto-detect

Elian Doran9e3b91561254
diff --git a/src/public/app/widgets/type_widgets/editable_text.js b/src/public/app/widgets/type_widgets/editable_text.js
index c39e0a6221..1aa0804230 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 06604c638c..32f7462fc5 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"
}
}