Skip to content

Commit

Permalink
Add problem matcher for gettext --check messages
Browse files Browse the repository at this point in the history
  • Loading branch information
n-peugnet committed Jun 2, 2024
1 parent e10b0d4 commit 6dd29a7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/gettext-problem-matcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"problemMatcher": [
{
"owner": "gettext",
"pattern": [
{
"regexp": "^(.+):(\\d+): (\\w+): (.+)$",
"file": 1,
"line": 2,
"severity": 3,
"message": 4
}
]
}
]
}
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install gettext
- name: Add problem matcher
run: echo "::add-matcher::.github/gettext-problem-matcher.json"
- name: Check locale files with gettext
run: make locale-check

Expand Down

0 comments on commit 6dd29a7

Please sign in to comment.