diff --git a/src/public/app/widgets/type_widgets/options/images/images.js b/src/public/app/widgets/type_widgets/options/images/images.js
index ca8f28710..8df6ecf20 100644
--- a/src/public/app/widgets/type_widgets/options/images/images.js
+++ b/src/public/app/widgets/type_widgets/options/images/images.js
@@ -1,4 +1,5 @@
import OptionsWidget from "../options_widget.js";
+import { t } from "../../../../services/i18n.js";
const TPL = `
@@ -9,28 +10,28 @@ const TPL = `
}
-
Images
+
${t("images.images_section_title")}
-
(pasted HTML can contain references to online images, Trilium will find those references and download the images so that they are available offline)
+
${t("images.download_images_description")}
diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.json
index 287032340..1a4ad0b56 100644
--- a/src/public/translations/cn/translation.json
+++ b/src/public/translations/cn/translation.json
@@ -1034,5 +1034,13 @@
"wrap_lines": {
"wrap_lines_in_code_notes": "代码笔记自动换行",
"enable_line_wrap": "启用自动换行(需要重新加载前端才会生效)"
+ },
+ "images": {
+ "images_section_title": "图片",
+ "download_images_automatically": "自动下载图片以供离线使用。",
+ "download_images_description": "粘贴的 HTML 可能包含在线图片的引用,Trilium 会找到这些引用并下载图片,以便它们可以离线使用。",
+ "enable_image_compression": "启用图片压缩",
+ "max_image_dimensions": "图片的最大宽度/高度(超过此限制的图像将会被缩放)。",
+ "jpeg_quality_description": "JPEG 质量(10 - 最差质量,100 最佳质量,建议为 50 - 85)"
}
}
diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json
index f5c98b578..6a9e6eb28 100644
--- a/src/public/translations/en/translation.json
+++ b/src/public/translations/en/translation.json
@@ -1035,5 +1035,13 @@
"wrap_lines": {
"wrap_lines_in_code_notes": "Wrap lines in code notes",
"enable_line_wrap": "Enable Line Wrap (change might need a frontend reload to take effect)"
+ },
+ "images": {
+ "images_section_title": "Images",
+ "download_images_automatically": "Download images automatically for offline use.",
+ "download_images_description": "Pasted HTML can contain references to online images, Trilium will find those references and download the images so that they are available offline.",
+ "enable_image_compression": "Enable image compression",
+ "max_image_dimensions": "Max width / height of an image in pixels (image will be resized if it exceeds this setting).",
+ "jpeg_quality_description": "JPEG quality (10 - worst quality, 100 best quality, 50 - 85 is recommended)"
}
}