summaryrefslogtreecommitdiff
path: root/po/underlays/directives/ikiwiki/directive/edittemplate.cs.po
blob: bd0941bd7ecdec3148720ef1f15e2da6e406ea11 (plain)
  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. #. type: Plain text
  19. msgid ""
  20. "The `edittemplate` directive is supplied by the [[!iki plugins/edittemplate "
  21. "desc=edittemplate]] plugin."
  22. msgstr ""
  23. #. type: Plain text
  24. msgid ""
  25. "This directive allows registering template pages, that provide default "
  26. "content for new pages created using the web frontend. To register a "
  27. "template, insert a [[ikiwiki/directive/template]] directive on some other "
  28. "page."
  29. msgstr ""
  30. #. type: Plain text
  31. #, no-wrap
  32. msgid "\t\\[[!edittemplate template=\"bugtemplate\" match=\"bugs/*\"]]\n"
  33. msgstr ""
  34. #. type: Plain text
  35. msgid ""
  36. "In the above example, the page named \"bugtemplate\" is registered as a "
  37. "template to be used when any page named \"bugs/*\" is created. To avoid the "
  38. "directive displaying a note about the template being registered, add "
  39. "\"silent=yes\"."
  40. msgstr ""
  41. #. type: Plain text
  42. msgid ""
  43. "Often the template page contains a simple skeleton for a particular type of "
  44. "page. For the bug report pages in the above example, it might look something "
  45. "like:"
  46. msgstr ""
  47. #. type: Plain text
  48. #, no-wrap
  49. msgid ""
  50. "\tPackage: \n"
  51. "\tVersion: \n"
  52. "\tReproducible: y/n\n"
  53. "\tDetails:\n"
  54. msgstr ""
  55. #. type: Plain text
  56. #, no-wrap
  57. msgid ""
  58. "The template page can also contain [[!cpan HTML::Template]] directives,\n"
  59. "like other ikiwiki [[templates]]. Currently only one variable is\n"
  60. "set: `<TMPL_VAR name>` is replaced with the name of the page being\n"
  61. "created.\n"
  62. msgstr ""
  63. #. type: Plain text
  64. msgid ""
  65. "It's generally not a good idea to put the `edittemplate` directive in the "
  66. "template page itself, since the directive would then be included as part of "
  67. "the template on new pages, which would then in turn be registered as "
  68. "templates. If multiple pages are registered as templates for a new page, an "
  69. "arbitrary one is chosen, so that could get confusing."
  70. msgstr ""
  71. #. type: Plain text
  72. #, no-wrap
  73. msgid "[[!meta robots=\"noindex, follow\"]]\n"
  74. msgstr ""