From 5f2afc623cbe41d397dc5945c1f6bf845f902cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 13 Feb 2013 18:29:40 +0100 Subject: [PATCH 1/2] Changed deprecated default option --- Type/CaptchaType.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Type/CaptchaType.php b/Type/CaptchaType.php index b06edd2..6b84f7f 100644 --- a/Type/CaptchaType.php +++ b/Type/CaptchaType.php @@ -103,7 +103,7 @@ class CaptchaType extends AbstractType 'captcha_width' => $options['width'], 'captcha_height' => $options['height'], 'reload' => $options['reload'], - 'image_id' => uniqid('captcha_'), + 'image_id' => uniqid('captcha_'), 'captcha_code' => $this->generator->getCaptchaCode($options), 'value' => '', 'is_human' => $isHuman @@ -122,7 +122,7 @@ class CaptchaType extends AbstractType */ public function setDefaultOptions(OptionsResolverInterface $resolver) { - $this->options['property_path'] = false; + $this->options['mapped'] = false; $resolver->setDefaults($this->options); } From de2ab52bae964f6b8cfef9490eb72035c473d889 Mon Sep 17 00:00:00 2001 From: Francisco Javier Palma Date: Thu, 21 Feb 2013 11:42:36 +0100 Subject: [PATCH 2/2] Added spanish translations --- Resources/translations/gregwar_captcha.es.yml | 1 + Resources/translations/validators.es.yml | 1 + 2 files changed, 2 insertions(+) create mode 100644 Resources/translations/gregwar_captcha.es.yml create mode 100644 Resources/translations/validators.es.yml diff --git a/Resources/translations/gregwar_captcha.es.yml b/Resources/translations/gregwar_captcha.es.yml new file mode 100644 index 0000000..28a311a --- /dev/null +++ b/Resources/translations/gregwar_captcha.es.yml @@ -0,0 +1 @@ +Renew: Renovar \ No newline at end of file diff --git a/Resources/translations/validators.es.yml b/Resources/translations/validators.es.yml new file mode 100644 index 0000000..5e8bc0e --- /dev/null +++ b/Resources/translations/validators.es.yml @@ -0,0 +1 @@ +Bad code value: El valor no coincide