From c8596fdbc9923e1c3ded3d389844fddf49dfce83 Mon Sep 17 00:00:00 2001 From: Gudz Taras Date: Tue, 5 Nov 2013 05:36:44 +0400 Subject: [PATCH] Changed px to pixels --- framework/yii/validators/ImageValidator.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/yii/validators/ImageValidator.php b/framework/yii/validators/ImageValidator.php index 6a85ecb..0a1f2d8 100644 --- a/framework/yii/validators/ImageValidator.php +++ b/framework/yii/validators/ImageValidator.php @@ -123,13 +123,13 @@ class ImageValidator extends FileValidator $this->underWidth = Yii::t('yii', 'The file "{file}" is too small. The width cannot be smaller than {limit} pixels.'); } if ($this->underHeight === null) { - $this->underHeight = Yii::t('yii', 'The file "{file}" is too small. The height cannot be smaller than {limit} px.'); + $this->underHeight = Yii::t('yii', 'The file "{file}" is too small. The height cannot be smaller than {limit} pixels.'); } if ($this->overWidth === null) { - $this->overWidth = Yii::t('yii', 'The file "{file}" is too large. The width cannot be larger than {limit} px.'); + $this->overWidth = Yii::t('yii', 'The file "{file}" is too large. The width cannot be larger than {limit} pixels.'); } if ($this->overHeight === null) { - $this->overHeight = Yii::t('yii', 'The file "{file}" is too large. The height cannot be larger than {limit} px.'); + $this->overHeight = Yii::t('yii', 'The file "{file}" is too large. The height cannot be larger than {limit} pixels.'); } if ($this->wrongMimeType === null) { $this->wrongMimeType = Yii::t('yii', 'Only files with these mimeTypes are allowed: {mimeTypes}.');