gettext image size names
git-svn-id: http://svn.automattic.com/wordpress/trunk@10118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5382d2b80e
commit
3b5ef2f644
|
@ -751,8 +751,8 @@ function image_align_input_fields($post, $checked='') {
|
|||
function image_size_input_fields($post, $checked='') {
|
||||
|
||||
// get a list of the actual pixel dimensions of each possible intermediate version of this image
|
||||
$size_names = array('thumbnail' => 'Thumbnail', 'medium' => 'Medium', 'large' => 'Large', 'full' => 'Full size');
|
||||
|
||||
$size_names = array('thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full size'));
|
||||
|
||||
foreach ( $size_names as $size => $name) {
|
||||
$downsize = image_downsize($post->ID, $size);
|
||||
|
||||
|
|
Loading…
Reference in New Issue