diff options
-rw-r--r-- | searchquery.tmpl | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/searchquery.tmpl b/searchquery.tmpl index 0d6eb63..b9ec4fb 100644 --- a/searchquery.tmpl +++ b/searchquery.tmpl @@ -1,6 +1,6 @@ $setmap{prefix,title,S} $setmap{prefix,link,LINK} -$set{thousand,$.}$set{decimal,.}$setmap{BN,,Any Country,uk,England,fr,France} +$set{thousand,$.}$set{decimal,.}$setmap{BN,,Ethvert land,dk,Danmark,uk,England,fr,Frankrig} ${ $def{PREV, $if{$ne{$topdoc,0},<INPUT TYPE=image NAME="<" ALT="<" @@ -21,13 +21,13 @@ $def{S,<IMG SRC="/images/xapian-omega/page-$2s.png"$opt{a} ALT=$1>} $def{SPAGE,$if{$gt{$1,9},$if{$gt{$1,99},$S{$1,$div{$1,100}}}$S{$1,$mod{$div{$1,10},10}}}$S{$1,$mod{$1,10}}} } -$def{PREV,$if{$ne{$topdoc,0},<INPUT TYPE=submit NAME="<" VALUE="Previous">}} +$def{PREV,$if{$ne{$topdoc,0},<INPUT TYPE=submit NAME="<" VALUE="Forrige">}} $def{PAGE,<INPUT TYPE=submit NAME="[" VALUE="$1">} $def{SPAGE,<INPUT TYPE=submit NAME="[" VALUE="$1" DISABLED=disabled>} -$def{NEXT,$if{$ne{$last,$msize},<INPUT TYPE=submit NAME=">" VALUE="Next">}} +$def{NEXT,$if{$ne{$last,$msize},<INPUT TYPE=submit NAME=">" VALUE="Næste">}} <p> @@ -35,28 +35,28 @@ $def{NEXT,$if{$ne{$last,$msize},<INPUT TYPE=submit NAME=">" VALUE="Next">}} ACTION="$html{$env{CGIURL}}" TARGET="_top"> <center> <INPUT NAME=P VALUE="$html{$query}" SIZE=65> -<INPUT TYPE=SUBMIT VALUE="Search"> +<INPUT TYPE=SUBMIT VALUE="Søg"> $env{HELPLINK} <hr> <SELECT NAME=DEFAULTOP> -<OPTION VALUE=or $if{$eq{$defaultop,or},SELECTED}>Matching any words -<OPTION VALUE=and $if{$eq{$defaultop,and},SELECTED}>Matching all words +<OPTION VALUE=or $if{$eq{$defaultop,or},SELECTED}>Matcher ethvert ord +<OPTION VALUE=and $if{$eq{$defaultop,and},SELECTED}>Matcher alle ord </SELECT> $or{$html{$error}, $if{$eq{$msize,0}, -$if{$query,No documents match your query, -<hr>Searching $nice{$dbsize} documents +$if{$query,Ingen dokumenter matcher din forespørgsel, +<hr>Gennemsøgte $nice{$dbsize} dokumenter }, $if{$not{$msizeexact}, - $nice{$add{$topdoc,1}}-$nice{$last} of about $nice{$msize} matches, + $nice{$add{$topdoc,1}}-$nice{$last} af omkring $nice{$msize} matches, $if{$and{$eq{$last,$msize},$eq{$topdoc,0}}, - All $nice{$msize} matches, - $nice{$add{$topdoc,1}}$if{$ne{$add{$topdoc,1},$last},-$nice{$last}} of exactly $nice{$msize} matches} + Alle $nice{$msize} matches, + $nice{$add{$topdoc,1}}$if{$ne{$add{$topdoc,1},$last},-$nice{$last}} af nøjagtigt $nice{$msize} matches} } <hr> </center> -$list{$map{$queryterms,$list{$html{$uniq{$unstem{$_}}},<b>,</b>/<b>,</b>}: $nice{$freq{$_}}},Term frequencies: ,$. ,} -<br><small>Search took $time seconds</small> +$list{$map{$queryterms,$list{$html{$uniq{$unstem{$_}}},<b>,</b>/<b>,</b>}: $nice{$freq{$_}}},Udtryks hyppigheder: ,$. ,} +<br><small>Søgning tog $time sekunder</small> <table> $hitlist{<tr><td valign=top> ${<IMG SRC="/images/xapian-omega/score-$div{$percentage,10}.png" ALT="$percentage%" HEIGHT=16 WIDTH=32>} @@ -66,15 +66,15 @@ ${<IMG SRC="/images/xapian-omega/score-$div{$percentage,10}.png" ALT="$percentag <div style='float:left;margin-top:2px;font-size:x-small;'> <span title="$html{$date{$field{modtime},%Y-%m-%d %H:%M:%S}}"> Modified:<br><b>$html{$date{$field{modtime},%Y-%m-%d}}</b></span><br> -$if{$field{language},Language: <b>$html{$field{language}}</b><br>} -$if{$field{size},<span title="$html{$field{size}} bytes">Size: <b>$html{$filesize{$field{size}}}</b></span><br>} +$if{$field{language},Sprog: <b>$html{$field{language}}</b><br>} +$if{$field{size},<span title="$html{$field{size}} bytes">Størrelse: <b>$html{$filesize{$field{size}}}</b></span><br>} </div> </td> -<td><B><A HREF="$field{url}">$html{$or{$field{caption},$field{title},$field{url},Untitled}}</A></B><BR> +<td><B><A HREF="$field{url}">$html{$or{$field{caption},$field{title},$field{url},Uden navn}}</A></B><BR> <small>$highlight{$field{sample},$terms}$if{$field{sample},...}</small><br> <small> -$percentage% relevant$. matching: -<i>$list{$map{$terms,$html{$prettyterm{$_}}},$. ,</i> and <i>}</i></small>${for lynx:}<p></td></tr>} +$percentage% relevant$. matchede: +<i>$list{$map{$terms,$html{$prettyterm{$_}}},$. ,</i> aog <i>}</i></small>${for lynx:}<p></td></tr>} </table> <br><center> |