1 # Czech translation of basewiki/templates page for ikiwiki.
2 # Copyright (C) 2009 Miroslav Kure <kurem@debian.cz>
3 # This file is distributed under the same license as the ikiwiki package.
4 # Miroslav Kure <kurem@debian.cz>, 2009.
8 "Project-Id-Version: ikiwiki/basewiki\n"
9 "POT-Creation-Date: 2011-05-05 20:04+0300\n"
10 "PO-Revision-Date: 2009-08-20 09:38+0200\n"
11 "Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
12 "Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
20 "[[Ikiwiki]] uses many templates for many purposes. By editing its templates, "
21 "you can fully customise its appearance, and avoid duplicate content."
26 "Ikiwiki uses the HTML::Template module as its template engine. This supports "
27 "things like conditionals and loops in templates and is pretty easy to learn. "
28 "All you really need to know to modify templates is this:"
34 #| "To insert the raw value of a variable, with wiki markup not yet converted "
35 #| "to html, use `<TMPL_VAR raw_variable>`."
36 msgid "To insert the value of a template variable, use `<TMPL_VAR variable>`."
38 "Chcete-li vložit hodnotu proměnné bez dalších úprav (bez převodu na html), "
39 "použijte `<TMPL_VAR raw_proměnná>`."
44 #| "To make a block of text conditional on a variable being set use `<TMPL_IF "
45 #| "NAME=\"variable\">text</TMPL_IF>`."
47 "To make a block of text conditional on a variable being set use `<TMPL_IF "
48 "variable>text</TMPL_IF>`."
50 "Chcete-li blok textu zobrazit pouze pokud je nastavena příslušná proměnná, "
51 "použijte `<TMPL_IF NAME=\"proměnná\">text</TMPL_IF>`."
56 #| "To use one block of text if a variable is set and a second if it's not, "
57 #| "use `<TMPL_IF NAME=\"variable\">text<TMPL_ELSE>other text</TMPL_IF>`"
59 "To use one block of text if a variable is set and a second if it's not, use "
60 "`<TMPL_IF variable>text<TMPL_ELSE>other text</TMPL_IF>`"
62 "Chcete-li použít jeden blok textu v případě, že je proměnná nastavená, a "
63 "jiný blok textu pokud nastavená není, použijte `<TMPL_IF NAME=\"proměnná"
64 "\">text<TMPL_ELSE>jiný text</TMPL_IF>`."
68 #| msgid "[[!if test=\"enabled(template) and enabled(inline)\" then=\"\"\"\n"
69 msgid "[[!if test=\"enabled(template) or enabled(edittemplate)\" then=\"\"\"\n"
70 msgstr "[[!if test=\"enabled(template) and enabled(inline)\" then=\"\"\"\n"
74 msgid "template pages"
79 "Template pages are regular wiki pages that are used as templates for other "
85 #| msgid "[[!if test=\"enabled(template) and enabled(inline)\" then=\"\"\"\n"
86 msgid "[[!if test=\"enabled(template)\" then=\"\"\"\n"
87 msgstr "[[!if test=\"enabled(template) and enabled(inline)\" then=\"\"\"\n"
92 #| "Templates are files that can be filled out and inserted into pages in the "
95 "The [[!iki ikiwiki/directive/template desc=\"template directive\"]] allows "
96 "template pages to be filled out and inserted into other pages in the wiki."
98 "Šablony jsou soubory, které je možno vyplnit a vložit do stránek ve wiki."
102 #| msgid "[[!if test=\"enabled(template) and enabled(inline)\" then=\"\"\"\n"
103 msgid "[[!if test=\"enabled(edittemplate)\" then=\"\"\"\n"
104 msgstr "[[!if test=\"enabled(template) and enabled(inline)\" then=\"\"\"\n"
108 "The [[!iki ikiwiki/directive/edittemplate desc=\"edittemplate directive\"]] "
109 "can be used to make new pages default to containing text from a template "
110 "page, which can be filled out as the page is edited."
115 #| msgid "[[!if test=\"enabled(template) and enabled(inline)\" then=\"\"\"\n"
117 "[[!if test=\"(enabled(template) or enabled(edittemplate))\n"
118 "and enabled(inline)\" then=\"\"\"\n"
119 msgstr "[[!if test=\"enabled(template) and enabled(inline)\" then=\"\"\"\n"
122 msgid "These template pages are currently available:"
128 #| "[[!inline pages=\"templates/* and !*/discussion\" feeds=no archive=yes\n"
129 #| "sort=title template=titlepage]]\n"
131 "[[!inline pages=\"templates/* and !*.tmpl and !templates/*/* and !*/discussion\"\n"
132 "feeds=no archive=yes sort=title template=titlepage\n"
133 "rootpage=templates postformtext=\"Add a new template page named:\"]]\n"
135 "[[!inline pages=\"templates/* and !*/discussion\" feeds=no archive=yes\n"
136 "sort=title template=titlepage]]\n"
140 #| msgid "Using a template"
141 msgid "template files"
142 msgstr "Používání šablon"
146 "Template files are unlike template pages in that they have the extension `."
147 "tmpl`. Template files are used extensively by Ikiwiki to generate html. "
148 "They can contain html that would not normally be allowed on a wiki page."
153 "Template files are located in `/usr/share/ikiwiki/templates` by default; the "
154 "`templatedir` setting can be used to make another directory be searched "
155 "first. Customised template files can also be placed inside the \"templates/"
156 "\" directory in your wiki's source -- files placed there override ones in "
161 msgid "Here is a full list of the template files used:"
164 #. type: Bullet: '* '
166 "`page.tmpl` - Used for displaying all regular wiki pages. This is the key "
167 "template to customise to change the look and feel of Ikiwiki. [[!if test="
168 "\"enabled(pagetemplate)\" then=\"\"\""
174 " (The [[!iki ikiwiki/directive/pagetemplate desc=\"pagetemplate directive\"]]\n"
175 " can be used to make a page use a different template than `page.tmpl`.)\"\"\"]]\n"
176 "* `rsspage.tmpl` - Used for generating rss feeds for blogs.\n"
177 "* `rssitem.tmpl` - Used for generating individual items on rss feeds.\n"
178 "* `atompage.tmpl` - Used for generating atom feeds for blogs.\n"
179 "* `atomitem.tmpl` - Used for generating individual items on atom feeds.\n"
180 "* `inlinepage.tmpl` - Used for displaying a post in a blog.\n"
181 "* `archivepage.tmpl` - Used for listing a page in a blog archive page.\n"
182 "* `titlepage.tmpl` - Used for listing a page by title in a blog archive page.\n"
183 "* `microblog.tmpl` - Used for showing a microblogging post inline.\n"
184 "* `blogpost.tmpl` - Used for a form to add a post to a blog (and rss/atom links)\n"
185 "* `feedlink.tmpl` - Used to add rss/atom links if `blogpost.tmpl` is not used.\n"
186 "* `aggregatepost.tmpl` - Used by the aggregate plugin to create\n"
187 " a page for a post.\n"
188 "* `searchform.tmpl`, `googleform.tmpl` - Used by the search plugin \n"
189 " and google plugin to add search forms to wiki pages.\n"
190 "* `searchquery.tmpl` - This is a Omega template, used by the\n"
192 "* `comment.tmpl` - Used by the comments plugin to display a comment.\n"
193 "* `change.tmpl` - Used to create a page describing a change made to the wiki.\n"
194 "* `recentchanges.tmpl` - Used for listing a change on the RecentChanges page.\n"
195 "* `autoindex.tmpl` - Filled in by the autoindex plugin to make index pages.\n"
196 "* `autotag.tmpl` - Filled in by the tag plugin to make tag pages.\n"
197 "* `calendarmonth.tmpl`, `calendaryear.tmpl` - Used by ikiwiki-calendar to\n"
198 " make calendar archive pages.\n"
199 "* `editpage.tmpl`, `editconflict.tmpl`, `editcreationconflict.tmpl`,\n"
200 " `editfailedsave.tmpl`, `editpagegone.tmpl`, `pocreatepage.tmpl`,\n"
201 " `editcomment.tmpl` `commentmoderation.tmpl`, `renamesummary.tmpl`,\n"
202 " `passwordmail.tmpl`, `openid-selector.tmpl`, `revert.tmpl` - Parts of ikiwiki's user\n"
203 " interface; do not normally need to be customised.\n"
208 msgid "[[!meta robots=\"noindex, follow\"]]\n"
209 msgstr "[[!meta robots=\"noindex, follow\"]]\n"
212 #~ "[[!if test=\"enabled(template)\"\n"
213 #~ "then=\"This wiki has templates **enabled**.\"\n"
214 #~ "else=\"This wiki has templates **disabled**.\"\n"
217 #~ "[[!if test=\"enabled(template)\"\n"
218 #~ "then=\"Tato wiki má šablony **povolené**.\"\n"
219 #~ "else=\"Tato wiki má šablony **vypnuté**.\"\n"
223 #~ "These templates are available for inclusion onto other pages in this wiki:"
224 #~ msgstr "V této wiki jsou k dispozici následující šablony:"
226 #~ msgid "Using a template works like this:"
227 #~ msgstr "Použití šablony vypadá následovně:"
230 #~ "\t\\[[!template id=note text=\"\"\"Here is the text to insert into my "
233 #~ "\t\\[[!template id=note text=\"\"\"Text pro vložení do poznámky.\"\"\"]]\n"
236 #~ "This fills out the [[note]] template, filling in the `text` field with "
237 #~ "the specified value, and inserts the result into the page."
239 #~ "Tímto se v šabloně [[note]] vyplní pole `text` zadanou hodnotou a "
240 #~ "výsledek se vloží do stránky."
243 #~ "Generally, a value can include any markup that would be allowed in the "
244 #~ "wiki page outside the template. Triple-quoting the value even allows "
245 #~ "quotes to be included in it. Combined with multi-line quoted values, this "
246 #~ "allows for large chunks of marked up text to be embedded into a template:"
248 #~ "Hodnota může obsahovat libovolné značky, které jsou povoleny v běžné wiki "
249 #~ "stránce. Trojité uvozovky dokonce umožňují používat uvnitř hodnoty i "
250 #~ "běžné anglické uvozovky. V kombinaci s viceřádkovými hodnotami lze do "
251 #~ "šablony vložit poměrně velké kusy označkovaného textu:"
254 #~ " \\[[!template id=foo name=\"Sally\" color=\"green\" age=8 notes="
257 #~ " \\[[!template id=foo name=\"Sally\" color=\"zelená\" age=8 notes="
260 #~ msgid "\\[[Charley]]'s sister."
261 #~ msgstr "\\[[Charlieho|Charley]] sestra."
263 #~ msgid "\"I want to be an astronaut when I grow up.\""
264 #~ msgstr "\"Až vyrostu, chci být kosmonautem.\""
266 #~ msgid "Really 8 and a half."
267 #~ msgstr "Opravdu, 8 a půl."
269 #~ msgid "Creating a template"
270 #~ msgstr "Vytvoření šablony"
273 #~ "To create a template, simply add a template directive to a page, and the "
274 #~ "page will provide a link that can be used to create the template. The "
275 #~ "template is a regular wiki page, located in the `templates/` subdirectory "
276 #~ "inside the source directory of the wiki."
278 #~ "Pro vytvoření šablony jednoduše přidejte do stránky direktivu template a "
279 #~ "stránka poskytne odkaz, který se dá použít pro vytvoření šablony. Šablona "
280 #~ "je běžná wiki stránka umístěná ve zdrojovém adresáři wiki v podadresáři "
284 #~ "The template uses the syntax used by the [[!cpan HTML::Template]] perl "
285 #~ "module, which allows for some fairly complex things to be done. Consult "
286 #~ "its documentation for the full syntax, but all you really need to know "
287 #~ "are a few things:"
289 #~ "Šablona používá stejnou syntaxi jako perlový modul [[!cpan HTML::"
290 #~ "Template]], což umožňuje provádět poměrně komplexní věci. Úplný popis "
291 #~ "syntaxe naleznete v dokumentaci modulu, ale ve skutečnosti stačí znát jen "
295 #~ "Each parameter you pass to the template directive will generate a "
296 #~ "template variable. There are also some pre-defined variables like PAGE "
299 #~ "Každý parametr, který předáte direktivě template, vygeneruje proměnnou "
300 #~ "šablony. Existuje několik předdefinovaných proměnných jako PAGE a "
304 #~ "To insert the value of a variable, use `<TMPL_VAR variable>`. Wiki markup "
305 #~ "in the value will first be converted to html."
307 #~ "Pro vložení hodnoty proměnné použijte `<TMPL_VAR proměnná>`. Wiki značky "
308 #~ "v hodnotě budou nejprve převedeny na html."
310 #~ msgid "Here's a sample template:"
311 #~ msgstr "Ukázková šablona:"
314 #~ " <span class=\"infobox\">\n"
315 #~ " Name: \\[[<TMPL_VAR raw_name>]]<br />\n"
316 #~ " Age: <TMPL_VAR age><br />\n"
317 #~ " <TMPL_IF NAME=\"color\">\n"
318 #~ " Favorite color: <TMPL_VAR color><br />\n"
320 #~ " No favorite color.<br />\n"
322 #~ " <TMPL_IF NAME=\"notes\">\n"
324 #~ " <TMPL_VAR notes>\n"
328 #~ " <span class=\"infobox\">\n"
329 #~ " Jméno: \\[[<TMPL_VAR raw_name>]]<br />\n"
330 #~ " Věk: <TMPL_VAR age><br />\n"
331 #~ " <TMPL_IF NAME=\"color\">\n"
332 #~ " Oblíbená barva: <TMPL_VAR color><br />\n"
334 #~ " Žádná oblíbená barva.<br />\n"
336 #~ " <TMPL_IF NAME=\"notes\">\n"
338 #~ " <TMPL_VAR notes>\n"
343 #~ "The filled out template will be formatted the same as the rest of the "
344 #~ "page that contains it, so you can include WikiLinks and all other forms "
345 #~ "of wiki markup in the template. Note though that such WikiLinks will not "
346 #~ "show up as backlinks to the page that uses the template."
348 #~ "Vyplněná šablona bude formátována stejně jako zbytek stránky, do které je "
349 #~ "vložena, tudíž můžete v šabloně používat wiki linky a všechny obvyklé "
350 #~ "formátovací značky. Změnou je, že se wiki linky neobjeví jako zpětné "
351 #~ "odkazy na stránku, která šablonu použila."
354 #~ "Note the use of \"raw_name\" inside the [[ikiwiki/WikiLink]] generator. "
355 #~ "This ensures that if the name contains something that might be mistaken "
356 #~ "for wiki markup, it's not converted to html before being processed as a "
357 #~ "[[ikiwiki/WikiLink]]."
359 #~ "Všimněte si použití „raw_name“ uvnitř generátoru [[wiki odkazu|ikiwiki/"
360 #~ "WikiLink]]. Tímto se zajistí, že pokud by jméno obsahovalo něco, co by "
361 #~ "mohlo být považováno za formátovací wiki značku, nebude to převedeno na "
362 #~ "html před vytvořením [[wiki odkazu|ikiwiki/WikiLink]]."