From 2e7f43ed7fb34f91004bee3c23f2f61c1fb67bf7 Mon Sep 17 00:00:00 2001 From: Arman Hosseini <44655055+Arman-Hosseini@users.noreply.github.com> Date: Sat, 3 Aug 2019 01:59:27 +0430 Subject: [PATCH 1/2] [Validator] Improve Fa translations --- .../Resources/translations/validators.fa.xlf | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/Symfony/Component/Validator/Resources/translations/validators.fa.xlf b/src/Symfony/Component/Validator/Resources/translations/validators.fa.xlf index 2cfcbea4b086..c0b42096b5bd 100644 --- a/src/Symfony/Component/Validator/Resources/translations/validators.fa.xlf +++ b/src/Symfony/Component/Validator/Resources/translations/validators.fa.xlf @@ -36,7 +36,7 @@ The fields {{ fields }} were not expected. - فیلدهای {{ fields }} اضافی هستند. + فیلدهای {{ fields }} شامل فیلدهای مورد انتظار نمی باشند. The fields {{ fields }} are missing. @@ -60,7 +60,7 @@ The file is not readable. - فایل قابلیت خوانده شدن ندارد. + پرونده خواندنی نمی باشد. The file is too large ({{ size }} {{ suffix }}). Allowed maximum size is {{ limit }} {{ suffix }}. @@ -160,19 +160,19 @@ The image width is too big ({{ width }}px). Allowed maximum width is {{ max_width }}px. - طول تصویر بسیار بزرگ است ({{ width }}px). بشینه طول مجاز {{ max_width }}px می باشد. + طول تصویر بسیار بزرگ است({{ width }}px). بیشینه طول مجاز {{ max_width }}px می باشد. The image width is too small ({{ width }}px). Minimum width expected is {{ min_width }}px. - طول تصویر بسیار کوچک است ({{ width }}px). کمینه طول موردنظر {{ min_width }}px می باشد. + طول تصویر بسیار کوچک است({{ width }}px). کمینه طول موردنظر {{ min_width }}px می باشد. The image height is too big ({{ height }}px). Allowed maximum height is {{ max_height }}px. - ارتفاع تصویر بسیار بزرگ است ({{ height }}px). بشینه ارتفاع مجاز {{ max_height }}px می باشد. + ارتفاع تصویر بسیار بزرگ است({{ height }}px). بیشینه ارتفاع مجاز {{ max_height }}px می باشد. The image height is too small ({{ height }}px). Minimum height expected is {{ min_height }}px. - ارتفاع تصویر بسیار کوچک است ({{ height }}px). کمینه ارتفاع موردنظر {{ min_height }}px می باشد. + ارتفاع تصویر بسیار کوچک است({{ height }}px). کمینه ارتفاع موردنظر {{ min_height }}px می باشد. This value should be the user's current password. @@ -192,7 +192,7 @@ No temporary folder was configured in php.ini. - فولدر موقت در php.ini پیکربندی نگردیده است. + پوشه موقتی در php.ini پیکربندی نگردیده است. Cannot write temporary file to disk. @@ -224,7 +224,7 @@ This is not a valid International Bank Account Number (IBAN). - این یک شماره حساب بانک بین المللی معتبر نمی باشد (IBAN). + این یک شماره حساب بانک بین المللی معتبر نمی باشد(IBAN). This value is not a valid ISBN-10. @@ -280,23 +280,23 @@ The image ratio is too big ({{ ratio }}). Allowed maximum ratio is {{ max_ratio }}. - ابعاد {{ ratio }} عکس بیش از حد بزرگ است.حداکثر ابعاد مجاز {{ max_ratio }} می باشد. + ابعاد({{ ratio }}) عکس بیش از حد بزرگ است.حداکثر ابعاد مجاز {{ max_ratio }} می باشد. The image ratio is too small ({{ ratio }}). Minimum ratio expected is {{ min_ratio }}. - ابعاد {{ ratio }} عکس بیش از حد کوچک است.حداقل ابعاد مجاز {{ min_ratio }} می باشد. + ابعاد({{ ratio }}) عکس بیش از حد کوچک است.حداقل ابعاد مجاز {{ min_ratio }} می باشد. The image is square ({{ width }}x{{ height }}px). Square images are not allowed. - این تصویر یک مربع width }}x{{ height }}px}} می باشد.تصویر مربع مجاز نمی باشد. + این تصویر یک مربع({{ width }}x{{ height }}px) می باشد. تصویر مربع مجاز نمی باشد. The image is landscape oriented ({{ width }}x{{ height }}px). Landscape oriented images are not allowed. - این تصویر افقی width }}x{{ height }}px}} می باشد.تصویر افقی مجاز نمی باشد. + این تصویر افقی({{ width }}x{{ height }}px) می باشد. تصویر افقی مجاز نمی باشد. The image is portrait oriented ({{ width }}x{{ height }}px). Portrait oriented images are not allowed. - این تصویر عمودی width }}x{{ height }}px}} می باشد.تصویر عمودی مجاز نمی باشد. + این تصویر عمودی({{ width }}x{{ height }}px) می باشد. تصویر عمودی مجاز نمی باشد. An empty file is not allowed. @@ -312,7 +312,7 @@ This is not a valid Business Identifier Code (BIC). - این مقدار یک BIC معتبر نمی باشد. + این مقدار یک(BIC) معتبر نمی باشد. Error @@ -328,7 +328,7 @@ This Business Identifier Code (BIC) is not associated with IBAN {{ iban }}. - این BIC با IBAN ارتباطی ندارد. + این(BIC) با IBAN ارتباطی ندارد. From 7cf9ed613b76a641c4f6308656d3d1c431da21df Mon Sep 17 00:00:00 2001 From: ABGEO Date: Thu, 1 Aug 2019 19:16:41 +0400 Subject: [PATCH 2/2] #32853 Check if $this->parameters is array. --- src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php b/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php index a18d1665c539..3e586ff71e83 100644 --- a/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php +++ b/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php @@ -969,7 +969,7 @@ private function startClass($class, $baseClass, $baseClassWithNamespace) */ class $class extends $baseClass { - private \$parameters; + private \$parameters = []; private \$targetDirs = []; public function __construct()