Debian Codegraph @

translations/manual/sv/polish.po

raw
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) Kovid Goyal
3 # This file is distributed under the same license as the calibre package.
4 #
5 # Translators:
6 # Jonatan Nyberg, 2025-2026
7 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017,2020
8 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2020
9 # Jonatan Nyberg, 2026
10 # Jonatan Nyberg, 2016-2017,2021-2024,2026
11 # Jonatan Nyberg, 2019-2021
12 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017
13 # Jonatan Nyberg, 2026
14 # Merarom <[email protected]>, 2014-2016
15 msgid ""
16 msgstr ""
17 "Project-Id-Version: calibre\n"
18 "Report-Msgid-Bugs-To: \n"
19 "POT-Creation-Date: 2026-09-16 15:05+0000\n"
20 "PO-Revision-Date: 2014-07-05 16:50+0000\n"
21 "Last-Translator: Jonatan Nyberg, 2026\n"
22 "Language-Team: Swedish (http://app.transifex.com/calibre/calibre/language/sv/)\n"
23 "MIME-Version: 1.0\n"
24 "Content-Type: text/plain; charset=UTF-8\n"
25 "Content-Transfer-Encoding: 8bit\n"
26 "Language: sv\n"
27 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
28
29 #: ../../../__w/calibre/calibre/manual/polish.rst:4
30 msgid "API documentation for the e-book editing tools"
31 msgstr "API-dokumentation för e-bokredigeringsverktygen"
32
33 #: ../../../__w/calibre/calibre/manual/polish.rst:6
34 msgid ""
35 "The e-book editing tools consist of a "
36 ":class:`calibre.ebooks.oeb.polish.container.Container` object that "
37 "represents a book as a collection of HTML + resource files, and various "
38 "tools that can be used to perform operations on the container. All the tools"
39 " are in the form of module level functions in the various "
40 "``calibre.ebooks.oeb.polish.*`` modules."
41 msgstr "E-bokredigeringsverktygen består av ett :class:`calibre.ebooks.oeb.polish.container.Container`-objekt som representerar en bok som en samling HTML- och resursfiler, samt olika verktyg för att utföra åtgärder på behållaren. Alla verktyg är funktioner på modulnivå i de olika modulerna ``calibre.ebooks.oeb.polish.*``."
42
43 #: ../../../__w/calibre/calibre/manual/polish.rst:15
44 msgid "You obtain a container object for a book at a path like this::"
45 msgstr "Du erhåller ett behållarobjekt för en bok på en sökväg så här::"
46
47 #: ../../../__w/calibre/calibre/manual/polish.rst:20
48 msgid ""
49 "If you are writing a plugin for the E-book editor, you get the current "
50 "container for the book being edited like this::"
51 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::"
52
53 #: ../../../__w/calibre/calibre/manual/polish.rst:30
54 msgid "The Container object"
55 msgstr "Behållarobjektet"
56
57 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
58 #: of calibre.ebooks.oeb.polish.container.Container:1
59 msgid ""
60 "A container represents an open e-book as a folder full of files and an OPF "
61 "file. There are two important concepts:"
62 msgstr "En behållare representerar en öppen e-bok som en mapp full av filer och en OPF-fil. Det finns två viktiga begrepp:"
63
64 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
65 #: of calibre.ebooks.oeb.polish.container.Container:4
66 msgid ""
67 "The root folder. This is the base of the e-book. All the e-books files are "
68 "inside this folder or in its sub-folders."
69 msgstr "Rotmappen. Detta är e-bokens basmapp. Alla filer som ingår i e-boken finns i denna mapp eller dess undermappar."
70
71 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
72 #: of calibre.ebooks.oeb.polish.container.Container:7
73 msgid ""
74 "Names: These are paths to the books' files relative to the root folder. They"
75 " always contain POSIX separators and are unquoted. They can be thought of as"
76 " canonical identifiers for files in the book. Most methods on the container "
77 "object work with names. Names are always in the NFC Unicode normal form."
78 msgstr "Namn: Dessa är sökvägar till bokens filer relativt rotmappen. De innehåller alltid POSIX-avskiljare och är inte URL-kodade. De kan ses som kanoniska identifierare för filer i boken. De flesta metoder på behållarobjektet arbetar med namn. Namn är alltid i Unicode-normalformen NFC."
79
80 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
81 #: of calibre.ebooks.oeb.polish.container.Container:13
82 msgid ""
83 "Clones: the container object supports efficient on-disk cloning, which is "
84 "used to implement checkpoints in the e-book editor. In order to make this "
85 "work, you should never access files on the filesystem directly. Instead, use"
86 " :meth:`raw_data` or :meth:`open` to read/write to component files in the "
87 "book."
88 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."
89
90 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
91 #: of calibre.ebooks.oeb.polish.container.Container:18
92 msgid ""
93 "When converting between hrefs and names use the methods provided by this "
94 "class, they assume all hrefs are quoted."
95 msgstr "Använd klassens metoder när du konverterar mellan href-värden och namn. Metoderna förutsätter att alla href-värden är URL-kodade."
96
97 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
98 #: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:1
99 msgid "Convert an absolute path to a canonical name relative to :attr:`root`"
100 msgstr "Konvertera en absolut sökväg till ett kanoniskt namn i förhållande till :attr:`root`"
101
102 #: ../../../__w/calibre/calibre/manual/polish.rst:0
103 msgid "Parameters"
104 msgstr "Parametrar"
105
106 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
107 #: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:3
108 msgid ""
109 "The base folder. By default the root for this container object is used."
110 msgstr "Grundmappen. Som standard används roten till detta behållarobjekt."
111
112 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
113 #: of calibre.ebooks.oeb.polish.container.Container.add_file:1
114 msgid ""
115 "Add a file to this container. Entries for the file are automatically created"
116 " in the OPF manifest and spine (if the file is a text document)"
117 msgstr "Lägg till en fil i denna behållare. Poster för filen skapas automatiskt i OPF-manifestet och läsordningen (spine) (om filen är ett textdokument)"
118
119 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
120 #: of calibre.ebooks.oeb.polish.container.Container.add_name_to_manifest:1
121 msgid ""
122 "Add an entry to the manifest for a file with the specified name. Returns the"
123 " manifest id."
124 msgstr "Lägg till en post i manifestet för en fil med angivna namnet. Returnerar manifest-id."
125
126 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
127 #: of calibre.ebooks.oeb.polish.container.Container.add_properties:1
128 msgid "Add the specified properties to the manifest item identified by name."
129 msgstr "Lägg till de angivna egenskaperna i manifestposten som identifieras med namnet."
130
131 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
132 #: of calibre.ebooks.oeb.polish.container.Container.apply_unique_properties:1
133 msgid ""
134 "Ensure that the specified properties are set on only the manifest item "
135 "identified by name. You can pass None as the name to remove the property "
136 "from all items."
137 msgstr "Se till att de angivna egenskaperna endast är inställda för den manifestpost som identifieras med namnet. Du kan ange None som namn för att ta bort egenskapen från alla poster."
138
139 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
140 #: of calibre.ebooks.oeb.polish.container.Container.book_type:1
141 msgid "The type of book (epub for EPUB files and azw3 for AZW3 files)"
142 msgstr "Typen av bok (epub för EPUB-filer och azw3 för AZW3-filer)"
143
144 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
145 #: of calibre.ebooks.oeb.polish.container.Container.commit:1
146 msgid ""
147 "Commit all dirtied parsed objects to the filesystem and write out the e-book"
148 " file at outpath."
149 msgstr "Spara alla ändrade analyserade objekt i filsystemet och skriv e-boksfilen till outpath."
150
151 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
152 #: of calibre.ebooks.oeb.polish.container.Container.commit:3
153 msgid ""
154 "The path to write the saved e-book file to. If None, the path of the "
155 "original book file is used."
156 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."
157
158 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
159 #: of calibre.ebooks.oeb.polish.container.Container.commit:4
160 msgid ""
161 "If True the parsed representations of committed items are kept in the cache."
162 msgstr "Om True behålls de analyserade representationerna av de sparade posterna i cachen."
163
164 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
165 #: of calibre.ebooks.oeb.polish.container.Container.commit_item:1
166 msgid ""
167 "Commit a parsed object to disk (it is serialized and written to the "
168 "underlying file). If ``keep_parsed`` is True the parsed representation is "
169 "retained in the cache. See also: :meth:`parsed`"
170 msgstr "Spara ett analyserat objekt på disk (det serialiseras och skrivs till den underliggande filen). Om ``keep_parsed`` är True behålls den analyserade representationen i cachen. Se även: :meth:`parsed`"
171
172 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
173 #: of calibre.ebooks.oeb.polish.container.Container.dirty:1
174 msgid ""
175 "Mark the parsed object corresponding to name as dirty. See also: "
176 ":meth:`parsed`."
177 msgstr "Markera det analyserade objektet som motsvarar namnet som ändrat. Se även: :meth:`parsed`."
178
179 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
180 #: of calibre.ebooks.oeb.polish.container.Container.exists:1
181 msgid ""
182 "True iff a file/folder corresponding to the canonical name exists. Note that"
183 " this function suffers from the limitations of the underlying OS filesystem,"
184 " in particular case (in)sensitivity. So on a case insensitive filesystem "
185 "this will return True even if the case of name is different from the case of"
186 " the underlying filesystem file. See also :meth:`has_name`"
187 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`."
188
189 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
190 #: of calibre.ebooks.oeb.polish.container.Container.filesize:1
191 msgid ""
192 "Return the size in bytes of the file represented by the specified canonical "
193 "name. Automatically handles dirtied parsed objects. See also: :meth:`parsed`"
194 msgstr "Returnera filstorleken i byte för filen med det angivna kanoniska namnet. Ändrade analyserade objekt hanteras automatiskt. Se även :meth:`parsed`."
195
196 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
197 #: of calibre.ebooks.oeb.polish.container.Container.generate_item:1
198 msgid ""
199 "Add an item to the manifest with href derived from the given name. Ensures "
200 "uniqueness of href and id automatically. Returns generated item."
201 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."
202
203 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
204 #: of
205 #: calibre.ebooks.oeb.polish.container.Container.get_file_path_for_processing:1
206 msgid ""
207 "Similar to open() except that it returns a file path, instead of an open "
208 "file object."
209 msgstr "Liknar open() förutom att den returnerar en sökväg, i stället för ett öppet filobjekt."
210
211 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
212 #: of calibre.ebooks.oeb.polish.container.Container.guide_type_map:1
213 msgid "Mapping of guide type to canonical name"
214 msgstr "Mappning från guidetyp till kanoniskt namn"
215
216 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
217 #: of calibre.ebooks.oeb.polish.container.Container.has_name:1
218 msgid ""
219 "Return True iff a file with the same canonical name as that specified "
220 "exists. Unlike :meth:`exists` this method is always case-sensitive."
221 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."
222
223 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
224 #: of calibre.ebooks.oeb.polish.container.Container.href_to_name:1
225 msgid ""
226 "Convert an href (relative to base) to a name. base must be a name or None, "
227 "in which case self.root is used."
228 msgstr "Konvertera ett href-värde (relativt base) till ett namn. base måste vara ett namn eller None. Om värdet är None används self.root."
229
230 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
231 #: of calibre.ebooks.oeb.polish.container.Container.insert_into_xml:1
232 msgid ""
233 "Insert item into parent (or append if index is None), fixing indentation. "
234 "Only works with self closing items."
235 msgstr "Infoga posten i det överordnade elementet (eller lägg till den sist om index är None) och justera indraget. Fungerar endast med självstängande element."
236
237 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
238 #: of calibre.ebooks.oeb.polish.container.Container.is_dir:1
239 msgid "If this container represents an unzipped book (a directory)"
240 msgstr "Om denna behållare representerar en uppackad bok (en katalog)"
241
242 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
243 #: of calibre.ebooks.oeb.polish.container.Container.iterlinks:1
244 msgid ""
245 "Iterate over all links in name. If get_line_numbers is True the yields "
246 "results of the form (link, line_number, offset). Where line_number is the "
247 "line_number at which the link occurs and offset is the number of characters "
248 "from the start of the line. Note that offset could actually encompass "
249 "several lines if not zero."
250 msgstr "Iterera över alla länkar i name. Om get_line_numbers är True returneras resultat på formen (link, line_number, offset), där line_number är radnumret där länken finns och offset är antalet tecken från radens början. Observera att offset kan sträcka sig över flera rader om värdet inte är noll."
251
252 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
253 #: of calibre.ebooks.oeb.polish.container.Container.make_name_unique:1
254 msgid ""
255 "Ensure that `name` does not already exist in this book. If it does, return a"
256 " modified version that does not exist."
257 msgstr "Se till att `name` inte redan finns i denna bok. Om den gör det, returnera en ändrad version som inte finns."
258
259 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
260 #: of calibre.ebooks.oeb.polish.container.Container.manifest_has_name:1
261 msgid "Return True if the manifest has an entry corresponding to name"
262 msgstr "Returnera True om manifestet har en post som motsvarar namnet"
263
264 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
265 #: of calibre.ebooks.oeb.polish.container.Container.manifest_id_map:1
266 msgid "Mapping of manifest id to canonical names"
267 msgstr "Mappning från manifest-id till kanoniska namn"
268
269 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
270 #: of calibre.ebooks.oeb.polish.container.Container.manifest_items_of_type:1
271 msgid ""
272 "The names of all manifest items whose media-type matches predicate. "
273 "`predicate` can be a set, a list, a string or a function taking a single "
274 "argument, which will be called with the media-type."
275 msgstr "Namnen på alla manifestposter vars medietyp matchar predikatet. `predicate` kan vara en mängd, en lista, en sträng eller en funktion som tar ett enda argument och anropas med medietypen."
276
277 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
278 #: of
279 #: calibre.ebooks.oeb.polish.container.Container.manifest_items_with_property:1
280 msgid "All manifest items that have the specified property"
281 msgstr "Alla manifestposter som har den angivna egenskapen"
282
283 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
284 #: of calibre.ebooks.oeb.polish.container.Container.manifest_type_map:1
285 msgid ""
286 "Mapping of manifest media-type to list of canonical names of that media-type"
287 msgstr "Mappning från medietyp i manifestet till en lista med kanoniska namn för den medietypen"
288
289 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
290 #: of calibre.ebooks.oeb.polish.container.Container.mi:1
291 msgid ""
292 "The metadata of this book as a Metadata object. Note that this object is "
293 "constructed on the fly every time this property is requested, so use it "
294 "sparingly."
295 msgstr "Bokens metadata som ett Metadata-objekt. Observera att objektet skapas på nytt varje gång egenskapen hämtas, så använd den sparsamt."
296
297 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
298 #: of calibre.ebooks.oeb.polish.container.Container.name_to_abspath:1
299 msgid "Convert a canonical name to an absolute OS dependent path"
300 msgstr "Konvertera ett kanoniskt namn till en absolut OS-beroende sökväg"
301
302 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
303 #: of calibre.ebooks.oeb.polish.container.Container.name_to_href:1
304 msgid ""
305 "Convert a name to a href relative to base, which must be a name or None in "
306 "which case self.root is used as the base"
307 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"
308
309 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
310 #: of
311 #: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_changed:1
312 msgid ""
313 "Set of names that must never be renamed. Depends on the e-book file format."
314 msgstr "Uppsättning med namn som aldrig får byta namn. Beror på e-bokformatet."
315
316 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
317 #: of
318 #: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_removed:1
319 msgid ""
320 "Set of names that must never be deleted from the container. Depends on the "
321 "e-book file format."
322 msgstr "Uppsättning med namn som aldrig får tas bort från behållaren. Beror på e-bokformat."
323
324 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
325 #: of
326 #: calibre.ebooks.oeb.polish.container.Container.names_that_need_not_be_manifested:1
327 msgid ""
328 "Set of names that are allowed to be missing from the manifest. Depends on "
329 "the e-book file format."
330 msgstr "Uppsättning av namn som får saknas i manifestet. Beror på e-bokformat."
331
332 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
333 #: of calibre.ebooks.oeb.polish.container.Container.open:1
334 msgid ""
335 "Open the file pointed to by name for direct read/write. Note that this will "
336 "commit the file if it is dirtied and remove it from the parse cache. You "
337 "must finish with this file before accessing the parsed version of it again, "
338 "or bad things will happen."
339 msgstr "Öppna filen som name pekar på för direkt läsning och skrivning. Om filen har markerats som ändrad sparas först ändringarna, och filen tas bort från tolkningscachen. Du måste vara klar med filen innan du åter använder den analyserade versionen, annars kan fel uppstå."
340
341 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
342 #: of calibre.ebooks.oeb.polish.container.Container.opf:1
343 msgid "The parsed OPF file"
344 msgstr "Den analyserade OPF-filen"
345
346 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
347 #: of calibre.ebooks.oeb.polish.container.Container.opf_get_or_create:1
348 msgid ""
349 "Convenience method to either return the first XML element with the specified"
350 " name or create it under the opf:package element and then return it, if it "
351 "does not already exist."
352 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."
353
354 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
355 #: of calibre.ebooks.oeb.polish.container.Container.opf_version:1
356 msgid "The version set on the OPF's <package> element"
357 msgstr "Versionen som anges i OPF-filens <package>-element"
358
359 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
360 #: of calibre.ebooks.oeb.polish.container.Container.opf_version_parsed:1
361 msgid "The version set on the OPF's <package> element as a tuple of integers"
362 msgstr "Versionen som anges i OPF-filens <package>-element, som en tupel av heltal"
363
364 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
365 #: of calibre.ebooks.oeb.polish.container.Container.opf_xpath:1
366 msgid ""
367 "Convenience method to evaluate an XPath expression on the OPF file, has the "
368 "opf: and dc: namespace prefixes pre-defined."
369 msgstr "Hjälpmetod för att utvärdera ett XPath-uttryck i OPF-filen, med fördefinierade namnrymdsprefix opf: och dc:."
370
371 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
372 #: of calibre.ebooks.oeb.polish.container.Container.parsed:1
373 msgid ""
374 "Return a parsed representation of the file specified by name. For HTML and "
375 "XML files an lxml tree is returned. For CSS files a css_parser stylesheet is"
376 " returned. Note that parsed objects are cached for performance. If you make "
377 "any changes to the parsed object, you must call :meth:`dirty` so that the "
378 "container knows to update the cache. See also :meth:`replace`."
379 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`."
380
381 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
382 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:1
383 msgid "Return the raw data corresponding to the file specified by name"
384 msgstr "Returnera rådata motsvarande filen som anges med namn"
385
386 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
387 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:3
388 msgid ""
389 "If True and the file has a text based MIME type, decode it and return a "
390 "unicode object instead of raw bytes."
391 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."
392
393 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
394 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:4
395 msgid ""
396 "If True the returned unicode object is normalized to the NFC normal form as "
397 "is required for the EPUB and AZW3 file formats."
398 msgstr "Om True är det återgivna unicode-objektet normaliserat till NFC-normalformen som krävs för filformaten EPUB och AZW3."
399
400 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
401 #: of calibre.ebooks.oeb.polish.container.Container.relpath:1
402 msgid ""
403 "Convert an absolute path (with OS separators) to a path relative to base "
404 "(defaults to self.root). The relative path is *not* a name. Use "
405 ":meth:`abspath_to_name` for that."
406 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."
407
408 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
409 #: of calibre.ebooks.oeb.polish.container.Container.remove_from_spine:1
410 msgid ""
411 "Remove the specified items (by canonical name) from the spine. If "
412 "``remove_if_no_longer_in_spine`` is True, the items are also deleted from "
413 "the book, not just from the spine."
414 msgstr "Ta bort de angivna posterna (identifierade med kanoniska namn) från läsordningen. Om ``remove_if_no_longer_in_spine`` är True tas posterna även bort från boken, inte bara från läsordningen."
415
416 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
417 #: of calibre.ebooks.oeb.polish.container.Container.remove_from_xml:1
418 msgid ""
419 "Removes item from parent, fixing indentation (works only with self closing "
420 "items)"
421 msgstr "Tar bort posten från det överordnade elementet och justerar indraget (fungerar endast med självstängande element)"
422
423 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
424 #: of calibre.ebooks.oeb.polish.container.Container.remove_item:1
425 msgid ""
426 "Remove the item identified by name from this container. This removes all "
427 "references to the item in the OPF manifest, guide and spine as well as from "
428 "any internal caches."
429 msgstr "Ta bort posten som identifieras med namnet från behållaren. Detta tar bort alla referenser till posten i OPF-manifestet, guiden och läsordningen samt i interna cacher."
430
431 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
432 #: of calibre.ebooks.oeb.polish.container.Container.rename:1
433 msgid ""
434 "Renames a file from current_name to new_name. It automatically rebases all "
435 "links inside the file if the folder the file is in changes. Note however, "
436 "that links are not updated in the other files that could reference this "
437 "file. This is for performance, such updates should be done once, in bulk."
438 msgstr "Byter namn på en fil från current_name till new_name. Om filen flyttas till en annan mapp anpassas alla länkar i filen automatiskt till den nya platsen. Länkar i andra filer som hänvisar till denna fil uppdateras däremot inte. Av prestandaskäl bör sådana uppdateringar göras samlat vid ett enda tillfälle."
439
440 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
441 #: of calibre.ebooks.oeb.polish.container.Container.replace:1
442 msgid ""
443 "Replace the parsed object corresponding to name with obj, which must be a "
444 "similar object, i.e. an lxml tree for HTML/XML or a css_parser stylesheet "
445 "for a CSS file."
446 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."
447
448 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
449 #: of calibre.ebooks.oeb.polish.container.Container.replace_links:1
450 msgid ""
451 "Replace all links in name using replace_func, which must be a callable that "
452 "accepts a URL and returns the replaced URL. It must also have a 'replaced' "
453 "attribute that is set to True if any actual replacement is done. Convenient "
454 "ways of creating such callables are using the :class:`LinkReplacer` and "
455 ":class:`LinkRebaser` classes."
456 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`."
457
458 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
459 #: of calibre.ebooks.oeb.polish.container.Container.serialize_item:1
460 msgid ""
461 "Convert a parsed object (identified by canonical name) into a bytestring. "
462 "See :meth:`parsed`."
463 msgstr "Konvertera ett analyserat objekt, identifierat med sitt kanoniska namn, till en bytesträng. Se :meth:`parsed`."
464
465 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
466 #: of calibre.ebooks.oeb.polish.container.Container.set_spine:1
467 msgid ""
468 "Set the spine to be spine_items where spine_items is an iterable of the form"
469 " (name, linear). Will raise an error if one of the names is not present in "
470 "the manifest."
471 msgstr "Ersätt läsordningen med spine_items, som är ett itererbart objekt med poster på formen (name, linear). Ett fel utlöses om något av namnen saknas i manifestet."
472
473 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
474 #: of calibre.ebooks.oeb.polish.container.Container.spine_items:1
475 msgid ""
476 "An iterator yielding the path for every item in the books' spine. See also: "
477 ":attr:`spine_iter` and :attr:`spine_items`."
478 msgstr "En iterator som returnerar sökvägen för varje post i bokens läsordning. Se även: :attr:`spine_iter` och :attr:`spine_items`."
479
480 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
481 #: of calibre.ebooks.oeb.polish.container.Container.spine_iter:1
482 msgid ""
483 "An iterator that yields item, name is_linear for every item in the books' "
484 "spine. item is the lxml element, name is the canonical file name and "
485 "is_linear is True if the item is linear. See also: :attr:`spine_names` and "
486 ":attr:`spine_items`."
487 msgstr "En iterator som för varje post i bokens läsordning 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`."
488
489 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
490 #: of calibre.ebooks.oeb.polish.container.Container.spine_names:1
491 msgid ""
492 "An iterator yielding name and is_linear for every item in the books' spine. "
493 "See also: :attr:`spine_iter` and :attr:`spine_items`."
494 msgstr "En iterator som returnerar name och is_linear för varje post i bokens läsordning. Se även: :attr:`spine_iter` och :attr:`spine_items`."
495
496 #: ../../../__w/calibre/calibre/manual/polish.rst:36
497 msgid "Managing component files in a container"
498 msgstr "Hantera komponentfiler i en behållare"
499
500 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
501 #: of calibre.ebooks.oeb.polish.replace.replace_links:1
502 msgid ""
503 "Replace links to files in the container. Will iterate over all files in the "
504 "container and change the specified links in them."
505 msgstr "Ersätt länkar till filer i behållaren. Funktionen går igenom alla filer i behållaren och ändrar de angivna länkarna i dem."
506
507 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
508 #: of calibre.ebooks.oeb.polish.replace.replace_links:3
509 msgid ""
510 "A mapping of old canonical name to new canonical name. For example: "
511 ":code:`{'images/old.png': 'images/new.png'}`"
512 msgstr "En mappning från gamla kanoniska namn till nya kanoniska namn. Till exempel: :code:`{'images/old.png': 'images/new.png'}`"
513
514 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
515 #: of calibre.ebooks.oeb.polish.replace.replace_links:4
516 msgid ""
517 "A callable that takes two arguments ``(name, anchor)`` and returns a new "
518 "anchor. This is useful if you need to change the anchors in HTML files. By "
519 "default, it does nothing."
520 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."
521
522 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
523 #: of calibre.ebooks.oeb.polish.replace.replace_links:7
524 msgid "If False, links are not replaced in the OPF file."
525 msgstr "Om False, ersätts inte länkar i OPF-filen."
526
527 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
528 #: of calibre.ebooks.oeb.polish.replace.rename_files:1
529 msgid ""
530 "Rename files in the container, automatically updating all links to them."
531 msgstr "Byt namn på filer i behållaren, uppdaterar automatiskt alla länkar till dem."
532
533 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
534 #: of calibre.ebooks.oeb.polish.replace.rename_files:3
535 msgid ""
536 "A mapping of old canonical name to new canonical name, for example: "
537 ":code:`{'text/chapter1.html': 'chapter1.html'}`."
538 msgstr "En mappning från gamla kanoniska namn till nya kanoniska namn, till exempel: :code:`{'text/chapter1.html': 'chapter1.html'}`."
539
540 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
541 #: of calibre.ebooks.oeb.polish.replace.get_recommended_folders:1
542 msgid ""
543 "Return the folders that are recommended for the given filenames. The "
544 "recommendation is based on where the majority of files of the same type are "
545 "located in the container. If no files of a particular type are present, the "
546 "recommended folder is assumed to be the folder containing the OPF file."
547 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."
548
549 #: ../../../__w/calibre/calibre/manual/polish.rst:47
550 msgid "Pretty printing and auto fixing parse errors"
551 msgstr "Formatering och automatisk rättning av tolkningsfel"
552
553 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
554 #: of calibre.ebooks.oeb.polish.pretty.fix_html:1
555 msgid ""
556 "Fix any parsing errors in the HTML represented as a string in raw. Fixing is"
557 " done using the HTML5 parsing algorithm."
558 msgstr "Åtgärda eventuella tolkningsfel i HTML-koden som representeras av strängen i raw. Rättningen görs med HTML5:s tolkningsalgoritm."
559
560 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
561 #: of calibre.ebooks.oeb.polish.pretty.fix_all_html:1
562 msgid ""
563 "Fix any parsing errors in all HTML files in the container. Fixing is done "
564 "using the HTML5 parsing algorithm."
565 msgstr "Åtgärda eventuella tolkningsfel i alla HTML-filer i behållaren. Rättningen görs med HTML5:s tolkningsalgoritm."
566
567 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
568 #: of calibre.ebooks.oeb.polish.pretty.pretty_html:1
569 msgid "Pretty print the HTML represented as a string in raw"
570 msgstr "Formatera HTML-koden som representeras av strängen i raw så att den blir lättläst"
571
572 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
573 #: of calibre.ebooks.oeb.polish.pretty.pretty_css:1
574 msgid "Pretty print the CSS represented as a string in raw"
575 msgstr "Formatera CSS-koden som representeras av strängen i raw så att den blir lättläst"
576
577 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
578 #: of calibre.ebooks.oeb.polish.pretty.pretty_xml:1
579 msgid ""
580 "Pretty print the XML represented as a string in raw. If ``name`` is the name"
581 " of the OPF, extra OPF-specific prettying is performed."
582 msgstr "Formatera XML-koden som representeras av strängen i raw så att den blir lättläst. Om ``name`` är OPF-filens namn utförs även särskild formatering för OPF."
583
584 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
585 #: of calibre.ebooks.oeb.polish.pretty.pretty_all:1
586 msgid "Pretty print all HTML/CSS/XML files in the container"
587 msgstr "Formatera alla HTML-, CSS- och XML-filer i behållaren så att de blir lättlästa"
588
589 #: ../../../__w/calibre/calibre/manual/polish.rst:65
590 msgid "Managing book jackets"
591 msgstr "Hantera metadatasidor"
592
593 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring
594 #: of calibre.ebooks.oeb.polish.jacket.remove_jacket:1
595 msgid ""
596 "Remove an existing jacket, if any. Returns False if no existing jacket was "
597 "found."
598 msgstr "Ta bort en befintlig metadatasida. Returnerar False om ingen metadatasida hittades."
599
600 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring
601 #: of calibre.ebooks.oeb.polish.jacket.add_or_replace_jacket:1
602 msgid ""
603 "Either create a new jacket from the book's metadata or replace an existing "
604 "jacket. Returns True if an existing jacket was replaced."
605 msgstr "Skapa en ny metadatasida från bokens metadata eller ersätt en befintlig. Returnerar True om en befintlig metadatasida ersattes."
606
607 #: ../../../__w/calibre/calibre/manual/polish.rst:74
608 msgid "Splitting and merging of files"
609 msgstr "Delning och sammanslagning av filer"
610
611 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
612 #: of calibre.ebooks.oeb.polish.split.split:1
613 msgid ""
614 "Split the file specified by name at the position specified by loc_or_xpath. "
615 "Splitting automatically migrates all links and references to the affected "
616 "files."
617 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."
618
619 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
620 #: of calibre.ebooks.oeb.polish.split.split:5
621 msgid ""
622 "Should be an XPath expression such as //h:div[@id=\"split_here\"]. Can also "
623 "be a *loc* which is used internally to implement splitting in the preview "
624 "panel."
625 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."
626
627 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
628 #: of calibre.ebooks.oeb.polish.split.split:8
629 msgid ""
630 "If True the split occurs before the identified element otherwise after it."
631 msgstr "Om True sker uppdelningen innan det identifierade elementet annars efter det."
632
633 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
634 #: of calibre.ebooks.oeb.polish.split.split:9
635 msgid "Used internally"
636 msgstr "Används internt"
637
638 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
639 #: of calibre.ebooks.oeb.polish.split.multisplit:1
640 msgid ""
641 "Split the specified file at multiple locations (all tags that match the "
642 "specified XPath expression). See also: :func:`split`. Splitting "
643 "automatically migrates all links and references to the affected files."
644 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."
645
646 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
647 #: of calibre.ebooks.oeb.polish.split.multisplit:5
648 msgid ""
649 "If True the splits occur before the identified element otherwise after it."
650 msgstr "Om True sker uppdelningar innan det identifierade elementet annars efter det."
651
652 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
653 #: of calibre.ebooks.oeb.polish.split.merge:1
654 msgid ""
655 "Merge the specified files into a single file, automatically migrating all "
656 "links and references to the affected files. The file must all either be HTML"
657 " or CSS files."
658 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."
659
660 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
661 #: of calibre.ebooks.oeb.polish.split.merge:4
662 msgid "Must be either ``'text'`` for HTML files or ``'styles'`` for CSS files"
663 msgstr "Måste vara antingen ``'text'`` för HTML-filer eller ``'styles'`` för CSS-filer"
664
665 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
666 #: of calibre.ebooks.oeb.polish.split.merge:5
667 msgid "The list of files to be merged"
668 msgstr "Listan med filer som ska slås samman"
669
670 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
671 #: of calibre.ebooks.oeb.polish.split.merge:6
672 msgid ""
673 "Which of the merged files is the *master* file, that is, the file that will "
674 "remain after merging."
675 msgstr "Vilken av filerna som ska slås samman som är *huvudfilen*, det vill säga den fil som blir kvar efter sammanslagningen."
676
677 #: ../../../__w/calibre/calibre/manual/polish.rst:85
678 msgid "Managing covers"
679 msgstr "Hantera omslag"
680
681 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
682 #: of calibre.ebooks.oeb.polish.cover.set_cover:1
683 msgid "Set the cover of the book to the image pointed to by cover_path."
684 msgstr "Ställ in omslaget på boken till den bild som hänvisas till av cover_path."
685
686 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
687 #: of calibre.ebooks.oeb.polish.cover.set_cover:3
688 msgid ""
689 "Either the absolute path to an image file or the canonical name of an image "
690 "in the book. When using an image in the book, you must also set options, see"
691 " below."
692 msgstr "Antingen den absoluta sökvägen till en bildfil eller det kanoniska namnet på en bild i boken. När du använder en bild i boken måste du också ange alternativ, se nedan."
693
694 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
695 #: of calibre.ebooks.oeb.polish.cover.set_cover:6
696 msgid ""
697 "An optional callable that takes a single argument. It will be called with "
698 "information about the tasks being processed."
699 msgstr "Ett valfritt anropbart objekt som tar ett enda argument. Det anropas med information om de uppgifter som behandlas."
700
701 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
702 #: of calibre.ebooks.oeb.polish.cover.set_cover:8
703 msgid ""
704 "None or a dictionary that controls how the cover is set. The dictionary can "
705 "have entries: **keep_aspect**: True or False (Preserve aspect ratio of "
706 "covers in EPUB) **no_svg**: True or False (Use an SVG cover wrapper in the "
707 "EPUB titlepage) **existing**: True or False (``cover_path`` refers to an "
708 "existing image in the book)"
709 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)."
710
711 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
712 #: of calibre.ebooks.oeb.polish.cover.mark_as_cover:1
713 msgid "Mark the specified image as the cover image."
714 msgstr "Markera den angivna bilden som omslagsbild."
715
716 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
717 #: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:1
718 msgid "Mark the specified HTML file as the titlepage of the EPUB."
719 msgstr "Markera den angivna HTML-filen som titelsidan för EPUB:en."
720
721 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
722 #: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:3
723 msgid "If True the HTML file is moved to the start of the spine"
724 msgstr "Om True kommer HTML-filen flyttas till början av läsordningen"
725
726 #: ../../../__w/calibre/calibre/manual/polish.rst:96
727 msgid "Working with CSS"
728 msgstr "Att arbeta med CSS"
729
730 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/fonts.pydocstring
731 #: of calibre.ebooks.oeb.polish.fonts.change_font:1
732 msgid ""
733 "Change a font family from old_name to new_name. Changes all occurrences of "
734 "the font family in stylesheets, style tags and style attributes. If the "
735 "old_name refers to an embedded font, it is removed. You can set new_name to "
736 "None to remove the font family instead of changing it."
737 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."
738
739 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
740 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:1
741 msgid ""
742 "Remove all unused CSS rules from the book. An unused CSS rule is one that "
743 "does not match any actual content."
744 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."
745
746 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
747 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:3
748 msgid ""
749 "An optional callable that takes a single argument. It is called with "
750 "information about the operations being performed."
751 msgstr "Ett valfritt anropbart objekt som tar ett enda argument. Det anropas med information om de åtgärder som utförs."
752
753 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
754 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:4
755 msgid ""
756 "If True, class attributes in the HTML that do not match any CSS rules are "
757 "also removed."
758 msgstr "Om True tas klassattribut i HTML som inte matchar några CSS-regler också bort."
759
760 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
761 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:5
762 msgid "If True, rules with identical selectors are merged."
763 msgstr "Om True, slå samman regler med identiska väljare."
764
765 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
766 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:6
767 msgid "If True, rules with identical properties are merged."
768 msgstr "Om True, slå samman regler med identiska egenskaper."
769
770 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
771 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:7
772 msgid ""
773 "If True, stylesheets that are not referenced by any content are removed"
774 msgstr "Om True, tas formatmallar som inte refereras av något innehåll bort"
775
776 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
777 #: of calibre.ebooks.oeb.polish.css.filter_css:1
778 msgid "Remove the specified CSS properties from all CSS rules in the book."
779 msgstr "Ta bort de angivna CSS-egenskaperna från alla CSS-regler i boken."
780
781 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
782 #: of calibre.ebooks.oeb.polish.css.filter_css:3
783 msgid ""
784 "Set of properties to remove. For example: :code:`{'font-family', 'color'}`."
785 msgstr "En mängd med egenskaper som ska tas bort. Till exempel: :code:`{'font-family', 'color'}`."
786
787 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
788 #: of calibre.ebooks.oeb.polish.css.filter_css:4
789 msgid ""
790 "The files from which to remove the properties. Defaults to all HTML and CSS "
791 "files in the book."
792 msgstr "Filerna som egenskaperna ska tas bort från. Som standard används alla HTML- och CSS-filer i boken."
793
794 #: ../../../__w/calibre/calibre/manual/polish.rst:108
795 msgid "Working with the Table of Contents"
796 msgstr "Arbeta med innehållsförteckning"
797
798 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
799 #: of calibre.ebooks.oeb.polish.toc.from_xpaths:1
800 msgid ""
801 "Generate a Table of Contents from a list of XPath expressions. Each "
802 "expression in the list corresponds to a level of the generate ToC. For "
803 "example: :code:`['//h:h1', '//h:h2', '//h:h3']` will generate a three level "
804 "Table of Contents from the ``<h1>``, ``<h2>`` and ``<h3>`` tags."
805 msgstr "Skapa en innehållsförteckning från en lista med XPath-uttryck. Varje uttryck motsvarar en nivå i den skapade innehållsförteckningen. Till exempel skapar :code:`['//h:h1', '//h:h2', '//h:h3']` en innehållsförteckning med tre nivåer från taggarna ``<h1>``, ``<h2>`` och ``<h3>``."
806
807 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
808 #: of calibre.ebooks.oeb.polish.toc.from_links:1
809 msgid "Generate a Table of Contents from links in the book."
810 msgstr "Skapa innehållsförteckning från länkar i boken."
811
812 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
813 #: of calibre.ebooks.oeb.polish.toc.from_files:1
814 msgid "Generate a Table of Contents from files in the book."
815 msgstr "Skapa innehållsförteckning från filer i boken."
816
817 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
818 #: of calibre.ebooks.oeb.polish.toc.create_inline_toc:1
819 msgid ""
820 "Create an inline (HTML) Table of Contents from an existing NCX Table of "
821 "Contents."
822 msgstr "Skapa en inbäddad innehållsförteckning (HTML) från en befintlig NCX-innehållsförteckning."
823
824 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
825 #: of calibre.ebooks.oeb.polish.toc.create_inline_toc:3
826 msgid "The title for this table of contents."
827 msgstr "Titel för denna innehållsförteckning."
828
829 #: ../../../__w/calibre/calibre/manual/polish.rst:122
830 msgid "Edit book tool"
831 msgstr "Bokredigeringsverktyg"
832
833 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
834 #: of calibre.gui2.tweak_book.plugin.Tool:1
835 msgid ""
836 "The base class for individual tools in an Edit Book plugin. Useful members "
837 "include:"
838 msgstr "Basklassen för enskilda verktyg i en insticksmodul för bokredigering. Användbara medlemmar är:"
839
840 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
841 #: of calibre.gui2.tweak_book.plugin.Tool:3
842 msgid ""
843 "``self.plugin``: A reference to the :class:`calibre.customize.Plugin` object"
844 " to which this tool belongs."
845 msgstr "``self.plugin``: En referens till det :class:`calibre.customize.Plugin`-objekt som verktyget tillhör."
846
847 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
848 #: of calibre.gui2.tweak_book.plugin.Tool:4
849 msgid "self. :attr:`boss`"
850 msgstr "self. :attr:`boss`"
851
852 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
853 #: of calibre.gui2.tweak_book.plugin.Tool:5
854 msgid "self. :attr:`gui`"
855 msgstr "self. :attr:`gui`"
856
857 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
858 #: of calibre.gui2.tweak_book.plugin.Tool:7
859 msgid "Methods that must be overridden in sub classes:"
860 msgstr "Metoder som måste åsidosättas i underklasser:"
861
862 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
863 #: of calibre.gui2.tweak_book.plugin.Tool:9
864 msgid ":meth:`create_action`"
865 msgstr ":meth:`create_action`"
866
867 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
868 #: of calibre.gui2.tweak_book.plugin.Tool:10
869 msgid ":meth:`register_shortcut`"
870 msgstr ":meth:`register_shortcut`"
871
872 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
873 #: of calibre.gui2.tweak_book.plugin.Tool.name:1
874 msgid "Set this to a unique name it will be used as a key"
875 msgstr "Ange ett unikt namn som kommer att användas som nyckel"
876
877 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
878 #: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_toolbar:1
879 msgid "If True the user can choose to place this tool in the plugins toolbar"
880 msgstr "Om True kan användaren välja att placera verktyget i verktygsfältet för insticksmoduler"
881
882 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
883 #: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_menu:1
884 msgid "If True the user can choose to place this tool in the plugins menu"
885 msgstr "Om True kan användaren välja att placera verktyget i menyn för insticksmoduler"
886
887 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
888 #: of calibre.gui2.tweak_book.plugin.Tool.toolbar_button_popup_mode:1
889 msgid ""
890 "The popup mode for the menu (if any) of the toolbar button. Possible values "
891 "are 'delayed', 'instant', 'button'"
892 msgstr "Öppningsläget för verktygsfältsknappens meny, om den har någon. Möjliga värden är 'delayed', 'instant' och 'button'."
893
894 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
895 #: of calibre.gui2.tweak_book.plugin.Tool.boss:1
896 msgid ""
897 "The :class:`calibre.gui2.tweak_book.boss.Boss` object. Used to control the "
898 "user interface."
899 msgstr "Objektet :class:`calibre.gui2.tweak_book.boss.Boss`. Används för att styra användargränssnittet."
900
901 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
902 #: of calibre.gui2.tweak_book.plugin.Tool.gui:1
903 msgid "The main window of the user interface"
904 msgstr "Huvudfönstret i användargränssnittet"
905
906 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
907 #: of calibre.gui2.tweak_book.plugin.Tool.current_container:1
908 msgid ""
909 "Return the current :class:`calibre.ebooks.oeb.polish.container.Container` "
910 "object that represents the book being edited."
911 msgstr "Returnera det aktuella objektet :class:`calibre.ebooks.oeb.polish.container.Container` som representerar boken som redigeras."
912
913 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
914 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:1
915 msgid ""
916 "Register a keyboard shortcut that will trigger the specified ``qaction``. "
917 "This keyboard shortcut will become automatically customizable by the user in"
918 " the Keyboard shortcuts section of the editor preferences."
919 msgstr "Registrera ett kortkommando som utlöser angiven ``qaction``. Användaren kan automatiskt anpassa kortkommandot under Kortkommandon i redigerarens inställningar."
920
921 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
922 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:4
923 msgid ""
924 "A QAction object, it will be triggered when the configured key combination "
925 "is pressed by the user."
926 msgstr "Ett QAction-objekt kommer att utlösas när den anpassade tangentkombinationen trycks av användaren."
927
928 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
929 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:6
930 msgid ""
931 "A unique name for this shortcut/action. It will be used internally, it must "
932 "not be shared by any other actions in this plugin."
933 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."
934
935 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
936 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:9
937 msgid ""
938 "A list of the default keyboard shortcuts. If not specified no default "
939 "shortcuts will be set. If the shortcuts specified here conflict with either "
940 "builtin shortcuts or shortcuts from user configuration/other plugins, they "
941 "will be ignored. In that case, users will have to configure the shortcuts "
942 "manually via Preferences. For example: ``default_keys=('Ctrl+J', 'F9')``."
943 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')``."
944
945 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
946 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:15
947 msgid ""
948 "An optional short description of this action. If not specified the text from"
949 " the QAction will be used."
950 msgstr "En valfri kort beskrivning av denna åtgärd. Om inte angivet kommer texten från QAction att användas."
951
952 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
953 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:17
954 msgid ""
955 "An optional longer description of this action, it will be used in the "
956 "preferences entry for this shortcut."
957 msgstr "En valfri längre beskrivning av åtgärden. Den används i inställningsposten för kortkommandot."
958
959 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
960 #: of calibre.gui2.tweak_book.plugin.Tool.create_action:1
961 msgid ""
962 "Create a QAction that will be added to either the plugins toolbar or the "
963 "plugins menu depending on ``for_toolbar``. For example::"
964 msgstr "Skapa en QAction som kommer att läggas till antingen i insticksmodulsverktygsfältet eller insticksmodulsmenyn beroende på ``for_toolbar``. Till exempel::"
965
966 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
967 #: of calibre.gui2.tweak_book.plugin.Tool.create_action:19
968 msgid "Method :meth:`register_shortcut`."
969 msgstr "Metod :meth:`register_shortcut`."
970
971 #: ../../../__w/calibre/calibre/manual/polish.rst:131
972 msgid "Controlling the editor's user interface"
973 msgstr "Styra redigerarens användargränssnitt"
974
975 #: ../../../__w/calibre/calibre/manual/polish.rst:133
976 msgid ""
977 "The e-book editor's user interface is controlled by a single global *Boss* "
978 "object. This has many useful methods that can be used in plugin code to "
979 "perform common tasks."
980 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."
981
982 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
983 #: of calibre.gui2.tweak_book.boss.Boss.add_savepoint:1
984 msgid "Create a restore checkpoint with the name specified as ``msg``"
985 msgstr "Skapa en återställningskontrollpunkt med det namn som anges som ``msg``"
986
987 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
988 #: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:1
989 msgid ""
990 "Update all the components of the user interface to reflect the latest data "
991 "in the current book container."
992 msgstr "Uppdatera alla komponenter i användargränssnittet för att återspegla de senaste data i den aktuella bokbehållaren."
993
994 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
995 #: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:3
996 msgid ""
997 "If True, the book will be marked as modified, so the user will be prompted "
998 "to save it when quitting."
999 msgstr "Om True kommer boken att markeras som ändrad, så användaren kommer att uppmanas att spara den vid avslutning."
1000
1001 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1002 #: of calibre.gui2.tweak_book.boss.Boss.close_editor:1
1003 msgid "Close the editor that is editing the file specified by ``name``"
1004 msgstr "Stäng redigeraren som redigerar filen som anges av ``name``"
1005
1006 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1007 #: of calibre.gui2.tweak_book.boss.Boss.commit_all_editors_to_container:1
1008 msgid ""
1009 "Commit any changes that the user has made to files open in editors to the "
1010 "container. You should call this method before performing any actions on the "
1011 "current container"
1012 msgstr "Spara användarens ändringar i filer som är öppna i redigerare till behållaren. Du bör anropa denna metod innan du utför några åtgärder på den aktuella behållaren."
1013
1014 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1015 #: of calibre.gui2.tweak_book.boss.Boss.currently_editing:1
1016 msgid ""
1017 "Return the name of the file being edited currently or None if no file is "
1018 "being edited"
1019 msgstr "Returnera namnet på filen som för närvarande redigeras eller None om ingen fil redigeras"
1020
1021 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1022 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:1
1023 msgid "Open the file specified by name in an editor"
1024 msgstr "Öppna filen som namnges i en redigerare"
1025
1026 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1027 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:3
1028 msgid ""
1029 "The media type of the file, for example, ``'text/html'``. If not specified "
1030 "it is guessed from the file extension."
1031 msgstr "Mediatypen för filen, till exempel, ``'text/html'``. Om inget angetts uppskattas den från filändelsen."
1032
1033 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1034 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:4
1035 msgid "A template to initialize the opened editor with"
1036 msgstr "En mall för att initiera den öppnade redigeraren med"
1037
1038 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1039 #: of calibre.gui2.tweak_book.boss.Boss.open_book:1
1040 msgid ""
1041 "Open the e-book at ``path`` for editing. Will show an error if the e-book is"
1042 " not in a supported format or the current book has unsaved changes."
1043 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."
1044
1045 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1046 #: of calibre.gui2.tweak_book.boss.Boss.open_book:3
1047 msgid ""
1048 "The name of a file inside the newly opened book to start editing. Can also "
1049 "be a list of names."
1050 msgstr "Namnet på en fil inne i den nyöppnade boken för att börja redigera. Kan också vara en lista med namn."
1051
1052 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1053 #: of calibre.gui2.tweak_book.boss.Boss.rewind_savepoint:1
1054 msgid ""
1055 "Undo the previous creation of a restore checkpoint, useful if you create a "
1056 "checkpoint, then abort the operation with no changes"
1057 msgstr "Ångra skapandet av den föregående återställningskontrollpunkten. Det är användbart om du skapar en kontrollpunkt och sedan avbryter åtgärden utan att göra några ändringar."
1058
1059 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1060 #: of calibre.gui2.tweak_book.boss.Boss.save_book:1
1061 msgid "Save the book. Saving is performed in the background"
1062 msgstr "Spara boken. Sparning utförs i bakgrunden"
1063
1064 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1065 #: of calibre.gui2.tweak_book.boss.Boss.set_modified:1
1066 msgid "Mark the book as having been modified"
1067 msgstr "Markera boken som ändrad"
1068
1069 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1070 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:1
1071 msgid "Show the changes to the book from its last checkpointed state"
1072 msgstr "Visa ändringarna i boken från dess senaste kontrollpunktstillstånd"
1073
1074 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1075 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:3
1076 msgid ""
1077 "If True the diff dialog will have a button to allow the user to revert all "
1078 "changes"
1079 msgstr "Om True kommer skillnadsdialogrutan att ha en knapp som låter användaren återställa alla ändringar"
1080
1081 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1082 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:4
1083 msgid ""
1084 "A container object to compare the current container to. If None, the "
1085 "previously checkpointed container is used"
1086 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."
1087
1088 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1089 #: of calibre.gui2.tweak_book.boss.Boss.show_editor:1
1090 msgid "Show the editor that is editing the file specified by ``name``"
1091 msgstr "Visa redigeraren som redigerar filen som anges med ``name``"
1092
1093 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1094 #: of calibre.gui2.tweak_book.boss.Boss.sync_preview_to_editor:1
1095 msgid ""
1096 "Sync the position of the preview panel to the current cursor position in the"
1097 " current editor"
1098 msgstr "Synkronisera förhandsgranskningspanelens position med markörens position i den aktuella redigeraren"