\n" ;
header_text["de"] = "" \
"m4_dnl -*-html-*-\n" \
"m4_include(`template.m4')\n" \
"m4_define(`DE')\n" \
"m4_define(`EN_FILE', `change-history.html')\n" \
"m4_define(`TITLE', `Änderungshistorie')\n" \
"PAGE_START\n" \
"
\n" ;
release_text["en"] = "released ";
release_text["de"] = "veröffentlicht ";
noreldate_text["en"] = "[ in progress; not yet released ]";
noreldate_text["de"] = "[ in Arbeit; bisher noch nicht veröffentlicht ]";
explicit_dl_text["en"] = "Explicit download of this version:";
explicit_dl_text["de"] = "Expliziter Download dieser Version:";
readme_text["en"] = "Details in the README of this version:";
readme_text["de"] = "Details im README dieser Version:";
print header_text[lang];
}
/^#/ { next }
/^---/ { next }
in_section && $0 ~ /^Noteworthy/ {
if (in_vers)
print ""
in_section = 0;
in_para = 0;
in_vers = 0;
any_para = 0;
}
!in_section {
if ($0 !~ /^Noteworthy/)
next;
version = $5;
reldate = "";
if (index ($0, "(")) {
sub (/^.*\(/, "");
sub (/\).*$/, "");
reldate = $0;
print "
Version " version " " release_text[lang] " " reldate "
"
} else {
reldate = noreldate_text[lang];
print "
Version " version " " reldate "
"
}
in_section = 1;
in_para = 0;
in_vers = 0;
any_para = 0;
next;
}
in_section && $0 ~ /^\([a-zA-Z]+\)/ {
in_para = 0;
if ( $0 ~ ("^\\(" lang "\\)" ) ) {
in_para = 1;
any_para = 1;
print substr ($0, 5);
}
next;
}
in_section && !in_vers && /^~~~/ {
in_para = 0;
in_vers = 1;
print ""
print "
"
next;
}
in_para {
print $0;
}
in_vers && /^~~~/ {
in_vers = 0;
print "
"
printf "
%s ", explicit_dl_text[lang];
printf "gpg4win-%s.exe
", version, version;
printf "
"
printf "
%s ", readme_text[lang];
printf "README-%s." lang ".txt
", version, version;
printf "
"
}
in_vers {
split ( $0, a, ":" );
printf "%s: %s\n", a[1], a[2];
}
END {
print "