diff options
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 |