This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bundle/FrameworkBundle/Resources/translations/validators.it.xliff
Fabien Potencier c188ca85b9 merged branch vicb/form/translate (PR #1627)
Commits
-------

24e0d71 [FrameworkBundle] Fix a translatable string from the Form default validator
30d348d [Form] Make the default invalid message translatable

Discussion
----------

[Form] Translation

The first commit adds the ability to customize the default message when the form is invalid:

  * Make it an option in the form builder,
  * Allow placeholders in the message,
  * The default value `This value is not valid` exists in the translation files.

The second commit updates a source string in the XLIFF files to make it translatable. All translations should be updated accordingly. The source string is from the [default validator](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Form/Extension/Core/Validator/DefaultValidator.php#L27).

This PR should fix The issue #997.

---------------------------------------------------------------------------

by fabpot at 2011/07/11 01:53:05 -0700

The first commit is not about making the message translatable, but to make it customizable (as the message is used for very different purposes depending on the Type).

---------------------------------------------------------------------------

by fabpot at 2011/07/11 01:55:11 -0700

The "This value is not valid" string should be added to the translation files too.

---------------------------------------------------------------------------

by vicb at 2011/07/11 02:02:51 -0700

@fabpot it was not translatable as the name was hardcoded in the message (instead of using a placeholder). So yes it becomes translatable now (and "customize"able as explained in the PR message).

I have also removed the form name from the default message as I don't think it brings any added value.

`This value is not valid` already exists in the translation files (see id=24).
2011-07-11 11:25:45 +02:00

132 lines
6.7 KiB
XML

<?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>This value should be false</source>
<target>Questo valore dovrebbe essere falso</target>
</trans-unit>
<trans-unit id="2">
<source>This value should be true</source>
<target>Questo valore dovrebbe essere vero</target>
</trans-unit>
<trans-unit id="3">
<source>This value should be of type {{ type }}</source>
<target>Questo valore dovrebbe essere di tipo {{ type }}</target>
</trans-unit>
<trans-unit id="4">
<source>This value should be blank</source>
<target>Questo valore dovrebbe essere vuoto</target>
</trans-unit>
<trans-unit id="5">
<source>This value should be one of the given choices</source>
<target>Questo valore dovrebbe essere una delle opzioni disponibili</target>
</trans-unit>
<trans-unit id="6">
<source>You should select at least {{ limit }} choices</source>
<target>Si dovrebbe selezionare almeno {{ limit }} opzioni</target>
</trans-unit>
<trans-unit id="7">
<source>You should select at most {{ limit }} choices</source>
<target>Si dovrebbe selezionare al massimo {{ limit }} opzioni</target>
</trans-unit>
<trans-unit id="8">
<source>The fields {{ fields }} were not expected</source>
<target>I campi {{ fields }} non solo validi</target>
</trans-unit>
<trans-unit id="9">
<source>The fields {{ fields }} are missing</source>
<target>I campi {{ fields }} sono mancanti</target>
</trans-unit>
<trans-unit id="10">
<source>This value is not a valid date</source>
<target>Questo valore non è una data valida</target>
</trans-unit>
<trans-unit id="11">
<source>This value is not a valid datetime</source>
<target>Questo valore non è una data e ora valida</target>
</trans-unit>
<trans-unit id="12">
<source>This value is not a valid email address</source>
<target>Questo valore non è un indirizzo email valido</target>
</trans-unit>
<trans-unit id="13">
<source>The file could not be found</source>
<target>Non è stato possibile trovare il file</target>
</trans-unit>
<trans-unit id="14">
<source>The file is not readable</source>
<target>Il file non è leggibile</target>
</trans-unit>
<trans-unit id="15">
<source>The file is too large ({{ size }}). Allowed maximum size is {{ limit }}</source>
<target>Il file è troppo grande ({{ size }}). La dimensione massima consentita è {{ limit }}</target>
</trans-unit>
<trans-unit id="16">
<source>The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}</source>
<target>Il mime type del file non è valido ({{ type }}). I tipi permessi sono {{ types }}</target>
</trans-unit>
<trans-unit id="17">
<source>This value should be {{ limit }} or less</source>
<target>Questo valore dovrebbe essere {{ limit }} o inferiore</target>
</trans-unit>
<trans-unit id="18">
<source>This value is too long. It should have {{ limit }} characters or less</source>
<target>Questo valore è troppo lungo. Dovrebbe essere al massimo di {{ limit }} caratteri</target>
</trans-unit>
<trans-unit id="19">
<source>This value should be {{ limit }} or more</source>
<target>Questo valore dovrebbe essere {{ limit }} o superiore</target>
</trans-unit>
<trans-unit id="20">
<source>This value is too short. It should have {{ limit }} characters or more</source>
<target>Questo valore è troppo corto. Dovrebbe essere almeno di {{ limit }} caratteri</target>
</trans-unit>
<trans-unit id="21">
<source>This value should not be blank</source>
<target>Questo valore non dovrebbe essere vuoto</target>
</trans-unit>
<trans-unit id="22">
<source>This value should not be null</source>
<target>Questo valore non dovrebbe essere nullo</target>
</trans-unit>
<trans-unit id="23">
<source>This value should be null</source>
<target>Questo valore dovrebbe essere nullo</target>
</trans-unit>
<trans-unit id="24">
<source>This value is not valid</source>
<target>Questo valore non è valido</target>
</trans-unit>
<trans-unit id="25">
<source>This value is not a valid time</source>
<target>Questo valore non è un'ora valida</target>
</trans-unit>
<trans-unit id="26">
<source>This value is not a valid URL</source>
<target>Questo valore non è un URL valido</target>
</trans-unit>
<trans-unit id="27">
<source>This value should be instance of class {{ class }}</source>
<target>Questo valore dovrebbe essere istanza della classe {{ class }}</target>
</trans-unit>
<trans-unit id="28">
<source>This form should not contain extra fields</source>
<target>Questo gruppo di campi non dovrebbe contenere nessun campo extra</target>
</trans-unit>
<trans-unit id="29">
<source>The uploaded file was too large. Please try to upload a smaller file</source>
<target>Il file caricato è troppo grande. Per favore caricare un file più piccolo</target>
</trans-unit>
<trans-unit id="30">
<source>The CSRF token is invalid</source>
<target>Il token CSRF non è valido</target>
</trans-unit>
<trans-unit id="31">
<source>The two values should be equal</source>
<target>I due valori dovrebbero essere uguali</target>
</trans-unit>
</body>
</file>
</xliff>