wordpress/wp-content/plugins/simple-image-sizes/classes/admin/Main.php
/**
	 * Localize the var for javascript
	 *
	 * @access public
	 * @return array
	 * @author Nicolas Juen
	 */
Localize the var for javascript
@access public
@return array
@author Nicolas Juen
Localize the var for javascript @access public @return array @author Nicolas Juen
public static function localize_vars() {
		return array(
			'reading'            => __( 'Reading attachments...', 'simple-image-sizes' ),
			'maximumWidth'       => __( 'Maximum width', 'simple-image-sizes' ),
			'maximumHeight'      => __( 'Maximum height', 'simple-image-sizes' ),
			'crop'               => __( 'Crop', 'simple-image-sizes' ),
			'tr'                 => __( 'yes', 'simple-image-sizes' ),
			'fl'                 => __( 'no', 'simple-image-sizes' ),
			'show'               => __( 'Show in post insertion ?', 'simple-image-sizes' ),
			'of'                 => __( ' of ', 'simple-image-sizes' ),
			'or'                 => __( ' or ', 'simple-image-sizes' ),
			'beforeEnd'          => __( ' before the end.', 'simple-image-sizes' ),
			'deleteImage'        => __( 'Delete', 'simple-image-sizes' ),
			'noMedia'            => __( 'No media in your site to regenerate !', 'simple-image-sizes' ),
			'regenerating'       => __( 'Regenerating ', 'simple-image-sizes' ),
			'regenerate'         => __( 'Regenerate ', 'simple-image-sizes' ),
			'validate'           => __( 'Validate image size name', 'simple-image-sizes' ),
			'done'               => __( 'Done.', 'simple-image-sizes' ),
			'size'               => __( 'Size', 'simple-image-sizes' ),
			'notOriginal'        => __( 'Don\'t use the basic WordPress thumbnail size name, use the form above to edit them', 'simple-image-sizes' ),
			'alreadyPresent'     => __( 'This size is already registered, edit it instead of recreating it.', 'simple-image-sizes' ),
			'confirmDelete'      => __( 'Do you really want to delete these size ?', 'simple-image-sizes' ),
			'update'             => __( 'Update', 'simple-image-sizes' ),
			'ajaxErrorHandler'   => __( 'Error requesting page', 'simple-image-sizes' ),
			'messageRegenerated' => __( 'images have been regenerated !', 'simple-image-sizes' ),
			'validateButton'     => __( 'Validate', 'simple-image-sizes' ),
			'startedAt'          => __( ' started at', 'simple-image-sizes' ),
			'customName'         => __( 'Public name', 'simple-image-sizes' ),
			'finishedAt'         => __( ' finished at :', 'simple-image-sizes' ),
			'phpError'           => __( 'Error during the php treatment, be sure to not have php errors in your page', 'simple-image-sizes' ),
			'notSaved'           => __( 'All the sizes you have modified are not saved, continue anyway ?', 'simple-image-sizes' ),
			'soloRegenerated'    => __( 'This image has been regenerated in %s seconds', 'simple-image-sizes' ),
			'crop_positions'     => self::get_available_crop(),
			'regen_one'          => wp_create_nonce( 'regen' ),
		);
	}
public static function localize_vars ( ) { return array ( 'reading' => __ ( 'Reading attachments...' , 'simple-image-sizes' ) , 'maximumWidth' => __ ( 'Maximum width' , 'simple-image-sizes' ) , 'maximumHeight' => __ ( 'Maximum height' , 'simple-image-sizes' ) , 'crop' => __ ( 'Crop' , 'simple-image-sizes' ) , 'tr' => __ ( 'yes' , 'simple-image-sizes' ) , 'fl' => __ ( 'no' , 'simple-image-sizes' ) , 'show' => __ ( 'Show in post insertion ?' , 'simple-image-sizes' ) , 'of' => __ ( ' of ' , 'simple-image-sizes' ) , 'or' => __ ( ' or ' , 'simple-image-sizes' ) , 'beforeEnd' => __ ( ' before the end.' , 'simple-image-sizes' ) , 'deleteImage' => __ ( 'Delete' , 'simple-image-sizes' ) , 'noMedia' => __ ( 'No media in your site to regenerate !' , 'simple-image-sizes' ) , 'regenerating' => __ ( 'Regenerating ' , 'simple-image-sizes' ) , 'regenerate' => __ ( 'Regenerate ' , 'simple-image-sizes' ) , 'validate' => __ ( 'Validate image size name' , 'simple-image-sizes' ) , 'done' => __ ( 'Done.' , 'simple-image-sizes' ) , 'size' => __ ( 'Size' , 'simple-image-sizes' ) , 'notOriginal' => __ ( 'Don\'t use the basic WordPress thumbnail size name, use the form above to edit them' , 'simple-image-sizes' ) , 'alreadyPresent' => __ ( 'This size is already registered, edit it instead of recreating it.' , 'simple-image-sizes' ) , 'confirmDelete' => __ ( 'Do you really want to delete these size ?' , 'simple-image-sizes' ) , 'update' => __ ( 'Update' , 'simple-image-sizes' ) , 'ajaxErrorHandler' => __ ( 'Error requesting page' , 'simple-image-sizes' ) , 'messageRegenerated' => __ ( 'images have been regenerated !' , 'simple-image-sizes' ) , 'validateButton' => __ ( 'Validate' , 'simple-image-sizes' ) , 'startedAt' => __ ( ' started at' , 'simple-image-sizes' ) , 'customName' => __ ( 'Public name' , 'simple-image-sizes' ) , 'finishedAt' => __ ( ' finished at :' , 'simple-image-sizes' ) , 'phpError' => __ ( 'Error during the php treatment, be sure to not have php errors in your page' , 'simple-image-sizes' ) , 'notSaved' => __ ( 'All the sizes you have modified are not saved, continue anyway ?' , 'simple-image-sizes' ) , 'soloRegenerated' => __ ( 'This image has been regenerated in %s seconds' , 'simple-image-sizes' ) , 'crop_positions' => self :: get_available_crop ( ) , 'regen_one' => wp_create_nonce ( 'regen' ) , ) ; }
Localize the var for javascript
 @access public
 @return array
 @author Nicolas Juen
Localize the var for javascript @access public @return array @author Nicolas Juen
/*
			 * translators: %s is the number of seconds for the image generation.
			 */