]> sipb.mit.edu Git - ikiwiki.git/blob - po/underlays/directives/ikiwiki/directive/if.da.po
ikiwiki (3.20130711) unstable; urgency=low
[ikiwiki.git] / po / underlays / directives / ikiwiki / directive / if.da.po
1 # Danish translation of if page for ikiwiki.
2 # Copyright (C) 2008-2009 Jonas Smedegaard <dr@jones.dk>
3 # This file is distributed under the same license as the ikiwiki package.
4 # Jonas Smedegaard <dr@jones.dk>, 2008.
5 #
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: ikiwiki 3.15\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2011-05-05 20:04+0300\n"
11 "PO-Revision-Date: 2009-07-23 00:06+0200\n"
12 "Last-Translator: Jonas Smedegaard <dr@jones.dk>\n"
13 "Language-Team: None\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 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19 "X-Poedit-Language: Danish\n"
20 "X-Poedit-Country: DENMARK\n"
21 "X-Poedit-SourceCharset: utf-8\n"
22
23 #. type: Plain text
24 msgid ""
25 "The `if` directive is supplied by the [[!iki plugins/conditional "
26 "desc=conditional]] plugin."
27 msgstr ""
28
29 #. type: Plain text
30 msgid ""
31 "With this directive, you can make text be conditionally displayed on a "
32 "page.  For example:"
33 msgstr ""
34
35 #. type: Plain text
36 #, no-wrap
37 msgid ""
38 "\t\\[[!if test=\"enabled(smiley)\"\n"
39 "\t      then=\"The smiley plugin is enabled :-)\"\n"
40 "\t      else=\"No smiley plugin here..\"]]\n"
41 msgstr ""
42 "[[!if test=\"enabled(smiley)\"\n"
43 "     then=\"Smiley-udvidelsen er aktiveret :-)\"\n"
44 "     else=\"Ingen smiley-udvidelse her...\"]]\n"
45
46 #. type: Plain text
47 msgid ""
48 "If the specified `test` succeeds, the `then` text will be displayed, "
49 "otherwise the `else` text will be displayed. The `else` part is optional."
50 msgstr ""
51
52 #. type: Plain text
53 msgid ""
54 "The `then` and `else` values can include any markup that would be allowed in "
55 "the wiki page outside the template. Triple-quoting the values even allows "
56 "quotes to be included."
57 msgstr ""
58 "Værdierne `then` og `else` kan indeholde enhver opmærkning som ville være "
59 "tilladt på wikisiden udenfor skabelonen. Trippel-citering af værdien "
60 "tillader endda at bruge citering som del af værdien."
61
62 #. type: Plain text
63 msgid ""
64 "The `test` is a [[ikiwiki/PageSpec]]; if it matches any page in the wiki "
65 "then it succeeds. So you can do things like testing for the existence of a "
66 "page or pages, testing to see if any pages were created in a given month, "
67 "and so on."
68 msgstr ""
69
70 #. type: Plain text
71 msgid ""
72 "If you want the [[ikiwiki/PageSpec]] to only match against the page that "
73 "contains the conditional, rather than matching against all pages in the "
74 "wiki, set the \"all\" parameter to \"no\"."
75 msgstr ""
76
77 #. type: Plain text
78 msgid ""
79 "In an `if` directive, the regular [[ikiwiki/PageSpec]] syntax is expanded "
80 "with the following additional tests:"
81 msgstr ""
82 "I et `if`-direktiv udvides den normale [[ikiwiki/PageSpec]]-syntaks med "
83 "følgende yderligere tests:"
84
85 #. type: Bullet: '* '
86 msgid "enabled(plugin)"
87 msgstr "enabled(udvielse)"
88
89 #. type: Plain text
90 #, no-wrap
91 msgid "  Tests whether the specified plugin is enabled.\n"
92 msgstr ""
93
94 #. type: Bullet: '* '
95 msgid "sourcepage(glob)"
96 msgstr "sourcepage(glob)"
97
98 #. type: Plain text
99 #, no-wrap
100 msgid ""
101 "  Tests whether the glob matches the name of the page that contains the\n"
102 "  conditional.\n"
103 msgstr ""
104
105 #. type: Bullet: '* '
106 msgid "destpage(glob)"
107 msgstr "destpage(glob)"
108
109 #. type: Plain text
110 #, no-wrap
111 msgid ""
112 "  Tests whether the glob matches the name of the page that is being built.\n"
113 "  That might be different than the name of the page that contains the\n"
114 "  conditional, if it's being inlined into another page.\n"
115 msgstr ""
116
117 #. type: Bullet: '* '
118 msgid "included()"
119 msgstr "included()"
120
121 #. type: Plain text
122 #, no-wrap
123 msgid ""
124 "  Tests whether the page is being included onto another page, for example\n"
125 "  via [[inline]] or [[map]].  Note that pages inserted into other pages\n"
126 "  via [[template]] are not matched here.\n"
127 msgstr ""
128
129 #. type: Plain text
130 #, no-wrap
131 msgid "[[!meta robots=\"noindex, follow\"]]\n"
132 msgstr "[[!meta robots=\"noindex, follow\"]]\n"