# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # Jonatan Nyberg, 2025-2026 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017,2020 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2020 # Jonatan Nyberg, 2026 # Jonatan Nyberg, 2016-2017,2021-2024,2026 # Jonatan Nyberg, 2019-2021 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017 # Jonatan Nyberg, 2026 # Merarom , 2014-2016 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-07-30 18:07+0000\n" "PO-Revision-Date: 2014-07-05 16:50+0000\n" "Last-Translator: efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017,2020\n" "Language-Team: Swedish (http://app.transifex.com/calibre/calibre/language/sv/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../../../__w/calibre/calibre/manual/polish.rst:4 msgid "API documentation for the e-book editing tools" msgstr "API-dokumentation för e-bokredigeringsverktygen" #: ../../../__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 "E-bokredigeringsverktygen består av :class:`calibre.ebooks.oeb.polish.container.Container` poster som representerar en bok som en samling av HTML + resursfiler, samt olika verktyg som kan användas för att utföra operationer på behållaren. Alla verktyg är i form av modulnivåsfunktioner i de olika ``calibre.ebooks.oeb.polish.*`` modulerna." #: ../../../__w/calibre/calibre/manual/polish.rst:15 msgid "You obtain a container object for a book at a path like this::" msgstr "Du erhåller ett behållarobjekt för en bok på en sökväg så här::" #: ../../../__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 "Om du skriver en insticksmodul för E-bokredigeraren, får du den aktuella behållaren för boken som redigeras så här::" #: ../../../__w/calibre/calibre/manual/polish.rst:30 msgid "The Container object" msgstr "Behållarobjektet" #: ../../../__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 "En behållare representerar en öppen e-bok som en mapp full av filer och en OPF-fil. Det finns två viktiga begrepp:" #: ../../../__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 "Rotmappen. Detta är basen för e-boken. Alla e-böcker finns i denna mapp eller i dess undermappar." #: ../../../__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 "Namn: Dessa är sökvägar till böckernas filer relativt rotmappen. De innehåller alltid POSIX-avskiljare och är utan citattecken. De kan ses som kanoniska identifierare för filer i boken. De flesta metoder på behållarobjektet arbetar med namn. Namn är alltid i NFC Unicode-normalformen." #: ../../../__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 "Kloner: Behållarobjektet stöder effektiv kloning på disk, vilket används för att implementera kontrollpunkter i e-bokredigeraren. För att detta ska fungera får du aldrig komma åt filerna i filsystemet direkt. Använd i stället :meth:`raw_data` eller :meth:`open` för att läsa och skriva komponentfiler i boken." #: ../../../__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 "När du konverterar mellan hrefs och namn använd de metoder som denna klass tillhandahåller, de antar att alla hrefs är i citattecken." #: ../../../__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 "Konvertera en absolut sökväg till ett kanoniskt namn i förhållande till :attr:`root`" #: ../../../__w/calibre/calibre/manual/polish.rst:0 msgid "Parameters" msgstr "Parametrar" #: ../../../__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 "Grundmappen. Som standard används roten till detta behållarobjekt." #: ../../../__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 "Lägg till en fil i denna behållare. Poster för filen skapas automatiskt i OPF-manifestet och bokryggen (om filen är ett textdokument)" #: ../../../__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 "Lägg till en post i manifestet för en fil med angivna namnet. Returnerar manifest-id." #: ../../../__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 "Lägg specificerade egenskaperna i manifestposten som identifierats med namn." #: ../../../__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 "Se till att de angivna egenskaperna är inställt på endast manifestposten som identifierats med ett namn. Du kan använda None som namn för att ta bort egenskapen från alla post." #: ../../../__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 "Typen av bok (epub för EPUB-filer och azw3 för AZW3-filer)" #: ../../../__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 "Skriv alla ändrade analyserade objekt till filsystemet och skriv e-boksfilen till utsökvägen." #: ../../../__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 "Sökvägen som den sparade e-boksfilen ska skrivas till. Om värdet är None används sökvägen till den ursprungliga bokfilen." #: ../../../__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 "Om True kommer analyserade representationer av engagerade poster hållas i 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 "Överlämnar ett analyserat objekt till disken (det serialiseras och skrivs till den underliggande filen). Om ``keep_parsed`` är True behålls den analyserade representationen i cachen. Se även: :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 "Markera det analyserade objektet som motsvarar namnet som smutsigt. Se även: :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 "Returnerar True om och endast om en fil eller mapp med det kanoniska namnet finns. Observera att funktionen begränsas av det underliggande filsystemet, särskilt dess skiftlägeskänslighet. På ett skiftlägesokänsligt filsystem returneras därför True även om skiftläget i name skiljer sig från filens eller mappens faktiska namn. Se även :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 "Returnera filstorleken i byte för filen med det angivna kanoniska namnet. Ändrade analyserade objekt hanteras automatiskt. Se även :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 "Lägg till en post i manifestet med href härledd från det angivna namnet. Säkerställer unika href och id automatiskt. Returnerar genererad post." #: ../../../__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 "Liknar open() förutom att den returnerar en sökväg, i stället för ett öppet filobjekt." #: ../../../__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 "Kartläggning av guidetyp till kanoniskt namn" #: ../../../__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 "Returnera True om och endast om en fil med samma kanoniska namn som angetts finns. Till skillnad från :meth:`exists` är denna metod alltid skiftlägeskänslig." #: ../../../__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 "Konvertera en href (relativ till bas) till ett namn. basen måste vara ett namn eller None, i vilket fall self.root används." #: ../../../__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 "Infoga post i förälder (eller lägga till om index är None), fastställande indrag. Fungerar endast med självstängande post." #: ../../../__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 "Om denna container representerar en uppackad bok (en katalog)" #: ../../../__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 "Iterera över alla länkar i namnet. Om get_line_numbers är True ger det resultat i form (länk, line_number, offset). Där line_number är line_number där länken förekommer och offset är antalet tecken från början av raden. Observera att offset kan faktiskt omfatta flera rader om inte noll." #: ../../../__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 "Se till att `name` inte redan finns i denna bok. Om den gör det, returnera en ändrad version som inte finns." #: ../../../__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 "Returnera True om manifestet har en post som motsvarar namnet" #: ../../../__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 "Kartläggning av manifest-id till kanoniska namn" #: ../../../__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 "Namnen på alla manifestposter vars medietyp matcher predikat. `predicate` kan vara en uppsättning, en lista, en sträng eller en funktion som tar ett enda argument, som kommer att anropas med medietypen." #: ../../../__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 "Alla uppenbara post som har den angivna egenskapen" #: ../../../__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 "Kartläggning av manifest mediatyp till lista med canonical namn av den mediatypen\nKartläggning av manifest mediatyp till lista med kanoniska namn på den medietypen" #: ../../../__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 från den här boken som ett metadataobjekt. Observera att det här objektet är konstruerad i farten varje gång den här egenskapen begärs, så använd den sparsamt." #: ../../../__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 "Konvertera ett kanoniskt namn till en absolut OS-beroende sökväg" #: ../../../__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 "Konvertera ett namn till en href relativt base, som måste vara ett namn eller None. Om värdet är None används self.root som bas" #: ../../../__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 "Uppsättning med namn som aldrig får byta namn. Beror på e-bokformatet." #: ../../../__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 "Uppsättning med namn som aldrig får tas bort från behållaren. Beror på e-bokformat." #: ../../../__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 "Uppsättning av namn som får saknas i manifestet. Beror på e-bokformat." #: ../../../__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 "Öppna filen som name pekar på för direkt läsning och skrivning. Observera att ändringarna sparas om filen modifieras och att filen tas bort från tolkningscachen. Du måste vara klar med filen innan du åter öppnar den tolkade versionen, annars kan fel uppstå." #: ../../../__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 "Den analyserad OPF-filen" #: ../../../__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 "Hjälpmetod som returnerar det första XML-elementet med det angivna namnet. Om elementet inte finns skapas det under ``opf:package`` och returneras sedan." #: ../../../__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 "Den version som ställts in på OPF:s elementet" #: ../../../__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 "Den version som ställts in på OPF:s element som en tupel av heltal" #: ../../../__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 "Bekväm metod för att beräkna ett XPath-uttryck på OPF-filen har fördefinierade opf: och dc:namespace prefix." #: ../../../__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 "Returnera en analyserad representation av filen med det angivna namnet. För HTML- och XML-filer returneras ett lxml-träd, och för CSS-filer en formatmall från css_parser. Analyserade objekt cachelagras av prestandaskäl. Om du ändrar ett analyserat objekt måste du anropa :meth:`dirty` så att behållaren vet att cachen ska uppdateras. Se även :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 "Returnera rådata motsvarande filen som anges med namn" #: ../../../__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 "Om True och filen har en textbaserad MIME-typ, avkoda den och returnera ett unicode-objekt i stället för råa byte." #: ../../../__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 "Om True är det återgivna unicode-objektet normaliserat till NFC-normalformen som krävs för filformaten EPUB och 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 "Konvertera en absolut sökväg, med operativsystemets sökvägsavgränsare, till en sökväg relativ till base. Standardvärdet för base är self.root. Den relativa sökvägen är *inte* ett namn. Använd :meth:`abspath_to_name` för det." #: ../../../__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 "Ta bort de angivna posterna (av kanoniskt namn) från bokryggen. Om ``remove_if_no_longer_in_spine`` är True tas även posten bort från boken, inte bara från bokryggen." #: ../../../__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 "Tar bort posten från förälder, rättar till indrag (fungerar bara med självstängande poster)" #: ../../../__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 "Ta bort posten som identifieras med namn från den här behållaren. Detta tar bort alla referenser till posten i OPF-manifestet, guiden och ryggrraden samt från eventuella interna cacher." #: ../../../__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 "Byter namn på en fil från current_name till new_name. Den omställer automatiskt alla länkar inuti filen om den mapp filen är i ändras. Observera dock att länkar inte uppdateras i andra filer som kan referera till den här filen. Detta är för prestanda, sådana uppdateringar bör göras en gång, i grupp." #: ../../../__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 "Ersätt det analyserade objektet som motsvarar namnet med obj, som måste vara ett liknande objekt, dvs. ett lxml-träd för HTML/XML eller en css_parser-formatmall för en CSS-fil." #: ../../../__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 "Ersätt alla länkar i ``name`` med ``replace_func``. Funktionen måste vara ett anropbart objekt som tar emot en URL och returnerar den nya URL:en. Den måste även ha attributet ``replaced``, som sätts till True när en faktisk ersättning görs. Sådana objekt kan enkelt skapas med :class:`LinkReplacer` och :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 "Konvertera ett analyserat objekt, identifierat med sitt kanoniska namn, till en bytesträng. Se :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 "Anpassa bokryggen att vara spine_items där spine_items visas som en iterabel av formen (name, linear). Kommer ge ett felmeddelande om ett av namnen finns inte i manifestet." #: ../../../__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 "En iterator som ger sökväg för varje del i bokryggar. Se även: :attr:`spine_iter` och :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 "En iterator som för varje post i bokens rygg returnerar ``item, name, is_linear``. ``item`` är lxml-elementet, ``name`` det kanoniska filnamnet och ``is_linear`` är True om posten är linjär. Se även :attr:`spine_names` och :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 "En iterator som ger name och is_linear för varje post i bokens rygg. Se även: :attr:`spine_iter` och :attr:`spine_items`." #: ../../../__w/calibre/calibre/manual/polish.rst:36 msgid "Managing component files in a container" msgstr "Hantera komponentfiler i en behållare" #: ../../../__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 "Ersätt länkar till filer i behållaren. Kommer iterera över alla filer i behållaren och ändra de angivna länkar i dem." #: ../../../__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 "En kartläggning av kanoniska namn till nya kanoniska namn. Till exempel: :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 "Ett anropbart objekt som tar argumenten ``(name, anchor)`` och returnerar ett nytt ankare. Det är användbart när ankare i HTML-filer behöver ändras. Som standard gör objektet ingenting." #: ../../../__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 "Om False, ersätts inte länkar i OPF-filen." #: ../../../__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 "Byt namn på filer i behållaren, uppdaterar automatiskt alla länkar till dem." #: ../../../__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 "En kartläggning av gammalt kanoniskt namn till nytt kanoniskt namn, till exempel: :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 "Returnera mapparna som rekommenderas för de givna filnamnen. Rekommendationen är baserad på var majoriteten av filer av samma typ finns i behållaren. Om inga filer av en viss typ är närvarande, antas den rekommenderade mappen vara den mapp som innehåller OPF-filen." #: ../../../__w/calibre/calibre/manual/polish.rst:47 msgid "Pretty printing and auto fixing parse errors" msgstr "Fin utskrift och automatisk reparation av tolkningsfel" #: ../../../__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 "Åtgärda eventuella tolkningsfel i HTML representeras som en råsträng. Åtgärd görs med HTML5 tolkningsalgoritmen." #: ../../../__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 "Åtgärda eventuella tolkningsfel i alla HTML-filer i containern. Åtgärd görs med HTML5 tolkningsalgoritmen." #: ../../../__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 "Fin utskrift HTML representeras som en råsträng" #: ../../../__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 "Fin utskrift CSS representerad som en råsträng" #: ../../../__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 "Fin utskrift XML representeras som en råsträng. Om ``name`` är namnet på OPF, är extra OPF-specifik försköning utförs." #: ../../../__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 "Fin utskrift för alla HTML/CSS/XML-filer i behållaren" #: ../../../__w/calibre/calibre/manual/polish.rst:65 msgid "Managing book jackets" msgstr "Hantera bokomslag" #: ../../../__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 "Ta bort ett befintligt omslagsblad. Returnerar False om inget omslagsblad hittades." #: ../../../__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 "Skapa ett nytt omslagsblad från bokens metadata eller ersätt ett befintligt. Returnerar True om ett befintligt omslagsblad ersattes." #: ../../../__w/calibre/calibre/manual/polish.rst:74 msgid "Splitting and merging of files" msgstr "Delning och sammanslagning av filer" #: ../../../__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 "Dela upp filen som anges med namn vid den position som anges av loc_or_xpath. Uppdelning migrerar automatiskt alla länkar och referenser till de berörda filerna." #: ../../../__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 "Bör vara ett XPath-uttryck som //h:div[@id=\"split_here\"]. Kan också vara en *loc* som används internt för att genomföra uppdelningen i förhandsgranskningspanelen." #: ../../../__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 "Om True sker uppdelningen innan det identifierade elementet annars efter det." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring #: of calibre.ebooks.oeb.polish.split.split:9 msgid "Used internally" msgstr "Används internt" #: ../../../__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 "Dela den angivna filen på flera platser (alla taggar som matchar det angivna XPath-uttrycket). Se också: :func:`split`. Delning migrerar automatiskt alla länkar och referenser till de berörda filerna." #: ../../../__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 "Om True sker uppdelningar innan det identifierade elementet annars efter det." #: ../../../__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 "Slå samman de angivna filerna till en enda fil, migrera alla länkar och referenser till de berörda filerna automatiskt. Alla filer måste vara antingen HTML- eller CSS-filer." #: ../../../__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 "Måste vara antingen ``'text'`` för HTML-filer eller ``'styles'`` för CSS-filer" #: ../../../__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 "Listan med filer som ska slås samman" #: ../../../__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 "Vilken av de sammanslagna filer är *huvud*-fil, som är den fil som kommer att finnas kvar efter sammanslagning." #: ../../../__w/calibre/calibre/manual/polish.rst:85 msgid "Managing covers" msgstr "Hanterar omslag" #: ../../../__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 "Ställ in omslaget på boken till den bild som hänvisas till av 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 "Antingen den absoluta sökvägen till en bildfil eller kanoniska namn på en bild i boken. När du använder en bild i boken måste du också ställa in alternativ, se nedan." #: ../../../__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 "En valfri anropningsbar som tar ett enda argument. Den kommer att anropas med information om de uppgifter som behandlas." #: ../../../__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 eller en ordbok som styr hur omslaget anges. Ordboken kan innehålla följande poster: **keep_aspect**: True eller False (bevara omslagets proportioner i EPUB), **no_svg**: True eller False (använd en SVG-omslutning för omslaget på EPUB-titelsidan), **existing**: True eller False (``cover_path`` hänvisar till en befintlig bild i boken)." #: ../../../__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 "Markera den angivna bilden som omslagsbild." #: ../../../__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 "Markera den angivna HTML-filen som titelsidan för EPUB:en." #: ../../../__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 "Om True kommer HTML-filen flyttas till början av bokryggen" #: ../../../__w/calibre/calibre/manual/polish.rst:96 msgid "Working with CSS" msgstr "Att arbeta med 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 "Ändra en teckensnittsfamilj från old_name till new_name. Alla förekomster av teckensnittsfamiljen ändras i formatmallar, style-taggar och style-attribut. Om old_name hänvisar till ett inbäddat teckensnitt tas det bort. Du kan ange None för new_name om du vill ta bort teckensnittsfamiljen i stället för att ändra den." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring #: of calibre.ebooks.oeb.polish.css.remove_unused_css:1 msgid "" "Remove all unused CSS rules from the book. An unused CSS rule is one that " "does not match any actual content." msgstr "Ta bort alla oanvända CSS-regler från boken. En oanvänd CSS-regel är en som inte matchar något faktiskt innehåll." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring #: of calibre.ebooks.oeb.polish.css.remove_unused_css:3 msgid "" "An optional callable that takes a single argument. It is called with " "information about the operations being performed." msgstr "En valfri anropningsbar som tar ett enda argument. Den anropas med information om de operationer som utförs." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring #: of calibre.ebooks.oeb.polish.css.remove_unused_css:4 msgid "" "If True, class attributes in the HTML that do not match any CSS rules are " "also removed." msgstr "Om True tas klassattribut i HTML som inte matchar några CSS-regler också bort." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring #: of calibre.ebooks.oeb.polish.css.remove_unused_css:5 msgid "If True, rules with identical selectors are merged." msgstr "Om True, slå samman regler med identiska väljare." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring #: of calibre.ebooks.oeb.polish.css.remove_unused_css:6 msgid "If True, rules with identical properties are merged." msgstr "Om True, slå samman regler med identiska egenskaper." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring #: of calibre.ebooks.oeb.polish.css.remove_unused_css:7 msgid "" "If True, stylesheets that are not referenced by any content are removed" msgstr "Om True, tas formatmallar som inte refereras av något innehåll bort" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring #: of calibre.ebooks.oeb.polish.css.filter_css:1 msgid "Remove the specified CSS properties from all CSS rules in the book." msgstr "Ta bort de angivna CSS-egenskaperna från alla CSS-regler i boken." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring #: of calibre.ebooks.oeb.polish.css.filter_css:3 msgid "" "Set of properties to remove. For example: :code:`{'font-family', 'color'}`." msgstr "Uppsättning av egenskaper för att ta bort. Till exempel: :code:`{'font-family', 'color'}`." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring #: of calibre.ebooks.oeb.polish.css.filter_css:4 msgid "" "The files from which to remove the properties. Defaults to all HTML and CSS " "files in the book." msgstr "Filerna från vilka egenskaper ska tas bort. Standardvärden för alla HTML- och CSS-filer i boken." #: ../../../__w/calibre/calibre/manual/polish.rst:108 msgid "Working with the Table of Contents" msgstr "Arbeta med innehållsförteckning" #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring #: of calibre.ebooks.oeb.polish.toc.from_xpaths:1 msgid "" "Generate a Table of Contents from a list of XPath expressions. Each " "expression in the list corresponds to a level of the generate ToC. For " "example: :code:`['//h:h1', '//h:h2', '//h:h3']` will generate a three level " "Table of Contents from the ``

``, ``

`` and ``

`` tags." msgstr "Skapa en innehållsförteckning från en lista med XPath-uttryck. Varje uttryck i listan motsvarar en nivå av den skapade innehållsförteckningen. Till exempel: :code:`['//h:h1', '//h:h2', '//h:h3']` kommer att skapa en trenivåers innehållsförteckning från ``

``, ``

`` och ``

`` taggar." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring #: of calibre.ebooks.oeb.polish.toc.from_links:1 msgid "Generate a Table of Contents from links in the book." msgstr "Skapa innehållsförteckning från länkar i boken." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring #: of calibre.ebooks.oeb.polish.toc.from_files:1 msgid "Generate a Table of Contents from files in the book." msgstr "Skapa innehållsförteckning från filer i boken." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring #: of calibre.ebooks.oeb.polish.toc.create_inline_toc:1 msgid "" "Create an inline (HTML) Table of Contents from an existing NCX Table of " "Contents." msgstr "Skapa en inbäddad innehållsförteckning (HTML) från en befintlig NCX-innehållsförteckning." #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring #: of calibre.ebooks.oeb.polish.toc.create_inline_toc:3 msgid "The title for this table of contents." msgstr "Titel för denna innehållsförteckning." #: ../../../__w/calibre/calibre/manual/polish.rst:122 msgid "Edit book tool" msgstr "Bokredigeringsverktyg" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool:1 msgid "" "The base class for individual tools in an Edit Book plugin. Useful members " "include:" msgstr "Basklass för enskilda verktyg i ett bokredigering insticksmodul. Användbara medlemmar är:" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool:3 msgid "" "``self.plugin``: A reference to the :class:`calibre.customize.Plugin` object" " to which this tool belongs." msgstr "``self.plugin``: En referens till det :class:`calibre.customize.Plugin`-objekt som verktyget tillhör." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool:4 msgid "self. :attr:`boss`" msgstr "self. :attr:`boss`" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool:5 msgid "self. :attr:`gui`" msgstr "self. :attr:`gui`" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool:7 msgid "Methods that must be overridden in sub classes:" msgstr "Metoder som måste åsidosättas i underklasser:" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool:9 msgid ":meth:`create_action`" msgstr ":meth:`create_action`" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool:10 msgid ":meth:`register_shortcut`" msgstr ":meth:`register_shortcut`" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.name:1 msgid "Set this to a unique name it will be used as a key" msgstr "Ändra detta till ett unikt namn det kommer att användas som en nyckel" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_toolbar:1 msgid "If True the user can choose to place this tool in the plugins toolbar" msgstr "Om True användaren kan välja att placera detta verktyg i insticksmodul verktygsfältet" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_menu:1 msgid "If True the user can choose to place this tool in the plugins menu" msgstr "Om True användaren kan välja att placera detta verktyg i insticksmodul menyn" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.toolbar_button_popup_mode:1 msgid "" "The popup mode for the menu (if any) of the toolbar button. Possible values " "are 'delayed', 'instant', 'button'" msgstr "Rullgardinsläget för menyn (om någon) på knappen i verktygsfältet. Möjliga värden är \"fördröjt\", \"snabb\", \"knappen\"" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.boss:1 msgid "" "The :class:`calibre.gui2.tweak_book.boss.Boss` object. Used to control the " "user interface." msgstr ":class:`calibre.gui2.tweak_book.boss.Boss` objektet. Används för att anpassa användargränssnittet." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.gui:1 msgid "The main window of the user interface" msgstr "Huvudfönstret i användargränssnittet" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.current_container:1 msgid "" "Return the current :class:`calibre.ebooks.oeb.polish.container.Container` " "object that represents the book being edited." msgstr "Returnera det aktuella objektet :class:`calibre.ebooks.oeb.polish.container.Container` som representerar boken som redigeras." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:1 msgid "" "Register a keyboard shortcut that will trigger the specified ``qaction``. " "This keyboard shortcut will become automatically customizable by the user in" " the Keyboard shortcuts section of the editor preferences." msgstr "Registrera ett kortkommando som utlöser angiven ``qaction``. Användaren kan automatiskt anpassa kortkommandot under Kortkommandon i redigerarens inställningar." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:4 msgid "" "A QAction object, it will be triggered when the configured key combination " "is pressed by the user." msgstr "Ett QAction-objekt kommer att utlösas när den anpassade tangentkombinationen trycks av användaren." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:6 msgid "" "A unique name for this shortcut/action. It will be used internally, it must " "not be shared by any other actions in this plugin." msgstr "Ett unikt namn för kortkommandot eller åtgärden. Namnet används internt och får inte delas med någon annan åtgärd i insticksmodulen." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:9 msgid "" "A list of the default keyboard shortcuts. If not specified no default " "shortcuts will be set. If the shortcuts specified here conflict with either " "builtin shortcuts or shortcuts from user configuration/other plugins, they " "will be ignored. In that case, users will have to configure the shortcuts " "manually via Preferences. For example: ``default_keys=('Ctrl+J', 'F9')``." msgstr "En lista över standardkortkommandon. Om listan utelämnas anges inga standardkommandon. Kortkommandon som krockar med inbyggda kommandon eller kommandon från användarinställningar eller andra insticksmoduler ignoreras. Användaren måste då konfigurera dem manuellt i Inställningar. Exempel: ``default_keys=('Ctrl+J', 'F9')``." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:15 msgid "" "An optional short description of this action. If not specified the text from" " the QAction will be used." msgstr "En valfri kort beskrivning av denna åtgärd. Om inte angivet kommer texten från QAction att användas." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:17 msgid "" "An optional longer description of this action, it will be used in the " "preferences entry for this shortcut." msgstr "En valfri längre beskrivning av åtgärden. Den används i inställningsposten för kortkommandot." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.create_action:1 msgid "" "Create a QAction that will be added to either the plugins toolbar or the " "plugins menu depending on ``for_toolbar``. For example::" msgstr "Skapa en QAction som kommer att läggas till antingen i insticksmodulsverktygsfältet eller insticksmodulsmenyn beroende på ``for_toolbar``. Till exempel::" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring #: of calibre.gui2.tweak_book.plugin.Tool.create_action:19 msgid "Method :meth:`register_shortcut`." msgstr "Metod :meth:`register_shortcut`." #: ../../../__w/calibre/calibre/manual/polish.rst:131 msgid "Controlling the editor's user interface" msgstr "Anpassa redigerarens användargränssnitt" #: ../../../__w/calibre/calibre/manual/polish.rst:133 msgid "" "The e-book editor's user interface is controlled by a single global *Boss* " "object. This has many useful methods that can be used in plugin code to " "perform common tasks." msgstr "E-bokredigerarens användargränssnitt styrs av ett enda globalt *Boss*-objekt. Objektet har många användbara metoder som kan användas i insticksmodulskod för att utföra vanliga uppgifter." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.add_savepoint:1 msgid "Create a restore checkpoint with the name specified as ``msg``" msgstr "Skapa en återställningskontrollpunkt med det namn som anges som ``msg``" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:1 msgid "" "Update all the components of the user interface to reflect the latest data " "in the current book container." msgstr "Uppdatera alla komponenter i användargränssnittet för att återspegla de senaste data i den aktuella bokbehållaren." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:3 msgid "" "If True, the book will be marked as modified, so the user will be prompted " "to save it when quitting." msgstr "Om True kommer boken att markeras som ändrad, så användaren kommer att uppmanas att spara den vid avslutning." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.close_editor:1 msgid "Close the editor that is editing the file specified by ``name``" msgstr "Stäng redigeraren som redigerar filen som anges av ``name``" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.commit_all_editors_to_container:1 msgid "" "Commit any changes that the user has made to files open in editors to the " "container. You should call this method before performing any actions on the " "current container" msgstr "Utför eventuella ändringar som användaren har gjort i filer öppnas i redigeraren till behållaren. Du bör anropa den här metoden innan du utför några åtgärder på den aktuella behållaren" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.currently_editing:1 msgid "" "Return the name of the file being edited currently or None if no file is " "being edited" msgstr "Returnera namnet på filen som för närvarande redigeras eller None om ingen fil redigeras" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.edit_file:1 msgid "Open the file specified by name in an editor" msgstr "Öppna filen som namnges i en redigerare" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.edit_file:3 msgid "" "The media type of the file, for example, ``'text/html'``. If not specified " "it is guessed from the file extension." msgstr "Mediatypen för filen, till exempel, ``'text/html'``. Om inget angetts uppskattas den från filändelsen." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.edit_file:4 msgid "A template to initialize the opened editor with" msgstr "En mall för att initiera den öppnade redigeraren med" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.open_book:1 msgid "" "Open the e-book at ``path`` for editing. Will show an error if the e-book is" " not in a supported format or the current book has unsaved changes." msgstr "Öppna e-bok på ``path`` för redigering. Kommer att visa ett fel om e-boken inte är i ett format som stöds eller den aktuella boken har osparade ändringar." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.open_book:3 msgid "" "The name of a file inside the newly opened book to start editing. Can also " "be a list of names." msgstr "Namnet på en fil inne i den nyöppnade boken för att börja redigera. Kan också vara en lista med namn." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.rewind_savepoint:1 msgid "" "Undo the previous creation of a restore checkpoint, useful if you create a " "checkpoint, then abort the operation with no changes" msgstr "Ångra föregående skapande en återställningskontrollpunkt, användbart om du skapar en kontrollpunkt, sedan avbryta med inga ändringar" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.save_book:1 msgid "Save the book. Saving is performed in the background" msgstr "Spara boken. Sparning utförs i bakgrunden" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.set_modified:1 msgid "Mark the book as having been modified" msgstr "Markera boken som har modifierats" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:1 msgid "Show the changes to the book from its last checkpointed state" msgstr "Visa ändringarna i boken från dess senaste kontrollpunktstillstånd" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:3 msgid "" "If True the diff dialog will have a button to allow the user to revert all " "changes" msgstr "Om True kommer skillnadsdialogrutan att ha en knapp som låter användaren återställa alla ändringar" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:4 msgid "" "A container object to compare the current container to. If None, the " "previously checkpointed container is used" msgstr "Ett behållarobjekt som den aktuella behållaren ska jämföras med. Om värdet är None används behållaren från den senaste kontrollpunkten." #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.show_editor:1 msgid "Show the editor that is editing the file specified by ``name``" msgstr "Visa redigeraren som redigerar filen som anges med ``name``" #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring #: of calibre.gui2.tweak_book.boss.Boss.sync_preview_to_editor:1 msgid "" "Sync the position of the preview panel to the current cursor position in the" " current editor" msgstr "Synkronisera position av förhandsgranskningspanelen till den aktuella markörpositionen i den aktuella redigeraren"