[Security] Move translations file to 'security' domain

This commit is contained in:
Alexander 2013-01-07 20:57:06 +01:00
parent 324703a9ff
commit 73db84fd5e
2 changed files with 20 additions and 20 deletions

View File

@ -206,7 +206,7 @@ abstract class FrameworkExtensionTest extends TestCase
'->registerTranslatorConfiguration() finds Form translation resources'
);
$this->assertContains(
'Symfony/Component/Security/Resources/translations/exceptions.en.xlf',
'Symfony/Component/Security/Resources/translations/security.en.xlf',
$files,
'->registerTranslatorConfiguration() finds Security translation resources'
);

View File

@ -3,67 +3,67 @@
<file source-language="en" datatype="plaintext" original="file.ext">
<body>
<trans-unit id="1">
<source>security.exception.authentication_exception</source>
<target>An authentication exception occured.</target>
<source>An authentication exception occurred.</source>
<target>An authentication exception occurred.</target>
</trans-unit>
<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>
</trans-unit>
<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>
</trans-unit>
<trans-unit id="4">
<source>security.exception.bad_credentials_exception</source>
<source>Invalid credentials.</source>
<target>Invalid credentials.</target>
</trans-unit>
<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>
</trans-unit>
<trans-unit id="6">
<source>security.exception.insufficient_authentication_exception</source>
<target>Not priviliged to request the resource.</target>
<source>Not privileged to request the resource.</source>
<target>Not privileged to request the resource.</target>
</trans-unit>
<trans-unit id="7">
<source>security.exception.invalid_csrf_token_exception</source>
<source>Invalid CSRF token.</source>
<target>Invalid CSRF token.</target>
</trans-unit>
<trans-unit id="8">
<source>security.exception.nonce_expired_exception</source>
<source>Digest nonce has expired.</source>
<target>Digest nonce has expired.</target>
</trans-unit>
<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>
</trans-unit>
<trans-unit id="10">
<source>security.exception.session_unavailable_exception</source>
<target>No session available.</target>
<source>No session available, it either timed out or cookies are not enabled.</source>
<target>No session available, it either timed out or cookies are not enabled.</target>
</trans-unit>
<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>
</trans-unit>
<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>
</trans-unit>
<trans-unit id="13">
<source>security.exception.account_expired_exception</source>
<source>Account has expired.</source>
<target>Account has expired.</target>
</trans-unit>
<trans-unit id="14">
<source>security.exception.credentials_expired_exception</source>
<source>Credentials have expired.</source>
<target>Credentials have expired.</target>
</trans-unit>
<trans-unit id="15">
<source>security.exception.credentials_expired_exception</source>
<source>Account is disabled.</source>
<target>Account is disabled.</target>
</trans-unit>
<trans-unit id="16">
<source>security.exception.credentials_expired_exception</source>
<source>Account is locked.</source>
<target>Account is locked.</target>
</trans-unit>
</body>