dense-analysis / dense-analysis/ale
msgfmt linter should check format strings as well
Open
enhancement
- Dominant language
- Vim Script
- Stars
- 14k
- Forks
- 1.5k
- Avg merge
- 17h 49m
- Merged PRs (30d)
- 1
Description
The msgfmt tool has the ability to check language dependent format strings in .po files. This feature is activated by --check-format. An example showing some error messages
```
msgfmt --check-format sv.po
sv.po:465: a format specification for argument '0' doesn't exist in 'msgstr'
sv.po:474: number of format specifications in 'msgid' and 'msgstr' does not match
msgfmt: found 2 fatal errors
```
Contributor guide
Assessment
This issue has not been assessed yet.