Merge branch '5.1' into 5.x
This commit is contained in:
commit
8bac7a0b5e
@ -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
|
||||
|
@ -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
|
||||
|
@ -23,7 +23,7 @@ class DoctrineFooType extends Type
|
||||
/**
|
||||
* Type name.
|
||||
*/
|
||||
const NAME = 'foo';
|
||||
private const NAME = 'foo';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -12,7 +12,127 @@
|
||||
</trans-unit>
|
||||
<trans-unit id="30">
|
||||
<source>The CSRF token is invalid. Please try to resubmit the form.</source>
|
||||
<target>CSRF-token er ugyldig.</target>
|
||||
<target>CSRF-token er ugyldig. Prøv venligst at genindsende.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="99">
|
||||
<source>This value is not a valid HTML5 color.</source>
|
||||
<target>Værdien er ikke en gyldig HTML5 farve.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="100">
|
||||
<source>Please enter a valid birthdate.</source>
|
||||
<target>Indtast venligst en gyldig fødselsdato.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="101">
|
||||
<source>The selected choice is invalid.</source>
|
||||
<target>Den valgte mulighed er ugyldig .</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="102">
|
||||
<source>The collection is invalid.</source>
|
||||
<target>Samlingen er ugyldig.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="103">
|
||||
<source>Please select a valid color.</source>
|
||||
<target>Vælg venligst en gyldig farve.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="104">
|
||||
<source>Please select a valid country.</source>
|
||||
<target>Vælg venligst et gyldigt land.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="105">
|
||||
<source>Please select a valid currency.</source>
|
||||
<target>Vælg venligst en gyldig valuta.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="106">
|
||||
<source>Please choose a valid date interval.</source>
|
||||
<target>Vælg venligst et gyldigt datointerval.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="107">
|
||||
<source>Please enter a valid date and time.</source>
|
||||
<target>Vælg venligst en gyldig dato og tid.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="108">
|
||||
<source>Please enter a valid date.</source>
|
||||
<target>Vælg venligst en gyldig dato.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="109">
|
||||
<source>Please select a valid file.</source>
|
||||
<target>Vælg venligst en gyldig fil.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="110">
|
||||
<source>The hidden field is invalid.</source>
|
||||
<target>Det skjulte felt er ugyldigt.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="111">
|
||||
<source>Please enter an integer.</source>
|
||||
<target>Indsæt veligst et heltal.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="112">
|
||||
<source>Please select a valid language.</source>
|
||||
<target>Vælg venligst et gyldigt sprog.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="113">
|
||||
<source>Please select a valid locale.</source>
|
||||
<target>Vælg venligst en gyldigt sprogkode.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="114">
|
||||
<source>Please enter a valid money amount.</source>
|
||||
<target>Vælg venligst et gyldigt beløb.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="115">
|
||||
<source>Please enter a number.</source>
|
||||
<target>Indtast venligst et nummer.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="116">
|
||||
<source>The password is invalid.</source>
|
||||
<target>Passwordet er ugyldigt.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="117">
|
||||
<source>Please enter a percentage value.</source>
|
||||
<target>Indtast venligst en procentværdi.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="118">
|
||||
<source>The values do not match.</source>
|
||||
<target>Værdierne er ikke ens.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="119">
|
||||
<source>Please enter a valid time.</source>
|
||||
<target>Indtast venligst en gyldig tid.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="120">
|
||||
<source>Please select a valid timezone.</source>
|
||||
<target>Vælg venligst en gyldig tidszone.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="121">
|
||||
<source>Please enter a valid URL.</source>
|
||||
<target>Indtast venligst en gyldig URL.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="122">
|
||||
<source>Please enter a valid search term.</source>
|
||||
<target>Indtast venligst et gyldigt søgeord.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="123">
|
||||
<source>Please provide a valid phone number.</source>
|
||||
<target>Giv venligst et gyldigt telefonnummer.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="124">
|
||||
<source>The checkbox has an invalid value.</source>
|
||||
<target>Checkboxen har en ugyldigt værdi.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="125">
|
||||
<source>Please enter a valid email address.</source>
|
||||
<target>Indtast venligst en gyldig emailaddresse.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="126">
|
||||
<source>Please select a valid option.</source>
|
||||
<target>Vælg venligst en gyldig mulighed.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="127">
|
||||
<source>Please select a valid range.</source>
|
||||
<target>Vælg venligst et gyldigt interval .</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="128">
|
||||
<source>Please enter a valid week.</source>
|
||||
<target>Indtast venligst en gyldig uge.</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<trans-unit id="99">
|
||||
<source>This value is not a valid HTML5 color.</source>
|
||||
<target>Este valor non é unha cor HTML5 válida.</target>
|
||||
</trans-unit>.
|
||||
</trans-unit>
|
||||
<trans-unit id="100">
|
||||
<source>Please enter a valid birthdate.</source>
|
||||
<target>Insire unha data de aniversario válida.</target>
|
||||
|
@ -16,7 +16,7 @@ use Symfony\Component\Form\Extension\Core\DataTransformer\BooleanToStringTransfo
|
||||
|
||||
class BooleanToStringTransformerTest extends TestCase
|
||||
{
|
||||
const TRUE_VALUE = '1';
|
||||
private const TRUE_VALUE = '1';
|
||||
|
||||
/**
|
||||
* @var BooleanToStringTransformer
|
||||
|
@ -34,10 +34,10 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
||||
*/
|
||||
class ViolationMapperTest extends TestCase
|
||||
{
|
||||
const LEVEL_0 = 0;
|
||||
const LEVEL_1 = 1;
|
||||
const LEVEL_1B = 2;
|
||||
const LEVEL_2 = 3;
|
||||
private const LEVEL_0 = 0;
|
||||
private const LEVEL_1 = 1;
|
||||
private const LEVEL_1B = 2;
|
||||
private const LEVEL_2 = 3;
|
||||
|
||||
/**
|
||||
* @var EventDispatcherInterface
|
||||
|
@ -20,8 +20,8 @@ use Symfony\Component\HttpFoundation\Session\Storage\Handler\MemcachedSessionHan
|
||||
*/
|
||||
class MemcachedSessionHandlerTest extends TestCase
|
||||
{
|
||||
const PREFIX = 'prefix_';
|
||||
const TTL = 1000;
|
||||
private const PREFIX = 'prefix_';
|
||||
private const TTL = 1000;
|
||||
|
||||
/**
|
||||
* @var MemcachedSessionHandler
|
||||
|
@ -21,7 +21,7 @@ use Symfony\Component\Intl\Exception\ResourceBundleNotFoundException;
|
||||
*/
|
||||
class BundleEntryReaderTest extends TestCase
|
||||
{
|
||||
const RES_DIR = '/res/dir';
|
||||
private const RES_DIR = '/res/dir';
|
||||
|
||||
/**
|
||||
* @var BundleEntryReader
|
||||
|
@ -23,7 +23,7 @@ class GitRepositoryTest extends TestCase
|
||||
{
|
||||
private $targetDir;
|
||||
|
||||
const REPO_URL = 'https://github.com/symfony/intl.git';
|
||||
private const REPO_URL = 'https://github.com/symfony/intl.git';
|
||||
|
||||
/**
|
||||
* @before
|
||||
|
@ -25,7 +25,7 @@ use Symfony\Component\Ldap\Tests\LdapTestCase;
|
||||
*/
|
||||
class AdapterTest extends LdapTestCase
|
||||
{
|
||||
const PAGINATION_REQUIRED_CONFIG = [
|
||||
private const PAGINATION_REQUIRED_CONFIG = [
|
||||
'options' => [
|
||||
'protocol_version' => 3,
|
||||
],
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Component\PropertyAccess\PropertyPathBuilder;
|
||||
*/
|
||||
class PropertyPathBuilderTest extends TestCase
|
||||
{
|
||||
const PREFIX = 'old1[old2].old3[old4][old5].old6';
|
||||
private const PREFIX = 'old1[old2].old3[old4][old5].old6';
|
||||
|
||||
/**
|
||||
* @var PropertyPathBuilder
|
||||
|
@ -30,10 +30,6 @@
|
||||
<source>Invalid CSRF token.</source>
|
||||
<target>Ongeldige CSRF-teken.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="8">
|
||||
<source>Digest nonce has expired.</source>
|
||||
<target>Digest nonce het verval.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9">
|
||||
<source>No authentication provider found to support the authentication token.</source>
|
||||
<target>Geen verifikasieverskaffer is gevind wat die verifikasietoken kan ondersteun nie.</target>
|
||||
|
@ -30,10 +30,6 @@
|
||||
<source>Invalid CSRF token.</source>
|
||||
<target>CSRF žeton (token) je neispravan.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="8">
|
||||
<source>Digest nonce has expired.</source>
|
||||
<target>Digest nonce je istekao.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9">
|
||||
<source>No authentication provider found to support the authentication token.</source>
|
||||
<target>Nije pronađen autentifikacijski provajder koji bi podržao dati autentifikacijski žeton (token).</target>
|
||||
|
@ -8,7 +8,7 @@
|
||||
</trans-unit>
|
||||
<trans-unit id="2">
|
||||
<source>Authentication credentials could not be found.</source>
|
||||
<target>Loginoplysninger kan findes.</target>
|
||||
<target>Loginoplysninger kan ikke findes.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="3">
|
||||
<source>Authentication request could not be processed due to a system problem.</source>
|
||||
@ -62,6 +62,14 @@
|
||||
<source>Account is locked.</source>
|
||||
<target>Brugerkonto er låst.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="17">
|
||||
<source>Too many failed login attempts, please try again later.</source>
|
||||
<target>For mange fejlede login forsøg, prøv venligst senere.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="18">
|
||||
<source>Invalid or expired login link.</source>
|
||||
<target>Ugyldigt eller udløbet login link.</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
@ -23,8 +23,8 @@ use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
|
||||
*/
|
||||
abstract class UserPasswordValidatorTest extends ConstraintValidatorTestCase
|
||||
{
|
||||
const PASSWORD = 's3Cr3t';
|
||||
const SALT = '^S4lt$';
|
||||
private const PASSWORD = 's3Cr3t';
|
||||
private const SALT = '^S4lt$';
|
||||
|
||||
/**
|
||||
* @var TokenStorageInterface
|
||||
|
@ -19,7 +19,7 @@ use Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator;
|
||||
*/
|
||||
class UriSafeTokenGeneratorTest extends TestCase
|
||||
{
|
||||
const ENTROPY = 1000;
|
||||
private const ENTROPY = 1000;
|
||||
|
||||
/**
|
||||
* A non alpha-numeric byte string.
|
||||
|
@ -22,7 +22,7 @@ use Symfony\Component\Security\Csrf\TokenStorage\NativeSessionTokenStorage;
|
||||
*/
|
||||
class NativeSessionTokenStorageTest extends TestCase
|
||||
{
|
||||
const SESSION_NAMESPACE = 'foobar';
|
||||
private const SESSION_NAMESPACE = 'foobar';
|
||||
|
||||
/**
|
||||
* @var NativeSessionTokenStorage
|
||||
|
@ -21,7 +21,7 @@ use Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage;
|
||||
*/
|
||||
class SessionTokenStorageTest extends TestCase
|
||||
{
|
||||
const SESSION_NAMESPACE = 'foobar';
|
||||
private const SESSION_NAMESPACE = 'foobar';
|
||||
|
||||
/**
|
||||
* @var Session
|
||||
|
@ -29,9 +29,8 @@ class FormLoginAuthenticatorTest extends TestCase
|
||||
private $requestWithSession;
|
||||
private $authenticator;
|
||||
|
||||
const LOGIN_URL = 'http://login';
|
||||
const DEFAULT_SUCCESS_URL = 'http://defaultsuccess';
|
||||
const CUSTOM_SUCCESS_URL = 'http://customsuccess';
|
||||
private const LOGIN_URL = 'http://login';
|
||||
private const DEFAULT_SUCCESS_URL = 'http://defaultsuccess';
|
||||
|
||||
public function testAuthenticationFailureWithoutSession()
|
||||
{
|
||||
|
@ -16,9 +16,9 @@ use Symfony\Component\Serializer\Encoder\ChainDecoder;
|
||||
|
||||
class ChainDecoderTest extends TestCase
|
||||
{
|
||||
const FORMAT_1 = 'format1';
|
||||
const FORMAT_2 = 'format2';
|
||||
const FORMAT_3 = 'format3';
|
||||
private const FORMAT_1 = 'format1';
|
||||
private const FORMAT_2 = 'format2';
|
||||
private const FORMAT_3 = 'format3';
|
||||
|
||||
private $chainDecoder;
|
||||
private $decoder1;
|
||||
|
@ -18,9 +18,9 @@ use Symfony\Component\Serializer\Encoder\NormalizationAwareInterface;
|
||||
|
||||
class ChainEncoderTest extends TestCase
|
||||
{
|
||||
const FORMAT_1 = 'format1';
|
||||
const FORMAT_2 = 'format2';
|
||||
const FORMAT_3 = 'format3';
|
||||
private const FORMAT_1 = 'format1';
|
||||
private const FORMAT_2 = 'format2';
|
||||
private const FORMAT_3 = 'format3';
|
||||
|
||||
private $chainEncoder;
|
||||
private $encoder1;
|
||||
|
@ -20,9 +20,9 @@ use Symfony\Component\Serializer\Normalizer\DataUriNormalizer;
|
||||
*/
|
||||
class DataUriNormalizerTest extends TestCase
|
||||
{
|
||||
const TEST_GIF_DATA = 'data:image/gif;base64,R0lGODdhAQABAIAAAP///////ywAAAAAAQABAAACAkQBADs=';
|
||||
const TEST_TXT_DATA = 'data:text/plain,K%C3%A9vin%20Dunglas%0A';
|
||||
const TEST_TXT_CONTENT = "Kévin Dunglas\n";
|
||||
private const TEST_GIF_DATA = 'data:image/gif;base64,R0lGODdhAQABAIAAAP///////ywAAAAAAQABAAACAkQBADs=';
|
||||
private const TEST_TXT_DATA = 'data:text/plain,K%C3%A9vin%20Dunglas%0A';
|
||||
private const TEST_TXT_CONTENT = "Kévin Dunglas\n";
|
||||
|
||||
/**
|
||||
* @var DataUriNormalizer
|
||||
|
@ -23,7 +23,7 @@ use Symfony\Component\Stopwatch\StopwatchEvent;
|
||||
*/
|
||||
class StopwatchEventTest extends TestCase
|
||||
{
|
||||
const DELTA = 37;
|
||||
private const DELTA = 37;
|
||||
|
||||
public function testGetOrigin()
|
||||
{
|
||||
|
@ -23,7 +23,7 @@ use Symfony\Component\Stopwatch\Stopwatch;
|
||||
*/
|
||||
class StopwatchTest extends TestCase
|
||||
{
|
||||
const DELTA = 20;
|
||||
private const DELTA = 20;
|
||||
|
||||
public function testStart()
|
||||
{
|
||||
|
@ -124,7 +124,7 @@
|
||||
</trans-unit>
|
||||
<trans-unit id="34">
|
||||
<source>The file could not be uploaded.</source>
|
||||
<target>Filen kunne ikke blive uploadet.</target>
|
||||
<target>Filen kunne ikke uploades.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="35">
|
||||
<source>This value should be a valid number.</source>
|
||||
@ -324,7 +324,7 @@
|
||||
</trans-unit>
|
||||
<trans-unit id="84">
|
||||
<source>This value should be a multiple of {{ compared_value }}.</source>
|
||||
<target>Denne værdi skal være et flertal af {{ compared_value }}.</target>
|
||||
<target>Denne værdi skal være et multiplikation af {{ compared_value }}.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="85">
|
||||
<source>This Business Identifier Code (BIC) is not associated with IBAN {{ iban }}.</source>
|
||||
@ -366,6 +366,26 @@
|
||||
<source>This value should be between {{ min }} and {{ max }}.</source>
|
||||
<target>Værdien skal være mellem {{ min }} og {{ max }}.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="95">
|
||||
<source>This value is not a valid hostname.</source>
|
||||
<target>Værdien er ikke et gyldigt værtsnavn.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="96">
|
||||
<source>The number of elements in this collection should be a multiple of {{ compared_value }}.</source>
|
||||
<target>Antallet af elementer i denne samling skal være en multiplikation af {{ compared_value }}.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="97">
|
||||
<source>This value should satisfy at least one of the following constraints:</source>
|
||||
<target>Værdien skal overholde mindst én af følgende krav::</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="98">
|
||||
<source>Each element of this collection should satisfy its own set of constraints.</source>
|
||||
<target>Hvert element i denne samling skal overholde dens egne krav.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="99">
|
||||
<source>This value is not a valid International Securities Identification Number (ISIN).</source>
|
||||
<target>Værdien er ikke et gyldig International Securities Identification Number (ISIN).</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
@ -30,10 +30,10 @@ use Symfony\Component\Validator\Tests\Fixtures\PropertyConstraint;
|
||||
|
||||
class ClassMetadataTest extends TestCase
|
||||
{
|
||||
const CLASSNAME = Entity::class;
|
||||
const PARENTCLASS = EntityParent::class;
|
||||
const PROVIDERCLASS = GroupSequenceProviderEntity::class;
|
||||
const PROVIDERCHILDCLASS = 'Symfony\Component\Validator\Tests\Fixtures\GroupSequenceProviderChildEntity';
|
||||
private const CLASSNAME = Entity::class;
|
||||
private const PARENTCLASS = EntityParent::class;
|
||||
private const PROVIDERCLASS = GroupSequenceProviderEntity::class;
|
||||
private const PROVIDERCHILDCLASS = 'Symfony\Component\Validator\Tests\Fixtures\GroupSequenceProviderChildEntity';
|
||||
|
||||
protected $metadata;
|
||||
|
||||
|
@ -27,11 +27,9 @@ use Symfony\Component\Validator\Tests\Fixtures\PropertyGetterInterface;
|
||||
|
||||
class LazyLoadingMetadataFactoryTest extends TestCase
|
||||
{
|
||||
const CLASS_NAME = Entity::class;
|
||||
const PARENT_CLASS = EntityParent::class;
|
||||
const INTERFACE_A_CLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityInterfaceA';
|
||||
const INTERFACE_B_CLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityInterfaceB';
|
||||
const PARENT_INTERFACE_CLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityParentInterface';
|
||||
private const CLASS_NAME = Entity::class;
|
||||
private const PARENT_CLASS = EntityParent::class;
|
||||
private const INTERFACE_A_CLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityInterfaceA';
|
||||
|
||||
public function testLoadClassMetadataWithInterface()
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ use Symfony\Component\Validator\Tests\Fixtures\Annotation\Entity;
|
||||
|
||||
class GetterMetadataTest extends TestCase
|
||||
{
|
||||
const CLASSNAME = Entity::class;
|
||||
private const CLASSNAME = Entity::class;
|
||||
|
||||
public function testInvalidPropertyName()
|
||||
{
|
||||
|
@ -20,10 +20,10 @@ use Symfony\Component\Validator\Tests\Fixtures\Entity_74_Proxy;
|
||||
|
||||
class PropertyMetadataTest extends TestCase
|
||||
{
|
||||
const CLASSNAME = Entity::class;
|
||||
const CLASSNAME_74 = 'Symfony\Component\Validator\Tests\Fixtures\Entity_74';
|
||||
const CLASSNAME_74_PROXY = 'Symfony\Component\Validator\Tests\Fixtures\Entity_74_Proxy';
|
||||
const PARENTCLASS = EntityParent::class;
|
||||
private const CLASSNAME = Entity::class;
|
||||
private const CLASSNAME_74 = 'Symfony\Component\Validator\Tests\Fixtures\Entity_74';
|
||||
private const CLASSNAME_74_PROXY = 'Symfony\Component\Validator\Tests\Fixtures\Entity_74_Proxy';
|
||||
private const PARENTCLASS = EntityParent::class;
|
||||
|
||||
public function testInvalidPropertyName()
|
||||
{
|
||||
|
Reference in New Issue
Block a user