Rev 16960 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16960 | Rev 16961 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # This script produces a random list of words, according to |
2 | # This script produces a random list of words, according to |
3 | # the numbers given in the input string. |
3 | # the numbers given in the input string. |
4 | 4 | ||
5 | #Dictionary file directory |
5 | #Dictionary file directory |
6 |
|
6 | lang=$w_lang_randic |
7 | if [ ! $lang ]; then lang=$w_module_language; fi |
7 | if [ ! $lang ]; then lang=$w_module_language; fi |
8 | 8 | ||
9 | dicdir=bases/dic/$lang |
9 | dicdir=bases/dic/$lang |
10 | 10 | ||
11 | if [ ! -d $dicdir ]; then dicdir=bases/dic/en; lang=en; fi |
11 | if [ ! -d $dicdir ]; then dicdir=bases/dic/en; lang=en; fi |