diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-07-06 20:45:13 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-07-06 20:45:13 +0200 |
commit | f9f55501cd3110046a162dc55932c3571e9eb379 (patch) | |
tree | fcd2de3813bc0de1fbd3f386d63b883b200acd54 /build | |
parent | 40966e0fc8f592e0c7c0a961318172292f59fb67 (diff) |
Add an explicit errors section
Diffstat (limited to 'build')
-rwxr-xr-x | build | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -235,6 +235,23 @@ compile_for_lang() { | colspan.sed \ | grep -Fv 'MARKER LOL' \ | xfsub '<!-- CCOIN-TABLE-BODY -->' - $nod/index.html + + gawk -v CC=$CC -v lang=$1 ' + BEGIN { + FS = "\t" + } + + $1 == CC { + if (lang !~ /(en|ga|mt|nl)/) { + sub(/\./, ",", $3) + sub(/€/, "", $3) + sub(/$/, " €", $3) + } + + printf "<tr><td>%s</td><td>%s</td><td colspan=5 class=have>%s</td></tr>", + $2, $3, $4 + } + ' data/errors | xfsub '<!-- ECOIN-TABLE-BODY -->' - $nod/index.html done for denom in `grep -Eo '^[0-9]+' data/notes | uniq`; do |