# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # Michal Várady , 2026 # Trottel , 2020 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-06-24 05:21+0000\n" "PO-Revision-Date: 2014-07-05 16:50+0000\n" "Last-Translator: Michal Várady , 2026\n" "Language-Team: Czech (http://app.transifex.com/calibre/calibre/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: cs\n" "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" #: ../../../__w/calibre/calibre/manual/polish.rst:4 msgid "API documentation for the e-book editing tools" msgstr "Dokumentace API pro nástroje pro úpravu e-knih" #: ../../../__w/calibre/calibre/manual/polish.rst:6 msgid "" "The e-book editing tools consist of a " ":class:`calibre.ebooks.oeb.polish.container.Container` object that " "represents a book as a collection of HTML + resource files, and various " "tools that can be used to perform operations on the container. All the tools" " are in the form of module level functions in the various " "``calibre.ebooks.oeb.polish.*`` modules." msgstr "Nástroje pro úpravu e-knih se skládají z objektu :class:`calibre.ebooks.oeb.polish.container.Container`, který představuje knihu jako kolekci souborů HTML a zdrojů a různých nástrojů, které lze použít k provádění operací na kontejneru. Všechny nástroje jsou ve formě funkcí na úrovni modulů v různých modulech ``calibre.ebooks.oeb.polish.*``." #: ../../../__w/calibre/calibre/manual/polish.rst:15 msgid "You obtain a container object for a book at a path like this::" msgstr "Objekt kontejneru pro knihu v cestě získáte takto::" #: ../../../__w/calibre/calibre/manual/polish.rst:20 msgid "" "If you are writing a plugin for the E-book editor, you get the current " "container for the book being edited like this::" msgstr "Pokud píšete modul pro Editor e-knih, získáte aktuální kontejner pro upravovanou knihu takto::" #: ../../../__w/calibre/calibre/manual/polish.rst:30 msgid "The Container object" msgstr "Objekt kontejneru" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container:1 msgid "" "A container represents an open e-book as a folder full of files and an OPF " "file. There are two important concepts:" msgstr "Kontejner představuje otevřenou e-knihu jako složku plnou souborů a soubor OPF. Existují dva důležité koncepty:" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container:4 msgid "" "The root folder. This is the base of the e-book. All the e-books files are " "inside this folder or in its sub-folders." msgstr "Kořenová složka. Je základem e-knihy. Všechny soubory e-knihy jsou uvnitř této složky nebo v jejích podsložkách." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container:7 msgid "" "Names: These are paths to the books' files relative to the root folder. They" " always contain POSIX separators and are unquoted. They can be thought of as" " canonical identifiers for files in the book. Most methods on the container " "object work with names. Names are always in the NFC Unicode normal form." msgstr "Názvy: Jsou to cesty k souborům knihy relativní ke kořenové složce. Vždy obsahují oddělovače POSIX a nejsou URL-kódované. Lze je chápat jako kanonické identifikátory souborů v knize. Většina metod objektu kontejneru pracuje s názvy. Názvy jsou vždy v normalizační formě Unicode NFC." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container:13 msgid "" "Clones: the container object supports efficient on-disk cloning, which is " "used to implement checkpoints in the e-book editor. In order to make this " "work, you should never access files on the filesystem directly. Instead, use" " :meth:`raw_data` or :meth:`open` to read/write to component files in the " "book." msgstr "Klony: objekt kontejneru podporuje efektivní klonování na disku, které se používá k implementaci kontrolních bodů v editoru e-knih. Aby to fungovalo, nikdy byste neměli k souborům v souborovém systému přistupovat přímo. Místo toho použijte :meth:`raw_data` nebo :meth:`open` pro čtení komponentních souborů v knize nebo zápis do nich." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container:18 msgid "" "When converting between hrefs and names use the methods provided by this " "class, they assume all hrefs are quoted." msgstr "Při převodu mezi hodnotami href a názvy používejte metody poskytované touto třídou; předpokládají, že všechny hodnoty href jsou URL-kódované." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:1 msgid "Convert an absolute path to a canonical name relative to :attr:`root`" msgstr "Převede absolutní cestu na kanonický název relativní k :attr:`root`" #: ../../../__w/calibre/calibre/manual/polish.rst:0 msgid "Parameters" msgstr "Parametry" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:3 msgid "" "The base folder. By default the root for this container object is used." msgstr "Základní složka. Ve výchozím nastavení se použije kořen tohoto objektu kontejneru." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.add_file:1 msgid "" "Add a file to this container. Entries for the file are automatically created" " in the OPF manifest and spine (if the file is a text document)" msgstr "Přidá soubor do tohoto kontejneru. Záznamy pro soubor se automaticky vytvoří v manifestu OPF a ve spine (pokud je soubor textový dokument)" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.add_name_to_manifest:1 msgid "" "Add an entry to the manifest for a file with the specified name. Returns the" " manifest id." msgstr "Přidá do manifestu záznam pro soubor se zadaným názvem. Vrátí ID manifestu." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.add_properties:1 msgid "Add the specified properties to the manifest item identified by name." msgstr "Přidá zadané vlastnosti k položce manifestu identifikované názvem." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.apply_unique_properties:1 msgid "" "Ensure that the specified properties are set on only the manifest item " "identified by name. You can pass None as the name to remove the property " "from all items." msgstr "Zajistí, že zadané vlastnosti budou nastavené pouze u položky manifestu identifikované názvem. Jako název můžete předat None, chcete-li vlastnost odebrat ze všech položek." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.book_type:1 msgid "The type of book (epub for EPUB files and azw3 for AZW3 files)" msgstr "Typ knihy (epub pro soubory EPUB a azw3 pro soubory AZW3)" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.commit:1 msgid "" "Commit all dirtied parsed objects to the filesystem and write out the e-book" " file at outpath." msgstr "Zapíše všechny změněné parsované objekty do souborového systému a uloží soubor e-knihy do umístění outpath." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.commit:3 msgid "" "The path to write the saved e-book file to. If None, the path of the " "original book file is used." msgstr "Cesta, do které se má zapsat uložený soubor e-knihy. Pokud je None, použije se cesta původního souboru knihy." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.commit:4 msgid "" "If True the parsed representations of committed items are kept in the cache." msgstr "Pokud je True, parsované reprezentace zapsaných položek se ponechají v cache." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.commit_item:1 msgid "" "Commit a parsed object to disk (it is serialized and written to the " "underlying file). If ``keep_parsed`` is True the parsed representation is " "retained in the cache. See also: :meth:`parsed`" msgstr "Zapíše parsovaný objekt na disk (serializuje se a zapíše do podkladového souboru). Pokud je ``keep_parsed`` True, parsovaná reprezentace se zachová v cache. Viz také: :meth:`parsed`" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.dirty:1 msgid "" "Mark the parsed object corresponding to name as dirty. See also: " ":meth:`parsed`." msgstr "Označí parsovaný objekt odpovídající názvu jako změněný. Viz také: :meth:`parsed`." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.exists:1 msgid "" "True iff a file/folder corresponding to the canonical name exists. Note that" " this function suffers from the limitations of the underlying OS filesystem," " in particular case (in)sensitivity. So on a case insensitive filesystem " "this will return True even if the case of name is different from the case of" " the underlying filesystem file. See also :meth:`has_name`" msgstr "True právě tehdy, když existuje soubor nebo složka odpovídající kanonickému názvu. Pamatujte, že tato funkce podléhá omezením podkladového souborového systému operačního systému, zejména citlivosti nebo necitlivosti na velikost písmen. Na souborovém systému nerozlišujícím velikost písmen proto vrátí True i tehdy, když se velikost písmen v názvu liší od velikosti písmen v podkladovém souboru souborového systému. Viz také :meth:`has_name`" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.filesize:1 msgid "" "Return the size in bytes of the file represented by the specified canonical " "name. Automatically handles dirtied parsed objects. See also: :meth:`parsed`" msgstr "Vrátí velikost v bajtech souboru reprezentovaného zadaným kanonickým názvem. Automaticky zpracuje změněné parsované objekty. Viz také: :meth:`parsed`" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.generate_item:1 msgid "" "Add an item to the manifest with href derived from the given name. Ensures " "uniqueness of href and id automatically. Returns generated item." msgstr "Přidá do manifestu položku s href odvozeným od daného názvu. Automaticky zajistí jedinečnost href a id. Vrátí vygenerovanou položku." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of #: calibre.ebooks.oeb.polish.container.Container.get_file_path_for_processing:1 msgid "" "Similar to open() except that it returns a file path, instead of an open " "file object." msgstr "Podobné jako open(), s tím rozdílem, že místo otevřeného objektu souboru vrací cestu k souboru." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.guide_type_map:1 msgid "Mapping of guide type to canonical name" msgstr "Mapování typu průvodce na kanonický název" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.has_name:1 msgid "" "Return True iff a file with the same canonical name as that specified " "exists. Unlike :meth:`exists` this method is always case-sensitive." msgstr "Vrátí True právě tehdy, když existuje soubor se stejným kanonickým názvem, jako byl zadán. Na rozdíl od :meth:`exists` tato metoda vždy rozlišuje velikost písmen." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.href_to_name:1 msgid "" "Convert an href (relative to base) to a name. base must be a name or None, " "in which case self.root is used." msgstr "Převede href (relativní k base) na název. base musí být název nebo None; v takovém případě se použije self.root." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.insert_into_xml:1 msgid "" "Insert item into parent (or append if index is None), fixing indentation. " "Only works with self closing items." msgstr "Vloží položku do rodičovského prvku (nebo ji připojí na konec, pokud je index None) a opraví odsazení. Funguje pouze se samozavíracími položkami." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.is_dir:1 msgid "If this container represents an unzipped book (a directory)" msgstr "Pokud tento kontejner představuje rozbalenou knihu (adresář)" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.iterlinks:1 msgid "" "Iterate over all links in name. If get_line_numbers is True the yields " "results of the form (link, line_number, offset). Where line_number is the " "line_number at which the link occurs and offset is the number of characters " "from the start of the line. Note that offset could actually encompass " "several lines if not zero." msgstr "Iteruje přes všechny odkazy v name. Pokud je get_line_numbers True, vrací výsledky ve tvaru (link, line_number, offset). line_number je číslo řádku, na kterém se odkaz vyskytuje, a offset je počet znaků od začátku řádku. Pamatujte, že pokud offset není nula, může ve skutečnosti zahrnovat několik řádků." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.make_name_unique:1 msgid "" "Ensure that `name` does not already exist in this book. If it does, return a" " modified version that does not exist." msgstr "Zajistí, že `name` v této knize ještě neexistuje. Pokud existuje, vrátí upravenou verzi, která neexistuje." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.manifest_has_name:1 msgid "Return True if the manifest has an entry corresponding to name" msgstr "Vrátí True, pokud manifest obsahuje záznam odpovídající názvu" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.manifest_id_map:1 msgid "Mapping of manifest id to canonical names" msgstr "Mapování ID manifestu na kanonické názvy" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.manifest_items_of_type:1 msgid "" "The names of all manifest items whose media-type matches predicate. " "`predicate` can be a set, a list, a string or a function taking a single " "argument, which will be called with the media-type." msgstr "Názvy všech položek manifestu, jejichž media-type odpovídá predikátu. `predicate` může být množina, seznam, řetězec nebo funkce přijímající jeden argument, která bude zavolána s hodnotou media-type." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of #: calibre.ebooks.oeb.polish.container.Container.manifest_items_with_property:1 msgid "All manifest items that have the specified property" msgstr "Všechny položky manifestu, které mají zadanou vlastnost" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.manifest_type_map:1 msgid "" "Mapping of manifest media-type to list of canonical names of that media-type" msgstr "Mapování media-type manifestu na seznam kanonických názvů daného media-type" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.mi:1 msgid "" "The metadata of this book as a Metadata object. Note that this object is " "constructed on the fly every time this property is requested, so use it " "sparingly." msgstr "Metadata této knihy jako objekt Metadata. Pamatujte, že tento objekt se vytváří za běhu pokaždé, když je tato vlastnost vyžádána, proto ji používejte střídmě." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.name_to_abspath:1 msgid "Convert a canonical name to an absolute OS dependent path" msgstr "Převede kanonický název na absolutní cestu závislou na OS" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.name_to_href:1 msgid "" "Convert a name to a href relative to base, which must be a name or None in " "which case self.root is used as the base" msgstr "Převede název na href relativní k parametru base, který musí být názvem nebo None; v takovém případě se jako base použije self.root" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of #: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_changed:1 msgid "" "Set of names that must never be renamed. Depends on the e-book file format." msgstr "Množina názvů, které se nikdy nesmí přejmenovat. Závisí na formátu souboru e-knihy." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of #: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_removed:1 msgid "" "Set of names that must never be deleted from the container. Depends on the " "e-book file format." msgstr "Množina názvů, které se nikdy nesmí z kontejneru odstranit. Závisí na formátu souboru e-knihy." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of #: calibre.ebooks.oeb.polish.container.Container.names_that_need_not_be_manifested:1 msgid "" "Set of names that are allowed to be missing from the manifest. Depends on " "the e-book file format." msgstr "Množina názvů, které mohou v manifestu chybět. Závisí na formátu souboru e-knihy." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.open:1 msgid "" "Open the file pointed to by name for direct read/write. Note that this will " "commit the file if it is dirtied and remove it from the parse cache. You " "must finish with this file before accessing the parsed version of it again, " "or bad things will happen." msgstr "Otevře soubor určený hodnotou name pro přímé čtení nebo zápis. Pamatujte, že pokud je soubor označený jako změněný, zapíše ho a odstraní ho z cache parsování. Než znovu přistoupíte k jeho parsované verzi, musíte práci s tímto souborem dokončit, jinak dojde k problémům." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.opf:1 msgid "The parsed OPF file" msgstr "Parsovaný soubor OPF" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.opf_get_or_create:1 msgid "" "Convenience method to either return the first XML element with the specified" " name or create it under the opf:package element and then return it, if it " "does not already exist." msgstr "Pomocná metoda, která vrátí první prvek XML se zadaným názvem, nebo ho vytvoří pod prvkem opf:package a poté ho vrátí, pokud ještě neexistuje." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.opf_version:1 msgid "The version set on the OPF's element" msgstr "Verze nastavená v prvku souboru OPF" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.opf_version_parsed:1 msgid "The version set on the OPF's element as a tuple of integers" msgstr "Verze nastavená v prvku souboru OPF jako n-tice celých čísel" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.opf_xpath:1 msgid "" "Convenience method to evaluate an XPath expression on the OPF file, has the " "opf: and dc: namespace prefixes pre-defined." msgstr "Pomocná metoda pro vyhodnocení výrazu XPath nad souborem OPF; má předdefinované předpony jmenných prostorů opf: a dc:." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.parsed:1 msgid "" "Return a parsed representation of the file specified by name. For HTML and " "XML files an lxml tree is returned. For CSS files a css_parser stylesheet is" " returned. Note that parsed objects are cached for performance. If you make " "any changes to the parsed object, you must call :meth:`dirty` so that the " "container knows to update the cache. See also :meth:`replace`." msgstr "Vrátí parsovanou reprezentaci souboru zadaného pomocí name. U souborů HTML a XML se vrátí strom lxml. U souborů CSS se vrátí šablona stylů css_parser. Pamatujte, že parsované objekty se kvůli výkonu ukládají do cache. Pokud v parsovaném objektu provedete jakékoli změny, musíte zavolat :meth:`dirty`, aby kontejner věděl, že má aktualizovat cache. Viz také :meth:`replace`." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.raw_data:1 msgid "Return the raw data corresponding to the file specified by name" msgstr "Vrátí surová data odpovídající souboru zadanému pomocí name" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.raw_data:3 msgid "" "If True and the file has a text based MIME type, decode it and return a " "unicode object instead of raw bytes." msgstr "Pokud je True a soubor má textový typ MIME, dekóduje ho a místo surových bajtů vrátí objekt unicode." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.raw_data:4 msgid "" "If True the returned unicode object is normalized to the NFC normal form as " "is required for the EPUB and AZW3 file formats." msgstr "Pokud je True, vrácený objekt unicode se normalizuje do normalizační formy NFC, jak vyžadují formáty souborů EPUB a AZW3." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.relpath:1 msgid "" "Convert an absolute path (with OS separators) to a path relative to base " "(defaults to self.root). The relative path is *not* a name. Use " ":meth:`abspath_to_name` for that." msgstr "Převede absolutní cestu (s oddělovači OS) na cestu relativní k base (výchozí je self.root). Relativní cesta *není* name. K tomu použijte :meth:`abspath_to_name`." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.remove_from_spine:1 msgid "" "Remove the specified items (by canonical name) from the spine. If " "``remove_if_no_longer_in_spine`` is True, the items are also deleted from " "the book, not just from the spine." msgstr "Odstraní zadané položky (podle kanonického názvu) ze spine. Pokud je ``remove_if_no_longer_in_spine`` True, položky se odstraní také z knihy, nejen ze spine." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.remove_from_xml:1 msgid "" "Removes item from parent, fixing indentation (works only with self closing " "items)" msgstr "Odstraní položku z rodičovského prvku a opraví odsazení (funguje pouze se samozavíracími položkami)" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.remove_item:1 msgid "" "Remove the item identified by name from this container. This removes all " "references to the item in the OPF manifest, guide and spine as well as from " "any internal caches." msgstr "Odstraní z tohoto kontejneru položku identifikovanou pomocí name. Tím se odstraní všechny odkazy na položku v manifestu OPF, guide a spine i ze všech interních cache." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.rename:1 msgid "" "Renames a file from current_name to new_name. It automatically rebases all " "links inside the file if the folder the file is in changes. Note however, " "that links are not updated in the other files that could reference this " "file. This is for performance, such updates should be done once, in bulk." msgstr "Přejmenuje soubor z current_name na new_name. Pokud se změní složka, ve které se soubor nachází, automaticky přepočítá všechny odkazy uvnitř tohoto souboru na nový základ. Pamatujte však, že odkazy v ostatních souborech, které by mohly na tento soubor odkazovat, se neaktualizují. Je to kvůli výkonu; takové aktualizace by se měly provádět najednou hromadně." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.replace:1 msgid "" "Replace the parsed object corresponding to name with obj, which must be a " "similar object, i.e. an lxml tree for HTML/XML or a css_parser stylesheet " "for a CSS file." msgstr "Nahradí parsovaný objekt odpovídající name objektem obj, který musí být podobného typu, tj. strom lxml pro HTML/XML nebo šablona stylů css_parser pro soubor CSS." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.replace_links:1 msgid "" "Replace all links in name using replace_func, which must be a callable that " "accepts a URL and returns the replaced URL. It must also have a 'replaced' " "attribute that is set to True if any actual replacement is done. Convenient " "ways of creating such callables are using the :class:`LinkReplacer` and " ":class:`LinkRebaser` classes." msgstr "Nahradí všechny odkazy v name pomocí replace_func, což musí být volatelný objekt, který přijímá URL a vrací nahrazenou URL. Musí mít také atribut 'replaced', který se nastaví na True, pokud se provede nějaké skutečné nahrazení. Pohodlné způsoby vytváření takových volatelných objektů poskytují třídy :class:`LinkReplacer` a :class:`LinkRebaser`." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.serialize_item:1 msgid "" "Convert a parsed object (identified by canonical name) into a bytestring. " "See :meth:`parsed`." msgstr "Převede parsovaný objekt (identifikovaný kanonickým názvem) na bajtový řetězec. Viz :meth:`parsed`." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.set_spine:1 msgid "" "Set the spine to be spine_items where spine_items is an iterable of the form" " (name, linear). Will raise an error if one of the names is not present in " "the manifest." msgstr "Nastaví spine na spine_items, kde spine_items je iterovatelný objekt ve tvaru (name, linear). Vyvolá chybu, pokud některý z názvů není přítomen v manifestu." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.spine_items:1 msgid "" "An iterator yielding the path for every item in the books' spine. See also: " ":attr:`spine_iter` and :attr:`spine_items`." msgstr "Iterátor vracející cestu pro každou položku ve spine knihy. Viz také: :attr:`spine_iter` a :attr:`spine_items`." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.spine_iter:1 msgid "" "An iterator that yields item, name is_linear for every item in the books' " "spine. item is the lxml element, name is the canonical file name and " "is_linear is True if the item is linear. See also: :attr:`spine_names` and " ":attr:`spine_items`." msgstr "Iterátor, který pro každou položku ve spine knihy vrací item, name a is_linear. item je prvek lxml, name je kanonický název souboru a is_linear je True, pokud je položka lineární. Viz také: :attr:`spine_names` a :attr:`spine_items`." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring #: of calibre.ebooks.oeb.polish.container.Container.spine_names:1 msgid "" "An iterator yielding name and is_linear for every item in the books' spine. " "See also: :attr:`spine_iter` and :attr:`spine_items`." msgstr "Iterátor vracející name a is_linear pro každou položku ve spine knihy. Viz také: :attr:`spine_iter` a :attr:`spine_items`." #: ../../../__w/calibre/calibre/manual/polish.rst:36 msgid "Managing component files in a container" msgstr "Správa souborů komponent v kontejneru" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring #: of calibre.ebooks.oeb.polish.replace.replace_links:1 msgid "" "Replace links to files in the container. Will iterate over all files in the " "container and change the specified links in them." msgstr "Nahradí odkazy na soubory v kontejneru. Projde všechny soubory v kontejneru a změní v nich zadané odkazy." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring #: of calibre.ebooks.oeb.polish.replace.replace_links:3 msgid "" "A mapping of old canonical name to new canonical name. For example: " ":code:`{'images/old.png': 'images/new.png'}`" msgstr "Mapování starého kanonického názvu na nový kanonický název. Například: :code:`{'images/old.png': 'images/new.png'}`" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring #: of calibre.ebooks.oeb.polish.replace.replace_links:4 msgid "" "A callable that takes two arguments ``(name, anchor)`` and returns a new " "anchor. This is useful if you need to change the anchors in HTML files. By " "default, it does nothing." msgstr "Volatelný objekt, který přijímá dva argumenty ``(name, anchor)`` a vrací novou kotvu. To je užitečné, pokud potřebujete změnit kotvy v souborech HTML. Ve výchozím nastavení nedělá nic." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring #: of calibre.ebooks.oeb.polish.replace.replace_links:7 msgid "If False, links are not replaced in the OPF file." msgstr "Pokud je False, odkazy v souboru OPF se nenahrazují." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring #: of calibre.ebooks.oeb.polish.replace.rename_files:1 msgid "" "Rename files in the container, automatically updating all links to them." msgstr "Přejmenuje soubory v kontejneru a automaticky aktualizuje všechny odkazy na ně." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring #: of calibre.ebooks.oeb.polish.replace.rename_files:3 msgid "" "A mapping of old canonical name to new canonical name, for example: " ":code:`{'text/chapter1.html': 'chapter1.html'}`." msgstr "Mapování starého kanonického názvu na nový kanonický název, například: :code:`{'text/chapter1.html': 'chapter1.html'}`." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring #: of calibre.ebooks.oeb.polish.replace.get_recommended_folders:1 msgid "" "Return the folders that are recommended for the given filenames. The " "recommendation is based on where the majority of files of the same type are " "located in the container. If no files of a particular type are present, the " "recommended folder is assumed to be the folder containing the OPF file." msgstr "Vrátí složky doporučené pro dané názvy souborů. Doporučení vychází z toho, kde se v kontejneru nachází většina souborů stejného typu. Pokud nejsou přítomny žádné soubory určitého typu, za doporučenou složku se považuje složka obsahující soubor OPF." #: ../../../__w/calibre/calibre/manual/polish.rst:47 msgid "Pretty printing and auto fixing parse errors" msgstr "Pěkný tisk a automatická analýza opravy chyb" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring #: of calibre.ebooks.oeb.polish.pretty.fix_html:1 msgid "" "Fix any parsing errors in the HTML represented as a string in raw. Fixing is" " done using the HTML5 parsing algorithm." msgstr "Opraví všechny chyby parsování v HTML reprezentovaném jako řetězec v raw. Oprava se provádí pomocí parsovacího algoritmu HTML5." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring #: of calibre.ebooks.oeb.polish.pretty.fix_all_html:1 msgid "" "Fix any parsing errors in all HTML files in the container. Fixing is done " "using the HTML5 parsing algorithm." msgstr "Opraví všechny chyby parsování ve všech souborech HTML v kontejneru. Oprava se provádí pomocí parsovacího algoritmu HTML5." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring #: of calibre.ebooks.oeb.polish.pretty.pretty_html:1 msgid "Pretty print the HTML represented as a string in raw" msgstr "Naformátuje pro přehlednost HTML reprezentované jako řetězec v raw" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring #: of calibre.ebooks.oeb.polish.pretty.pretty_css:1 msgid "Pretty print the CSS represented as a string in raw" msgstr "Naformátuje pro přehlednost CSS reprezentované jako řetězec v raw" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring #: of calibre.ebooks.oeb.polish.pretty.pretty_xml:1 msgid "" "Pretty print the XML represented as a string in raw. If ``name`` is the name" " of the OPF, extra OPF-specific prettying is performed." msgstr "Naformátuje pro přehlednost XML reprezentované jako řetězec v raw. Pokud je ``name`` názvem OPF, provede se dodatečné formátování specifické pro OPF." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring #: of calibre.ebooks.oeb.polish.pretty.pretty_all:1 msgid "Pretty print all HTML/CSS/XML files in the container" msgstr "Naformátuje pro přehlednost všechny soubory HTML/CSS/XML v kontejneru" #: ../../../__w/calibre/calibre/manual/polish.rst:65 msgid "Managing book jackets" msgstr "Správa přebalů knih" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring #: of calibre.ebooks.oeb.polish.jacket.remove_jacket:1 msgid "" "Remove an existing jacket, if any. Returns False if no existing jacket was " "found." msgstr "Odstraní existující přebal, pokud nějaký existuje. Vrátí False, pokud nebyl nalezen žádný existující přebal." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring #: of calibre.ebooks.oeb.polish.jacket.add_or_replace_jacket:1 msgid "" "Either create a new jacket from the book's metadata or replace an existing " "jacket. Returns True if an existing jacket was replaced." msgstr "Vytvoří nový přebal z metadat knihy nebo nahradí existující přebal. Vrátí True, pokud byl existující přebal nahrazen." #: ../../../__w/calibre/calibre/manual/polish.rst:74 msgid "Splitting and merging of files" msgstr "Rozdělování a slučování souborů" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring #: of calibre.ebooks.oeb.polish.split.split:1 msgid "" "Split the file specified by name at the position specified by loc_or_xpath. " "Splitting automatically migrates all links and references to the affected " "files." msgstr "Rozdělí soubor zadaný pomocí name na pozici určené hodnotou loc_or_xpath. Rozdělení automaticky migruje všechny odkazy a reference na dotčené soubory." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring #: of calibre.ebooks.oeb.polish.split.split:5 msgid "" "Should be an XPath expression such as //h:div[@id=\"split_here\"]. Can also " "be a *loc* which is used internally to implement splitting in the preview " "panel." msgstr "Měl by to být výraz XPath, například //h:div[@id=\"split_here\"]. Může to být také *loc*, který se interně používá k implementaci dělení v panelu náhledu." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring #: of calibre.ebooks.oeb.polish.split.split:8 msgid "" "If True the split occurs before the identified element otherwise after it." msgstr "Pokud je True, rozdělení proběhne před identifikovaným prvkem, jinak za ním." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring #: of calibre.ebooks.oeb.polish.split.split:9 msgid "Used internally" msgstr "Používá se interně" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring #: of calibre.ebooks.oeb.polish.split.multisplit:1 msgid "" "Split the specified file at multiple locations (all tags that match the " "specified XPath expression). See also: :func:`split`. Splitting " "automatically migrates all links and references to the affected files." msgstr "Rozdělí zadaný soubor na více místech (všechny značky, které odpovídají zadanému výrazu XPath). Viz také: :func:`split`. Rozdělení automaticky migruje všechny odkazy a reference na dotčené soubory." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring #: of calibre.ebooks.oeb.polish.split.multisplit:5 msgid "" "If True the splits occur before the identified element otherwise after it." msgstr "Pokud je True, rozdělení proběhnou před identifikovaným prvkem, jinak za ním." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring #: of calibre.ebooks.oeb.polish.split.merge:1 msgid "" "Merge the specified files into a single file, automatically migrating all " "links and references to the affected files. The file must all either be HTML" " or CSS files." msgstr "Sloučí zadané soubory do jednoho souboru a automaticky migruje všechny odkazy a reference na dotčené soubory. Všechny soubory musí být buď soubory HTML, nebo CSS." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring #: of calibre.ebooks.oeb.polish.split.merge:4 msgid "Must be either ``'text'`` for HTML files or ``'styles'`` for CSS files" msgstr "Musí být buď ``'text'`` pro soubory HTML, nebo ``'styles'`` pro soubory CSS" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring #: of calibre.ebooks.oeb.polish.split.merge:5 msgid "The list of files to be merged" msgstr "Seznam souborů ke sloučení" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring #: of calibre.ebooks.oeb.polish.split.merge:6 msgid "" "Which of the merged files is the *master* file, that is, the file that will " "remain after merging." msgstr "Který ze slučovaných souborů je *master* soubor, tedy soubor, který po sloučení zůstane." #: ../../../__w/calibre/calibre/manual/polish.rst:85 msgid "Managing covers" msgstr "Správa obálek" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring #: of calibre.ebooks.oeb.polish.cover.set_cover:1 msgid "Set the cover of the book to the image pointed to by cover_path." msgstr "Nastaví obálku knihy na obrázek určený pomocí cover_path." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring #: of calibre.ebooks.oeb.polish.cover.set_cover:3 msgid "" "Either the absolute path to an image file or the canonical name of an image " "in the book. When using an image in the book, you must also set options, see" " below." msgstr "Buď absolutní cesta k souboru obrázku, nebo kanonický název obrázku v knize. Při použití obrázku v knize musíte také nastavit options, viz níže." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring #: of calibre.ebooks.oeb.polish.cover.set_cover:6 msgid "" "An optional callable that takes a single argument. It will be called with " "information about the tasks being processed." msgstr "Volitelný volatelný objekt, který přijímá jeden argument. Bude volán s informacemi o zpracovávaných úlohách." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring #: of calibre.ebooks.oeb.polish.cover.set_cover:8 msgid "" "None or a dictionary that controls how the cover is set. The dictionary can " "have entries: **keep_aspect**: True or False (Preserve aspect ratio of " "covers in EPUB) **no_svg**: True or False (Use an SVG cover wrapper in the " "EPUB titlepage) **existing**: True or False (``cover_path`` refers to an " "existing image in the book)" msgstr "None nebo slovník určující, jak se obálka nastaví. Slovník může obsahovat položky: **keep_aspect**: True nebo False (Zachovat poměr stran obálek v EPUB) **no_svg**: True nebo False (Použít na titulní stránce EPUB obalový prvek SVG pro obálku) **existing**: True nebo False (``cover_path`` odkazuje na existující obrázek v knize)" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring #: of calibre.ebooks.oeb.polish.cover.mark_as_cover:1 msgid "Mark the specified image as the cover image." msgstr "Označí zadaný obrázek jako obrázek obálky." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring #: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:1 msgid "Mark the specified HTML file as the titlepage of the EPUB." msgstr "Označí zadaný soubor HTML jako titulní stránku EPUB." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring #: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:3 msgid "If True the HTML file is moved to the start of the spine" msgstr "Pokud je True, soubor HTML se přesune na začátek spine" #: ../../../__w/calibre/calibre/manual/polish.rst:96 msgid "Working with CSS" msgstr "Práce s CSS" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/fonts.pydocstring #: of calibre.ebooks.oeb.polish.fonts.change_font:1 msgid "" "Change a font family from old_name to new_name. Changes all occurrences of " "the font family in stylesheets, style tags and style attributes. If the " "old_name refers to an embedded font, it is removed. You can set new_name to " "None to remove the font family instead of changing it." msgstr "Změní rodinu písma z old_name na new_name. Změní všechny výskyty rodiny písma v šablonách stylů, značkách `