Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Updated some translation files #31053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" datatype="plaintext" original="file.ext">
<body>
<trans-unit id="1">
<source>An authentication exception occurred.</source>
<target>Autentifikazio-errorea gertatu da.</target>
</trans-unit>
<trans-unit id="2">
<source>Authentication credentials could not be found.</source>
<target>Ez dira aurkitu autentifikazio-kredentzialak.</target>
</trans-unit>
<trans-unit id="3">
<source>Authentication request could not be processed due to a system problem.</source>
<target>Ezin izan da autentifikazio-eskaera prozesatu, sistema-arazo bat gertatu da eta.</target>
</trans-unit>
<trans-unit id="4">
<source>Invalid credentials.</source>
<target>Kredentzialak okerrak dira.</target>
</trans-unit>
<trans-unit id="5">
<source>Cookie has already been used by someone else.</source>
<target>Dagoeneko beste pertsona batek erabili du cookiea.</target>
</trans-unit>
<trans-unit id="6">
<source>Not privileged to request the resource.</source>
<target>Ez duzu baliabidea eskatzeko aukerarik.</target>
</trans-unit>
<trans-unit id="7">
<source>Invalid CSRF token.</source>
<target>CSRF tokena okerra da.</target>
</trans-unit>
<trans-unit id="9">
<source>No authentication provider found to support the authentication token.</source>
<target>Ez da aurkitu autentifikazio-tokena eutsi dezakeen autentifikazio-hornitzailerik.</target>
</trans-unit>
<trans-unit id="10">
<source>No session available, it either timed out or cookies are not enabled.</source>
<target>Ez dago saiorik erabilgarri, iraungi egin da edo cookieak ez daude gaituta.</target>
</trans-unit>
<trans-unit id="11">
<source>No token could be found.</source>
<target>Ez da tokenik aurkitu.</target>
</trans-unit>
<trans-unit id="12">
<source>Username could not be found.</source>
<target>Ez da erabiltzaile-izena aurkitu.</target>
</trans-unit>
<trans-unit id="13">
<source>Account has expired.</source>
<target>Kontua iraungi da.</target>
</trans-unit>
<trans-unit id="14">
<source>Credentials have expired.</source>
<target>Kredentzialak iraungi dira.</target>
</trans-unit>
<trans-unit id="15">
<source>Account is disabled.</source>
<target>Kontua desgaituta dago.</target>
</trans-unit>
<trans-unit id="16">
<source>Account is locked.</source>
<target>Kontua blokeatuta dago.</target>
</trans-unit>
</body>
</file>
</xliff>
5 changes: 4 additions & 1 deletion src/Symfony/Component/Translation/Extractor/PhpExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@
<?php echo $view['translator']->trans('typecast', ['a' => (int) '123'], 'not_messages'); ?>
<?php echo $view['translator']->transChoice('msg1', 10 + 1, [], 'not_messages'); ?>
<?php echo $view['translator']->transChoice('msg2', ceil(4.5), [], 'not_messages'); ?>

<?php echo $view['translator']->trans('default domain', [], null); ?>
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,38 @@
<source>This Business Identifier Code (BIC) is not associated with IBAN {{ iban }}.</source>
<target>Este Código de Identificación Bancaria (BIC) no está asociado con el IBAN {{ iban }}.</target>
</trans-unit>
<trans-unit id="86">
<source>This value should be valid JSON.</source>
<target>Este valor debería ser un JSON válido.</target>
</trans-unit>
<trans-unit id="87">
<source>This collection should contain only unique elements.</source>
<target>Esta colección debería tener exclusivamente elementos únicos.</target>
</trans-unit>
<trans-unit id="88">
<source>This value should be positive.</source>
<target>Este valor debería ser positivo.</target>
</trans-unit>
<trans-unit id="89">
<source>This value should be either positive or zero.</source>
<target>Este valor debería ser positivo o igual a cero.</target>
</trans-unit>
<trans-unit id="90">
<source>This value should be negative.</source>
<target>Este valor debería ser negativo.</target>
</trans-unit>
<trans-unit id="91">
<source>This value should be either negative or zero.</source>
<target>Este valor debería ser negativo o igual a cero.</target>
</trans-unit>
<trans-unit id="92">
<source>This value is not a valid timezone.</source>
<target>Este valor no es una zona horaria válida.</target>
</trans-unit>
<trans-unit id="93">
<source>This password has been leaked in a data breach, it must not be used. Please use another password.</source>
<target>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.</target>
</trans-unit>
</body>
</file>
</xliff>