[Security] Move translations file to 'security' domain
This commit is contained in:
parent
324703a9ff
commit
73db84fd5e
@ -206,7 +206,7 @@ abstract class FrameworkExtensionTest extends TestCase
|
|||||||
'->registerTranslatorConfiguration() finds Form translation resources'
|
'->registerTranslatorConfiguration() finds Form translation resources'
|
||||||
);
|
);
|
||||||
$this->assertContains(
|
$this->assertContains(
|
||||||
'Symfony/Component/Security/Resources/translations/exceptions.en.xlf',
|
'Symfony/Component/Security/Resources/translations/security.en.xlf',
|
||||||
$files,
|
$files,
|
||||||
'->registerTranslatorConfiguration() finds Security translation resources'
|
'->registerTranslatorConfiguration() finds Security translation resources'
|
||||||
);
|
);
|
||||||
|
@ -3,67 +3,67 @@
|
|||||||
<file source-language="en" datatype="plaintext" original="file.ext">
|
<file source-language="en" datatype="plaintext" original="file.ext">
|
||||||
<body>
|
<body>
|
||||||
<trans-unit id="1">
|
<trans-unit id="1">
|
||||||
<source>security.exception.authentication_exception</source>
|
<source>An authentication exception occurred.</source>
|
||||||
<target>An authentication exception occured.</target>
|
<target>An authentication exception occurred.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2">
|
<trans-unit id="2">
|
||||||
<source>security.exception.authentication_credentials_not_found_exception</source>
|
<source>Authentication credentials could not be found.</source>
|
||||||
<target>Authentication credentials could not be found.</target>
|
<target>Authentication credentials could not be found.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="3">
|
<trans-unit id="3">
|
||||||
<source>security.exception.authentication_service_exception</source>
|
<source>Authentication request could not be processed due to a system problem.</source>
|
||||||
<target>Authentication request could not be processed due to a system problem.</target>
|
<target>Authentication request could not be processed due to a system problem.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="4">
|
<trans-unit id="4">
|
||||||
<source>security.exception.bad_credentials_exception</source>
|
<source>Invalid credentials.</source>
|
||||||
<target>Invalid credentials.</target>
|
<target>Invalid credentials.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="5">
|
<trans-unit id="5">
|
||||||
<source>security.exception.cookie_theft_exception</source>
|
<source>Cookie has already been used by someone else.</source>
|
||||||
<target>Cookie has already been used by someone else.</target>
|
<target>Cookie has already been used by someone else.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="6">
|
<trans-unit id="6">
|
||||||
<source>security.exception.insufficient_authentication_exception</source>
|
<source>Not privileged to request the resource.</source>
|
||||||
<target>Not priviliged to request the resource.</target>
|
<target>Not privileged to request the resource.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="7">
|
<trans-unit id="7">
|
||||||
<source>security.exception.invalid_csrf_token_exception</source>
|
<source>Invalid CSRF token.</source>
|
||||||
<target>Invalid CSRF token.</target>
|
<target>Invalid CSRF token.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="8">
|
<trans-unit id="8">
|
||||||
<source>security.exception.nonce_expired_exception</source>
|
<source>Digest nonce has expired.</source>
|
||||||
<target>Digest nonce has expired.</target>
|
<target>Digest nonce has expired.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="9">
|
<trans-unit id="9">
|
||||||
<source>security.exception.provider_not_found_exception</source>
|
<source>No authentication provider found to support the authentication token.</source>
|
||||||
<target>No authentication provider found to support the authentication token.</target>
|
<target>No authentication provider found to support the authentication token.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="10">
|
<trans-unit id="10">
|
||||||
<source>security.exception.session_unavailable_exception</source>
|
<source>No session available, it either timed out or cookies are not enabled.</source>
|
||||||
<target>No session available.</target>
|
<target>No session available, it either timed out or cookies are not enabled.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="11">
|
<trans-unit id="11">
|
||||||
<source>security.exception.token_not_found_exception</source>
|
<source>No token could be found.</source>
|
||||||
<target>No token could be found.</target>
|
<target>No token could be found.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="12">
|
<trans-unit id="12">
|
||||||
<source>security.exception.username_not_found_exception</source>
|
<source>Username could not be found.</source>
|
||||||
<target>Username could not be found.</target>
|
<target>Username could not be found.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="13">
|
<trans-unit id="13">
|
||||||
<source>security.exception.account_expired_exception</source>
|
<source>Account has expired.</source>
|
||||||
<target>Account has expired.</target>
|
<target>Account has expired.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="14">
|
<trans-unit id="14">
|
||||||
<source>security.exception.credentials_expired_exception</source>
|
<source>Credentials have expired.</source>
|
||||||
<target>Credentials have expired.</target>
|
<target>Credentials have expired.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="15">
|
<trans-unit id="15">
|
||||||
<source>security.exception.credentials_expired_exception</source>
|
<source>Account is disabled.</source>
|
||||||
<target>Account is disabled.</target>
|
<target>Account is disabled.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="16">
|
<trans-unit id="16">
|
||||||
<source>security.exception.credentials_expired_exception</source>
|
<source>Account is locked.</source>
|
||||||
<target>Account is locked.</target>
|
<target>Account is locked.</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
Reference in New Issue
Block a user