diff options
| author | Philipp Schafft <lion@lion.leolix.org> | 2017-05-01 16:10:11 +0000 |
|---|---|---|
| committer | Philipp Schafft <lion@lion.leolix.org> | 2017-05-01 16:12:53 +0000 |
| commit | d7cf3b4217a4a6ef16ade15f32170894a66d5b52 (patch) | |
| tree | c8cb9a51e1d6d1d79d5019a4deca9307ccca5643 /webgen | |
| parent | 1621427cd6c461dd232359901c3774df54430ed5 (diff) | |
Feature: Also show language in Compiling-messages
Diffstat (limited to 'webgen')
| -rwxr-xr-x | webgen | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |
