91 lines
2.8 KiB
Plaintext
91 lines
2.8 KiB
Plaintext
# Danish translation of directives/ikiwiki/directive/edittemplate page for ikiwiki.
|
|
# Copyright (C) 2008-2009 Jonas Smedegaard <dr@jones.dk>
|
|
# This file is distributed under the same license as the ikiwiki package.
|
|
# Jonas Smedegaard <dr@jones.dk>, 2008.
|
|
#
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: ikiwiki 3.15\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2009-07-22 11:17+0300\n"
|
|
"PO-Revision-Date: 2009-07-23 00:06+0200\n"
|
|
"Last-Translator: Jonas Smedegaard <dr@jones.dk>\n"
|
|
"Language-Team: None\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
"X-Poedit-Language: Danish\n"
|
|
"X-Poedit-Country: DENMARK\n"
|
|
"X-Poedit-SourceCharset: utf-8\n"
|
|
|
|
#. type: Plain text
|
|
msgid ""
|
|
"The `edittemplate` directive is supplied by the [[!iki plugins/edittemplate "
|
|
"desc=edittemplate]] plugin."
|
|
msgstr ""
|
|
|
|
#. type: Plain text
|
|
msgid ""
|
|
"This directive allows registering template pages, that provide default "
|
|
"content for new pages created using the web frontend. To register a "
|
|
"template, insert a [[ikiwiki/directive/template]] directive on some other "
|
|
"page."
|
|
msgstr ""
|
|
|
|
#. type: Plain text
|
|
#, no-wrap
|
|
msgid "\t\\[[!edittemplate template=\"bugtemplate\" match=\"bugs/*\"]]\n"
|
|
msgstr "\t\\[[!edittemplate template=\"bugtemplate\" match=\"bugs/*\"]]\n"
|
|
|
|
#. type: Plain text
|
|
msgid ""
|
|
"In the above example, the page named \"bugtemplate\" is registered as a "
|
|
"template to be used when any page named \"bugs/*\" is created. To avoid the "
|
|
"directive displaying a note about the template being registered, add "
|
|
"\"silent=yes\"."
|
|
msgstr ""
|
|
|
|
#. type: Plain text
|
|
msgid ""
|
|
"Often the template page contains a simple skeleton for a particular type of "
|
|
"page. For the bug report pages in the above example, it might look something "
|
|
"like:"
|
|
msgstr ""
|
|
|
|
#. type: Plain text
|
|
#, no-wrap
|
|
msgid ""
|
|
"\tPackage: \n"
|
|
"\tVersion: \n"
|
|
"\tReproducible: y/n\n"
|
|
"\tDetails:\n"
|
|
msgstr ""
|
|
"\tPackage: \n"
|
|
"\tVersion: \n"
|
|
"\tReproducible: y/n\n"
|
|
"\tDetails:\n"
|
|
|
|
#. type: Plain text
|
|
#, no-wrap
|
|
msgid ""
|
|
"The template page can also contain [[!cpan HTML::Template]] directives,\n"
|
|
"similar to other ikiwiki [[templates]]. Currently only one variable is\n"
|
|
"set: `<TMPL_VAR name>` is replaced with the name of the page being\n"
|
|
"created.\n"
|
|
msgstr ""
|
|
|
|
#. type: Plain text
|
|
msgid ""
|
|
"It's generally not a good idea to put the `edittemplate` directive in the "
|
|
"template page itself, since the directive would then be included as part of "
|
|
"the template on new pages, which would then in turn be registered as "
|
|
"templates. If multiple pages are registered as templates for a new page, an "
|
|
"arbitrary one is chosen, so that could get confusing."
|
|
msgstr ""
|
|
|
|
#. type: Plain text
|
|
#, no-wrap
|
|
msgid "[[!meta robots=\"noindex, follow\"]]\n"
|
|
msgstr "[[!meta robots=\"noindex, follow\"]]\n"
|