summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Schafft <lion@lion.leolix.org>2017-05-01 16:10:11 +0000
committerPhilipp Schafft <lion@lion.leolix.org>2017-05-01 16:12:53 +0000
commitd7cf3b4217a4a6ef16ade15f32170894a66d5b52 (patch)
treec8cb9a51e1d6d1d79d5019a4deca9307ccca5643
parent1621427cd6c461dd232359901c3774df54430ed5 (diff)
Feature: Also show language in Compiling-messages
-rwxr-xr-xwebgen2
1 files changed, 1 insertions, 1 deletions
diff --git a/webgen b/webgen
index 99af7f7..660b087 100755
--- a/webgen
+++ b/webgen
@@ -358,7 +358,7 @@ proc_page() {
TRANSLATE_REGEX=`grep "^$LANGUAGE[[:space:]]" "#translate" "#translate$LANGUAGE_SUFFIX" "#translate$_tpl" "#translate$_tpl$LANGUAGE_SUFFIX" 2> /dev/null | sed 's/^[^\t]*\t\t*\([^\t]*\)\t\t*\(.*\)$/s|(translate:\1:)|\2|g;/'`'s/(translate:\(.*\):)/\1/'
fi
OF="$OUT"/"$CLEANTPLNAME""$LANGUAGE_SUFFIX""$PAGE_SUFFIX"
- echo "Compiling $CLEANTPLNAME -> $OF"
+ echo "Compiling $CLEANTPLNAME ($LANGUAGE) -> $OF"
SECTIONS=`for _sec in $(grep --no-filename -- "^$_tpl[^a-zA-Z0-9-]" '#section-index'* | sed 's/^[^ \t]*[ \t]*[ \t]//'); do O=''; for i in $(tr . ' ' <<<"$_sec"); do O="$O.$i"; echo $O; done; done`' .ALL'
# echo "Sections: $SECTIONS"
SECTIONS_REGEX=$(for _sec in $SECTIONS; do echo "s/(section==$_sec:\([^)]*\):)/\1/g;"; done; echo "s/(section==.*:.*:)//g")