Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #32548 [Translation] XliffLintCommand: allow .xliff file exte…
…nsion (codegain) This PR was merged into the 4.4 branch. Discussion ---------- [Translation] XliffLintCommand: allow .xliff file extension | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | License | MIT I ran into a problem with XLIFF files having an *.xliff extension and a "target-language" attribute. The command always outputted: There is a mismatch between the language included in the file name and the value used used in the "target-language" attribute of the file. The "target-language" attribute was set to "en" and the filename was also "menu.en.xliff". After reading the source code, I realized that this regex does not respect other valied file extensions such as "xliff" for these files and therefore throws this (rather confusing) error. Commits ------- dba6a21 [Translation] XliffLintCommand: allow .xliff file extension
- Loading branch information