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

Skip to content

[Validator] Validation failed: no DTD found ! #50618

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

Closed
Neirda24 opened this issue Jun 9, 2023 · 1 comment
Closed

[Validator] Validation failed: no DTD found ! #50618

Neirda24 opened this issue Jun 9, 2023 · 1 comment

Comments

@Neirda24
Copy link
Contributor

Neirda24 commented Jun 9, 2023

Symfony version(s) affected

5.4.x

Description

It seems there are typos in .xlf files in the validator component. See for example https://github.com/symfony/symfony/blob/5.4/src/Symfony/Component/Validator/Resources/translations/validators.en.xlf#L411

- <target>The password strength is too low. Please use a stronger password.</source>
+ <target>The password strength is too low. Please use a stronger password.</target>

It seems to be present on several xlf files which prevent the clear cache from working.

How to reproduce

Install the 5.x-dev version of validator component and try to do cache:clear

Possible Solution

No response

Additional Context

No response

@nicolas-grekas
Copy link
Member

please send a PR, it should target branch 5.4 🙏

nicolas-grekas added a commit that referenced this issue Jun 9, 2023
…lations. (Adrien Roches)

This PR was merged into the 5.4 branch.

Discussion
----------

[Translation][Validator] Fix xlf files for en & fr translations.

| Q             | A
| ------------- | ---
| Branch?       | 5.4 <!-- see below -->
| Bug fix?      | yes
| New feature?  |no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? |no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #50618
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->
<!--
Replace this notice by a short README for your feature/bugfix.
This will help reviewers and should be a good start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the latest branch.
 - For new features, provide some code snippets to help understand usage.
 - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
 - Never break backward compatibility (see https://symfony.com/bc).
-->

Fixes bug introduced in https://github.com/symfony/symfony/pull/50590/files

Commits
-------

484efb3 [Validator][Translator] Fix xlf files for en & fr translations. Bug introduced by #50590
@fabpot fabpot closed this as completed Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants