mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 23:57:41 +02:00
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,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
Block a user