summaryrefslogtreecommitdiffhomepage
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/build b/build
index c881347..aa7f8c8 100755
--- a/build
+++ b/build
@@ -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