phpbb / phpbb-translation-validator

A tool checking packages for compliance with the policies https://area51.phpbb.com/docs/dev/3.2.x/language/guidelines.html
GNU General Public License v2.0
8 stars 9 forks source link

Bug with phpBB 3.3.2 and PRIVACY_POLICY and TERMS_OF_USE #67

Closed Crizz0 closed 4 years ago

Crizz0 commented 4 years ago

This patch removed the <p>-tags around those template variables: https://github.com/phpbb/phpbb/pull/6058

This leads to the fact, that an error is thrown https://travis-ci.org/github/phpbb-de/phpbb-translation/jobs/739286223 if there a not the fitting p-tags to deal with the template ones.

Therefor i think we need to remove: https://github.com/phpbb/phpbb-translation-validator/blob/ccb1aa57818da6931b8ebda76b33e38e99f07ccc/src/Phpbb/TranslationValidator/Validator/LangKeyValidator.php#L609-L611