Rev 3874 | Rev 5870 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3874 | Rev 5762 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | cd `dirname $0` |
3 | cd `dirname $0` |
4 | lang=$1 |
4 | lang=$1 |
5 | if [ -n "$lang" ] ; then file="commands.$lang" ; else file="commands" ; lang="en"; fi; |
5 | if [ -n "$lang" ] ; then file="commands.$lang" ; else file="commands" ; lang="en"; fi; |
6 | 6 | ||
7 | echo "<p> |
7 | echo "<p> |
8 | !! This file is automatically generated! Do not edit by hand. |
8 | !! This file is automatically generated! Do not edit by hand. |
- | 9 | </p>" |
|
9 | 10 | ||
10 | if [ "$lang" = en ] ; then echo " |
11 | if [ "$lang" = en ] ; then echo " |
11 | Each command takes one line.<p> |
12 | Each command takes one line.<p> |
12 | In the following table, <tt>[color]</tt> |
13 | In the following table, <tt>[color]</tt> |
13 | may be either a color name, or 3 integers between 0 and 255, separated by commas, |
14 | may be either a color name, or 3 integers between 0 and 255, separated by commas, |
14 | for the values of red,green,blue. |
15 | for the values of red,green,blue.</p> |
15 | " |
16 | " |
16 | drawing="Drawing commands" |
17 | drawing="Drawing commands" |
17 | synonym="Synonymes" |
18 | synonym="Synonymes" |
18 | fi ; |
19 | fi ; |
19 | 20 | ||
20 | if [ "$lang" = fr ] ; then echo " |
21 | if [ "$lang" = fr ] ; then echo " |
21 | Chaque commande prend une ligne.<p> |
22 | Chaque commande prend une ligne.<p> |
22 | Dans la table suivante <tt>[color]</tt> |
23 | Dans la table suivante <tt>[color]</tt> |
23 | peut être un nom de couleur ou 3 entiers 0 entre 255, séparés par des virgules, |
24 | peut être un nom de couleur ou 3 entiers 0 entre 255, séparés par des virgules, |
24 | correspondant aux valeurs de rouge, vert, bleu. |
25 | correspondant aux valeurs de rouge, vert, bleu. |
- | 26 | </p> |
|
25 | " |
27 | " |
26 | drawing="Commandes" |
28 | drawing="Commandes" |
27 | synonym="Synonymes" |
29 | synonym="Synonymes" |
28 | fi ; |
30 | fi ; |
29 | 31 | ||
30 | if [ "$lang" = cn ] ; then echo " |
32 | if [ "$lang" = cn ] ; then echo " |
31 | ÿÌõÃüÁîÕ¼Ò»ÐÐ.<p> |
33 | ÿÌõÃüÁîÕ¼Ò»ÐÐ.<p> |
32 | ÔÚϱíÖÐ, <tt>[É«²Ê]</tt> |
34 | ÔÚϱíÖÐ, <tt>[É«²Ê]</tt> |
33 | ¿ÉÒÔÊÇÉ«²ÊÃû, »ò3¸öÓöººÅ·Ö¸ôµÄ0µ½255µÄÕûÊý, ·Ö±ð´ú±íºìÂÌÀ¶ÈýÖÖÑÕÉ«. |
35 | ¿ÉÒÔÊÇÉ«²ÊÃû, »ò3¸öÓöººÅ·Ö¸ôµÄ0µ½255µÄÕûÊý, ·Ö±ð´ú±íºìÂÌÀ¶ÈýÖÖÑÕÉ«. |
- | 36 | </p> |
|
34 | " |
37 | " |
35 | drawing="×÷ͼÃüÁî" |
38 | drawing="×÷ͼÃüÁî" |
36 | synonym="ͬÒå´Ê" |
39 | synonym="ͬÒå´Ê" |
37 | fi |
40 | fi |
38 | echo " |
41 | echo "\$table_header |
39 | <caption>$drawing</caption> |
42 | <caption>$drawing</caption> |
40 | \$table_hdtr<th colspan="5">\$wims_name_name - \$wims_name_Syntax</th> |
43 | \$table_hdtr<th colspan="5">\$wims_name_name - \$wims_name_Syntax</th> |
41 | \$table_hdtr<th colspan="2">$synonym</th> |
44 | \$table_hdtr<th colspan="2">$synonym</th> |
42 | <th colspan="3">\$wims_name_Meaning</th></tr> |
45 | <th colspan="3">\$wims_name_Meaning</th></tr> |
43 | " |
46 | " |
Line 47... | Line 50... | ||
47 | a==1 {print "$table_tr<td colspan=\"5\" nowrap><tt>"substr($0,2)"</tt></td></tr>"} |
50 | a==1 {print "$table_tr<td colspan=\"5\" nowrap><tt>"substr($0,2)"</tt></td></tr>"} |
48 | a==2 {print "$table_tr<td colspan=\"2\"><tt>"$0" </tt></td>"} |
51 | a==2 {print "$table_tr<td colspan=\"2\"><tt>"$0" </tt></td>"} |
49 | a==3 {print "<td colspan=\"3\">"$0"</td></tr>"} |
52 | a==3 {print "<td colspan=\"3\">"$0"</td></tr>"} |
50 | ' $file |
53 | ' $file |
51 | 54 | ||
52 | echo "\$table_end |
55 | echo "\$table_end" |