#!/bin/sh
# this file basically copied from fixquotes, adapting to Finnish

MANPAGE="$1"

# Finnish uses the same kind of quotes on both sides, in TeX these are
# '', but it's much better to use the " character
sed -i "s/''/\"/g;"'s/``/"/g' $MANPAGE

sed -i 's/search hakuehdot/\\fBsearch\\fR hakuehdot/' $MANPAGE
sed -i 's/\\fBaptitude\\fR help/\\fBaptitude\\fR \\fBhelp\\fR/' $MANPAGE
sed -i 's/Note/Huom/' $MANPAGE
sed -i 's/^\.SH NAME$/.SH NIMI/' $MANPAGE
sed -i 's/^\.SH "SYNOPSIS"$/.SH "KOMENTORIVI"/' $MANPAGE
# CHECKME (undetermined `s' command): sed -i 's/AUTHOR/TEKIJÄ/' $MANPAGE
