diff --git a/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php b/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php
index 89aa779301..33e6a6fd87 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php
@@ -24,7 +24,7 @@ use Symfony\Component\Form\Test\FormPerformanceTestCase;
*/
class EntityTypePerformanceTest extends FormPerformanceTestCase
{
- const ENTITY_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity';
+ private const ENTITY_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity';
/**
* @var \Doctrine\ORM\EntityManager
diff --git a/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php b/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php
index ca9ab318d3..cc15da57ee 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php
@@ -39,14 +39,14 @@ class EntityTypeTest extends BaseTypeTest
{
const TESTED_TYPE = 'Symfony\Bridge\Doctrine\Form\Type\EntityType';
- const ITEM_GROUP_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\GroupableEntity';
- const SINGLE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity';
- const SINGLE_IDENT_NO_TO_STRING_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdNoToStringEntity';
- const SINGLE_STRING_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleStringIdEntity';
- const SINGLE_ASSOC_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleAssociationToIntIdEntity';
- const SINGLE_STRING_CASTABLE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleStringCastableIdEntity';
- const COMPOSITE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeIntIdEntity';
- const COMPOSITE_STRING_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeStringIdEntity';
+ private const ITEM_GROUP_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\GroupableEntity';
+ private const SINGLE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity';
+ private const SINGLE_IDENT_NO_TO_STRING_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdNoToStringEntity';
+ private const SINGLE_STRING_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleStringIdEntity';
+ private const SINGLE_ASSOC_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleAssociationToIntIdEntity';
+ private const SINGLE_STRING_CASTABLE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleStringCastableIdEntity';
+ private const COMPOSITE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeIntIdEntity';
+ private const COMPOSITE_STRING_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeStringIdEntity';
/**
* @var EntityManager
diff --git a/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/Fixtures/DoctrineFooType.php b/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/Fixtures/DoctrineFooType.php
index e8f2b454cf..1131666483 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/Fixtures/DoctrineFooType.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/Fixtures/DoctrineFooType.php
@@ -23,7 +23,7 @@ class DoctrineFooType extends Type
/**
* Type name.
*/
- const NAME = 'foo';
+ private const NAME = 'foo';
/**
* {@inheritdoc}
diff --git a/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php b/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php
index 98377acdea..1ccc4b7cc4 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php
@@ -40,7 +40,7 @@ use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
*/
class UniqueEntityValidatorTest extends ConstraintValidatorTestCase
{
- const EM_NAME = 'foo';
+ private const EM_NAME = 'foo';
/**
* @var ObjectManager
diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/Security/FirewallMapTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/Security/FirewallMapTest.php
index fa590a54e9..7e49cd4fde 100644
--- a/src/Symfony/Bundle/SecurityBundle/Tests/Security/FirewallMapTest.php
+++ b/src/Symfony/Bundle/SecurityBundle/Tests/Security/FirewallMapTest.php
@@ -23,7 +23,7 @@ use Symfony\Component\Security\Http\Firewall\LogoutListener;
class FirewallMapTest extends TestCase
{
- const ATTRIBUTE_FIREWALL_CONTEXT = '_firewall_context';
+ private const ATTRIBUTE_FIREWALL_CONTEXT = '_firewall_context';
public function testGetListenersWithEmptyMap()
{
diff --git a/src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php b/src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php
index ea9fe8c1b6..173f4273eb 100644
--- a/src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php
+++ b/src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php
@@ -19,10 +19,9 @@ use Symfony\Contracts\EventDispatcher\Event;
class EventDispatcherTest extends TestCase
{
/* Some pseudo events */
- const preFoo = 'pre.foo';
- const postFoo = 'post.foo';
- const preBar = 'pre.bar';
- const postBar = 'post.bar';
+ private const preFoo = 'pre.foo';
+ private const postFoo = 'post.foo';
+ private const preBar = 'pre.bar';
/**
* @var EventDispatcher
diff --git a/src/Symfony/Component/Form/Resources/translations/validators.da.xlf b/src/Symfony/Component/Form/Resources/translations/validators.da.xlf
index f52f4e0a30..dafe20fa02 100644
--- a/src/Symfony/Component/Form/Resources/translations/validators.da.xlf
+++ b/src/Symfony/Component/Form/Resources/translations/validators.da.xlf
@@ -12,7 +12,127 @@
- CSRF-token er ugyldig.
+ CSRF-token er ugyldig. Prøv venligst at genindsende.
+
+
+
+ Værdien er ikke en gyldig HTML5 farve.
+
+
+
+ Indtast venligst en gyldig fødselsdato.
+
+
+
+ Den valgte mulighed er ugyldig .
+
+
+
+ Samlingen er ugyldig.
+
+
+
+ Vælg venligst en gyldig farve.
+
+
+
+ Vælg venligst et gyldigt land.
+
+
+
+ Vælg venligst en gyldig valuta.
+
+
+
+ Vælg venligst et gyldigt datointerval.
+
+
+
+ Vælg venligst en gyldig dato og tid.
+
+
+
+ Vælg venligst en gyldig dato.
+
+
+
+ Vælg venligst en gyldig fil.
+
+
+
+ Det skjulte felt er ugyldigt.
+
+
+
+ Indsæt veligst et heltal.
+
+
+
+ Vælg venligst et gyldigt sprog.
+
+
+
+ Vælg venligst en gyldigt sprogkode.
+
+
+
+ Vælg venligst et gyldigt beløb.
+
+
+
+ Indtast venligst et nummer.
+
+
+
+ Passwordet er ugyldigt.
+
+
+
+ Indtast venligst en procentværdi.
+
+
+
+ Værdierne er ikke ens.
+
+
+
+ Indtast venligst en gyldig tid.
+
+
+
+ Vælg venligst en gyldig tidszone.
+
+
+
+ Indtast venligst en gyldig URL.
+
+
+
+ Indtast venligst et gyldigt søgeord.
+
+
+
+ Giv venligst et gyldigt telefonnummer.
+
+
+
+ Checkboxen har en ugyldigt værdi.
+
+
+
+ Indtast venligst en gyldig emailaddresse.
+
+
+
+ Vælg venligst en gyldig mulighed.
+
+
+
+ Vælg venligst et gyldigt interval .
+
+
+
+ Indtast venligst en gyldig uge.