Rev 33 | Rev 6461 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 33 | Rev 2670 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | !if $srch!=$empty |
2 | !if $srch!=$empty |
3 | suffix_dictionary= |
3 | suffix_dictionary= |
4 | dictionary=bases/sheet/index/ |
4 | dictionary=bases/sheet/index/$search_lang |
5 | translator_unknown= |
5 | translator_unknown= |
6 | sout=!exec translator $srch |
6 | sout=!exec translator $srch |
7 | sout=!items2words $sout |
7 | sout=!items2words $sout |
8 | sout=!words2lines $sout |
8 | sout=!words2lines $sout |
9 | sout=!translate ? to $ $ in $sout |
9 | sout=!translate ? to $ $ in $sout |
Line 47... | Line 47... | ||
47 | gottype=popular |
47 | gottype=popular |
48 | !else |
48 | !else |
49 | gottype=search |
49 | gottype=search |
50 | gotw=!words2lines $gotw |
50 | gotw=!words2lines $gotw |
51 | gotm=!words2lines $gotm |
51 | gotm=!words2lines $gotm |
52 | dictionary=bases/sheet/index/weight. |
52 | dictionary=bases/sheet/index/weight.$search_lang |
53 | gotW=!exec translator $gotm |
53 | gotW=!exec translator $gotm |
54 | w_= |
54 | w_= |
55 | !for i=1 to $gotcnt |
55 | !for i=1 to $gotcnt |
56 | u_=!line $i of $gotw |
56 | u_=!line $i of $gotw |
57 | v_=!line $i of $gotW |
57 | v_=!line $i of $gotW |
Line 59... | Line 59... | ||
59 | !next i |
59 | !next i |
60 | gotw=!sort reverse numeric lines $w_ |
60 | gotw=!sort reverse numeric lines $w_ |
61 | gotm=!line $wims_sort_order of $gotm |
61 | gotm=!line $wims_sort_order of $gotm |
62 | !endif |
62 | !endif |
63 | 63 | ||
64 | dictionary=bases/sheet/index/title. |
64 | dictionary=bases/sheet/index/title.$search_lang |
65 | gott=!exec translator $gotm |
65 | gott=!exec translator $gotm |
66 | dictionary=bases/sheet/index/description. |
66 | dictionary=bases/sheet/index/description.$search_lang |
67 | gotd=!exec translator $gotm |
67 | gotd=!exec translator $gotm |
68 | !if $gotcnt>0 and / notin $gotm |
68 | !if $gotcnt>0 and / notin $gotm |
69 | dictionary=bases/sheet/index/addr. |
69 | dictionary=bases/sheet/index/addr.$search_lang |
70 | gotm=!exec translator $gotm |
70 | gotm=!exec translator $gotm |
71 | !endif |
71 | !endif |
72 | 72 |