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# efef6ec5b435a041fce803c7f8af77d2_2341d43, 2020
7# Jonatan Nyberg <jonatan@autistici.org>, 2016-2017,2021
8# Jonatan Nyberg <jonatan@autistici.org>, 2018-2021
9# efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017-2018
10# Merarom <merarom@yahoo.es>, 2014-2017
11# Sebastian Rasmussen <sebras@gmail.com>, 2018
12msgid ""
13msgstr ""
14"Project-Id-Version: calibre\n"
15"Report-Msgid-Bugs-To: \n"
16"POT-Creation-Date: 2021-12-01 12:56+0000\n"
17"PO-Revision-Date: 2021-11-27 15:22+0000\n"
18"Last-Translator: Jonatan Nyberg <jonatan@autistici.org>\n"
19"Language-Team: Swedish (http://www.transifex.com/calibre/calibre/language/sv/)\n"
20"MIME-Version: 1.0\n"
21"Content-Type: text/plain; charset=UTF-8\n"
22"Content-Transfer-Encoding: 8bit\n"
23"Language: sv\n"
24"Plural-Forms: nplurals=2; plural=(n != 1);\n"
25
26#: ../../__w/calibre/calibre/manual/db_api.rst:4
27msgid "API documentation for the database interface"
28msgstr "API-dokumentation för databasgränssnittet"
29
30#: ../../__w/calibre/calibre/manual/db_api.rst:9
31msgid ""
32"This API is thread safe (it uses a multiple reader, single writer locking "
33"scheme).  You can access this API like this::"
34msgstr "Denna API är trådsäker (använder ett flerläsar-, singelskrivarutelåsningsschema). Du kan komma åt denna API så här::"
35
36#: ../../__w/calibre/calibre/manual/db_api.rst:14
37msgid ""
38"If you are in a calibre plugin that is part of the main calibre GUI, you get"
39" access to it like this instead::"
40msgstr "Om du är i en calibre-insticksmodul som är en del av calibres huvudanvändargränssnitt får du tillgång till den så här istället::"
41
42#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
43#: calibre.db.cache.Cache:1
44msgid ""
45"An in-memory cache of the metadata.db file from a calibre library. This "
46"class also serves as a threadsafe API for accessing the database. The in-"
47"memory cache is maintained in normal form for maximum performance."
48msgstr "En cache i minnet för metadata.db-filen från ett calibre-bibliotek. Den här klassen fungerar också som ett trådsäkert API för åtkomst till databasen. Cachen i minnet behålls i normal form för högsta prestanda."
49
50#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
51#: calibre.db.cache.Cache:5
52msgid ""
53"SQLITE is simply used as a way to read and write from metadata.db robustly. "
54"All table reading/sorting/searching/caching logic is re-implemented. This "
55"was necessary for maximum performance and flexibility."
56msgstr "SQLITE används helt enkelt som ett sätt att läsa och skriva från metadata.db robust. All logik för läsning/sortering/sökning/cachning av tabeller är återimplementerad. Detta var nödvändigt för maximal prestanda och flexibilitet."
57
58#: ../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
59#: calibre.db.listeners.EventType:1
60msgid "An enumeration."
61msgstr "En uppräkning."
62
63#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
64#: calibre.db.cache.Cache.add_books:1
65msgid ""
66"Add the specified books to the library. Books should be an iterable of "
67"2-tuples, each 2-tuple of the form :code:`(mi, format_map)` where mi is a "
68"Metadata object and format_map is a dictionary of the form :code:`{fmt: "
69"path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`."
70msgstr "Lägg till de angivna böckerna i biblioteket. Böcker bör vara en uppräknelig mängd i multipel av 2, varje multipel av 2 med formen  :code:`(mi, format_map)` där mi är ett metadataobjekt och format_map är en ordbok med formen :code:`{fmt: path_or_stream}`, till exempel: :code:`{'EPUB': '/sökväg/till/fil.epub'}`."
71
72#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
73#: calibre.db.cache.Cache.add_books:6
74msgid ""
75"Returns a pair of lists: :code:`ids, duplicates`. ``ids`` contains the book "
76"ids for all newly created books in the database. ``duplicates`` contains the"
77" :code:`(mi, format_map)` for all books that already exist in the database "
78"as per the simple duplicate detection heuristic used by :meth:`has_book`."
79msgstr "Återger ett listpar: :code:`ids, duplicates`. ``id`` innehållande bokens identiteter för all nyligen skapade böcker i databasen. \"duplikat\" innehåller :code:`(mi, format_map)` for alla böcker som redan finns i databasen genom enkel heuristisk duplikationsdetektering använd av :meth:`has_book`."
80
81#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
82#: calibre.db.cache.Cache.add_custom_book_data:1
83msgid ""
84"Add data for name where val_map is a map of book_ids to values. If "
85"delete_first is True, all previously stored data for name will be removed."
86msgstr "Lägg till data för namn där val_map är en karta över book_ids till värden. Om delete_first är True kommer alla tidigare lagrade data för namn tas bort."
87
88#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
89#: calibre.db.cache.Cache.add_format:1
90msgid ""
91"Add a format to the specified book. Return True if the format was added "
92"successfully."
93msgstr "Lägg till ett format i den angivna boken. Återge True om formatet har lagts till."
94
95#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
96#: calibre.db.cache.Cache.add_format:0
97#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
98#: calibre.db.cache.Cache.cover:0
99#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
100#: calibre.db.cache.Cache.format:0
101#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
102#: calibre.db.cache.Cache.format_metadata:0
103#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
104#: calibre.db.cache.Cache.get_next_series_num_for:0
105#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
106#: calibre.db.cache.Cache.remove_formats:0
107#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
108#: calibre.db.cache.Cache.rename_items:0
109#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
110#: calibre.db.cache.Cache.search:0
111#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
112#: calibre.db.cache.Cache.set_field:0
113#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
114#: calibre.db.cache.Cache.tags_older_than:0
115msgid "Parameters"
116msgstr "Parametrar"
117
118#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
119#: calibre.db.cache.Cache.add_format:3
120msgid ""
121"If True replace existing format, otherwise if the format already exists, "
122"return False."
123msgstr "Om True ersätts befintligt format, annars om formatet redan finns, återges False."
124
125#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
126#: calibre.db.cache.Cache.add_format:4
127msgid ""
128"If True, file type plugins are run on the format before and after being "
129"added."
130msgstr "Om True, körs filtypsinsticksmoduler på formatet innan och efter de tilläggs."
131
132#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
133#: calibre.db.cache.Cache.add_format:5
134msgid "Internal use only."
135msgstr "Endast internt bruk."
136
137#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
138#: calibre.db.cache.Cache.add_listener:1
139msgid ""
140"Register a callback function that will be called after certain actions are "
141"taken on this database. The function must take three arguments: "
142"(:class:`EventType`, library_id, event_type_specific_data)"
143msgstr "Registrera en återanropningsfunktion som anropas efter att vissa åtgärder har vidtagits i denna databas. Funktionen måste ha tre argument: (:class:`EventType`, library_id, event_type_specific_data)"
144
145#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
146#: calibre.db.cache.Cache.all_book_ids:1
147msgid "Frozen set of all known book ids."
148msgstr "Fryst uppsättning av alla kända bokidentiteter."
149
150#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
151#: calibre.db.cache.Cache.all_field_for:1
152msgid "Same as field_for, except that it operates on multiple books at once"
153msgstr "Samma som field_for, förutom att det fungerar på flera böcker samtidigt"
154
155#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
156#: calibre.db.cache.Cache.all_field_ids:1
157msgid "Frozen set of ids for all values in the field ``name``."
158msgstr "Fryst uppsättning av identiteter för alla värden i fältet ``namn``."
159
160#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
161#: calibre.db.cache.Cache.all_field_names:1
162msgid ""
163"Frozen set of all fields names (should only be used for many-one and many-"
164"many fields)"
165msgstr "Fryst uppsättning av alla fältnamn (bör endast användas för många-ett och många-många fält)"
166
167#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
168#: calibre.db.cache.Cache.author_data:1
169msgid "Return author data as a dictionary with keys: name, sort, link"
170msgstr "Återger författardata som ordbok med nycklar: namn, sort, länk"
171
172#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
173#: calibre.db.cache.Cache.author_data:3
174msgid ""
175"If no authors with the specified ids are found an empty dictionary is "
176"returned. If author_ids is None, data for all authors is returned."
177msgstr "Om inga författare med angivna identiteter hittas återges en tom ordbok. Om author_ids är None, återges data för alla författare."
178
179#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
180#: calibre.db.cache.Cache.author_sort_from_authors:1
181msgid ""
182"Given a list of authors, return the author_sort string for the authors, "
183"preferring the author sort associated with the author over the computed "
184"string."
185msgstr "Given en lista med författare, återge author_sort sträng för författare,  framför författarsortering associerad med författare över bearbetade strängen."
186
187#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
188#: calibre.db.cache.Cache.books_for_field:1
189msgid ""
190"Return all the books associated with the item identified by ``item_id``, "
191"where the item belongs to the field ``name``."
192msgstr "Återger alla böcker associerade med posten identifierad av ``item_id``, där posten tillhör fältet  ``name``."
193
194#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
195#: calibre.db.cache.Cache.books_for_field:4
196msgid ""
197"Returned value is a set of book ids, or the empty set if the item or the "
198"field does not exist."
199msgstr "Återgett värde är en mängd av bokidentiteter eller den tomma mängden om posten eller fältet inte finns."
200
201#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
202#: calibre.db.cache.Cache.books_in_virtual_library:1
203msgid "Return the set of books in the specified virtual library"
204msgstr "Återge uppsättningen böcker i det angivna virtuella biblioteket"
205
206#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
207#: calibre.db.cache.Cache.compress_covers:1
208msgid ""
209"Compress the cover images for the specified books. A compression quality of "
210"100 will perform lossless compression, otherwise lossy compression."
211msgstr "Komprimera omslagsbilderna för de angivna böckerna. En kompressionskvalitet på 100 kommer att utföra förlustfri komprimering, annars utförs komprimeringen med förlust."
212
213#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
214#: calibre.db.cache.Cache.compress_covers:4
215msgid ""
216"The progress callback will be called with the book_id and the old and new "
217"sizes for each book that has been processed. If an error occurs, the new "
218"size will be a string with the error details."
219msgstr "Framstegsåterkallningen kommer att anropas med book_id och de gamla och nya storlekarna för varje bok som har bearbetats. Om ett fel inträffar kommer den nya storleken att vara en sträng med feldetaljer."
220
221#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
222#: calibre.db.cache.Cache.copy_cover_to:1
223msgid ""
224"Copy the cover to the file like object ``dest``. Returns False if no cover "
225"exists or dest is the same file as the current cover. dest can also be a "
226"path in which case the cover is copied to it if and only if the path is "
227"different from the current path (taking case sensitivity into account)."
228msgstr "Kopiera omslag till filen som objektet ``dest``. Återger False om inget omslag finns eller dest är samma fil som det aktuella omslaget. dest kan också vara en sökväg i vilket fall omslaget kopieras till det om och endast om sökvägen är en annan än den aktuella sökvägen (med små bokstäver i beräkningen)."
229
230#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
231#: calibre.db.cache.Cache.copy_format_to:1
232msgid ""
233"Copy the format ``fmt`` to the file like object ``dest``. If the specified "
234"format does not exist, raises :class:`NoSuchFormat` error. dest can also be "
235"a path (to a file), in which case the format is copied to it, iff the path "
236"is different from the current path (taking case sensitivity into account)."
237msgstr "Kopiera formatet ``fmt`` till det fillika objektet ``dest``. Om det angivna formatet inte finns, ges :class:`NoSuchFormat`-fel. dest kan också vara en sökväg (till en fil), i vilket fall formatet kopieras till den, om och endast om sökvägen skiljer sig från den aktuella sökvägen (med hänsyn till skiftlägeskänslighet)."
238
239#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
240#: calibre.db.cache.Cache.cover:1
241msgid ""
242"Return the cover image or None. By default, returns the cover as a "
243"bytestring."
244msgstr "Återge omslagsbild eller inget. Som standard, återges omslag som en byte sträng."
245
246#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
247#: calibre.db.cache.Cache.cover:4
248msgid ""
249"WARNING: Using as_path will copy the cover to a temp file and return the "
250"path to the temp file. You should delete the temp file when you are done "
251"with it."
252msgstr "VARNING: Använda as_path kommer att kopiera omslaget till en temporär fil och återge sökvägen till temporära filen. Du bör ta bort temporära filen när du är klar med den."
253
254#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
255#: calibre.db.cache.Cache.cover:8
256msgid ""
257"If True return the image as an open file object (a SpooledTemporaryFile)"
258msgstr "Om True återger bilden som ett öppet filobjekt (en SpooledTemporaryFile)"
259
260#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
261#: calibre.db.cache.Cache.cover:9
262msgid "If True return the image as a QImage object"
263msgstr "Om True återger bilden som ett Q-bildobjekt"
264
265#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
266#: calibre.db.cache.Cache.cover:10
267msgid "If True return the image as a path pointing to a temporary file"
268msgstr "Om True återger bilden som en sökväg till en temporärfil"
269
270#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
271#: calibre.db.cache.Cache.data_for_find_identical_books:1
272msgid ""
273"Return data that can be used to implement :meth:`find_identical_books` in a "
274"worker process without access to the db. See db.utils for an implementation."
275msgstr "Återge data som kan användas för att implementera :meth:`find_identical_books` i en arbetsprocess utan tillgång till db. Se db.utils för en implementering."
276
277#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
278#: calibre.db.cache.Cache.data_for_has_book:1
279msgid ""
280"Return data suitable for use in :meth:`has_book`. This can be used for an "
281"implementation of :meth:`has_book` in a worker process without access to the"
282" db."
283msgstr "Återger data som är lämpliga för användning i :meth:`has_book`. Detta kan användas för en implementering av :meth:`has_book` i en arbetsprocess utan tillgång till db."
284
285#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
286#: calibre.db.cache.Cache.delete_custom_book_data:1
287msgid ""
288"Delete data for name. By default deletes all data, if you only want to "
289"delete data for some book ids, pass in a list of book ids."
290msgstr "Ta bort uppgifter om namn. Som standard raderas all data, om du bara vill ta bort data för vissa bok identifierare, passera i en lista med bokidentifierare."
291
292#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
293#: calibre.db.cache.Cache.embed_metadata:1
294msgid ""
295"Update metadata in all formats of the specified book_ids to current metadata"
296" in the database."
297msgstr "Uppdatera metadata i alla format av de angivna bok_ids till aktuell metadata i databasen."
298
299#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
300#: calibre.db.cache.Cache.fast_field_for:1
301msgid ""
302"Same as field_for, except that it avoids the extra lookup to get the field "
303"object"
304msgstr "Samma som field_for, förutom att den undviker den extra uppslagningen för att få fältobjektet"
305
306#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
307#: calibre.db.cache.Cache.field_for:1
308msgid ""
309"Return the value of the field ``name`` for the book identified by "
310"``book_id``. If no such book exists or it has no defined value for the field"
311" ``name`` or no such field exists, then ``default_value`` is returned."
312msgstr "Återge värdet av fältet ``name`` för boken som identifieras av ``book_id``. Om ingen sådan bok finns eller inte har något definierat värde för fältet ``name`` eller inget sådant fält finns, så återges ``default_value``."
313
314#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
315#: calibre.db.cache.Cache.field_for:6
316msgid ""
317"``default_value`` is not used for title, title_sort, authors, author_sort "
318"and series_index. This is because these always have values in the db. "
319"``default_value`` is used for all custom columns."
320msgstr "``default_value`` används inte för title, title_sort, authors, author_sort och series_index. Det här beror på att dessa alltid har värden i db. ``default_value`` används för alla anpassade kolumner."
321
322#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
323#: calibre.db.cache.Cache.field_for:10
324msgid ""
325"The returned value for is_multiple fields are always tuples, even when no "
326"values are found (in other words, default_value is ignored). The exception "
327"is identifiers for which the returned value is always a dict. The returned "
328"tuples are always in link order, that is, the order in which they were "
329"created."
330msgstr "Det återgivna värdet för is_multiple fält är alltid tupler, även om inga värden finns (med andra ord, default_value ignoreras). Undantaget är identifierare som det återgav värdet alltid är en 'dict'. De återgivna tuplerna är alltid i länkordning, det vill säga i vilken ordning de skapades."
331
332#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
333#: calibre.db.cache.Cache.field_ids_for:1
334msgid ""
335"Return the ids (as a tuple) for the values that the field ``name`` has on "
336"the book identified by ``book_id``. If there are no values, or no such book,"
337" or no such field, an empty tuple is returned."
338msgstr "Återge id:ar (som en tupel) för de värden som fältet ``namn`` har på boken som identifieras av ``book_id``. Om det inte finns några värden, eller ingen sådan bok, eller något sådant fält, återges en tom tupel tillbaka."
339
340#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
341#: calibre.db.cache.Cache.find_identical_books:1
342msgid ""
343"Finds books that have a superset of the authors in mi and the same title "
344"(title is fuzzy matched). See also :meth:`data_for_find_identical_books`."
345msgstr "Hittar böcker som har en övermängd av författarna i mi och samma titel (titeln är oklart matchad). Se även :meth:`data_for_find_identical_books`."
346
347#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
348#: calibre.db.cache.Cache.format:1
349msgid ""
350"Return the e-book format as a bytestring or `None` if the format doesn't "
351"exist, or we don't have permission to write to the e-book file."
352msgstr "Återge e-bokformat som en oktettsträng eller `None` om formatet inte finns, eller att vi inte har behörighet att skriva till e-bokfilen."
353
354#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
355#: calibre.db.cache.Cache.format:4
356msgid ""
357"If True the e-book format is returned as a file object. Note that the file "
358"object is a SpooledTemporaryFile, so if what you want to do is copy the "
359"format to another file, use :meth:`copy_format_to` instead for performance."
360msgstr "Om True återges e-bokformatet som ett filobjekt. Observera att filobjektet är en SpooledTemporaryFile, så om vad du vill göra är att kopiera formatet till en annan fil, använd :meth:`copy_format_to` istället för prestanda."
361
362#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
363#: calibre.db.cache.Cache.format:8
364msgid ""
365"Copies the format file to a temp file and returns the path to the temp file"
366msgstr "Kopierar formatet filen till en temp fil och återger sökvägen till temp filen"
367
368#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
369#: calibre.db.cache.Cache.format:10
370msgid ""
371"If True and returning a path the filename is the same as that used in the "
372"library. Note that using this means that repeated calls yield the same temp "
373"file (which is re-created each time)"
374msgstr "Om True och återges en sökväg, filnamnet är samma som den som används i biblioteket. Observera att detta innebär att upprepade anrop ger samma temp fil (som återskapas varje gång)"
375
376#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
377#: calibre.db.cache.Cache.format_abspath:1
378msgid ""
379"Return absolute path to the e-book file of format `format`. You should "
380"almost never use this, as it breaks the threadsafe promise of this API. "
381"Instead use, :meth:`copy_format_to`."
382msgstr "Återge absolut sökväg till e-bokfilen i formatet `format`. Du bör nästan aldrig använda det, eftersom det bryter trådsäkerhetsgarantin i detta API. Använd istället, :meth:`copy_format_to`."
383
384#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
385#: calibre.db.cache.Cache.format_abspath:5
386msgid ""
387"Currently used only in calibredb list, the viewer, edit book, compare_format"
388" to original format, open with, bulk metadata edit and the catalogs (via "
389"get_data_as_dict())."
390msgstr "Används för närvarande endast i calibredb-listan, visaren, redigera bok, compare_format till originalformat, öppna med, redigera massmetadata och katalogerna (via get_data_as_dict ())."
391
392#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
393#: calibre.db.cache.Cache.format_abspath:9
394msgid ""
395"Apart from the viewer, open with and edit book, I don't believe any of the "
396"others do any file write I/O with the results of this call."
397msgstr "Bortsett från visaren, öppna med och redigera boken, tror jag inte någon av de andra gör någon filskrivnings-I/O med resultaten av detta anrop."
398
399#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
400#: calibre.db.cache.Cache.format_hash:1
401msgid ""
402"Return the hash of the specified format for the specified book. The kind of "
403"hash is backend dependent, but is usually SHA-256."
404msgstr "Återge hash för det angivna formatet för den angivna boken. Den typ av hash är algoritmberoende, men är oftast SHA-256."
405
406#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
407#: calibre.db.cache.Cache.format_metadata:1
408msgid ""
409"Return the path, size and mtime for the specified format for the specified "
410"book. You should not use path unless you absolutely have to, since accessing"
411" it directly breaks the threadsafe guarantees of this API. Instead use the "
412":meth:`copy_format_to` method."
413msgstr "Återge sökväg, storlek och mtime för det specifika formatet för den specifika boken. Du bör inte använda sökväg  annat om du absolut måste, eftersom direkt tillgång av den förstör trådsäkerhetsgarantin av denna API. Istället använd :meth:`copy_format_to` metoden."
414
415#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
416#: calibre.db.cache.Cache.format_metadata:6
417msgid ""
418"If ``True`` cached values are used, otherwise a slow filesystem access is "
419"done. The cache values could be out of date if access was performed to the "
420"filesystem outside of this API."
421msgstr "Om ``True``, används cachade värden, annars sker en långsam åtkomst till filsystemet. Cachevärdena kan vara inaktuella om åtkomst sker till filsystem utanför detta API."
422
423#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
424#: calibre.db.cache.Cache.format_metadata:10
425msgid ""
426"If ``True`` The max_size field of the database is updated for this book."
427msgstr "Om ``True`` kommer max_size-fältet i databasen uppdateras för denna bok."
428
429#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
430#: calibre.db.cache.Cache.formats:1
431msgid ""
432"Return tuple of all formats for the specified book. If verify_formats is "
433"True, verifies that the files exist on disk."
434msgstr "Återge tupel av alla format för den specifika boken. Om verify_formats är True verifieras att filer finns på disken."
435
436#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
437#: calibre.db.cache.Cache.get_categories:1
438msgid "Used internally to implement the Tag Browser"
439msgstr "Används internt för att implementera taggbläddraren"
440
441#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
442#: calibre.db.cache.Cache.get_custom_book_data:1
443msgid ""
444"Get data for name. By default returns data for all book_ids, pass in a list "
445"of book ids if you only want some data. Returns a map of book_id to values. "
446"If a particular value could not be decoded, uses default for it."
447msgstr "Hämta data för namn. Som standard återges data för alla book_ids, förse med en lista med bokidentifierare om du bara vill  ha några data. Återger en översikt av book_id till värden. Om en speciellt värde inte kan identifieras, används istället standardvärde för den."
448
449#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
450#: calibre.db.cache.Cache.get_id_map:1
451msgid ""
452"Return a mapping of id numbers to values for the specified field. The field "
453"must be a many-one or many-many field, otherwise a ValueError is raised."
454msgstr "Återge en översik av id nummer till värden för specifika fält. Fältet måste vara en många-en eller många-många fält, annars skapas ett ValueError."
455
456#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
457#: calibre.db.cache.Cache.get_ids_for_custom_book_data:1
458msgid "Return the set of book ids for which name has data."
459msgstr "Återge en uppsättning bok id för vilket namn har data."
460
461#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
462#: calibre.db.cache.Cache.get_item_id:1
463#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
464#: calibre.db.cache.Cache.get_item_ids:1
465msgid "Return the item id for item_name (case-insensitive)"
466msgstr "Återge posten id för item_name (skiftlägesokänslig)"
467
468#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
469#: calibre.db.cache.Cache.get_item_name:1
470msgid ""
471"Return the item name for the item specified by item_id in the specified "
472"field. See also :meth:`get_id_map`."
473msgstr "Återge postnamnet för posten som anges av item_id i specificerat fält. Se också :meth:`get_id_map`."
474
475#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
476#: calibre.db.cache.Cache.get_metadata:1
477msgid ""
478"Return metadata for the book identified by book_id as a "
479":class:`calibre.ebooks.metadata.book.base.Metadata` object. Note that the "
480"list of formats is not verified. If get_cover is True, the cover is "
481"returned, either a path to temp file as mi.cover or if cover_as_data is True"
482" then as mi.cover_data."
483msgstr "Återge metadata för boken identifierat av book_id som ett :class:`calibre.ebooks.metadata.book.base.Metadata` objekt. Observera att listan av format inte är verifierad. Om get_cover är True, kommer omslag att återges, antingen som en sökväg till temporärfilen mi.cover eller om cover_as_data är Sant som mi.cover_data."
484
485#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
486#: calibre.db.cache.Cache.get_next_series_num_for:1
487msgid ""
488"Return the next series index for the specified series, taking into account "
489"the various preferences that control next series number generation."
490msgstr "Återge nästa serieindex för den specifika serien, med beaktning av olika inställningar som styr skapande av nästa serienummer."
491
492#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
493#: calibre.db.cache.Cache.get_next_series_num_for:4
494msgid "The series-like field (defaults to the builtin series column)"
495msgstr "Det serieliknande fältet (standard är den inbyggda seriekolumnen)"
496
497#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
498#: calibre.db.cache.Cache.get_next_series_num_for:5
499msgid ""
500"If True, returns a mapping of book_id to current series_index value instead."
501msgstr "Om True, återges en översikt av book_id till aktuellt serie_index-värde istället."
502
503#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
504#: calibre.db.cache.Cache.get_proxy_metadata:1
505msgid ""
506"Like :meth:`get_metadata` except that it returns a ProxyMetadata object that"
507" only reads values from the database on demand. This is much faster than "
508"get_metadata when only a small number of fields need to be accessed from the"
509" returned metadata object."
510msgstr "Liksom: meth:`get_metadata` förutom att den återger ett ProxyMetadata-objekt som bara läser värden från databasen på förfrågan. Det är mycket snabbare än get_metadata när endast ett mindre antal fält behöver nås från återgett metadataobjekt."
511
512#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
513#: calibre.db.cache.Cache.get_usage_count_by_id:1
514msgid ""
515"Return a mapping of id to usage count for all values of the specified field,"
516" which must be a many-one or many-many field."
517msgstr "Återge en översikt av id till räkningsanvändning för alla värden på det angivna fältet, som måste vara en många-en eller många-många fält."
518
519#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
520#: calibre.db.cache.Cache.has_book:1
521msgid ""
522"Return True iff the database contains an entry with the same title as the "
523"passed in Metadata object. The comparison is case-insensitive. See also "
524":meth:`data_for_has_book`."
525msgstr "Återge True om och endast om databasen innehåller en post med samma titel som den angivna i metadataobjektet. Jämförelsen är skiftlägeskänslig. Se även :meth:`data_for_has_book`."
526
527#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
528#: calibre.db.cache.Cache.has_format:1
529msgid "Return True iff the format exists on disk"
530msgstr "Återge True om och endast om formatet finns på disken"
531
532#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
533#: calibre.db.cache.Cache.has_id:1
534msgid "Return True iff the specified book_id exists in the db"
535msgstr "Återge True om och endast om specificerad bok_id finns i db"
536
537#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
538#: calibre.db.cache.Cache.init:1
539msgid "Initialize this cache with data from the backend."
540msgstr "Initiera denna cache med data från backend."
541
542#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
543#: calibre.db.cache.Cache.multisort:1
544msgid ""
545"Return a list of sorted book ids. If ids_to_sort is None, all book ids are "
546"returned."
547msgstr "Återge en lista med sorterade bokidentifierare. Om ids_to_sort är  None, kommer alla bokidentifierare att återges."
548
549#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
550#: calibre.db.cache.Cache.multisort:4
551msgid ""
552"fields must be a list of 2-tuples of the form (field_name, ascending=True or"
553" False). The most significant field is the first 2-tuple."
554msgstr "fälten måste vara en lista med 2-tupler av formatet (field_name, ascending=True eller False). Det signifikantaste fältet är den första 2-tupeln."
555
556#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
557#: calibre.db.cache.Cache.pref:1
558msgid ""
559"Return the value for the specified preference or the value specified as "
560"``default`` if the preference is not set."
561msgstr "Återge värdet för det specifika förvalet eller värdet angivet som ``standard`` om ingen inställning är angivet."
562
563#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
564#: calibre.db.cache.Cache.read_backup:1
565msgid ""
566"Return the OPF metadata backup for the book as a bytestring or None if no "
567"such backup exists."
568msgstr "Återge OPF-metadata-säkerhetskopian för boken som en bytestring eller None om ingen sådan säkerhetskopia finns."
569
570#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
571#: calibre.db.cache.Cache.remove_books:1
572msgid ""
573"Remove the books specified by the book_ids from the database and delete "
574"their format files. If ``permanent`` is False, then the format files are "
575"placed in the recycle bin."
576msgstr "Ta bort böckerna angivna av book_ids från databasen och tar bort deras formatfiler. Om ``permanent`` är False, så kommer formatfiler placeras i papperskorgen."
577
578#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
579#: calibre.db.cache.Cache.remove_formats:1
580msgid "Remove the specified formats from the specified books."
581msgstr "Ta bort de angivna formaten från de angivna böckerna."
582
583#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
584#: calibre.db.cache.Cache.remove_formats:3
585msgid "A mapping of book_id to a list of formats to be removed from the book."
586msgstr "En översikt av book_id till en lista med format som ska tas bort från boken."
587
588#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
589#: calibre.db.cache.Cache.remove_formats:4
590msgid ""
591"If True, only remove the record for the format from the db, do not delete "
592"the actual format file from the filesystem."
593msgstr "Om True, tas bara handlingen av format från databasen, tar inte bort de aktuella filformaten från filsystemet."
594
595#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
596#: calibre.db.cache.Cache.remove_items:1
597msgid ""
598"Delete all items in the specified field with the specified ids. Returns the "
599"set of affected book ids. ``restrict_to_book_ids`` is an optional set of "
600"books ids. If specified the items will only be removed from those books."
601msgstr "Radera alla post i det angivna fältet med de angivna id. Återger uppsättningen påverkade bok-id. ``restrict_to_book_ids`` är en valfri uppsättning bok-id. Om specificerat kommer endast posterna att tas bort från dessa böcker."
602
603#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
604#: calibre.db.cache.Cache.rename_items:1
605msgid ""
606"Rename items from a many-one or many-many field such as tags or series."
607msgstr "Byt namn på post från många-en eller många-många fält som taggar eller serier."
608
609#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
610#: calibre.db.cache.Cache.rename_items:3
611msgid ""
612"When renaming in a series-like field also change the series_index values."
613msgstr "Vid namnändring i en serielikt fält förändras även series_index-värden."
614
615#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
616#: calibre.db.cache.Cache.rename_items:4
617msgid ""
618"An optional set of book ids for which the rename is to be performed, "
619"defaults to all books."
620msgstr "En valfri uppsättning bok-id där namnbyte ska utföras, standard för alla böcker."
621
622#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
623#: calibre.db.cache.Cache.restore_book:1
624msgid ""
625"Restore the book entry in the database for a book that already exists on the"
626" filesystem"
627msgstr "Återställ bokposten i databasen för en bok som redan finns i filsystemet"
628
629#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
630#: calibre.db.cache.Cache.restore_original_format:1
631msgid ""
632"Restore the specified format from the previously saved ORIGINAL_FORMAT, if "
633"any. Return True on success. The ORIGINAL_FORMAT is deleted after a "
634"successful restore."
635msgstr "Återställer det angivna formatet från tidigare sparat ORIGINAL_FORMAT, om något. Återger True vid framgång. The ORIGINAL_FORMAT tas bort efter en lyckad återställning."
636
637#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
638#: calibre.db.cache.Cache.safe_read_lock:1
639msgid ""
640"A safe read lock is a lock that does nothing if the thread already has a "
641"write lock, otherwise it acquires a read lock. This is necessary to prevent "
642"DowngradeLockErrors, which can happen when updating the search cache in the "
643"presence of composite columns. Updating the search cache holds an exclusive "
644"lock, but searching a composite column involves reading field values via "
645"ProxyMetadata which tries to get a shared lock. There may be other scenarios"
646" that trigger this as well."
647msgstr "Ett säkert läslås är ett lås som inte gör något om tråden redan har ett skrivlås, annars får den ett läslås. Detta är nödvändigt för att förhindra DowngradeLockErrors, som kan hända vid uppdatering av sökcachen i närvaro av sammansatta kolumner. Uppdatering av sökcachen innehåller ett exklusivt lås, men sökning i en sammansatt kolumn innebär att fältvärden läses via ProxyMetadata som försöker få ett delat lås. Det kan finnas andra scenarier som utlöser detta också."
648
649#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
650#: calibre.db.cache.Cache.safe_read_lock:9
651msgid ""
652"This property returns a new lock object on every access. This lock object is"
653" not recursive (for performance) and must only be used in a with statement "
654"as ``with cache.safe_read_lock:`` otherwise bad things will happen."
655msgstr "Den här egenskapen återger ett nytt låsobjekt på varje åtkomst. Detta låsobjekt är inte rekursivt (för prestanda) och får endast användas i ett med satser som ``with cache.safe_read_lock:`` annars kommer dåliga saker att hända."
656
657#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
658#: calibre.db.cache.Cache.save_original_format:1
659msgid ""
660"Save a copy of the specified format as ORIGINAL_FORMAT, overwriting any "
661"existing ORIGINAL_FORMAT."
662msgstr "Spara en kopia i det angivna formatet som ORIGINAL_FORMAT, skriver över alla befintliga ORIGINAL_FORMAT."
663
664#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
665#: calibre.db.cache.Cache.search:1
666msgid ""
667"Search the database for the specified query, returning a set of matched book"
668" ids."
669msgstr "Söker i databasen med angiven sökning, återger en uppsättning av matchade bok id:ar."
670
671#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
672#: calibre.db.cache.Cache.search:3
673msgid ""
674"A restriction that is ANDed to the specified query. Note that restrictions "
675"are cached, therefore the search for a AND b will be slower than a with "
676"restriction b."
677msgstr "En begränsning som är ANDad med angiven förfrågan. Observera att restriktioner lagras i cache, alltså sökandet efter a AND b kommer att vara långsammare än a med restriktion b."
678
679#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
680#: calibre.db.cache.Cache.search:6
681msgid "Used internally (virtual fields such as on_device to search over)."
682msgstr "Används internt (virtuella fält som on_device ska söka över)."
683
684#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
685#: calibre.db.cache.Cache.search:8
686msgid ""
687"If not None, a set of book ids for which books will be searched instead of "
688"searching all books."
689msgstr "Om inte None, en uppsättning bok id:ar där böckerna kommer att sökas istället för att söka alla böcker."
690
691#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
692#: calibre.db.cache.Cache.set_conversion_options:1
693msgid "options must be a map of the form {book_id:conversion_options}"
694msgstr "alternativ måste vara en översikt på formen {book_id:conversion_options}"
695
696#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
697#: calibre.db.cache.Cache.set_cover:1
698msgid ""
699"Set the cover for this book. The data can be either a QImage, QPixmap, file "
700"object or bytestring. It can also be None, in which case any existing cover "
701"is removed."
702msgstr "Ställ in omslaget för denna bok. Data kan antingen vara en QImage, QPixmap, filobjekt eller bytestring. Det kan också vara None, i vilket fall eventuellt befintligt omslag tas bort."
703
704#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
705#: calibre.db.cache.Cache.set_field:1
706msgid ""
707"Set the values of the field specified by ``name``. Returns the set of all "
708"book ids that were affected by the change."
709msgstr "Ställ in värdena för fältet som anges av ``namn``. Återger uppsättningen av alla bok-id som påverkades av ändringen."
710
711#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
712#: calibre.db.cache.Cache.set_field:3
713msgid "Mapping of book_ids to values that should be applied."
714msgstr "Översikt av book_ids till värden som bör tillämpas."
715
716#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
717#: calibre.db.cache.Cache.set_field:4
718msgid ""
719"If True, the case of many-one or many-many fields will be changed. For "
720"example, if a  book has the tag ``tag1`` and you set the tag for another "
721"book to ``Tag1`` then the both books will have the tag ``Tag1`` if "
722"allow_case_change is True, otherwise they will both have the tag ``tag1``."
723msgstr "Om True, i fall det rör sig om många-en eller många-många fälten förändras. Till exempel, om en bok har taggen ``tag1`` och du anger taggen för en annan bok till ``Tag1`` då kommer båda böckerna att ha taggen ``Tag1`` om allow_case_change är True, annars kommer de båda ha taggen ``tag1``."
724
725#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
726#: calibre.db.cache.Cache.set_field:8
727msgid "Used internally, you should never change it."
728msgstr "Används internt, du bör aldrig ändra det."
729
730#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
731#: calibre.db.cache.Cache.set_metadata:1
732msgid "Set metadata for the book `id` from the `Metadata` object `mi`"
733msgstr "Ställ in metadata för bokens `id` från `Metadata`-objektet `mi`"
734
735#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
736#: calibre.db.cache.Cache.set_metadata:3
737msgid ""
738"Setting force_changes=True will force set_metadata to update fields even if "
739"mi contains empty values. In this case, 'None' is distinguished from "
740"'empty'. If mi.XXX is None, the XXX is not replaced, otherwise it is. The "
741"tags, identifiers, and cover attributes are special cases. Tags and "
742"identifiers cannot be set to None so they will always be replaced if "
743"force_changes is true. You must ensure that mi contains the values you want "
744"the book to have. Covers are always changed if a new cover is provided, but "
745"are never deleted. Also note that force_changes has no effect on setting "
746"title or authors."
747msgstr "Inställning force_changes=True tvingar set_metadata att uppdatera fält även om mi innehåller tomma värden. I det här fallet särskiljs 'None' från 'empty'. Om mi.XXX är None, ersätts inte XXX, annars görs det. Taggar, identifierare och omslagsattribut är specialfall. Taggar och identifierare kan inte ställas in på None så de alltid ersätts om force_changes är True. Du måste se till att mi innehåller de värden du vill att boken ska ha. Omslag ändras alltid om ett nytt omslag tillhandahålls, men tas aldrig bort. Observera också att force_changes inte har någon effekt på inställning av titel eller författare."
748
749#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
750#: calibre.db.cache.Cache.set_pref:1
751msgid ""
752"Set the specified preference to the specified value. See also :meth:`pref`."
753msgstr "Ställ in den angivna inställningen till det angivna värdet. Se också :meth:`pref`."
754
755#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
756#: calibre.db.cache.Cache.tags_older_than:1
757msgid ""
758"Return the ids of all books having the tag ``tag`` that are older than the "
759"specified time. tag comparison is case insensitive."
760msgstr "Återge id av alla böcker som har taggen ``tagg`` som är äldre än den angivna tiden. taggjämförelse är skiftlägesoberoende."
761
762#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
763#: calibre.db.cache.Cache.tags_older_than:4
764msgid ""
765"A timedelta object or None. If None, then all ids with the tag are returned."
766msgstr "En timedelta-objekt eller None. Om None kommer alla id:ar med taggen återges."
767
768#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
769#: calibre.db.cache.Cache.tags_older_than:7
770msgid ""
771"If not None the list of matches will be restricted to books that have this "
772"tag"
773msgstr "Om inte None listan av träffar kommer begränsas till böcker som har denna tagg"
774
775#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
776#: calibre.db.cache.Cache.tags_older_than:10
777msgid ""
778"A list of authors. If not None the list of matches will be restricted to "
779"books that have these authors (case insensitive)."
780msgstr "En lista med författare. Om inte None listan av träffar kommer begränsas till böcker som har dessa författare (skiftlägesokänslig)."
781
782#: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
783#: calibre.db.cache.Cache.user_categories_for_books:1
784msgid ""
785"Return the user categories for the specified books. proxy_metadata_map is "
786"optional and is useful for a performance boost, in contexts where a "
787"ProxyMetadata object for the books already exists. It should be a mapping of"
788" book_ids to their corresponding ProxyMetadata objects."
789msgstr "Återge användarkategorier för de angivna böckerna. proxy_metadata_map är valfritt och är användbar för en prestandaökning, i sammanhang där ett ProxyMetadata objekt för böckerna redan finns. Det bör vara en korsreferens av book_ids till deras motsvarande ProxyMetadata objekt."
790