Skip to content

Commit

Permalink
Update spelling-gettext.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Apr 9, 2024
1 parent 7c88751 commit aeee0dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/spelling-gettext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: "actions/checkout@v4"
-
name: "Install Hunspell"
run: "sudo -- apt-get install -y hunspell"
run: "sudo -- apt-get install -y hunspell gettext"
-
name: "Checkout dictionaries"
#run: "git clone --depth=1 https://anongit.freedesktop.org/git/libreoffice/dictionaries.git dictionaries"
Expand All @@ -41,7 +41,8 @@ jobs:
name: "Search for misspellings"
run: |
MISSPELLED_WORDS="$(
sed -n -e 's#^msgstr "\(.\+\)"$#\1#p' languages/*hu_HU.po \
msgcat --no-wrap languages/*hu_HU.po \
| sed -n -e 's#^msgstr "\(.\+\)"$#\1#p' \
| hunspell -d ./libreoffice-dictionaries/hu_HU/hu_HU -p hunspell.txt -l
)"
echo "${MISSPELLED_WORDS}"
Expand Down

0 comments on commit aeee0dc

Please sign in to comment.