Skip to content

Commit

Permalink
Merge branch '5.4' into 6.3
Browse files Browse the repository at this point in the history
* 5.4:
  [FrameworkBundle] Update docblock AbstractController
  [HttpFoundation][FrameworkBundle] Fix default locale is ignored when set_locale_from_accept_language is used
  add missing translations
  [Validator] updated Lithuanian translation
  [Validator] fix some non-sense Lithuanian translations
  [Validator] updated Slovenian translation
  [Validator] updated Finnish translation
  [Validator] Add `Charset` french translation
  [Tests] Streamline CompiledUrlGenerator tests
  [Serializer] Skip uninitialized properties with deep_object_to_populate
  fix Constraints\Email::ERROR_NAMES
  • Loading branch information
nicolas-grekas committed Dec 29, 2023
2 parents 1944ad7 + 159944c commit 8c417c1
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Constraints/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Email extends Constraint
];

protected const ERROR_NAMES = [
self::INVALID_FORMAT_ERROR => 'STRICT_CHECK_FAILED_ERROR',
self::INVALID_FORMAT_ERROR => 'INVALID_FORMAT_ERROR',
];

/**
Expand Down
4 changes: 4 additions & 0 deletions Resources/translations/validators.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,10 @@
<source>The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}.</source>
<target>Die Dateiendung ist ungültig ({{ extension }}). Gültige Dateiendungen sind {{ extensions }}.</target>
</trans-unit>
<trans-unit id="111">
<source>The detected character encoding is invalid ({{ detected }}). Allowed encodings are {{ encodings }}.</source>
<target>Der erkannte Zeichensatz ist nicht gültig ({{ detected }}). Gültige Zeichensätze sind "{{ encodings }}".</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions Resources/translations/validators.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,10 @@
<source>The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}.</source>
<target>The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}.</target>
</trans-unit>
<trans-unit id="111">
<source>The detected character encoding is invalid ({{ detected }}). Allowed encodings are {{ encodings }}.</source>
<target>The detected character encoding is invalid ({{ detected }}). Allowed encodings are {{ encodings }}.</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions Resources/translations/validators.fi.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,10 @@
<source>Using hidden overlay characters is not allowed.</source>
<target>Piilotettuja tarkemerkkejä ei saa käyttää.</target>
</trans-unit>
<trans-unit id="110">
<source>The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}.</source>
<target>Tiedostopääte ({{ extension }}) on virheellinen. Sallitut tiedostopäätteet ovat: {{ extensions }}.</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions Resources/translations/validators.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,10 @@
<source>The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}.</source>
<target>L'extension du fichier est invalide ({{ extension }}). Les extensions autorisées sont {{ extensions }}.</target>
</trans-unit>
<trans-unit id="111">
<source>The detected character encoding is invalid ({{ detected }}). Allowed encodings are {{ encodings }}.</source>
<target>L'encodage de caractères détecté est invalide ({{ detected }}). Les encodages autorisés sont {{ encodings }}.</target>
</trans-unit>
</body>
</file>
</xliff>
8 changes: 6 additions & 2 deletions Resources/translations/validators.lt.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
</trans-unit>
<trans-unit id="9">
<source>This field was not expected.</source>
<target>Nebuvo tikimasi Šis laukas.</target>
<target>Nebuvo tikimasi šio laukelio.</target>
</trans-unit>
<trans-unit id="10">
<source>This field is missing.</source>
<target>Šiame lauke yra dingęs.</target>
<target>Trūkstamas laukelis.</target>
</trans-unit>
<trans-unit id="11">
<source>This value is not a valid date.</source>
Expand Down Expand Up @@ -426,6 +426,10 @@
<source>Using hidden overlay characters is not allowed.</source>
<target>Draudžiama naudoti paslėptus perdangos simbolius.</target>
</trans-unit>
<trans-unit id="110">
<source>The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}.</source>
<target>Failo plėtinys netinkamas ({{ extension }}). Leidžiami plėtiniai yra {{ extensions }}.</target>
</trans-unit>
</body>
</file>
</xliff>
4 changes: 4 additions & 0 deletions Resources/translations/validators.sl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,10 @@
<source>Using hidden overlay characters is not allowed.</source>
<target>Uporaba skritih prekrivnih znakov ni dovoljena.</target>
</trans-unit>
<trans-unit id="110">
<source>The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}.</source>
<target>Končnica datoteke ni veljavna ({{ extension }}). Dovoljene so naslednje končnice: {{ extensions }}.</target>
</trans-unit>
</body>
</file>
</xliff>

0 comments on commit 8c417c1

Please sign in to comment.