summaryrefslogtreecommitdiff
path: root/po/underlays/directives/ikiwiki/directive/if.da.po
blob: 9f66ca8a44694c816dbc9fc2d990b96ba80c8e61 (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: 2009-07-19 23:45+0200\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. "MIME-Version: 1.0\n"
  15. "Content-Type: text/plain; charset=UTF-8\n"
  16. "Content-Transfer-Encoding: 8bit\n"
  17. "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  18. "X-Poedit-Language: Danish\n"
  19. "X-Poedit-Country: DENMARK\n"
  20. "X-Poedit-SourceCharset: utf-8\n"
  21. #. type: Plain text
  22. msgid ""
  23. "The `if` directive is supplied by the [[!iki plugins/conditional "
  24. "desc=conditional]] plugin."
  25. msgstr ""
  26. #. type: Plain text
  27. msgid ""
  28. "With this directive, you can make text be conditionally displayed on a "
  29. "page. For example:"
  30. msgstr ""
  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. "[[!if test=\"enabled(smiley)\"\n"
  39. " then=\"Smiley-udvidelsen er aktiveret :-)\"\n"
  40. " else=\"Ingen smiley-udvidelse her...\"]]\n"
  41. #. type: Plain text
  42. msgid ""
  43. "If the specified `test` succeeds, the `then` text will be displayed, "
  44. "otherwise the `else` text will be displayed. The `else` part is optional."
  45. msgstr ""
  46. #. type: Plain text
  47. msgid ""
  48. "The `then` and `else` values can include any markup that would be allowed in "
  49. "the wiki page outside the template. Triple-quoting the values even allows "
  50. "quotes to be included."
  51. msgstr ""
  52. "Værdierne `then` og `else` kan indeholde enhver opmærkning som ville være "
  53. "tilladt på wikisiden udenfor skabelonen. Trippel-citering af værdien "
  54. "tillader endda at bruge citering som del af værdien."
  55. #. type: Plain text
  56. msgid ""
  57. "The `test` is a [[ikiwiki/PageSpec]]; if it matches any page in the wiki "
  58. "then it succeeds. So you can do things like testing for the existence of a "
  59. "page or pages, testing to see if any pages were created in a given month, "
  60. "and so on."
  61. msgstr ""
  62. #. type: Plain text
  63. msgid ""
  64. "If you want the [[ikiwiki/PageSpec]] to only match against the page that "
  65. "contains the conditional, rather than matching against all pages in the "
  66. "wiki, set the \"all\" parameter to \"no\"."
  67. msgstr ""
  68. #. type: Plain text
  69. msgid ""
  70. "In an `if` directive, the regular [[ikiwiki/PageSpec]] syntax is expanded "
  71. "with the following additional tests:"
  72. msgstr ""
  73. "I et `if`-direktiv udvides den normale [[ikiwiki/PageSpec]]-syntaks med "
  74. "følgende yderligere tests:"
  75. #. type: Bullet: '* '
  76. msgid "enabled(plugin)"
  77. msgstr "enabled(udvielse)"
  78. #. type: Plain text
  79. #, no-wrap
  80. msgid " Tests whether the specified plugin is enabled.\n"
  81. msgstr ""
  82. #. type: Bullet: '* '
  83. msgid "sourcepage(glob)"
  84. msgstr "sourcepage(glob)"
  85. #. type: Plain text
  86. #, no-wrap
  87. msgid ""
  88. " Tests whether the glob matches the name of the page that contains the\n"
  89. " conditional.\n"
  90. msgstr ""
  91. #. type: Bullet: '* '
  92. msgid "destpage(glob)"
  93. msgstr "destpage(glob)"
  94. #. type: Plain text
  95. #, no-wrap
  96. msgid ""
  97. " Tests whether the glob matches the name of the page that is being built.\n"
  98. " That might be different than the name of the page that contains the\n"
  99. " conditional, if it's being inlined into another page.\n"
  100. msgstr ""
  101. #. type: Bullet: '* '
  102. msgid "included()"
  103. msgstr "included()"
  104. #. type: Plain text
  105. #, no-wrap
  106. msgid " Tests whether the page is being included onto another page.\n"
  107. msgstr ""
  108. #. type: Plain text
  109. #, no-wrap
  110. msgid "[[!meta robots=\"noindex, follow\"]]\n"
  111. msgstr "[[!meta robots=\"noindex, follow\"]]\n"