Skip to content

Commit dfabd2f

Browse files
author
Edwin Westerhoud
committed
Added note about the extra compression it takes to resize.
1 parent 530db66 commit dfabd2f

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/class-tiny-settings.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ public function render_resize() {
287287
printf("%s: ", self::translate_escape('Max Height'));
288288
$this->render_resize_input('height');
289289
echo '</p>';
290+
291+
echo '<p class="tiny-resize-available">' . sprintf(self::translate_escape("Resizing takes %s per image larger than the specified resolution"), '<strong>' . self::translate_escape('1 additional compression') . '</strong>') . '.</p>';
290292
}
291293

292294
public function render_resize_input($name) {
228 Bytes
Binary file not shown.

src/languages/tiny-compress-images-nl_NL.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@ msgstr "Schakel de compressie van het originele formaat in om het origineel te v
214214
msgid "Resize and compress orginal images to fit within"
215215
msgstr "Verklein en comprimeer het origineel in"
216216

217+
msgid "Resizing takes %s per image larger than the specified resolution"
218+
msgstr "Verkleinen gebruikt %s per afbeelding die groter is dan de opgegeven resolutie"
219+
220+
msgid "1 additional compression"
221+
msgstr "1 extra compressie"
222+
217223
msgid "Resized original to %dx%d"
218224
msgstr "Origineel verkleind tot %dx%d"
219225

0 commit comments

Comments
 (0)