From 0ba986ad666b88071dd9c9026ea36fb451810935 Mon Sep 17 00:00:00 2001 From: TheSaturn Date: Sun, 5 Jul 2015 18:48:18 +0500 Subject: [PATCH] Changed 'many' to 'other'. Fixed warning 'Formatting message for language 'ar' failed with error: Message pattern is invalid.. ' --- framework/messages/ar/yii.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/messages/ar/yii.php b/framework/messages/ar/yii.php index 9c63fece17..e37ec64527 100644 --- a/framework/messages/ar/yii.php +++ b/framework/messages/ar/yii.php @@ -74,7 +74,7 @@ return [ '{attribute} must be no less than {min}.' => '{attribute} يجب أن لا يكون أصغر من "{min}".', '{attribute} must be repeated exactly.' => '{attribute} يجب أن يكون متطابق.', '{attribute} must not be equal to "{compareValue}".' => '{attribute} يجب ان لا يساوي "{compareValue}"', - '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} يجب أن يحتوي على أكثر من {min, number} {min, plural, one{حرف} few{حروف} many{حرف}}.', - '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '{attribute} يجب أن لا يحتوي على أكثر من {max, number} {max, plural, one{حرف} few{حروف} many{حرف}}.', - '{attribute} should contain {length, number} {length, plural, one{character} other{characters}}.' => '{attribute} يجب أن يحتوي على {length, number} {length, plural, one{حرف} few{حروف} many{حرف}}.', + '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} يجب أن يحتوي على أكثر من {min, number} {min, plural, one{حرف} few{حروف} other{حرف}}.', + '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '{attribute} يجب أن لا يحتوي على أكثر من {max, number} {max, plural, one{حرف} few{حروف} other{حرف}}.', + '{attribute} should contain {length, number} {length, plural, one{character} other{characters}}.' => '{attribute} يجب أن يحتوي على {length, number} {length, plural, one{حرف} few{حروف} other{حرف}}.', ];