diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.eu.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.eu.xlf
new file mode 100644
index 0000000000000..66fd63fa55cc4
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.eu.xlf
@@ -0,0 +1,67 @@
+
+
+
+
+
+ An authentication exception occurred.
+ Autentifikazio-errorea gertatu da.
+
+
+ Authentication credentials could not be found.
+ Ez dira aurkitu autentifikazio-kredentzialak.
+
+
+ Authentication request could not be processed due to a system problem.
+ Ezin izan da autentifikazio-eskaera prozesatu, sistema-arazo bat gertatu da eta.
+
+
+ Invalid credentials.
+ Kredentzialak okerrak dira.
+
+
+ Cookie has already been used by someone else.
+ Dagoeneko beste pertsona batek erabili du cookiea.
+
+
+ Not privileged to request the resource.
+ Ez duzu baliabidea eskatzeko aukerarik.
+
+
+ Invalid CSRF token.
+ CSRF tokena okerra da.
+
+
+ No authentication provider found to support the authentication token.
+ Ez da aurkitu autentifikazio-tokena eutsi dezakeen autentifikazio-hornitzailerik.
+
+
+ No session available, it either timed out or cookies are not enabled.
+ Ez dago saiorik erabilgarri, iraungi egin da edo cookieak ez daude gaituta.
+
+
+ No token could be found.
+ Ez da tokenik aurkitu.
+
+
+ Username could not be found.
+ Ez da erabiltzaile-izena aurkitu.
+
+
+ Account has expired.
+ Kontua iraungi da.
+
+
+ Credentials have expired.
+ Kredentzialak iraungi dira.
+
+
+ Account is disabled.
+ Kontua desgaituta dago.
+
+
+ Account is locked.
+ Kontua blokeatuta dago.
+
+
+
+
diff --git a/src/Symfony/Component/Translation/Extractor/PhpExtractor.php b/src/Symfony/Component/Translation/Extractor/PhpExtractor.php
index 7f4c6e60394c4..8ded66d20a34b 100644
--- a/src/Symfony/Component/Translation/Extractor/PhpExtractor.php
+++ b/src/Symfony/Component/Translation/Extractor/PhpExtractor.php
@@ -226,7 +226,10 @@ protected function parseTokens($tokens, MessageCatalogue $catalog)
} elseif (self::METHOD_ARGUMENTS_TOKEN === $item) {
$this->skipMethodArgument($tokenIterator);
} elseif (self::DOMAIN_TOKEN === $item) {
- $domain = $this->getValue($tokenIterator);
+ $domainToken = $this->getValue($tokenIterator);
+ if ('' !== $domainToken) {
+ $domain = $domainToken;
+ }
break;
} else {
diff --git a/src/Symfony/Component/Translation/Tests/Extractor/PhpExtractorTest.php b/src/Symfony/Component/Translation/Tests/Extractor/PhpExtractorTest.php
index 73ccb07cfb07e..7cde108080cd1 100644
--- a/src/Symfony/Component/Translation/Tests/Extractor/PhpExtractorTest.php
+++ b/src/Symfony/Component/Translation/Tests/Extractor/PhpExtractorTest.php
@@ -52,6 +52,7 @@ public function testExtraction($resource)
$expectedNowdoc => 'prefix'.$expectedNowdoc,
'{0} There is no apples|{1} There is one apple|]1,Inf[ There are %count% apples' => 'prefix{0} There is no apples|{1} There is one apple|]1,Inf[ There are %count% apples',
'concatenated message with heredoc and nowdoc' => 'prefixconcatenated message with heredoc and nowdoc',
+ 'default domain' => 'prefixdefault domain',
],
'not_messages' => [
'other-domain-test-no-params-short-array' => 'prefixother-domain-test-no-params-short-array',
diff --git a/src/Symfony/Component/Translation/Tests/fixtures/extractor/translation.html.php b/src/Symfony/Component/Translation/Tests/fixtures/extractor/translation.html.php
index 55520203c6cb1..5085eab439cdb 100644
--- a/src/Symfony/Component/Translation/Tests/fixtures/extractor/translation.html.php
+++ b/src/Symfony/Component/Translation/Tests/fixtures/extractor/translation.html.php
@@ -55,3 +55,5 @@
trans('typecast', ['a' => (int) '123'], 'not_messages'); ?>
transChoice('msg1', 10 + 1, [], 'not_messages'); ?>
transChoice('msg2', ceil(4.5), [], 'not_messages'); ?>
+
+trans('default domain', [], null); ?>
diff --git a/src/Symfony/Component/Validator/Resources/translations/validators.es.xlf b/src/Symfony/Component/Validator/Resources/translations/validators.es.xlf
index 69ab34e8b29ce..f248f1cf3f20b 100644
--- a/src/Symfony/Component/Validator/Resources/translations/validators.es.xlf
+++ b/src/Symfony/Component/Validator/Resources/translations/validators.es.xlf
@@ -330,6 +330,38 @@
This Business Identifier Code (BIC) is not associated with IBAN {{ iban }}.Este Código de Identificación Bancaria (BIC) no está asociado con el IBAN {{ iban }}.
+
+ This value should be valid JSON.
+ Este valor debería ser un JSON válido.
+
+
+ This collection should contain only unique elements.
+ Esta colección debería tener exclusivamente elementos únicos.
+
+
+ This value should be positive.
+ Este valor debería ser positivo.
+
+
+ This value should be either positive or zero.
+ Este valor debería ser positivo o igual a cero.
+
+
+ This value should be negative.
+ Este valor debería ser negativo.
+
+
+ This value should be either negative or zero.
+ Este valor debería ser negativo o igual a cero.
+
+
+ This value is not a valid timezone.
+ Este valor no es una zona horaria válida.
+
+
+ This password has been leaked in a data breach, it must not be used. Please use another password.
+ Esta contraseña no se puede utilizar porque está incluida en un listado de contraseñas públicas obtenido gracias a fallos de seguridad de otros sitios y aplicaciones. Por favor utilice otra contraseña.
+