summaryrefslogtreecommitdiff
path: root/po/underlays/directives/ikiwiki/directive/if.da.po
blob: 5133b042418af83e58dff10b0a11db285a60a41b (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-19 23:45+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. #, fuzzy, 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(openid)\"\n"
  39. " then=\"Denne wiki har OpenID **aktiveret**.\"\n"
  40. " else=\"Denne wiki har OpenID **deaktiveret**.\"]]\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. #, fuzzy
  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. "Generelt kan en værdi indeholde enhver opmærkning som ville være tilladt på "
  54. "wikisiden udenfor skabelonen. Trippel-citering af værdien tillader endda at "
  55. "bruge citering som del af værdien. Kombineret med flerlinje-citerede værdier "
  56. "tillader dette indlejring af store klumper af opmærket tekst i skabelonen:"
  57. #. type: Plain text
  58. msgid ""
  59. "The `test` is a [[ikiwiki/PageSpec]]; if it matches any page in the wiki "
  60. "then it succeeds. So you can do things like testing for the existence of a "
  61. "page or pages, testing to see if any pages were created in a given month, "
  62. "and so on."
  63. msgstr ""
  64. #. type: Plain text
  65. msgid ""
  66. "If you want the [[ikiwiki/PageSpec]] to only match against the page that "
  67. "contains the conditional, rather than matching against all pages in the "
  68. "wiki, set the \"all\" parameter to \"no\"."
  69. msgstr ""
  70. #. type: Plain text
  71. #, fuzzy
  72. msgid ""
  73. "In an `if` directive, the regular [[ikiwiki/PageSpec]] syntax is expanded "
  74. "with the following additional tests:"
  75. msgstr ""
  76. "Den normale [[ikiwiki/PageSpec]]-syntaks er udvidet med følgende yderligere "
  77. "tests:"
  78. #. type: Bullet: '* '
  79. msgid "enabled(plugin)"
  80. msgstr ""
  81. #. type: Plain text
  82. #, no-wrap
  83. msgid " Tests whether the specified plugin is enabled.\n"
  84. msgstr ""
  85. #. type: Bullet: '* '
  86. msgid "sourcepage(glob)"
  87. msgstr ""
  88. #. type: Plain text
  89. #, no-wrap
  90. msgid ""
  91. " Tests whether the glob matches the name of the page that contains the\n"
  92. " conditional.\n"
  93. msgstr ""
  94. #. type: Bullet: '* '
  95. msgid "destpage(glob)"
  96. msgstr ""
  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. #. type: Bullet: '* '
  105. msgid "included()"
  106. msgstr ""
  107. #. type: Plain text
  108. #, no-wrap
  109. msgid " Tests whether the page is being included onto another page.\n"
  110. msgstr ""
  111. #. type: Plain text
  112. #, no-wrap
  113. msgid "[[!meta robots=\"noindex, follow\"]]\n"
  114. msgstr "[[!meta robots=\"noindex, follow\"]]\n"