mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	client/options/images/max dimensions: specify the measurement unit inside of the input field
This commit is contained in:
		| @@ -30,7 +30,10 @@ const TPL = ` | ||||
|     <div class="image-compression-enabled-wraper"> | ||||
|         <div class="form-group"> | ||||
|             <label>${t("images.max_image_dimensions")}</label> | ||||
|             <input class="image-max-width-height form-control options-number-input" type="number" min="1"> | ||||
|             <div class="input-group"> | ||||
|                 <input class="image-max-width-height form-control options-number-input" type="number" min="1"> | ||||
|                 <span class="input-group-text">${t("images.max_image_dimensions_unit")}</span> | ||||
|             </div> | ||||
|         </div> | ||||
|  | ||||
|         <div class="form-group"> | ||||
|   | ||||
| @@ -1151,7 +1151,8 @@ | ||||
|     "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).", | ||||
|     "max_image_dimensions": "Max width / height of an image (image will be resized if it exceeds this setting).", | ||||
|     "max_image_dimensions_unit": "pixels", | ||||
|     "jpeg_quality_description": "JPEG quality (10 - worst quality, 100 - best quality, 50 - 85 is recommended)" | ||||
|   }, | ||||
|   "attachment_erasure_timeout": { | ||||
|   | ||||
| @@ -698,7 +698,8 @@ | ||||
|     "enable_image_compression": "Activează compresia imaginilor", | ||||
|     "images_section_title": "Imagini", | ||||
|     "jpeg_quality_description": "Calitatea JPEG (10 - cea mai slabă calitate, 100 - cea mai bună calitate, se recomandă între 50 și 85)", | ||||
|     "max_image_dimensions": "Lungimea/lățimea maximă a unei imagini în pixeli (imaginea va fi redimensionată dacă depășește acest prag)." | ||||
|     "max_image_dimensions": "Lungimea/lățimea maximă a unei imagini (imaginea va fi redimensionată dacă depășește acest prag).", | ||||
|     "max_image_dimensions_unit": "pixeli" | ||||
|   }, | ||||
|   "import": { | ||||
|     "chooseImportFile": "Selectați fișierul de importat", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user