Skip to content

Commit

Permalink
scripts/fix_typos.sh: adjust qgis.txt for our script
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Oct 25, 2020
1 parent 64312b3 commit d0f552b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fix_typos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if ! test -d fix_typos; then
git clone https://github.com/rouault/codespell
(cd codespell && git checkout gdal_improvements)
# Aggregate base dictionary + QGIS one + Debian Lintian one
curl https://raw.githubusercontent.com/qgis/QGIS/master/scripts/spell_check/spelling.dat | sed "s/:/->/" | grep -v "colour->" | grep -v "colours->" > qgis.txt
curl https://raw.githubusercontent.com/qgis/QGIS/master/scripts/spell_check/spelling.dat | sed "s/:/->/" | sed "s/:%//" | grep -v "colour->" | grep -v "colours->" > qgis.txt
curl https://salsa.debian.org/lintian/lintian/-/raw/master/data/spelling/corrections | grep "||" | grep -v "#" | sed "s/||/->/" > debian.txt
cat codespell/data/dictionary.txt qgis.txt debian.txt | awk 'NF' > gdal_dict.txt
echo "difered->deferred" >> gdal_dict.txt
Expand Down

0 comments on commit d0f552b

Please sign in to comment.