1
0

Correct thumbnail constraints. S9Y now supports width, height, largest,

and smallest constraints.  Backwards compatibility is maintained with the
imageselectorplus plugin (the only plugin to use the thumbnail or aspect
calculation code).  Language files are updated and a new option screen
is displayed after choosing "Rebuild Thumbs".
This commit is contained in:
Jude Anthony
2008-04-09 01:57:10 +00:00
parent 834c8da677
commit 84d9e8199f
64 changed files with 974 additions and 116 deletions
include
lang
UTF-8
serendipity_lang_bg.inc.phpserendipity_lang_cn.inc.phpserendipity_lang_cs.inc.phpserendipity_lang_cz.inc.phpserendipity_lang_da.inc.phpserendipity_lang_de.inc.phpserendipity_lang_en.inc.phpserendipity_lang_es.inc.phpserendipity_lang_fa.inc.phpserendipity_lang_fi.inc.phpserendipity_lang_fr.inc.phpserendipity_lang_hu.inc.phpserendipity_lang_is.inc.phpserendipity_lang_it.inc.phpserendipity_lang_ja.inc.phpserendipity_lang_ko.inc.phpserendipity_lang_nl.inc.phpserendipity_lang_no.inc.phpserendipity_lang_pl.inc.phpserendipity_lang_pt.inc.phpserendipity_lang_pt_PT.inc.phpserendipity_lang_ro.inc.phpserendipity_lang_ru.inc.phpserendipity_lang_sa.inc.phpserendipity_lang_se.inc.phpserendipity_lang_ta.inc.phpserendipity_lang_tn.inc.phpserendipity_lang_tr.inc.phpserendipity_lang_tw.inc.phpserendipity_lang_zh.inc.php
serendipity_admin.php

@ -89,7 +89,7 @@
@define('ERROR_UNKNOWN_NOUPLOAD', '发生错误, 文件没有上传,可能因为你的文件超过限制的大小, 请询问你的主机商或修改你的 php.ini 文件属性。');
@define('GO', '继续');
@define('NEWSIZE', '大小: ');
@define('RESIZE_BLAHBLAH', '<b>重设大小 %s</b><p>');
@define('RESIZE_BLAHBLAH', '<b>重设大小 %s</b>');
@define('ORIGINAL_SIZE', '原有的大小: <i>%sx%s</i> 像素');
@define('HERE_YOU_CAN_ENTER_BLAHBLAH', '<p>在这里你可以修改图片大小!如果你要修改成相同的图片比例, 你只需要输入一个数值然后按 TAB -- 系统会自动帮你计算比例以免出错。</p>');
@define('QUICKJUMP_CALENDAR', '日历快速跳跃');
@ -203,6 +203,10 @@
@define('RESIZING', '重设大小');
@define('RESIZE_DONE', '完成 (重设 %s 个图片)');
@define('SYNCING', '进行数据库和图片文件夹数据同步');
@define('SYNC_OPTION_LEGEND', 'Thumbnail Synchronization Options');
@define('SYNC_OPTION_KEEPTHUMBS', 'Keep all existing thumbnails');
@define('SYNC_OPTION_SIZECHECKTHUMBS', 'Keep existing thumbnails only if they are the correct size');
@define('SYNC_OPTION_DELETETHUMBS', 'Regenerate all thumbnails');
@define('SYNC_DONE', '完成 (同步了 %s 个图片)');
@define('FILE_NOT_FOUND', '找不到文件 <b>%s</b>, 可能已被删除');
@define('ABORT_NOW', '放弃');
@ -414,6 +418,14 @@
@define('INSTALL_THUMBSUFFIX_DESC', '缩图会以下面的格式重新命名: original.[后置字符].ext');
@define('INSTALL_THUMBWIDTH', '缩图大小');
@define('INSTALL_THUMBWIDTH_DESC', '自动建立缩图的最大宽度');
@define('INSTALL_THUMBDIM', 'Thumbnail constrained dimension');
@define('INSTALL_THUMBDIM_LARGEST', 'Largest');
@define('INSTALL_THUMBDIM_WIDTH', 'Width');
@define('INSTALL_THUMBDIM_HEIGHT', 'Height');
@define('INSTALL_THUMBDIM_DESC', 'Dimension to be constrained to the thumbnail max size. The default "' .
INSTALL_THUMBDIM_LARGEST . '" limits both dimensions, so neither can be greater than the max size; "' .
INSTALL_THUMBDIM_WIDTH . '" and "' . INSTALL_THUMBDIM_HEIGHT .
'" only limit the chosen dimension, so the other could be larger than the max size.');
/* Personal details */
@define('USERCONF_CAT_PERSONAL', '个人资料设定');