gettext image size names
git-svn-id: https://develop.svn.wordpress.org/trunk@10118 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9a7e2fc242
commit
f21e148b38
|
@ -751,7 +751,7 @@ function image_align_input_fields($post, $checked='') {
|
||||||
function image_size_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
|
// 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) {
|
foreach ( $size_names as $size => $name) {
|
||||||
$downsize = image_downsize($post->ID, $size);
|
$downsize = image_downsize($post->ID, $size);
|
||||||
|
|
Loading…
Reference in New Issue