diff options
-rwxr-xr-x | aux/workflow/assert-spelling.sh | 8 | ||||
-rw-r--r-- | po/spelling/en.txt (renamed from doc/spelling/en.txt) | 0 | ||||
-rw-r--r-- | po/spelling/eo.txt (renamed from doc/spelling/eo.txt) | 0 | ||||
-rw-r--r-- | po/spelling/fr.txt (renamed from doc/spelling/fr.txt) | 0 | ||||
-rw-r--r-- | po/spelling/international.txt (renamed from doc/spelling/international.txt) | 0 | ||||
-rw-r--r-- | po/spelling/pt.txt (renamed from doc/spelling/pt.txt) | 0 |
6 files changed, 4 insertions, 4 deletions
diff --git a/aux/workflow/assert-spelling.sh b/aux/workflow/assert-spelling.sh index 3781454..cdc6d28 100755 --- a/aux/workflow/assert-spelling.sh +++ b/aux/workflow/assert-spelling.sh @@ -2,7 +2,7 @@ set -eu sort_dicts() { - for f in doc/spelling/*.txt; do + for f in po/spelling/*.txt; do if ! LANG=POSIX sort "$f" | diff - "$f"; then if [ "$IN_PLACE" = true ]; then OUT="$(mktemp)" @@ -44,8 +44,8 @@ assert_arg() { assert_arg "${LANGS:-}" '-l LANGS' -mkdir -p doc/spelling -eval "touch doc/spelling/{international,$(echo "$LANGS" | tr ' ' ,)}.txt" +mkdir -p po/spelling +eval "touch po/spelling/{international,$(echo "$LANGS" | tr ' ' ,)}.txt" get_lang() { grep lang=.. "$1" | \ @@ -61,7 +61,7 @@ ACC="$(mktemp)" for f in "$@"; do l="$(get_lang "$f")" CURR_DICT="$(mktemp)" - cat doc/spelling/international.txt "doc/spelling/$l.txt" | sort | uniq > "$CURR_DICT" + cat po/spelling/international.txt "po/spelling/$l.txt" | sort | uniq > "$CURR_DICT" hunspell -u3 -H -d "$l" -p "$CURR_DICT" "$f" | tee -a "$ACC" >&2 done diff --git a/doc/spelling/en.txt b/po/spelling/en.txt index 6ae5fe0..6ae5fe0 100644 --- a/doc/spelling/en.txt +++ b/po/spelling/en.txt diff --git a/doc/spelling/eo.txt b/po/spelling/eo.txt index a427747..a427747 100644 --- a/doc/spelling/eo.txt +++ b/po/spelling/eo.txt diff --git a/doc/spelling/fr.txt b/po/spelling/fr.txt index e4534cf..e4534cf 100644 --- a/doc/spelling/fr.txt +++ b/po/spelling/fr.txt diff --git a/doc/spelling/international.txt b/po/spelling/international.txt index da6dd70..da6dd70 100644 --- a/doc/spelling/international.txt +++ b/po/spelling/international.txt diff --git a/doc/spelling/pt.txt b/po/spelling/pt.txt index 34deecf..34deecf 100644 --- a/doc/spelling/pt.txt +++ b/po/spelling/pt.txt |