Browse Source

remove old debug commands

master
Max Mehl 1 week ago
parent
commit
0b6f8d5b08
Signed by: max.mehl <max.mehl@fsfe.org> GPG Key ID: 2704E4AB371E2E92
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      tools/githooks/pre-commit

+ 0
- 4
tools/githooks/pre-commit View File

@@ -89,17 +89,13 @@ ENFILES=$(echo "${ALLFILES}" | grep -E "\.en\.")
OUTDATED=0
TEXT=

#echo "$ALLFILES"

for file in $ENFILES; do
WARN=
#echo $file
# Get file extension
EXT="${file##*.}"
# remove "en.$EXT"
BASE=$(echo "${file}" | sed -E "s/\.[a-z][a-z]\.$EXT//")
LANGS_UP=$("${GIT_ROOT}"/tools/check-translation-status.sh -f "${file}" -o up)
#echo $BASE $LANGS_UP

# check whether previously up-to-date translations will be in this commit
for trans in $LANGS_UP; do

Loading…
Cancel
Save