Mercurial > hg > nginx-site
annotate xsls/directive.xsls @ 1017:9f9a427a73eb
Fixed broken links to chinese versions of some modules.
The chinese version contains untranslated copies of english documentation for
random_index and realip modules. The result is the appearance of 'translation
to chinese' link for this modules pointing to non-existing document. This
files are removed.
Also, broken links are generated for the chinese version of the "flv" module,
but the translation exists, although not enabled for publication. Since
contents of file looks like a valid translation, it is allowed to be published.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Mon, 18 Nov 2013 12:48:10 +0400 |
parents | be54c443235a |
children | 5188cb06bb13 |
rev | line source |
---|---|
580
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
177
diff
changeset
|
1 <!-- |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
177
diff
changeset
|
2 Copyright (C) Igor Sysoev |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
177
diff
changeset
|
3 Copyright (C) Nginx, Inc. |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
177
diff
changeset
|
4 --> |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
177
diff
changeset
|
5 |
22 | 6 X:stylesheet { |
7 | |
8 X:template = "directive" { | |
9 <a name="{@name}"/> | |
10 <!-- <center><h4> !{@name} </h4></center> --> | |
11 <div class="directive"> | |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
12 <table cellspacing="0"> |
22 | 13 !! "syntax"; |
14 !! "default"; | |
15 !! "context"; | |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
16 </table> |
171
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
17 !! "appeared-in"; |
22 | 18 </div> |
19 !! "para"; | |
20 } | |
21 | |
22 X:template = "syntax" { | |
23 X:if "position() = 1" { | |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
24 X:text disable-output-escaping="yes" { |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
108
diff
changeset
|
25 <tr> |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
26 <td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
27 } |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
28 !{document(concat($XML, '/i18n.xml')) |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
29 /i18n/text[@lang = $LANG]/item[@id='syntax']} |
166
28ba010fce96
The rendering of "syntax", "default", and "context" is made non-bold.
Ruslan Ermilov <ru@nginx.com>
parents:
144
diff
changeset
|
30 X:text{:} |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
31 X:text disable-output-escaping="yes" { |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
32 </td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
33 <td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
34 } |
22 | 35 } |
102
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
99
diff
changeset
|
36 <code> |
166
28ba010fce96
The rendering of "syntax", "default", and "context" is made non-bold.
Ruslan Ermilov <ru@nginx.com>
parents:
144
diff
changeset
|
37 <strong> |
102
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
99
diff
changeset
|
38 !{../@name} |
166
28ba010fce96
The rendering of "syntax", "default", and "context" is made non-bold.
Ruslan Ermilov <ru@nginx.com>
parents:
144
diff
changeset
|
39 </strong> |
102
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
99
diff
changeset
|
40 X:if "count(node()) != 0" { |
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
99
diff
changeset
|
41 X:text{ } !!; |
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
99
diff
changeset
|
42 } |
108
72524ae53106
Explicitly marked directives with the block syntax. Such directives will
Ruslan Ermilov <ru@nginx.com>
parents:
104
diff
changeset
|
43 X:if "@block = 'yes'" { |
72524ae53106
Explicitly marked directives with the block syntax. Such directives will
Ruslan Ermilov <ru@nginx.com>
parents:
104
diff
changeset
|
44 X:text{ \{ ... \}} |
72524ae53106
Explicitly marked directives with the block syntax. Such directives will
Ruslan Ermilov <ru@nginx.com>
parents:
104
diff
changeset
|
45 } else { |
72524ae53106
Explicitly marked directives with the block syntax. Such directives will
Ruslan Ermilov <ru@nginx.com>
parents:
104
diff
changeset
|
46 X:text{;} |
72524ae53106
Explicitly marked directives with the block syntax. Such directives will
Ruslan Ermilov <ru@nginx.com>
parents:
104
diff
changeset
|
47 } |
102
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
99
diff
changeset
|
48 </code> |
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
99
diff
changeset
|
49 <br/> |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
50 X:if "position() = last()" { |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
51 X:text disable-output-escaping="yes" { |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
52 </td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
53 </tr> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
54 } |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
55 } |
22 | 56 } |
57 | |
58 X:template = "default" { | |
102
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
99
diff
changeset
|
59 X:if "position() = 1" { |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
60 X:text disable-output-escaping="yes" { |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
108
diff
changeset
|
61 <tr> |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
62 <td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
63 } |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
64 !{document(concat($XML, '/i18n.xml')) |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
65 /i18n/text[@lang = $LANG]/item[@id='default']} |
166
28ba010fce96
The rendering of "syntax", "default", and "context" is made non-bold.
Ruslan Ermilov <ru@nginx.com>
parents:
144
diff
changeset
|
66 X:text{:} |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
67 X:text disable-output-escaping="yes" { |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
68 </td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
69 <td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
70 } |
102
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
99
diff
changeset
|
71 } |
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
99
diff
changeset
|
72 X:if "count(node()) = 0" { |
144
273d7407de69
Replaced special "no default" value in the directive/default with "mdash".
Ruslan Ermilov <ru@nginx.com>
parents:
112
diff
changeset
|
73 — |
22 | 74 } else { |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
108
diff
changeset
|
75 <pre> |
108
72524ae53106
Explicitly marked directives with the block syntax. Such directives will
Ruslan Ermilov <ru@nginx.com>
parents:
104
diff
changeset
|
76 !{../@name} |
72524ae53106
Explicitly marked directives with the block syntax. Such directives will
Ruslan Ermilov <ru@nginx.com>
parents:
104
diff
changeset
|
77 X:if "count(../syntax[@block='yes'])" { |
72524ae53106
Explicitly marked directives with the block syntax. Such directives will
Ruslan Ermilov <ru@nginx.com>
parents:
104
diff
changeset
|
78 X:text{ \{} !!; X:text{\}} |
72524ae53106
Explicitly marked directives with the block syntax. Such directives will
Ruslan Ermilov <ru@nginx.com>
parents:
104
diff
changeset
|
79 } else { |
72524ae53106
Explicitly marked directives with the block syntax. Such directives will
Ruslan Ermilov <ru@nginx.com>
parents:
104
diff
changeset
|
80 X:text{ } !!; X:text{;} |
72524ae53106
Explicitly marked directives with the block syntax. Such directives will
Ruslan Ermilov <ru@nginx.com>
parents:
104
diff
changeset
|
81 } |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
108
diff
changeset
|
82 </pre> |
22 | 83 } |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
84 X:if "position() = last()" { |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
85 X:text disable-output-escaping="yes" { |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
86 </td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
87 </tr> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
88 } |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
89 } |
22 | 90 } |
91 | |
92 X:template = "context" { | |
93 X:if "position() = 1" { | |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
94 X:text disable-output-escaping="yes" { |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
108
diff
changeset
|
95 <tr> |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
96 <td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
97 } |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
98 !{document(concat($XML, '/i18n.xml')) |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
99 /i18n/text[@lang = $LANG]/item[@id='context']} |
166
28ba010fce96
The rendering of "syntax", "default", and "context" is made non-bold.
Ruslan Ermilov <ru@nginx.com>
parents:
144
diff
changeset
|
100 X:text{:} |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
101 X:text disable-output-escaping="yes" { |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
102 </td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
103 <td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
104 } |
22 | 105 } |
166
28ba010fce96
The rendering of "syntax", "default", and "context" is made non-bold.
Ruslan Ermilov <ru@nginx.com>
parents:
144
diff
changeset
|
106 <code> |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
107 X:if "count(node()) = 0" { |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
108 !{document(concat($XML, '/i18n.xml')) |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
109 /i18n/text[@lang = $LANG]/item[@id='context.any']} |
22 | 110 } else { |
166
28ba010fce96
The rendering of "syntax", "default", and "context" is made non-bold.
Ruslan Ermilov <ru@nginx.com>
parents:
144
diff
changeset
|
111 !!; |
22 | 112 } |
166
28ba010fce96
The rendering of "syntax", "default", and "context" is made non-bold.
Ruslan Ermilov <ru@nginx.com>
parents:
144
diff
changeset
|
113 </code> |
22 | 114 X:if "position() != last()" { |
115 X:text{, } | |
116 } else { | |
117 <br/> | |
104
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
118 X:text disable-output-escaping="yes" { |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
119 </td> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
120 </tr> |
3ae68fe2e938
A nicer look for the directive's synopsis section, including i18n
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
121 } |
22 | 122 } |
123 } | |
124 | |
171
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
125 X:template = "appeared-in" { |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
126 X:if "last() = 1" { |
177
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
127 <p> |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
128 !{document(concat($XML, '/i18n.xml')) |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
129 /i18n/text[@lang = $LANG]/item |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
130 [@id='directive.version']} |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
131 X:text{ } |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
132 !!;. |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
133 </p> |
171
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
134 } else { |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
135 X:choose { |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
136 X:when "position() = 1" { |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
137 X:text disable-output-escaping="yes" { |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
138 <p> |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
139 } |
177
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
140 !{document(concat($XML, '/i18n.xml')) |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
141 /i18n/text[@lang = $LANG]/item |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
142 [@id='directive.versions']} |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
143 X:text{ } |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
144 !!; |
171
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
145 X:if "last() > 2" { |
177
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
146 X:text{,} |
171
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
147 } |
177
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
148 X:text{ } |
171
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
149 } |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
150 X:when "position() != last()" { |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
151 !!; |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
152 X:text{, } |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
153 } |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
154 X:otherwise { |
177
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
155 !{document(concat($XML, '/i18n.xml')) |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
156 /i18n/text[@lang = $LANG]/item |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
157 [@id='and']} |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
158 X:text{ } |
13f4de67fbb6
Added i18n support for multiple <appeared-in> inside <directive>.
Ruslan Ermilov <ru@nginx.com>
parents:
171
diff
changeset
|
159 !!;. |
171
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
160 X:text disable-output-escaping="yes" { |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
161 </p> |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
162 } |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
163 } |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
164 } |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
165 } |
6eeaa9e1f3b5
Made "appeared-in" an element, and added support for
Ruslan Ermilov <ru@nginx.com>
parents:
166
diff
changeset
|
166 } |
22 | 167 } |