]> sipb.mit.edu Git - ikiwiki.git/blob - po/underlays/directives/ikiwiki/directive/if.cs.po
Typo
[ikiwiki.git] / po / underlays / directives / ikiwiki / directive / if.cs.po
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2011-05-05 20:04+0300\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: Plain text
20 msgid ""
21 "The `if` directive is supplied by the [[!iki plugins/conditional "
22 "desc=conditional]] plugin."
23 msgstr ""
24
25 #. type: Plain text
26 msgid ""
27 "With this directive, you can make text be conditionally displayed on a "
28 "page.  For example:"
29 msgstr ""
30
31 #. type: Plain text
32 #, no-wrap
33 msgid ""
34 "\t\\[[!if test=\"enabled(smiley)\"\n"
35 "\t      then=\"The smiley plugin is enabled :-)\"\n"
36 "\t      else=\"No smiley plugin here..\"]]\n"
37 msgstr ""
38
39 #. type: Plain text
40 msgid ""
41 "If the specified `test` succeeds, the `then` text will be displayed, "
42 "otherwise the `else` text will be displayed. The `else` part is optional."
43 msgstr ""
44
45 #. type: Plain text
46 msgid ""
47 "The `then` and `else` values can include any markup that would be allowed in "
48 "the wiki page outside the template. Triple-quoting the values even allows "
49 "quotes to be included."
50 msgstr ""
51
52 #. type: Plain text
53 msgid ""
54 "The `test` is a [[ikiwiki/PageSpec]]; if it matches any page in the wiki "
55 "then it succeeds. So you can do things like testing for the existence of a "
56 "page or pages, testing to see if any pages were created in a given month, "
57 "and so on."
58 msgstr ""
59
60 #. type: Plain text
61 msgid ""
62 "If you want the [[ikiwiki/PageSpec]] to only match against the page that "
63 "contains the conditional, rather than matching against all pages in the "
64 "wiki, set the \"all\" parameter to \"no\"."
65 msgstr ""
66
67 #. type: Plain text
68 msgid ""
69 "In an `if` directive, the regular [[ikiwiki/PageSpec]] syntax is expanded "
70 "with the following additional tests:"
71 msgstr ""
72
73 #. type: Bullet: '* '
74 msgid "enabled(plugin)"
75 msgstr ""
76
77 #. type: Plain text
78 #, no-wrap
79 msgid "  Tests whether the specified plugin is enabled.\n"
80 msgstr ""
81
82 #. type: Bullet: '* '
83 msgid "sourcepage(glob)"
84 msgstr ""
85
86 #. type: Plain text
87 #, no-wrap
88 msgid ""
89 "  Tests whether the glob matches the name of the page that contains the\n"
90 "  conditional.\n"
91 msgstr ""
92
93 #. type: Bullet: '* '
94 msgid "destpage(glob)"
95 msgstr ""
96
97 #. type: Plain text
98 #, no-wrap
99 msgid ""
100 "  Tests whether the glob matches the name of the page that is being built.\n"
101 "  That might be different than the name of the page that contains the\n"
102 "  conditional, if it's being inlined into another page.\n"
103 msgstr ""
104
105 #. type: Bullet: '* '
106 msgid "included()"
107 msgstr ""
108
109 #. type: Plain text
110 #, no-wrap
111 msgid ""
112 "  Tests whether the page is being included onto another page, for example\n"
113 "  via [[inline]] or [[map]].  Note that pages inserted into other pages\n"
114 "  via [[template]] are not matched here.\n"
115 msgstr ""
116
117 #. type: Plain text
118 #, no-wrap
119 msgid "[[!meta robots=\"noindex, follow\"]]\n"
120 msgstr ""