merged 2.0

This commit is contained in:
Fabien Potencier 2012-01-11 15:47:52 +01:00
commit b9a14f0411
11 changed files with 218 additions and 209 deletions

View File

@ -162,6 +162,10 @@
<source>This value is not a valid country</source> <source>This value is not a valid country</source>
<target>Ez az érték nem egy érvényes ország</target> <target>Ez az érték nem egy érvényes ország</target>
</trans-unit> </trans-unit>
<trans-unit id="41">
<source>This value is already used</source>
<target>Ez az érték már használva van</target>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View File

@ -1,199 +1,199 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2"> <xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<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>This value should be false</source> <source>This value should be false</source>
<target>Táto hodnota by mala byť nastavená na false</target> <target>Táto hodnota by mala byť nastavená na false</target>
</trans-unit> </trans-unit>
<trans-unit id="2"> <trans-unit id="2">
<source>This value should be true</source> <source>This value should be true</source>
<target>Táto hodnota by mala byť nastavená na true</target> <target>Táto hodnota by mala byť nastavená na true</target>
</trans-unit> </trans-unit>
<trans-unit id="3"> <trans-unit id="3">
<source>This value should be of type {{ type }}</source> <source>This value should be of type {{ type }}</source>
<target>Táto hodnota by mala byť typu {{ type }}</target> <target>Táto hodnota by mala byť typu {{ type }}</target>
</trans-unit> </trans-unit>
<trans-unit id="4"> <trans-unit id="4">
<source>This value should be blank</source> <source>This value should be blank</source>
<target>Táto hodnota by mala byť prázdna</target> <target>Táto hodnota by mala byť prázdna</target>
</trans-unit> </trans-unit>
<trans-unit id="5"> <trans-unit id="5">
<source>The value you selected is not a valid choice</source> <source>The value you selected is not a valid choice</source>
<target>Táto hodnota by mala byť jednou z poskytnutých možností</target> <target>Táto hodnota by mala byť jednou z poskytnutých možností</target>
</trans-unit> </trans-unit>
<trans-unit id="6"> <trans-unit id="6">
<source>You must select at least {{ limit }} choices</source> <source>You must select at least {{ limit }} choices</source>
<target>Mali by ste vybrať minimálne {{ limit }} možnosti</target> <target>Mali by ste vybrať minimálne {{ limit }} možnosti</target>
</trans-unit> </trans-unit>
<trans-unit id="7"> <trans-unit id="7">
<source>You must select at most {{ limit }} choices</source> <source>You must select at most {{ limit }} choices</source>
<target>Mali by ste vybrať najviac {{ limit }} možnosti</target> <target>Mali by ste vybrať najviac {{ limit }} možnosti</target>
</trans-unit> </trans-unit>
<trans-unit id="8"> <trans-unit id="8">
<source>One or more of the given values is invalid</source> <source>One or more of the given values is invalid</source>
<target>One or more of the given values is invalid</target> <target>One or more of the given values is invalid</target>
</trans-unit> </trans-unit>
<trans-unit id="9"> <trans-unit id="9">
<source>The fields {{ fields }} were not expected</source> <source>The fields {{ fields }} were not expected</source>
<target>Polia {{ fields }} neboli očakávané</target> <target>Polia {{ fields }} neboli očakávané</target>
</trans-unit> </trans-unit>
<trans-unit id="10"> <trans-unit id="10">
<source>The fields {{ fields }} are missing</source> <source>The fields {{ fields }} are missing</source>
<target>Chýbajú polia {{ fields }} </target> <target>Chýbajú polia {{ fields }} </target>
</trans-unit> </trans-unit>
<trans-unit id="11"> <trans-unit id="11">
<source>This value is not a valid date</source> <source>This value is not a valid date</source>
<target>Tato hodnota nemá platný formát dátumu</target> <target>Tato hodnota nemá platný formát dátumu</target>
</trans-unit> </trans-unit>
<trans-unit id="12"> <trans-unit id="12">
<source>This value is not a valid datetime</source> <source>This value is not a valid datetime</source>
<target>Táto hodnota nemá platný formát dátumu a času</target> <target>Táto hodnota nemá platný formát dátumu a času</target>
</trans-unit> </trans-unit>
<trans-unit id="13"> <trans-unit id="13">
<source>This value is not a valid email address</source> <source>This value is not a valid email address</source>
<target>Táto hodnota nie je platná emailová adresa</target> <target>Táto hodnota nie je platná emailová adresa</target>
</trans-unit> </trans-unit>
<trans-unit id="14"> <trans-unit id="14">
<source>The file could not be found</source> <source>The file could not be found</source>
<target>Súbor sa nenašiel</target> <target>Súbor sa nenašiel</target>
</trans-unit> </trans-unit>
<trans-unit id="15"> <trans-unit id="15">
<source>The file is not readable</source> <source>The file is not readable</source>
<target>Súbor nie je čitateľný</target> <target>Súbor nie je čitateľný</target>
</trans-unit> </trans-unit>
<trans-unit id="16"> <trans-unit id="16">
<source>The file is too large ({{ size }}). Allowed maximum size is {{ limit }}</source> <source>The file is too large ({{ size }}). Allowed maximum size is {{ limit }}</source>
<target>Súbor je príliš veľký ({{ size }}). Maximálna povolená veľkosť je {{ limit }}</target> <target>Súbor je príliš veľký ({{ size }}). Maximálna povolená veľkosť je {{ limit }}</target>
</trans-unit> </trans-unit>
<trans-unit id="17"> <trans-unit id="17">
<source>The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}</source> <source>The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}</source>
<target>Súbor typu ({{ type }}) nie je podporovaný. Podporované typy sú {{ types }}</target> <target>Súbor typu ({{ type }}) nie je podporovaný. Podporované typy sú {{ types }}</target>
</trans-unit> </trans-unit>
<trans-unit id="18"> <trans-unit id="18">
<source>This value should be {{ limit }} or less</source> <source>This value should be {{ limit }} or less</source>
<target>Táto hodnota by mala byť {{ limit }} alebo menej</target> <target>Táto hodnota by mala byť {{ limit }} alebo menej</target>
</trans-unit> </trans-unit>
<trans-unit id="19"> <trans-unit id="19">
<source>This value is too long. It should have {{ limit }} characters or less</source> <source>This value is too long. It should have {{ limit }} characters or less</source>
<target>Táto hodnota obsahuje viac znakov ako je povolené. Mala by obsahovat najviac {{ limit }} znakov</target> <target>Táto hodnota obsahuje viac znakov ako je povolené. Mala by obsahovat najviac {{ limit }} znakov</target>
</trans-unit> </trans-unit>
<trans-unit id="20"> <trans-unit id="20">
<source>This value should be {{ limit }} or more</source> <source>This value should be {{ limit }} or more</source>
<target>Táto hodnota by mala byť viac ako {{ limit }}</target> <target>Táto hodnota by mala byť viac ako {{ limit }}</target>
</trans-unit> </trans-unit>
<trans-unit id="21"> <trans-unit id="21">
<source>This value is too short. It should have {{ limit }} characters or more</source> <source>This value is too short. It should have {{ limit }} characters or more</source>
<target>Táto hodnota nemá dostatočný počet znakov. Minimálny počet znakov je {{ limit }}</target> <target>Táto hodnota nemá dostatočný počet znakov. Minimálny počet znakov je {{ limit }}</target>
</trans-unit> </trans-unit>
<trans-unit id="22"> <trans-unit id="22">
<source>This value should not be blank</source> <source>This value should not be blank</source>
<target>Táto hodnota by mala byť vyplnená</target> <target>Táto hodnota by mala byť vyplnená</target>
</trans-unit> </trans-unit>
<trans-unit id="23"> <trans-unit id="23">
<source>This value should not be null</source> <source>This value should not be null</source>
<target>Táto hodnota by nemala byť null</target> <target>Táto hodnota by nemala byť null</target>
</trans-unit> </trans-unit>
<trans-unit id="24"> <trans-unit id="24">
<source>This value should be null</source> <source>This value should be null</source>
<target>Táto hodnota by mala byť null</target> <target>Táto hodnota by mala byť null</target>
</trans-unit> </trans-unit>
<trans-unit id="25"> <trans-unit id="25">
<source>This value is not valid</source> <source>This value is not valid</source>
<target>Táto hodnota nie je platná</target> <target>Táto hodnota nie je platná</target>
</trans-unit> </trans-unit>
<trans-unit id="26"> <trans-unit id="26">
<source>This value is not a valid time</source> <source>This value is not a valid time</source>
<target>Tato hodnota nemá správny formát času</target> <target>Tato hodnota nemá správny formát času</target>
</trans-unit> </trans-unit>
<trans-unit id="27"> <trans-unit id="27">
<source>This value is not a valid URL</source> <source>This value is not a valid URL</source>
<target>Táto hodnota nie je platnou URL adresou</target> <target>Táto hodnota nie je platnou URL adresou</target>
</trans-unit> </trans-unit>
<trans-unit id="28"> <trans-unit id="28">
<source>This form should not contain extra fields</source> <source>This form should not contain extra fields</source>
<target>Polia by nemali obsahovať ďalšie prvky</target> <target>Polia by nemali obsahovať ďalšie prvky</target>
</trans-unit> </trans-unit>
<trans-unit id="29"> <trans-unit id="29">
<source>The uploaded file was too large. Please try to upload a smaller file</source> <source>The uploaded file was too large. Please try to upload a smaller file</source>
<target>Odoslaný súbor je príliš veľký. Prosím odošlite súbor s menšou veľkosťou</target> <target>Odoslaný súbor je príliš veľký. Prosím odošlite súbor s menšou veľkosťou</target>
</trans-unit> </trans-unit>
<trans-unit id="30"> <trans-unit id="30">
<source>The CSRF token is invalid. Please try to resubmit the form</source> <source>The CSRF token is invalid. Please try to resubmit the form</source>
<target>CSRF token je neplatný. Prosím skúste znovu odoslať formulár</target> <target>CSRF token je neplatný. Prosím skúste znovu odoslať formulár</target>
</trans-unit> </trans-unit>
<trans-unit id="31"> <trans-unit id="31">
<source>The two values should be equal</source> <source>The two values should be equal</source>
<target>Tieto dve hodnoty by mali byť rovnaké</target> <target>Tieto dve hodnoty by mali byť rovnaké</target>
</trans-unit> </trans-unit>
<trans-unit id="32"> <trans-unit id="32">
<source>The file is too large. Allowed maximum size is {{ limit }}</source> <source>The file is too large. Allowed maximum size is {{ limit }}</source>
<target>Súbor je príliš veľký. Maximálna povolená veľkosť je {{ limit }}</target> <target>Súbor je príliš veľký. Maximálna povolená veľkosť je {{ limit }}</target>
</trans-unit> </trans-unit>
<trans-unit id="33"> <trans-unit id="33">
<source>The file is too large</source> <source>The file is too large</source>
<target>Súbor je príliš veľký</target> <target>Súbor je príliš veľký</target>
</trans-unit> </trans-unit>
<trans-unit id="34"> <trans-unit id="34">
<source>The file could not be uploaded</source> <source>The file could not be uploaded</source>
<target>Súbor sa nepodarilo nahrať</target> <target>Súbor sa nepodarilo nahrať</target>
</trans-unit> </trans-unit>
<trans-unit id="35"> <trans-unit id="35">
<source>This value should be a valid number</source> <source>This value should be a valid number</source>
<target>Táto hodnota by mala byť číslo</target> <target>Táto hodnota by mala byť číslo</target>
</trans-unit> </trans-unit>
<trans-unit id="36"> <trans-unit id="36">
<source>This file is not a valid image</source> <source>This file is not a valid image</source>
<target>Tento súbor nie je obrázok</target> <target>Tento súbor nie je obrázok</target>
</trans-unit> </trans-unit>
<trans-unit id="37"> <trans-unit id="37">
<source>This is not a valid IP address</source> <source>This is not a valid IP address</source>
<target>Toto nie je platná IP adresa</target> <target>Toto nie je platná IP adresa</target>
</trans-unit> </trans-unit>
<trans-unit id="38"> <trans-unit id="38">
<source>This value is not a valid language</source> <source>This value is not a valid language</source>
<target>Tento jazyk neexistuje</target> <target>Tento jazyk neexistuje</target>
</trans-unit> </trans-unit>
<trans-unit id="39"> <trans-unit id="39">
<source>This value is not a valid locale</source> <source>This value is not a valid locale</source>
<target>Táto lokalizácia neexistuje</target> <target>Táto lokalizácia neexistuje</target>
</trans-unit> </trans-unit>
<trans-unit id="40"> <trans-unit id="40">
<source>This value is not a valid country</source> <source>This value is not a valid country</source>
<target>Táto krajina neexistuje</target> <target>Táto krajina neexistuje</target>
</trans-unit> </trans-unit>
<trans-unit id="41"> <trans-unit id="41">
<source>This value is already used</source> <source>This value is already used</source>
<target>Táto hodnota sa už používa</target> <target>Táto hodnota sa už používa</target>
</trans-unit> </trans-unit>
<trans-unit id="42"> <trans-unit id="42">
<source>The size of the image could not be detected</source> <source>The size of the image could not be detected</source>
<target>Nepodarilo sa zistiť rozmery obrázku</target> <target>Nepodarilo sa zistiť rozmery obrázku</target>
</trans-unit> </trans-unit>
<trans-unit id="43"> <trans-unit id="43">
<source>The image width is too big ({{ width }}px). Allowed maximum width is {{ max_width }}px</source> <source>The image width is too big ({{ width }}px). Allowed maximum width is {{ max_width }}px</source>
<target>Obrázok je príliš široký ({{ width }}px). Maximálna povolená šírka obrázku je {{ max_width }}px</target> <target>Obrázok je príliš široký ({{ width }}px). Maximálna povolená šírka obrázku je {{ max_width }}px</target>
</trans-unit> </trans-unit>
<trans-unit id="44"> <trans-unit id="44">
<source>The image width is too small ({{ width }}px). Minimum width expected is {{ min_width }}px</source> <source>The image width is too small ({{ width }}px). Minimum width expected is {{ min_width }}px</source>
<target>Obrázok je príliš úzky ({{ width }}px). Minimálna šírka obrázku by mala byť {{ min_width }}px</target> <target>Obrázok je príliš úzky ({{ width }}px). Minimálna šírka obrázku by mala byť {{ min_width }}px</target>
</trans-unit> </trans-unit>
<trans-unit id="45"> <trans-unit id="45">
<source>The image height is too big ({{ height }}px). Allowed maximum height is {{ max_height }}px</source> <source>The image height is too big ({{ height }}px). Allowed maximum height is {{ max_height }}px</source>
<target>>Obrázok je príliš vysoký ({{ height }}px). Maximálna povolená výška obrázku je {{ max_height }}px</target> <target>>Obrázok je príliš vysoký ({{ height }}px). Maximálna povolená výška obrázku je {{ max_height }}px</target>
</trans-unit> </trans-unit>
<trans-unit id="46"> <trans-unit id="46">
<source>The image height is too small ({{ height }}px). Minimum height expected is {{ min_height }}px</source> <source>The image height is too small ({{ height }}px). Minimum height expected is {{ min_height }}px</source>
<target>Obrázok je príliš nízky ({{ height }}px). Minimálna výška obrázku by mala byť {{ min_height }}px</target> <target>Obrázok je príliš nízky ({{ height }}px). Minimálna výška obrázku by mala byť {{ min_height }}px</target>
</trans-unit> </trans-unit>
<trans-unit id="47"> <trans-unit id="47">
<source>This value should be the user current password</source> <source>This value should be the user current password</source>
<target>Táto hodnota by mala byť aktuálne heslo používateľa</target> <target>Táto hodnota by mala byť aktuálne heslo používateľa</target>
</trans-unit> </trans-unit>
<trans-unit id="48"> <trans-unit id="48">
<source>This value should have exactly {{ limit }} characters</source> <source>This value should have exactly {{ limit }} characters</source>
<target>Táto hodnota by mala mať presne {{ limit }} znakov</target> <target>Táto hodnota by mala mať presne {{ limit }} znakov</target>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View File

@ -17,7 +17,7 @@ namespace Symfony\Component\ClassLoader;
* It is able to load classes that use either: * It is able to load classes that use either:
* *
* * The technical interoperability standards for PHP 5.3 namespaces and * * The technical interoperability standards for PHP 5.3 namespaces and
* class names (http://groups.google.com/group/php-standards/web/psr-0-final-proposal); * class names (https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md);
* *
* * The PEAR naming convention for classes (http://pear.php.net/). * * The PEAR naming convention for classes (http://pear.php.net/).
* *

View File

@ -17,7 +17,7 @@ namespace Symfony\Component\ClassLoader;
* It is able to load classes that use either: * It is able to load classes that use either:
* *
* * The technical interoperability standards for PHP 5.3 namespaces and * * The technical interoperability standards for PHP 5.3 namespaces and
* class names (http://groups.google.com/group/php-standards/web/psr-0-final-proposal); * class names (https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md);
* *
* * The PEAR naming convention for classes (http://pear.php.net/). * * The PEAR naming convention for classes (http://pear.php.net/).
* *

View File

@ -32,10 +32,12 @@ class DateTimeToLocalizedStringTransformer extends BaseDateTimeTransformer
* *
* @see BaseDateTimeTransformer::formats for available format options * @see BaseDateTimeTransformer::formats for available format options
* *
* @param string $inputTimezone The name of the input timezone * @param string $inputTimezone The name of the input timezone
* @param string $outputTimezone The name of the output timezone * @param string $outputTimezone The name of the output timezone
* @param integer $dateFormat The date format * @param integer $dateFormat The date format
* @param integer $timeFormat The time format * @param integer $timeFormat The time format
* @param \IntlDateFormatter $calendar An \IntlDateFormatter instance
* @param string $pattern A pattern to pass to \IntlDateFormatter
* *
* @throws UnexpectedTypeException If a format is not supported * @throws UnexpectedTypeException If a format is not supported
* @throws UnexpectedTypeException if a timezone is not a string * @throws UnexpectedTypeException if a timezone is not a string

View File

@ -76,7 +76,7 @@ class DelegatingValidator implements FormValidatorInterface
$child->addError($error); $child->addError($error);
} }
} }
} elseif ($violations = $this->validator->validate($form)) { } elseif (count($violations = $this->validator->validate($form))) {
foreach ($violations as $violation) { foreach ($violations as $violation) {
$propertyPath = $violation->getPropertyPath(); $propertyPath = $violation->getPropertyPath();
$template = $violation->getMessageTemplate(); $template = $violation->getMessageTemplate();

View File

@ -300,7 +300,7 @@ class FormBuilder
/** /**
* Appends a transformer to the normalization transformer chain * Appends a transformer to the normalization transformer chain
* *
* @param DataTransformerInterface $clientTransformer * @param DataTransformerInterface $normTransformer
* *
* @return FormBuilder The current builder * @return FormBuilder The current builder
*/ */

View File

@ -43,6 +43,7 @@ abstract class FormUtil
* Returns whether the given choice is selected. * Returns whether the given choice is selected.
* *
* @param mixed $choice The choice * @param mixed $choice The choice
* @param mixed $value the value
* *
* @return Boolean Whether the choice is selected * @return Boolean Whether the choice is selected
*/ */

View File

@ -111,7 +111,8 @@ class FilesystemSessionStorage extends NativeSessionStorage
* *
* The preferred format for a key is directory style so naming conflicts can be avoided. * The preferred format for a key is directory style so naming conflicts can be avoided.
* *
* @param string $key A unique key identifying your data * @param string $key A unique key identifying your data
* @param string $default The default value
* *
* @return mixed Data associated with the key * @return mixed Data associated with the key
* *

View File

@ -15,6 +15,7 @@ namespace Symfony\Component\Routing\Annotation;
* Annotation class for @Route(). * Annotation class for @Route().
* *
* @Annotation * @Annotation
*
* @author Fabien Potencier <fabien@symfony.com> * @author Fabien Potencier <fabien@symfony.com>
*/ */
class Route class Route

View File

@ -31,7 +31,7 @@ class ParseException extends \RuntimeException implements ExceptionInterface
* @param string $message The error message * @param string $message The error message
* @param integer $parsedLine The line where the error occurred * @param integer $parsedLine The line where the error occurred
* @param integer $snippet The snippet of code near the problem * @param integer $snippet The snippet of code near the problem
* @param string $filename The file name where the error occurred * @param string $parsedFile The file name where the error occurred
* @param Exception $previous The previous exception * @param Exception $previous The previous exception
*/ */
public function __construct($message, $parsedLine = -1, $snippet = null, $parsedFile = null, Exception $previous = null) public function __construct($message, $parsedLine = -1, $snippet = null, $parsedFile = null, Exception $previous = null)
@ -59,7 +59,7 @@ class ParseException extends \RuntimeException implements ExceptionInterface
/** /**
* Sets the snippet of code near the error. * Sets the snippet of code near the error.
* *
* @param string $parsedFile The filename * @param string $snippet The code snippet
*/ */
public function setSnippet($snippet) public function setSnippet($snippet)
{ {