summaryrefslogtreecommitdiff
path: root/po/underlays/directives/ikiwiki/directive/if.da.po
blob: 7fe522f75958d3355953880ae165dd59bec07c84 (plain)
  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. #. type: Plain text
  23. msgid ""
  24. "The `if` directive is supplied by the [[!iki plugins/conditional "
  25. "desc=conditional]] plugin."
  26. msgstr ""
  27. #. type: Plain text
  28. msgid ""
  29. "With this directive, you can make text be conditionally displayed on a "
  30. "page. For example:"
  31. msgstr ""
  32. #. type: Plain text
  33. #, no-wrap
  34. msgid ""
  35. "\t\\[[!if test=\"enabled(smiley)\"\n"
  36. "\t then=\"The smiley plugin is enabled :-)\"\n"
  37. "\t else=\"No smiley plugin here..\"]]\n"
  38. msgstr ""
  39. "[[!if test=\"enabled(smiley)\"\n"
  40. " then=\"Smiley-udvidelsen er aktiveret :-)\"\n"
  41. " else=\"Ingen smiley-udvidelse her...\"]]\n"
  42. #. type: Plain text
  43. msgid ""
  44. "If the specified `test` succeeds, the `then` text will be displayed, "
  45. "otherwise the `else` text will be displayed. The `else` part is optional."
  46. msgstr ""
  47. #. type: Plain text
  48. msgid ""
  49. "The `then` and `else` values can include any markup that would be allowed in "
  50. "the wiki page outside the template. Triple-quoting the values even allows "
  51. "quotes to be included."
  52. msgstr ""
  53. "Værdierne `then` og `else` kan indeholde enhver opmærkning som ville være "
  54. "tilladt på wikisiden udenfor skabelonen. Trippel-citering af værdien "
  55. "tillader endda at bruge citering som del af værdien."
  56. #. type: Plain text
  57. msgid ""
  58. "The `test` is a [[ikiwiki/PageSpec]]; if it matches any page in the wiki "
  59. "then it succeeds. So you can do things like testing for the existence of a "
  60. "page or pages, testing to see if any pages were created in a given month, "
  61. "and so on."
  62. msgstr ""
  63. #. type: Plain text
  64. msgid ""
  65. "If you want the [[ikiwiki/PageSpec]] to only match against the page that "
  66. "contains the conditional, rather than matching against all pages in the "
  67. "wiki, set the \"all\" parameter to \"no\"."
  68. msgstr ""
  69. #. type: Plain text
  70. msgid ""
  71. "In an `if` directive, the regular [[ikiwiki/PageSpec]] syntax is expanded "
  72. "with the following additional tests:"
  73. msgstr ""
  74. "I et `if`-direktiv udvides den normale [[ikiwiki/PageSpec]]-syntaks med "
  75. "følgende yderligere tests:"
  76. #. type: Bullet: '* '
  77. msgid "enabled(plugin)"
  78. msgstr "enabled(udvielse)"
  79. #. type: Plain text
  80. #, no-wrap
  81. msgid " Tests whether the specified plugin is enabled.\n"
  82. msgstr ""
  83. #. type: Bullet: '* '
  84. msgid "sourcepage(glob)"
  85. msgstr "sourcepage(glob)"
  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. #. type: Bullet: '* '
  93. msgid "destpage(glob)"
  94. msgstr "destpage(glob)"
  95. #. type: Plain text
  96. #, no-wrap
  97. msgid ""
  98. " Tests whether the glob matches the name of the page that is being built.\n"
  99. " That might be different than the name of the page that contains the\n"
  100. " conditional, if it's being inlined into another page.\n"
  101. msgstr ""
  102. #. type: Bullet: '* '
  103. msgid "included()"
  104. msgstr "included()"
  105. #. type: Plain text
  106. #, no-wrap
  107. msgid ""
  108. " Tests whether the page is being included onto another page, for example\n"
  109. " via [[inline]] or [[map]]. Note that pages inserted into other pages\n"
  110. " via [[template]] are not matched here.\n"
  111. msgstr ""
  112. #. type: Plain text
  113. #, no-wrap
  114. msgid "[[!meta robots=\"noindex, follow\"]]\n"
  115. msgstr "[[!meta robots=\"noindex, follow\"]]\n"