| 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, 2020 |
| 8 |
# efef6ec5b435a041fce803c7f8af77d2_2341d43, 2020 |
| 9 |
# Jonatan Nyberg, 2026 |
| 10 |
# Jonatan Nyberg, 2016-2017,2021-2026 |
| 11 |
# Jonatan Nyberg, 2018-2021 |
| 12 |
# efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017-2018 |
| 13 |
# Jonatan Nyberg, 2026 |
| 14 |
# Merarom <[email protected]>, 2014-2017 |
| 15 |
# Sebastian Rasmussen <[email protected]>, 2018 |
| 16 |
msgid "" |
| 17 |
msgstr "" |
| 18 |
"Project-Id-Version: calibre\n" |
| 19 |
"Report-Msgid-Bugs-To: \n" |
| 20 |
"POT-Creation-Date: 2026-07-30 18:07+0000\n" |
| 21 |
"PO-Revision-Date: 2014-07-05 16:49+0000\n" |
| 22 |
"Last-Translator: Sebastian Rasmussen <[email protected]>, 2018\n" |
| 23 |
"Language-Team: Swedish (http://app.transifex.com/calibre/calibre/language/sv/)\n" |
| 24 |
"MIME-Version: 1.0\n" |
| 25 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 26 |
"Content-Transfer-Encoding: 8bit\n" |
| 27 |
"Language: sv\n" |
| 28 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 29 |
|
| 30 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:4 |
| 31 |
msgid "API documentation for the database interface" |
| 32 |
msgstr "API-dokumentation för databasgränssnittet" |
| 33 |
|
| 34 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:9 |
| 35 |
msgid "" |
| 36 |
"This API is thread safe (it uses a multiple reader, single writer locking " |
| 37 |
"scheme). You can access this API like this::" |
| 38 |
msgstr "Denna API är trådsäker (använder ett flerläsar-, singelskrivarutelåsningsschema). Du kan komma åt denna API så här::" |
| 39 |
|
| 40 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:14 |
| 41 |
msgid "" |
| 42 |
"If you are in a calibre plugin that is part of the main calibre GUI, you get" |
| 43 |
" access to it like this instead::" |
| 44 |
msgstr "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 i stället::" |
| 45 |
|
| 46 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 47 |
#: calibre.db.cache.Cache:1 |
| 48 |
msgid "" |
| 49 |
"An in-memory cache of the metadata.db file from a calibre library. This " |
| 50 |
"class also serves as a threadsafe API for accessing the database. The in-" |
| 51 |
"memory cache is maintained in normal form for maximum performance." |
| 52 |
msgstr "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." |
| 53 |
|
| 54 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 55 |
#: calibre.db.cache.Cache:5 |
| 56 |
msgid "" |
| 57 |
"SQLITE is simply used as a way to read and write from metadata.db robustly. " |
| 58 |
"All table reading/sorting/searching/caching logic is re-implemented. This " |
| 59 |
"was necessary for maximum performance and flexibility." |
| 60 |
msgstr "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." |
| 61 |
|
| 62 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 63 |
#: calibre.db.cache.Cache.EventType.book_created:1 |
| 64 |
msgid "" |
| 65 |
"When a new book record is created in the database, with the book id as the " |
| 66 |
"only argument" |
| 67 |
msgstr "När en ny bokpost skapas i databasen, med bokidentitet som enda argument" |
| 68 |
|
| 69 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 70 |
#: calibre.db.cache.Cache.EventType.book_edited:1 |
| 71 |
msgid "When a book format is edited, with arguments: (book_id, fmt)" |
| 72 |
msgstr "När ett bokformat redigeras, med argument: (book_id, fmt)" |
| 73 |
|
| 74 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 75 |
#: calibre.db.cache.Cache.EventType.books_removed:1 |
| 76 |
msgid "" |
| 77 |
"When books are removed from the database with the list of book ids as the " |
| 78 |
"only argument" |
| 79 |
msgstr "När böcker tas bort från databasen med listan över bok-ID som enda argument" |
| 80 |
|
| 81 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 82 |
#: calibre.db.cache.Cache.EventType.format_added:1 |
| 83 |
msgid "When a format is added to a book, with arguments: (book_id, format)" |
| 84 |
msgstr "När ett format läggs till i en bok, med argumenten: (book_id, format)" |
| 85 |
|
| 86 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 87 |
#: calibre.db.cache.Cache.EventType.formats_removed:1 |
| 88 |
msgid "" |
| 89 |
"When formats are removed from a book, with arguments: (mapping of book id to" |
| 90 |
" set of formats removed from the book)" |
| 91 |
msgstr "När format tas bort från en bok, med argument: (kartläggning av bok-id till uppsättning format borttagna från boken)" |
| 92 |
|
| 93 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 94 |
#: calibre.db.cache.Cache.EventType.indexing_progress_changed:1 |
| 95 |
msgid "When the indexing progress changes" |
| 96 |
msgstr "När indexeringsförloppet ändras" |
| 97 |
|
| 98 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 99 |
#: calibre.db.cache.Cache.EventType.items_removed:1 |
| 100 |
msgid "" |
| 101 |
"When items such as tags or authors are removed from some books. Arguments: " |
| 102 |
"(field_name, affected book ids, ids of removed items)" |
| 103 |
msgstr "När objekt som taggar eller författare tas bort från vissa böcker. Argument: (field_name, berörda bok-id, id för borttagna poster)" |
| 104 |
|
| 105 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 106 |
#: calibre.db.cache.Cache.EventType.items_renamed:1 |
| 107 |
msgid "" |
| 108 |
"When items such as tags or authors are renamed in some or all books. " |
| 109 |
"Arguments: (field_name, affected book ids, map of old item id to new item " |
| 110 |
"id)" |
| 111 |
msgstr "När objekt som taggar eller författare byter namn i vissa eller alla böcker. Argument: (fältnamn, påverkade bok-id:er, kartläggning av gammalt post-id till nytt post-id)" |
| 112 |
|
| 113 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 114 |
#: calibre.db.cache.Cache.EventType.links_changed:1 |
| 115 |
msgid "" |
| 116 |
"When the links associated with items(s) are changed, with arguments: " |
| 117 |
"(field_name, item_ids)" |
| 118 |
msgstr "När länkarna associerade med poster ändras, med argument: (field_name, objekt-id)" |
| 119 |
|
| 120 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 121 |
#: calibre.db.cache.Cache.EventType.metadata_changed:1 |
| 122 |
msgid "" |
| 123 |
"When some metadata is changed for some books, with arguments: (name of " |
| 124 |
"changed field, set of affected book ids)" |
| 125 |
msgstr "När vissa metadata ändras för vissa böcker, med argument: (namn på ändrat fält, uppsättning påverkade bok-id)" |
| 126 |
|
| 127 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 128 |
#: calibre.db.cache.Cache.EventType.notes_changed:1 |
| 129 |
msgid "" |
| 130 |
"When the notes associated with item(s) are changed, with arguments: " |
| 131 |
"(field_name, item_ids)" |
| 132 |
msgstr "När anteckningarna associerade med poster ändras, med argument: (field_name, objekt_id)" |
| 133 |
|
| 134 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 135 |
#: calibre.db.cache.Cache.add_books:1 |
| 136 |
msgid "" |
| 137 |
"Add the specified books to the library. Books should be an iterable of " |
| 138 |
"2-tuples, each 2-tuple of the form :code:`(mi, format_map)` where mi is a " |
| 139 |
"Metadata object and format_map is a dictionary of the form :code:`{fmt: " |
| 140 |
"path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`." |
| 141 |
msgstr "Lägg till de angivna böckerna i biblioteket. Böckerna ska anges som en itererbar samling av 2-tupler. Varje tupel ska ha formen :code:`(mi, format_map)`, där mi är ett Metadata-objekt och format_map är en ordbok av formen :code:`{fmt: path_or_stream}`, exempelvis :code:`{'EPUB': '/path/to/file.epub'}`." |
| 142 |
|
| 143 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 144 |
#: calibre.db.cache.Cache.add_books:6 |
| 145 |
msgid "" |
| 146 |
"Returns a pair of lists: :code:`ids, duplicates`. ``ids`` contains the book " |
| 147 |
"ids for all newly created books in the database. ``duplicates`` contains the" |
| 148 |
" :code:`(mi, format_map)` for all books that already exist in the database " |
| 149 |
"as per the simple duplicate detection heuristic used by :meth:`has_book`." |
| 150 |
msgstr "Returnerar ett par listor: :code:`ids, duplicates`. ``ids`` innehåller bok-ID:n för alla nyss skapade böcker i databasen. ``duplicates`` innehåller :code:`(mi, format_map)` för alla böcker som redan finns i databasen enligt den enkla heuristiken för duplikatdetektering som används av :meth:`has_book`." |
| 151 |
|
| 152 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 153 |
#: calibre.db.cache.Cache.add_custom_book_data:1 |
| 154 |
msgid "" |
| 155 |
"Add data for name where val_map is a map of book_ids to values. If " |
| 156 |
"delete_first is True, all previously stored data for name will be removed." |
| 157 |
msgstr "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." |
| 158 |
|
| 159 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 160 |
#: calibre.db.cache.Cache.add_extra_files:1 |
| 161 |
msgid "Add extra data files" |
| 162 |
msgstr "Lägg till extra datafiler" |
| 163 |
|
| 164 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 165 |
#: calibre.db.cache.Cache.add_format:1 |
| 166 |
msgid "" |
| 167 |
"Add a format to the specified book. Return True if the format was added " |
| 168 |
"successfully." |
| 169 |
msgstr "Lägg till ett format i den angivna boken. Returnera True om formatet har lagts till." |
| 170 |
|
| 171 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:0 |
| 172 |
msgid "Parameters" |
| 173 |
msgstr "Parametrar" |
| 174 |
|
| 175 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 176 |
#: calibre.db.cache.Cache.add_format:3 |
| 177 |
msgid "" |
| 178 |
"If True replace existing format, otherwise if the format already exists, " |
| 179 |
"return False." |
| 180 |
msgstr "Om True ersätts befintligt format, annars om formatet redan finns, returneras False." |
| 181 |
|
| 182 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 183 |
#: calibre.db.cache.Cache.add_format:4 |
| 184 |
msgid "" |
| 185 |
"If True, file type plugins are run on the format before and after being " |
| 186 |
"added." |
| 187 |
msgstr "Om True, körs filtypsinsticksmoduler på formatet innan och efter de tilläggs." |
| 188 |
|
| 189 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 190 |
#: calibre.db.cache.Cache.add_format:5 |
| 191 |
msgid "Internal use only." |
| 192 |
msgstr "Endast internt bruk." |
| 193 |
|
| 194 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 195 |
#: calibre.db.cache.Cache.add_listener:1 |
| 196 |
msgid "" |
| 197 |
"Register a callback function that will be called after certain actions are " |
| 198 |
"taken on this database. The function must take three arguments: " |
| 199 |
"(:class:`EventType`, library_id, event_type_specific_data)" |
| 200 |
msgstr "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)" |
| 201 |
|
| 202 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 203 |
#: calibre.db.cache.Cache.add_notes_resource:1 |
| 204 |
msgid "" |
| 205 |
"Add the specified resource so it can be referenced by notes and return its " |
| 206 |
"content hash" |
| 207 |
msgstr "Lägg till den angivna resursen så att den kan refereras av anteckningar och returnera dess innehållshash" |
| 208 |
|
| 209 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 210 |
#: calibre.db.cache.Cache.all_annotation_styles:1 |
| 211 |
msgid "Return a tuple of all built-in annotation styles." |
| 212 |
msgstr "Returnerar en tupel av alla inbyggda noteringsstilar." |
| 213 |
|
| 214 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 215 |
#: calibre.db.cache.Cache.all_annotation_types:1 |
| 216 |
msgid "Return a tuple of all annotation types in the database." |
| 217 |
msgstr "Returnera en tuppel av alla noteringstyper i databasen." |
| 218 |
|
| 219 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 220 |
#: calibre.db.cache.Cache.all_annotation_users:1 |
| 221 |
msgid "Return a tuple of all (user_type, user name) that have annotations." |
| 222 |
msgstr "Returnera en tuppel av alla (användartyp, användarnamn) som har noteringar." |
| 223 |
|
| 224 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 225 |
#: calibre.db.cache.Cache.all_annotations:1 |
| 226 |
msgid "" |
| 227 |
"Return a tuple of all annotations matching the specified criteria. " |
| 228 |
"`ignore_removed` controls whether removed (deleted) annotations are also " |
| 229 |
"returned. Removed annotations are just a skeleton used for merging of " |
| 230 |
"annotations." |
| 231 |
msgstr "Returnera en tuppel av alla noteringar som matchar de angivna kriterierna. `ignore_removed` styr om borttagna (borttagna) noteringar också returneras. Borttagna noteringar är bara ett skelett som används för att slå samman noteringar." |
| 232 |
|
| 233 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 234 |
#: calibre.db.cache.Cache.all_annotations_for_book:1 |
| 235 |
msgid "" |
| 236 |
"Return a tuple containing all annotations for the specified book_id as a " |
| 237 |
"dict with keys: `format`, `user_type`, `user`, `annotation`. Here, " |
| 238 |
"annotation is the annotation data." |
| 239 |
msgstr "Returnera en tuppel som innehåller alla anteckningar för angivet book_id, som en ordbok med nycklarna: `format`, `user_type`, `user`, `annotation`. Här innehåller `annotation` anteckningsdata." |
| 240 |
|
| 241 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 242 |
#: calibre.db.cache.Cache.all_book_ids:1 |
| 243 |
msgid "Frozen set of all known book ids." |
| 244 |
msgstr "Fryst uppsättning av alla kända bokidentiteter." |
| 245 |
|
| 246 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 247 |
#: calibre.db.cache.Cache.all_field_for:1 |
| 248 |
msgid "Same as field_for, except that it operates on multiple books at once" |
| 249 |
msgstr "Samma som field_for, förutom att det fungerar på flera böcker samtidigt" |
| 250 |
|
| 251 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 252 |
#: calibre.db.cache.Cache.all_field_ids:1 |
| 253 |
msgid "Frozen set of ids for all values in the field ``name``." |
| 254 |
msgstr "Fryst uppsättning av identiteter för alla värden i fältet ``name``." |
| 255 |
|
| 256 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 257 |
#: calibre.db.cache.Cache.all_field_names:1 |
| 258 |
msgid "" |
| 259 |
"Frozen set of all fields names (should only be used for many-one and many-" |
| 260 |
"many fields)" |
| 261 |
msgstr "Fryst uppsättning av alla fältnamn (bör endast användas för många-ett och många-många fält)" |
| 262 |
|
| 263 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 264 |
#: calibre.db.cache.Cache.annotation_count_for_book:1 |
| 265 |
msgid "" |
| 266 |
"Return the number of annotations for the specified book available in the " |
| 267 |
"database." |
| 268 |
msgstr "Returnera antalet noteringar för den angivna boken som finns i databasen." |
| 269 |
|
| 270 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 271 |
#: calibre.db.cache.Cache.annotations_map_for_book:1 |
| 272 |
msgid "" |
| 273 |
"Return a map of annotation type -> annotation data for the specified " |
| 274 |
"book_id, format, user and user_type." |
| 275 |
msgstr "Returnera en karta med noteringstyp -> noteringsdata för angivet bok-id, format, användare och användartyp." |
| 276 |
|
| 277 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 278 |
#: calibre.db.cache.Cache.author_data:1 |
| 279 |
msgid "Return author data as a dictionary with keys: name, sort, link" |
| 280 |
msgstr "returnerar författardata som ordbok med nycklar: namn, sort, länk" |
| 281 |
|
| 282 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 283 |
#: calibre.db.cache.Cache.author_data:3 |
| 284 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 285 |
#: calibre.db.cache.Cache.author_sorts:3 |
| 286 |
msgid "" |
| 287 |
"If no authors with the specified ids are found an empty dictionary is " |
| 288 |
"returned. If author_ids is None, data for all authors is returned." |
| 289 |
msgstr "Om inga författare med angivna identiteter hittas returneras en tom ordbok. Om author_ids är None, returneras data för alla författare." |
| 290 |
|
| 291 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 292 |
#: calibre.db.cache.Cache.author_sort_from_authors:1 |
| 293 |
msgid "" |
| 294 |
"Given a list of authors, return the author_sort string for the authors, " |
| 295 |
"preferring the author sort associated with the author over the computed " |
| 296 |
"string." |
| 297 |
msgstr "Given en lista med författare, returnera author_sort sträng för författare, framför författarsortering associerad med författare över bearbetade strängen." |
| 298 |
|
| 299 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 300 |
#: calibre.db.cache.Cache.author_sorts:1 |
| 301 |
msgid "Return author sorts for specified authors." |
| 302 |
msgstr "Returnera författarsorteringar för angivna författare." |
| 303 |
|
| 304 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 305 |
#: calibre.db.cache.Cache.books_for_field:1 |
| 306 |
msgid "" |
| 307 |
"Return all the books associated with the item identified by ``item_id``, " |
| 308 |
"where the item belongs to the field ``name``." |
| 309 |
msgstr "returnerar alla böcker associerade med posten identifierad av ``item_id``, där posten tillhör fältet ``name``." |
| 310 |
|
| 311 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 312 |
#: calibre.db.cache.Cache.books_for_field:4 |
| 313 |
msgid "" |
| 314 |
"Returned value is a set of book ids, or the empty set if the item or the " |
| 315 |
"field does not exist." |
| 316 |
msgstr "Returnerat värde är en mängd av bokidentiteter eller den tomma mängden om posten eller fältet inte finns." |
| 317 |
|
| 318 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 319 |
#: calibre.db.cache.Cache.books_in_virtual_library:1 |
| 320 |
msgid "Return the set of books in the specified virtual library" |
| 321 |
msgstr "Returnera uppsättningen böcker i det angivna virtuella biblioteket" |
| 322 |
|
| 323 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 324 |
#: calibre.db.cache.Cache.compress_covers:1 |
| 325 |
msgid "" |
| 326 |
"Compress the cover images for the specified books. A compression quality of " |
| 327 |
"100 will perform lossless compression, otherwise lossy compression." |
| 328 |
msgstr "Komprimera omslagsbilderna för de angivna böckerna. En komprimeringskvalitet på 100 kommer att utföra förlustfri komprimering, annars är det förlustbringande." |
| 329 |
|
| 330 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 331 |
#: calibre.db.cache.Cache.compress_covers:4 |
| 332 |
msgid "" |
| 333 |
"The progress callback will be called with the book_id and the old and new " |
| 334 |
"sizes for each book that has been processed. If an error occurs, the new " |
| 335 |
"size will be a string with the error details." |
| 336 |
msgstr "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." |
| 337 |
|
| 338 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 339 |
#: calibre.db.cache.Cache.copy_cover_to:1 |
| 340 |
msgid "" |
| 341 |
"Copy the cover to the file like object ``dest``. Returns False if no cover " |
| 342 |
"exists or dest is the same file as the current cover. dest can also be a " |
| 343 |
"path in which case the cover is copied to it if and only if the path is " |
| 344 |
"different from the current path (taking case sensitivity into account)." |
| 345 |
msgstr "Kopiera omslag till filen som objektet ``dest``. Returnerar 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)." |
| 346 |
|
| 347 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 348 |
#: calibre.db.cache.Cache.copy_format_to:1 |
| 349 |
msgid "" |
| 350 |
"Copy the format ``fmt`` to the file like object ``dest``. If the specified " |
| 351 |
"format does not exist, raises :class:`NoSuchFormat` error. dest can also be " |
| 352 |
"a path (to a file), in which case the format is copied to it, iff the path " |
| 353 |
"is different from the current path (taking case sensitivity into account)." |
| 354 |
msgstr "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)." |
| 355 |
|
| 356 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 357 |
#: calibre.db.cache.Cache.cover:1 |
| 358 |
msgid "" |
| 359 |
"Return the cover image or None. By default, returns the cover as a " |
| 360 |
"bytestring." |
| 361 |
msgstr "Returnera omslagsbilden eller None. Som standard returneras omslaget som en bytesträng." |
| 362 |
|
| 363 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 364 |
#: calibre.db.cache.Cache.cover:4 |
| 365 |
msgid "" |
| 366 |
"WARNING: Using as_path will copy the cover to a temp file and return the " |
| 367 |
"path to the temp file. You should delete the temp file when you are done " |
| 368 |
"with it." |
| 369 |
msgstr "VARNING: Använda as_path kommer att kopiera omslaget till en temporär fil och returnera sökvägen till temporära filen. Du bör ta bort temporära filen när du är klar med den." |
| 370 |
|
| 371 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 372 |
#: calibre.db.cache.Cache.cover:8 |
| 373 |
msgid "" |
| 374 |
"If True return the image as an open file object (a SpooledTemporaryFile)" |
| 375 |
msgstr "Om True returnerar bilden som ett öppet filobjekt (en SpooledTemporaryFile)" |
| 376 |
|
| 377 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 378 |
#: calibre.db.cache.Cache.cover:9 |
| 379 |
msgid "If True return the image as a QImage object" |
| 380 |
msgstr "Om True returnerar bilden som ett Q-bildobjekt" |
| 381 |
|
| 382 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 383 |
#: calibre.db.cache.Cache.cover:10 |
| 384 |
msgid "If True return the image as a QPixmap object" |
| 385 |
msgstr "Om True returnera bilden som ett QPixmap-objekt" |
| 386 |
|
| 387 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 388 |
#: calibre.db.cache.Cache.cover:11 |
| 389 |
msgid "If True return the image as a path pointing to a temporary file" |
| 390 |
msgstr "Om True returnerar bilden som en sökväg till en temporärfil" |
| 391 |
|
| 392 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 393 |
#: calibre.db.cache.Cache.data_for_find_identical_books:1 |
| 394 |
msgid "" |
| 395 |
"Return data that can be used to implement :meth:`find_identical_books` in a " |
| 396 |
"worker process without access to the db. See db.utils for an implementation." |
| 397 |
msgstr "Returnera 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." |
| 398 |
|
| 399 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 400 |
#: calibre.db.cache.Cache.data_for_has_book:1 |
| 401 |
msgid "" |
| 402 |
"Return data suitable for use in :meth:`has_book`. This can be used for an " |
| 403 |
"implementation of :meth:`has_book` in a worker process without access to the" |
| 404 |
" db." |
| 405 |
msgstr "returnerar 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." |
| 406 |
|
| 407 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 408 |
#: calibre.db.cache.Cache.delete_annotations:1 |
| 409 |
msgid "Delete annotations with the specified ids." |
| 410 |
msgstr "Ta bort noteringar med de angivna identiteterna." |
| 411 |
|
| 412 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 413 |
#: calibre.db.cache.Cache.delete_custom_book_data:1 |
| 414 |
msgid "" |
| 415 |
"Delete data for name. By default deletes all data, if you only want to " |
| 416 |
"delete data for some book ids, pass in a list of book ids." |
| 417 |
msgstr "Ta bort data för namn. Som standard tas alla data bort, om du endast vill ta bort data för vissa bokidentifierare, passera i en lista med bokidentifierare." |
| 418 |
|
| 419 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 420 |
#: calibre.db.cache.Cache.delete_trash_entry:1 |
| 421 |
msgid "" |
| 422 |
"Delete an entry from the trash. Here category is 'b' for books and 'f' for " |
| 423 |
"formats." |
| 424 |
msgstr "Ta bort en post från papperskorgen. Här är kategorin 'b' för böcker och 'f' för format." |
| 425 |
|
| 426 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 427 |
#: calibre.db.cache.Cache.embed_metadata:1 |
| 428 |
msgid "" |
| 429 |
"Update metadata in all formats of the specified book_ids to current metadata" |
| 430 |
" in the database." |
| 431 |
msgstr "Uppdatera metadata i alla format av de angivna book_ids till aktuell metadata i databasen." |
| 432 |
|
| 433 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 434 |
#: calibre.db.cache.Cache.expire_old_trash:1 |
| 435 |
msgid "Expire entries from the trash that are too old" |
| 436 |
msgstr "Förfalla poster från papperskorgen som är för gamla" |
| 437 |
|
| 438 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 439 |
#: calibre.db.cache.Cache.export_note:1 |
| 440 |
msgid "" |
| 441 |
"Export the note as a single HTML document with embedded images as data: URLs" |
| 442 |
msgstr "Exportera anteckningen som ett enda HTML-dokument med inbäddade bilder som data: URL:er" |
| 443 |
|
| 444 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 445 |
#: calibre.db.cache.Cache.fast_field_for:1 |
| 446 |
msgid "" |
| 447 |
"Same as field_for, except that it avoids the extra lookup to get the field " |
| 448 |
"object" |
| 449 |
msgstr "Samma som field_for, förutom att den undviker den extra uppslagningen för att få fältobjektet" |
| 450 |
|
| 451 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 452 |
#: calibre.db.cache.Cache.field_for:1 |
| 453 |
msgid "" |
| 454 |
"Return the value of the field ``name`` for the book identified by " |
| 455 |
"``book_id``. If no such book exists or it has no defined value for the field" |
| 456 |
" ``name`` or no such field exists, then ``default_value`` is returned." |
| 457 |
msgstr "Returnera 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å returneras ``default_value``." |
| 458 |
|
| 459 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 460 |
#: calibre.db.cache.Cache.field_for:6 |
| 461 |
msgid "" |
| 462 |
"``default_value`` is not used for title, title_sort, authors, author_sort " |
| 463 |
"and series_index. This is because these always have values in the db. " |
| 464 |
"``default_value`` is used for all custom columns." |
| 465 |
msgstr "``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." |
| 466 |
|
| 467 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 468 |
#: calibre.db.cache.Cache.field_for:10 |
| 469 |
msgid "" |
| 470 |
"The returned value for is_multiple fields are always tuples, even when no " |
| 471 |
"values are found (in other words, default_value is ignored). The exception " |
| 472 |
"is identifiers for which the returned value is always a dictionary. The " |
| 473 |
"returned tuples are always in link order, that is, the order in which they " |
| 474 |
"were created." |
| 475 |
msgstr "De returnerade värdena för is_multiple-fält är alltid tupler, även när inga värden hittas. Med andra ord ignoreras default_value. Undantaget är identifierare, där det returnerade värdet alltid är en ordbok. De returnerade tuplerna är alltid i länkordning, det vill säga i den ordning som de skapades." |
| 476 |
|
| 477 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 478 |
#: calibre.db.cache.Cache.field_ids_for:1 |
| 479 |
msgid "" |
| 480 |
"Return the ids (as a tuple) for the values that the field ``name`` has on " |
| 481 |
"the book identified by ``book_id``. If there are no values, or no such book," |
| 482 |
" or no such field, an empty tuple is returned." |
| 483 |
msgstr "Returnera id:et (som en tupel) för de värden som fältet ``name`` har på boken som identifieras av ``book_id``. Om det inte finns några värden, ingen sådan bok, eller inget sådant fält, returneras en tom tupel." |
| 484 |
|
| 485 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 486 |
#: calibre.db.cache.Cache.field_supports_notes:1 |
| 487 |
msgid "" |
| 488 |
"Return True iff the specified field supports notes. If field is None return " |
| 489 |
"frozenset of all fields that support notes." |
| 490 |
msgstr "Returnera True om det angivna fältet stöder anteckningar. Om fältet är Inget returnera frozenset av alla fält som stöder anteckningar." |
| 491 |
|
| 492 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 493 |
#: calibre.db.cache.Cache.find_identical_books:1 |
| 494 |
msgid "" |
| 495 |
"Finds books that have a superset of the authors in mi and the same title " |
| 496 |
"(title is fuzzy matched). See also :meth:`data_for_find_identical_books`." |
| 497 |
msgstr "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`." |
| 498 |
|
| 499 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 500 |
#: calibre.db.cache.Cache.format:1 |
| 501 |
msgid "" |
| 502 |
"Return the e-book format as a bytestring or `None` if the format doesn't " |
| 503 |
"exist, or we don't have permission to write to the e-book file." |
| 504 |
msgstr "Returnera e-bokformat som en bytesträng eller `None` om formatet inte finns, eller om vi inte har behörighet att skriva till e-bokfilen." |
| 505 |
|
| 506 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 507 |
#: calibre.db.cache.Cache.format:4 |
| 508 |
msgid "" |
| 509 |
"If True the e-book format is returned as a file object. Note that the file " |
| 510 |
"object is a SpooledTemporaryFile, so if what you want to do is copy the " |
| 511 |
"format to another file, use :meth:`copy_format_to` instead for performance." |
| 512 |
msgstr "Om True returneras 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` i stället för prestanda." |
| 513 |
|
| 514 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 515 |
#: calibre.db.cache.Cache.format:8 |
| 516 |
msgid "" |
| 517 |
"Copies the format file to a temp file and returns the path to the temp file" |
| 518 |
msgstr "Kopierar formatet filen till en temp fil och returnerar sökvägen till temp filen" |
| 519 |
|
| 520 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 521 |
#: calibre.db.cache.Cache.format:10 |
| 522 |
msgid "" |
| 523 |
"If True and returning a path the filename is the same as that used in the " |
| 524 |
"library. Note that using this means that repeated calls yield the same temp " |
| 525 |
"file (which is re-created each time)" |
| 526 |
msgstr "Om True och returneras 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)" |
| 527 |
|
| 528 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 529 |
#: calibre.db.cache.Cache.format_abspath:1 |
| 530 |
msgid "" |
| 531 |
"Return absolute path to the e-book file of format `format`. You should " |
| 532 |
"almost never use this, as it breaks the threadsafe promise of this API. " |
| 533 |
"Instead use, :meth:`copy_format_to`." |
| 534 |
msgstr "Returnera 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 i stället, :meth:`copy_format_to`." |
| 535 |
|
| 536 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 537 |
#: calibre.db.cache.Cache.format_abspath:5 |
| 538 |
msgid "" |
| 539 |
"Currently used only in calibredb list, the viewer, edit book, compare_format" |
| 540 |
" to original format, open with, bulk metadata edit and the catalogs (via " |
| 541 |
"get_data_as_dict())." |
| 542 |
msgstr "Används för närvarande endast i calibredb-listan, visaren, redigera bok, compare_format till originalformat, öppna med, redigera metadata i grupp och katalogerna (via get_data_as_dict())." |
| 543 |
|
| 544 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 545 |
#: calibre.db.cache.Cache.format_abspath:9 |
| 546 |
msgid "" |
| 547 |
"Apart from the viewer, open with and edit book, I don't believe any of the " |
| 548 |
"others do any file write I/O with the results of this call." |
| 549 |
msgstr "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." |
| 550 |
|
| 551 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 552 |
#: calibre.db.cache.Cache.format_hash:1 |
| 553 |
msgid "" |
| 554 |
"Return the hash of the specified format for the specified book. The kind of " |
| 555 |
"hash is backend dependent, but is usually SHA-256." |
| 556 |
msgstr "Returnera hash för det angivna formatet för den angivna boken. Den typ av hash är algoritmberoende, men är oftast SHA-256." |
| 557 |
|
| 558 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 559 |
#: calibre.db.cache.Cache.format_metadata:1 |
| 560 |
msgid "" |
| 561 |
"Return the path, size and mtime for the specified format for the specified " |
| 562 |
"book. You should not use path unless you absolutely have to, since accessing" |
| 563 |
" it directly breaks the threadsafe guarantees of this API. Instead use the " |
| 564 |
":meth:`copy_format_to` method." |
| 565 |
msgstr "Returnera 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. I stället använd :meth:`copy_format_to` metoden." |
| 566 |
|
| 567 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 568 |
#: calibre.db.cache.Cache.format_metadata:6 |
| 569 |
msgid "" |
| 570 |
"If ``True`` cached values are used, otherwise a slow filesystem access is " |
| 571 |
"done. The cache values could be out of date if access was performed to the " |
| 572 |
"filesystem outside of this API." |
| 573 |
msgstr "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." |
| 574 |
|
| 575 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 576 |
#: calibre.db.cache.Cache.format_metadata:10 |
| 577 |
msgid "" |
| 578 |
"If ``True`` The max_size field of the database is updated for this book." |
| 579 |
msgstr "Om ``True`` kommer max_size-fältet i databasen uppdateras för denna bok." |
| 580 |
|
| 581 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 582 |
#: calibre.db.cache.Cache.formats:1 |
| 583 |
msgid "" |
| 584 |
"Return tuple of all formats for the specified book. If verify_formats is " |
| 585 |
"True, verifies that the files exist on disk." |
| 586 |
msgstr "Returnera tupel av alla format för den specifika boken. Om verify_formats är True verifieras att filer finns på disken." |
| 587 |
|
| 588 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 589 |
#: calibre.db.cache.Cache.get_all_items_that_have_notes:1 |
| 590 |
msgid "" |
| 591 |
"Return all item_ids for items that have notes in the specified field or all " |
| 592 |
"fields if field_name is None" |
| 593 |
msgstr "Returnera alla item_ids för poster som har anteckningar i det angivna fältet eller alla fält om fältnamn är None" |
| 594 |
|
| 595 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 596 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:1 |
| 597 |
msgid "" |
| 598 |
"Returns all links for all fields referenced by book identified by book_id. " |
| 599 |
"If book_id doesn't exist then the method returns {}." |
| 600 |
msgstr "Returnerar alla länkar för alla fält som hänvisas till av bok som identifieras av book_id. Om book_id inte finns returnerar metoden {}." |
| 601 |
|
| 602 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 603 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:4 |
| 604 |
msgid "" |
| 605 |
"Example: Assume author A has link X, author B has link Y, tag S has link F, " |
| 606 |
"and tag T has link G. If book 1 has author A and tag T, this method returns " |
| 607 |
"{'authors':{'A':'X'}, 'tags':{'T', 'G'}}. If book 2's author is neither A " |
| 608 |
"nor B and has no tags, this method returns {}." |
| 609 |
msgstr "Exempel: Antag att författare A har länk X, författare B har länk Y, tagg S har länk F och tagg T har länk G. Om bok 1 har författare A och tagg T, returnerar denna metod {'authors':{'A':'X'}, 'tags':{'T', 'G'}}. Om bok 2:s författare varken är A eller B och inte har några taggar, returnerar denna metod {}." |
| 610 |
|
| 611 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 612 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:9 |
| 613 |
msgid "the book id in question." |
| 614 |
msgstr "bokidentitet i fråga." |
| 615 |
|
| 616 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:0 |
| 617 |
msgid "Returns" |
| 618 |
msgstr "Returnerar" |
| 619 |
|
| 620 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 621 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:11 |
| 622 |
msgid "" |
| 623 |
"{field: {field_value, link_value}, ... for all fields with a field_value " |
| 624 |
"having a non-empty link value for that book" |
| 625 |
msgstr "{field: {field_value, link_value}, ... för alla fält med ett field_value som har ett icke-tomt länkvärde för den boken" |
| 626 |
|
| 627 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 628 |
#: calibre.db.cache.Cache.get_book_path:1 |
| 629 |
msgid "" |
| 630 |
"Return the relative book path for the given id. Prefer this because you can " |
| 631 |
"choose the directory separator, default use the OS one. If unsafe is True, " |
| 632 |
"allow to return None if the book_id is not in the library." |
| 633 |
msgstr "Returnera den relativa sökvägen för boken för det angivna ID:t. Föredra detta eftersom du kan välja katalogseparator, standardinställningen är OS-separator. Om unsafe är True, tillåt att None returneras om book_id inte finns i biblioteket." |
| 634 |
|
| 635 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 636 |
#: calibre.db.cache.Cache.get_categories:1 |
| 637 |
msgid "Used internally to implement the Tag Browser" |
| 638 |
msgstr "Används internt för att implementera taggbläddraren" |
| 639 |
|
| 640 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 641 |
#: calibre.db.cache.Cache.get_custom_book_data:1 |
| 642 |
msgid "" |
| 643 |
"Get data for name. By default returns data for all book_ids, pass in a list " |
| 644 |
"of book ids if you only want some data. Returns a map of book_id to values. " |
| 645 |
"If a particular value could not be decoded, uses default for it." |
| 646 |
msgstr "Hämta data för namn. Som standard returneras data för alla book_ids, förse med en lista med bokidentifierare om du bara vill ha några data. returnerar en översikt av book_id till värden. Om en speciellt värde inte kan identifieras, används i stället standardvärde för den." |
| 647 |
|
| 648 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 649 |
#: calibre.db.cache.Cache.get_id_map:1 |
| 650 |
msgid "" |
| 651 |
"Return a mapping of id numbers to values for the specified field. The field " |
| 652 |
"must be a many-one or many-many field, otherwise a ValueError is raised." |
| 653 |
msgstr "Returnera en kartläggning av id-nummer till värden för det angivna fältet. Fältet måste vara ett många-en- eller många-många-fält, annars uppstår ett ValueError." |
| 654 |
|
| 655 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 656 |
#: calibre.db.cache.Cache.get_ids_for_custom_book_data:1 |
| 657 |
msgid "Return the set of book ids for which name has data." |
| 658 |
msgstr "Returnera en uppsättning bok-id för vilket namn har data." |
| 659 |
|
| 660 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 661 |
#: calibre.db.cache.Cache.get_item_id:1 |
| 662 |
msgid "" |
| 663 |
"Return the item id for item_name or None if not found. This function is very" |
| 664 |
" slow if doing lookups for multiple names use either get_item_ids() or " |
| 665 |
"get_item_name_map(). Similarly, case sensitive lookups are faster than case " |
| 666 |
"insensitive ones." |
| 667 |
msgstr "Returnera post-ID:t för item_name eller None om det inte hittas. Funktionen är mycket långsam vid uppslagning av flera namn; använd i stället get_item_ids() eller get_item_name_map(). Skiftlägeskänsliga uppslagningar är också snabbare än skiftlägesokänsliga." |
| 668 |
|
| 669 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 670 |
#: calibre.db.cache.Cache.get_item_ids:1 |
| 671 |
msgid "Return a dict mapping item_name to the item id or None" |
| 672 |
msgstr "Returnera en dict-kartläggning av item_name till post-id eller None" |
| 673 |
|
| 674 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 675 |
#: calibre.db.cache.Cache.get_item_name:1 |
| 676 |
msgid "" |
| 677 |
"Return the item name for the item specified by item_id in the specified " |
| 678 |
"field. See also :meth:`get_id_map`." |
| 679 |
msgstr "Returnera postnamnet för posten som anges av item_id i specificerat fält. Se också :meth:`get_id_map`." |
| 680 |
|
| 681 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 682 |
#: calibre.db.cache.Cache.get_item_name_map:1 |
| 683 |
msgid "Return mapping of item values to ids" |
| 684 |
msgstr "Returnera kartläggning av postvärden till identifieringar" |
| 685 |
|
| 686 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 687 |
#: calibre.db.cache.Cache.get_link_map:1 |
| 688 |
msgid "Return a dictionary of links for the supplied field." |
| 689 |
msgstr "Returnera en ordbok med länkar för det angivna fältet." |
| 690 |
|
| 691 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 692 |
#: calibre.db.cache.Cache.get_link_map:3 |
| 693 |
msgid "the lookup name of the field for which the link map is desired" |
| 694 |
msgstr "uppslagsnamnet för fältet för vilket länkkartan önskas" |
| 695 |
|
| 696 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 697 |
#: calibre.db.cache.Cache.get_link_map:5 |
| 698 |
msgid "{field_value:link_value, ...} for non-empty links" |
| 699 |
msgstr "{field_value:link_value, ...} för icke-tomma länkar" |
| 700 |
|
| 701 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 702 |
#: calibre.db.cache.Cache.get_metadata:1 |
| 703 |
msgid "" |
| 704 |
"Return metadata for the book identified by book_id as a " |
| 705 |
":class:`calibre.ebooks.metadata.book.base.Metadata` object. Note that the " |
| 706 |
"list of formats is not verified. If get_cover is True, the cover is " |
| 707 |
"returned, either a path to temp file as mi.cover or if cover_as_data is True" |
| 708 |
" then as mi.cover_data." |
| 709 |
msgstr "Returnera 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 returneras, antingen som en sökväg till temporärfilen mi.cover eller om cover_as_data är Sant som mi.cover_data." |
| 710 |
|
| 711 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 712 |
#: calibre.db.cache.Cache.get_next_series_num_for:1 |
| 713 |
msgid "" |
| 714 |
"Return the next series index for the specified series, taking into account " |
| 715 |
"the various preferences that control next series number generation." |
| 716 |
msgstr "Returnera nästa serieindex för den specifika serien, med beaktning av olika inställningar som styr skapande av nästa serienummer." |
| 717 |
|
| 718 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 719 |
#: calibre.db.cache.Cache.get_next_series_num_for:4 |
| 720 |
msgid "The series-like field (defaults to the builtin series column)" |
| 721 |
msgstr "Det serieliknande fältet (standard är den inbyggda seriekolumnen)" |
| 722 |
|
| 723 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 724 |
#: calibre.db.cache.Cache.get_next_series_num_for:5 |
| 725 |
msgid "" |
| 726 |
"If True, returns a mapping of book_id to current series_index value instead." |
| 727 |
msgstr "Om True, returneras en kartläggning av book_id till aktuellt serie_index-värde i stället." |
| 728 |
|
| 729 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 730 |
#: calibre.db.cache.Cache.get_notes_resource:1 |
| 731 |
msgid "" |
| 732 |
"Return a dict containing the resource data and name or None if no resource " |
| 733 |
"with the specified hash is found" |
| 734 |
msgstr "Returnera ett dikt som innehåller resursdata och namn eller None om ingen resurs med angiven hash hittas" |
| 735 |
|
| 736 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 737 |
#: calibre.db.cache.Cache.get_pages:1 |
| 738 |
msgid "Return page count information for the specified book" |
| 739 |
msgstr "Returnera sidantal för den angivna boken" |
| 740 |
|
| 741 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 742 |
#: calibre.db.cache.Cache.get_proxy_metadata:1 |
| 743 |
msgid "" |
| 744 |
"Like :meth:`get_metadata` except that it returns a ProxyMetadata object that" |
| 745 |
" only reads values from the database on demand. This is much faster than " |
| 746 |
"get_metadata when only a small number of fields need to be accessed from the" |
| 747 |
" returned metadata object." |
| 748 |
msgstr "Liksom :meth:`get_metadata` förutom att den returnerar 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 returnerat metadataobjekt." |
| 749 |
|
| 750 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 751 |
#: calibre.db.cache.Cache.get_usage_count_by_id:1 |
| 752 |
msgid "" |
| 753 |
"Return a mapping of id to usage count for all values of the specified field," |
| 754 |
" which must be a many-one or many-many field." |
| 755 |
msgstr "Returnera en kartläggning av id till användningsantal för alla värden i det angivna fältet, som måste vara ett många-en- eller många-många-fält." |
| 756 |
|
| 757 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 758 |
#: calibre.db.cache.Cache.has_book:1 |
| 759 |
msgid "" |
| 760 |
"Return True iff the database contains an entry with the same title as the " |
| 761 |
"passed in Metadata object. The comparison is case-insensitive. See also " |
| 762 |
":meth:`data_for_has_book`." |
| 763 |
msgstr "Returnera True om och endast om databasen innehåller en post med samma titel som det angivna Metadata-objektet. Jämförelsen är skiftlägesokänslig. Se även :meth:`data_for_has_book`." |
| 764 |
|
| 765 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 766 |
#: calibre.db.cache.Cache.has_format:1 |
| 767 |
msgid "Return True iff the format exists on disk" |
| 768 |
msgstr "Returnera True om och endast om formatet finns på disken" |
| 769 |
|
| 770 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 771 |
#: calibre.db.cache.Cache.has_id:1 |
| 772 |
msgid "Return True iff the specified book_id exists in the db" |
| 773 |
msgstr "Returnera True om och endast om specificerad book_id finns i db" |
| 774 |
|
| 775 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 776 |
#: calibre.db.cache.Cache.import_note:1 |
| 777 |
msgid "" |
| 778 |
"Import a previously exported note or an arbitrary HTML file as the note for " |
| 779 |
"the specified item" |
| 780 |
msgstr "Importera en tidigare exporterad anteckning eller en godtycklig HTML-fil som anteckning för den angivna posten" |
| 781 |
|
| 782 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 783 |
#: calibre.db.cache.Cache.init:1 |
| 784 |
msgid "Initialize this cache with data from the backend." |
| 785 |
msgstr "Initiera denna cache med data från backend." |
| 786 |
|
| 787 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 788 |
#: calibre.db.cache.Cache.items_with_notes_in_book:1 |
| 789 |
msgid "" |
| 790 |
"Return a dict of field to items that have associated notes for that field " |
| 791 |
"for the specified book" |
| 792 |
msgstr "Returnera ett dict av fält till poster som har associerade anteckningar för det fältet för den angivna boken" |
| 793 |
|
| 794 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 795 |
#: calibre.db.cache.Cache.link_for:1 |
| 796 |
msgid "" |
| 797 |
"Return the link, if any, for the specified item or None if no link is found" |
| 798 |
msgstr "Returnera länken, om någon, för det angivna objektet eller None om ingen länk hittas" |
| 799 |
|
| 800 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 801 |
#: calibre.db.cache.Cache.list_extra_files:1 |
| 802 |
msgid "Get information about extra files in the book's directory." |
| 803 |
msgstr "Få information om extra filer i bokens mapp." |
| 804 |
|
| 805 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 806 |
#: calibre.db.cache.Cache.list_extra_files:3 |
| 807 |
msgid "the database book id for the book" |
| 808 |
msgstr "databasens bokidentitet för boken" |
| 809 |
|
| 810 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 811 |
#: calibre.db.cache.Cache.list_extra_files:4 |
| 812 |
msgid "" |
| 813 |
"the pattern of filenames to search for. Empty pattern matches all extra " |
| 814 |
"files. Patterns must use / as separator. Use the DATA_FILE_PATTERN constant " |
| 815 |
"to match files inside the data directory." |
| 816 |
msgstr "mönstret av filnamn att söka efter. Tomt mönster matchar alla extra filer. Mönster måste använda / som separator. Använd konstanten DATA_FILE_PATTERN för att matcha filer i datamappen." |
| 817 |
|
| 818 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 819 |
#: calibre.db.cache.Cache.list_extra_files:7 |
| 820 |
msgid "" |
| 821 |
"A tuple of all extra files matching the specified pattern. Each element of " |
| 822 |
"the tuple is ExtraFile(relpath, file_path, stat_result). Where relpath is " |
| 823 |
"the relative path of the file to the book directory using / as a separator. " |
| 824 |
"stat_result is the result of calling os.stat() on the file." |
| 825 |
msgstr "En tupel av alla extra filer som matchar det angivna mönstret. Varje element i tuplen är ExtraFile(relpath, file_path, stat_result). Där relpath är den relativa sökvägen för filen till bokkatalogen med / som avgränsare. stat_result är resultatet av att anropa os.stat() på filen." |
| 826 |
|
| 827 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 828 |
#: calibre.db.cache.Cache.mark_for_pages_recount:1 |
| 829 |
msgid "Mark all books for recount of pages" |
| 830 |
msgstr "Markera alla böcker för omräkning av sidor" |
| 831 |
|
| 832 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 833 |
#: calibre.db.cache.Cache.merge_annotations_for_book:1 |
| 834 |
msgid "" |
| 835 |
"Merge the specified annotations into the existing annotations for book_id, " |
| 836 |
"fm, user_type, and user." |
| 837 |
msgstr "Slå samman de angivna noteringarna till de befintliga noteringarna för book_id, fm, user_type och user." |
| 838 |
|
| 839 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 840 |
#: calibre.db.cache.Cache.merge_extra_files:1 |
| 841 |
msgid "" |
| 842 |
"Merge the extra files from src_ids into dest_id. Conflicting files are auto-" |
| 843 |
"renamed unless replace=True in which case they are replaced." |
| 844 |
msgstr "Slå samman de extra filerna från src_ids till dest_id. Motstridiga filer döps automatiskt om inte replace=True i vilket fall de ersätts." |
| 845 |
|
| 846 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 847 |
#: calibre.db.cache.Cache.move_book_from_trash:1 |
| 848 |
msgid "Undelete a book from the trash directory" |
| 849 |
msgstr "Ångra borttagning av en bok från papperskorgen" |
| 850 |
|
| 851 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 852 |
#: calibre.db.cache.Cache.move_format_from_trash:1 |
| 853 |
msgid "Undelete a format from the trash directory" |
| 854 |
msgstr "Ångra borttagning av ett format från papperskorgen" |
| 855 |
|
| 856 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 857 |
#: calibre.db.cache.Cache.multisort:1 |
| 858 |
msgid "" |
| 859 |
"Return a list of sorted book ids. If ids_to_sort is None, all book ids are " |
| 860 |
"returned." |
| 861 |
msgstr "Returnera en lista med sorterade bokidentifierare. Om ids_to_sort är None, kommer alla bokidentifierare att returneras." |
| 862 |
|
| 863 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 864 |
#: calibre.db.cache.Cache.multisort:4 |
| 865 |
msgid "" |
| 866 |
"fields must be a list of 2-tuples of the form (field_name, ascending=True or" |
| 867 |
" False). The most significant field is the first 2-tuple." |
| 868 |
msgstr "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." |
| 869 |
|
| 870 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 871 |
#: calibre.db.cache.Cache.notes_data_for:1 |
| 872 |
msgid "Return all notes data as a dict or None if note does not exist" |
| 873 |
msgstr "Returnera alla anteckningsdata som en ordbok, eller None om anteckningen inte finns" |
| 874 |
|
| 875 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 876 |
#: calibre.db.cache.Cache.notes_for:1 |
| 877 |
msgid "Return the notes document or an empty string if not found" |
| 878 |
msgstr "Returnera anteckningsdokumentet eller en tom sträng om den inte hittas" |
| 879 |
|
| 880 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 881 |
#: calibre.db.cache.Cache.notes_resources_used_by:1 |
| 882 |
msgid "" |
| 883 |
"Return the set of resource hashes of all resources used by the note for the " |
| 884 |
"specified item" |
| 885 |
msgstr "Returnera uppsättningen resurs-hashar för alla resurser som används av anteckningen för det angivna posten" |
| 886 |
|
| 887 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 888 |
#: calibre.db.cache.Cache.pages_needs_scan:1 |
| 889 |
msgid "" |
| 890 |
"Return the subset of books (or all books if empty) that are marked as " |
| 891 |
"needing a scan to update page count" |
| 892 |
msgstr "Returnera delmängden av böcker (eller alla böcker om de är tomma) som är markerade som att de behöver skannas för att uppdatera sidantalet" |
| 893 |
|
| 894 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 895 |
#: calibre.db.cache.Cache.pref:1 |
| 896 |
msgid "" |
| 897 |
"Return the value for the specified preference or the value specified as " |
| 898 |
"``default`` if the preference is not set." |
| 899 |
msgstr "Returnera värdet för den angivna inställningen eller värdet som anges som ``default`` om inställningen inte har angetts." |
| 900 |
|
| 901 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 902 |
#: calibre.db.cache.Cache.queue_pages_scan:1 |
| 903 |
msgid "" |
| 904 |
"Start a scan updating page counts for all books that need a scan. If book_id" |
| 905 |
" is specified, then only that book is scanned and it is always scanned. When" |
| 906 |
" `force` is True, the existing pages value, if any, is discarded so that the" |
| 907 |
" book is forcibly rescanned even if the existing value was up-to-date." |
| 908 |
msgstr "Starta en skanning som uppdaterar sidantal för alla böcker som behöver skannas. Om book_id anges skannas endast den boken, och den skannas alltid. När `force` är True ignoreras eventuellt värde för befintliga sidor, så att boken tvingas skannas om även om det befintliga värdet var uppdaterat." |
| 909 |
|
| 910 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 911 |
#: calibre.db.cache.Cache.read_backup:1 |
| 912 |
msgid "" |
| 913 |
"Return the OPF metadata backup for the book as a bytestring or None if no " |
| 914 |
"such backup exists." |
| 915 |
msgstr "Returnera OPF-metadata-säkerhetskopian för boken som en bytesträng eller None om ingen sådan säkerhetskopia finns." |
| 916 |
|
| 917 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 918 |
#: calibre.db.cache.Cache.remove_books:1 |
| 919 |
msgid "" |
| 920 |
"Remove the books specified by the book_ids from the database and delete " |
| 921 |
"their format files. If ``permanent`` is False, then the format files are " |
| 922 |
"placed in the per-library trash directory." |
| 923 |
msgstr "Ta bort böckerna som specificeras av book_ids från databasen och ta bort deras formatfiler. Om ``permanent`` är False, placeras formatfilerna i papperskorgen per bibliotek." |
| 924 |
|
| 925 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 926 |
#: calibre.db.cache.Cache.remove_extra_files:1 |
| 927 |
msgid "" |
| 928 |
"Delete the specified extra files, either to Recycle Bin or permanently." |
| 929 |
msgstr "Ta bort de angivna extrafilerna, antingen till papperskorgen eller permanent." |
| 930 |
|
| 931 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 932 |
#: calibre.db.cache.Cache.remove_formats:1 |
| 933 |
msgid "Remove the specified formats from the specified books." |
| 934 |
msgstr "Ta bort de angivna formaten från de angivna böckerna." |
| 935 |
|
| 936 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 937 |
#: calibre.db.cache.Cache.remove_formats:3 |
| 938 |
msgid "A mapping of book_id to a list of formats to be removed from the book." |
| 939 |
msgstr "En kartläggning av book_id till en lista med format som ska tas bort från boken." |
| 940 |
|
| 941 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 942 |
#: calibre.db.cache.Cache.remove_formats:4 |
| 943 |
msgid "" |
| 944 |
"If True, only remove the record for the format from the db, do not delete " |
| 945 |
"the actual format file from the filesystem." |
| 946 |
msgstr "Om True, tas bara handlingen av format från databasen, tar inte bort de aktuella filformaten från filsystemet." |
| 947 |
|
| 948 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 949 |
#: calibre.db.cache.Cache.remove_formats:5 |
| 950 |
msgid "" |
| 951 |
"A map of book id to set of formats actually deleted from the filesystem for " |
| 952 |
"that book" |
| 953 |
msgstr "En karta över bok-id till uppsättning format som faktiskt tagits bort från filsystemet för den boken" |
| 954 |
|
| 955 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 956 |
#: calibre.db.cache.Cache.remove_items:1 |
| 957 |
msgid "" |
| 958 |
"Delete all items in the specified field with the specified ids. Returns the " |
| 959 |
"set of affected book ids. ``restrict_to_book_ids`` is an optional set of " |
| 960 |
"books ids. If specified the items will only be removed from those books." |
| 961 |
msgstr "Ta bort alla poster i det angivna fältet med det angivna id. returnerar uppsättningen av påverkade bok-id. ``restrict_to_book_ids`` är en valfri uppsättning bok-id. Om det anges kommer posterna endast att tas bort från dessa böcker." |
| 962 |
|
| 963 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 964 |
#: calibre.db.cache.Cache.rename_extra_files:1 |
| 965 |
msgid "Rename extra data files" |
| 966 |
msgstr "Byt namn på extra datafiler" |
| 967 |
|
| 968 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 969 |
#: calibre.db.cache.Cache.rename_items:1 |
| 970 |
msgid "" |
| 971 |
"Rename items from a many-one or many-many field such as tags or series." |
| 972 |
msgstr "Byt namn på post från många-en eller många-många fält som taggar eller serier." |
| 973 |
|
| 974 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 975 |
#: calibre.db.cache.Cache.rename_items:3 |
| 976 |
msgid "" |
| 977 |
"When renaming in a series-like field also change the series_index values." |
| 978 |
msgstr "Vid byte av namn i ett serieliknande fält ändras också värdena för series_index." |
| 979 |
|
| 980 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 981 |
#: calibre.db.cache.Cache.rename_items:4 |
| 982 |
msgid "" |
| 983 |
"An optional set of book ids for which the rename is to be performed, " |
| 984 |
"defaults to all books." |
| 985 |
msgstr "En valfri uppsättning bok-id där namnbyte ska utföras, standard för alla böcker." |
| 986 |
|
| 987 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 988 |
#: calibre.db.cache.Cache.restore_book:1 |
| 989 |
msgid "" |
| 990 |
"Restore the book entry in the database for a book that already exists on the" |
| 991 |
" filesystem" |
| 992 |
msgstr "Återställ bokposten i databasen för en bok som redan finns i filsystemet" |
| 993 |
|
| 994 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 995 |
#: calibre.db.cache.Cache.restore_original_format:1 |
| 996 |
msgid "" |
| 997 |
"Restore the specified format from the previously saved ORIGINAL_FORMAT, if " |
| 998 |
"any. Return True on success. The ORIGINAL_FORMAT is deleted after a " |
| 999 |
"successful restore." |
| 1000 |
msgstr "Återställer det angivna formatet från tidigare sparat ORIGINAL_FORMAT, om något. returnerar True vid framgång. ORIGINAL_FORMAT tas bort efter en lyckad återställning." |
| 1001 |
|
| 1002 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1003 |
#: calibre.db.cache.Cache.safe_read_lock:1 |
| 1004 |
msgid "" |
| 1005 |
"A safe read lock is a lock that does nothing if the thread already has a " |
| 1006 |
"write lock, otherwise it acquires a read lock. This is necessary to prevent " |
| 1007 |
"DowngradeLockErrors, which can happen when updating the search cache in the " |
| 1008 |
"presence of composite columns. Updating the search cache holds an exclusive " |
| 1009 |
"lock, but searching a composite column involves reading field values via " |
| 1010 |
"ProxyMetadata which tries to get a shared lock. There may be other scenarios" |
| 1011 |
" that trigger this as well." |
| 1012 |
msgstr "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å." |
| 1013 |
|
| 1014 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1015 |
#: calibre.db.cache.Cache.safe_read_lock:9 |
| 1016 |
msgid "" |
| 1017 |
"This property returns a new lock object on every access. This lock object is" |
| 1018 |
" not recursive (for performance) and must only be used in a with statement " |
| 1019 |
"as ``with cache.safe_read_lock:`` otherwise bad things will happen." |
| 1020 |
msgstr "Den här egenskapen returnerar 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." |
| 1021 |
|
| 1022 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1023 |
#: calibre.db.cache.Cache.save_original_format:1 |
| 1024 |
msgid "" |
| 1025 |
"Save a copy of the specified format as ORIGINAL_FORMAT, overwriting any " |
| 1026 |
"existing ORIGINAL_FORMAT." |
| 1027 |
msgstr "Spara en kopia i det angivna formatet som ORIGINAL_FORMAT, skriver över alla befintliga ORIGINAL_FORMAT." |
| 1028 |
|
| 1029 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1030 |
#: calibre.db.cache.Cache.search:1 |
| 1031 |
msgid "" |
| 1032 |
"Search the database for the specified query, returning a set of matched book" |
| 1033 |
" ids." |
| 1034 |
msgstr "Sök i databasen efter den angivna frågan och returnera en uppsättning matchade bok-id." |
| 1035 |
|
| 1036 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1037 |
#: calibre.db.cache.Cache.search:3 |
| 1038 |
msgid "" |
| 1039 |
"A restriction that is ANDed to the specified query. Note that restrictions " |
| 1040 |
"are cached, therefore the search for a AND b will be slower than a with " |
| 1041 |
"restriction b." |
| 1042 |
msgstr "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." |
| 1043 |
|
| 1044 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1045 |
#: calibre.db.cache.Cache.search:6 |
| 1046 |
msgid "Used internally (virtual fields such as on_device to search over)." |
| 1047 |
msgstr "Används internt (virtuella fält som on_device ska söka över)." |
| 1048 |
|
| 1049 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1050 |
#: calibre.db.cache.Cache.search:8 |
| 1051 |
msgid "" |
| 1052 |
"If not None, a set of book ids for which books will be searched instead of " |
| 1053 |
"searching all books." |
| 1054 |
msgstr "Om inte None, en uppsättning bok-id för vilka böcker kommer att sökas i stället för att söka i alla böcker." |
| 1055 |
|
| 1056 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1057 |
#: calibre.db.cache.Cache.search_annotations:1 |
| 1058 |
msgid "" |
| 1059 |
"Return of a tuple of annotations matching the specified Full-text query." |
| 1060 |
msgstr "Retur av ett antal noteringar som matchar den angivna heltextsökförfrågan." |
| 1061 |
|
| 1062 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1063 |
#: calibre.db.cache.Cache.search_notes:1 |
| 1064 |
msgid "" |
| 1065 |
"Search the text of notes using an FTS index. If the query is empty return " |
| 1066 |
"all notes." |
| 1067 |
msgstr "Sök i anteckningstexten med hjälp av ett FTS-index. Om frågan är tom returneras alla anteckningar. " |
| 1068 |
|
| 1069 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1070 |
#: calibre.db.cache.Cache.set_annotations_for_book:1 |
| 1071 |
msgid "" |
| 1072 |
"Set all annotations for the specified book_id, fmt, user_type and user." |
| 1073 |
msgstr "Ställ in alla noteringar för det angivna book_id, fmt, user_type och user." |
| 1074 |
|
| 1075 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1076 |
#: calibre.db.cache.Cache.set_conversion_options:1 |
| 1077 |
msgid "options must be a map of the form {book_id:conversion_options}" |
| 1078 |
msgstr "alternativ måste vara en översikt på formen {book_id:conversion_options}" |
| 1079 |
|
| 1080 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1081 |
#: calibre.db.cache.Cache.set_cover:1 |
| 1082 |
msgid "" |
| 1083 |
"Set the cover for this book. The data can be either a QImage, QPixmap, file " |
| 1084 |
"object or bytestring. It can also be None, in which case any existing cover " |
| 1085 |
"is removed." |
| 1086 |
msgstr "Ställ in omslaget för denna bok. Data kan antingen vara en QImage, QPixmap, filobjekt eller bytesträng. Det kan också vara None, i vilket fall eventuellt befintligt omslag tas bort." |
| 1087 |
|
| 1088 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1089 |
#: calibre.db.cache.Cache.set_field:1 |
| 1090 |
msgid "" |
| 1091 |
"Set the values of the field specified by ``name``. Returns the set of all " |
| 1092 |
"book ids that were affected by the change." |
| 1093 |
msgstr "Ställ in värdena för fältet som anges av ``name``. Returnerar uppsättningen av alla bok-id som påverkades av ändringen." |
| 1094 |
|
| 1095 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1096 |
#: calibre.db.cache.Cache.set_field:3 |
| 1097 |
msgid "Mapping of book_ids to values that should be applied." |
| 1098 |
msgstr "Kartläggning av book_ids till värden som bör tillämpas." |
| 1099 |
|
| 1100 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1101 |
#: calibre.db.cache.Cache.set_field:4 |
| 1102 |
msgid "" |
| 1103 |
"If True, the case of many-one or many-many fields will be changed. For " |
| 1104 |
"example, if a book has the tag ``tag1`` and you set the tag for another " |
| 1105 |
"book to ``Tag1`` then the both books will have the tag ``Tag1`` if " |
| 1106 |
"allow_case_change is True, otherwise they will both have the tag ``tag1``." |
| 1107 |
msgstr "Om True, i fall det rör sig om många-en eller många-många fält att ä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``." |
| 1108 |
|
| 1109 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1110 |
#: calibre.db.cache.Cache.set_field:8 |
| 1111 |
msgid "Used internally, you should never change it." |
| 1112 |
msgstr "Används internt, du bör aldrig ändra det." |
| 1113 |
|
| 1114 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1115 |
#: calibre.db.cache.Cache.set_link_map:1 |
| 1116 |
msgid "" |
| 1117 |
"Sets links for item values in field. Note: this method doesn't change values" |
| 1118 |
" not in the value_to_link_map" |
| 1119 |
msgstr "Ställer in länkar för postvärden i fältet. Obs: den här metoden ändrar inte värden som inte finns i value_to_link_map" |
| 1120 |
|
| 1121 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1122 |
#: calibre.db.cache.Cache.set_link_map:4 |
| 1123 |
msgid "the lookup name" |
| 1124 |
msgstr "uppslagsnamnet" |
| 1125 |
|
| 1126 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1127 |
#: calibre.db.cache.Cache.set_link_map:5 |
| 1128 |
msgid "" |
| 1129 |
"dict(field_value:link, ...). Note that these are values, not field ids." |
| 1130 |
msgstr "dict(field_value:link, ...). Observera att detta är värden, inte fältidentiteter." |
| 1131 |
|
| 1132 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1133 |
#: calibre.db.cache.Cache.set_link_map:7 |
| 1134 |
msgid "books changed by setting the link" |
| 1135 |
msgstr "böcker ändras genom att ställa in länken" |
| 1136 |
|
| 1137 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1138 |
#: calibre.db.cache.Cache.set_metadata:1 |
| 1139 |
msgid "Set metadata for the book `id` from the `Metadata` object `mi`" |
| 1140 |
msgstr "Ställ in metadata för bokens `id` från `Metadata`-objektet `mi`" |
| 1141 |
|
| 1142 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1143 |
#: calibre.db.cache.Cache.set_metadata:3 |
| 1144 |
msgid "" |
| 1145 |
"Setting force_changes=True will force set_metadata to update fields even if " |
| 1146 |
"mi contains empty values. In this case, 'None' is distinguished from " |
| 1147 |
"'empty'. If mi.XXX is None, the XXX is not replaced, otherwise it is. The " |
| 1148 |
"tags, identifiers, and cover attributes are special cases. Tags and " |
| 1149 |
"identifiers cannot be set to None so they will always be replaced if " |
| 1150 |
"force_changes is true. You must ensure that mi contains the values you want " |
| 1151 |
"the book to have. Covers are always changed if a new cover is provided, but " |
| 1152 |
"are never deleted. Also note that force_changes has no effect on setting " |
| 1153 |
"title or authors." |
| 1154 |
msgstr "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." |
| 1155 |
|
| 1156 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1157 |
#: calibre.db.cache.Cache.set_notes_for:1 |
| 1158 |
msgid "" |
| 1159 |
"Set the notes document. If the searchable text is different from the " |
| 1160 |
"document, specify it as searchable_text. If the document references " |
| 1161 |
"resources their hashes must be present in resource_hashes. Set " |
| 1162 |
"remove_unused_resources to True to cleanup unused resources, note that " |
| 1163 |
"updating a note automatically cleans up resources pertaining to that note " |
| 1164 |
"anyway." |
| 1165 |
msgstr "Ställ in anteckningsdokumentet. Om den sökbara texten skiljer sig från dokumentet, ange den som searchable_text. Om dokumentet refererar till resurser måste deras hashar finnas i resource_hashes. Ställ in remove_unused_resources till True för att rensa oanvända resurser, notera att uppdatering av en anteckning automatiskt rensar upp resurser som hör till den anteckningen ändå." |
| 1166 |
|
| 1167 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1168 |
#: calibre.db.cache.Cache.set_pages:1 |
| 1169 |
msgid "Set page count information for the specified book" |
| 1170 |
msgstr "Ange sidantal för den angivna boken" |
| 1171 |
|
| 1172 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1173 |
#: calibre.db.cache.Cache.set_pref:1 |
| 1174 |
msgid "" |
| 1175 |
"Set the specified preference to the specified value. See also :meth:`pref`." |
| 1176 |
msgstr "Ställ in den angivna inställningen till det angivna värdet. Se också :meth:`pref`." |
| 1177 |
|
| 1178 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1179 |
#: calibre.db.cache.Cache.split_if_is_multiple_composite:1 |
| 1180 |
msgid "" |
| 1181 |
"If f is a composite column lookup key and the column is is_multiple then " |
| 1182 |
"split v into unique non-empty values. The comparison is case sensitive. " |
| 1183 |
"Order is not preserved. Return a list() for compatibility with proxy " |
| 1184 |
"metadata field getters, for example tags." |
| 1185 |
msgstr "Om f är en sammansatt kolumnsökningsnyckel och kolumnen är is_multiple, dela v i unika icke-tomma värden. Jämförelsen är skiftlägeskänslig. Ordningen är inte bevarad. Returnera en list() för kompatibilitet med proxymetadatafältgetters, till exempel taggar." |
| 1186 |
|
| 1187 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1188 |
#: calibre.db.cache.Cache.tags_older_than:1 |
| 1189 |
msgid "" |
| 1190 |
"Return the ids of all books having the tag ``tag`` that are older than the " |
| 1191 |
"specified time. tag comparison is case insensitive." |
| 1192 |
msgstr "Returnera ID:n för alla böcker med taggen ``tag`` som är äldre än den angivna tiden. Taggjämförelsen är skiftlägesokänslig." |
| 1193 |
|
| 1194 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1195 |
#: calibre.db.cache.Cache.tags_older_than:4 |
| 1196 |
msgid "" |
| 1197 |
"A timedelta object or None. If None, then all ids with the tag are returned." |
| 1198 |
msgstr "Ett tidsdeltaobjekt eller None. Om None returneras alla id med taggen." |
| 1199 |
|
| 1200 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1201 |
#: calibre.db.cache.Cache.tags_older_than:7 |
| 1202 |
msgid "" |
| 1203 |
"If not None the list of matches will be restricted to books that have this " |
| 1204 |
"tag" |
| 1205 |
msgstr "Om värdet inte är None begränsas listan till böcker som har den här taggen" |
| 1206 |
|
| 1207 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1208 |
#: calibre.db.cache.Cache.tags_older_than:10 |
| 1209 |
msgid "" |
| 1210 |
"A list of authors. If not None the list of matches will be restricted to " |
| 1211 |
"books that have these authors (case insensitive)." |
| 1212 |
msgstr "En lista över författare. Om värdet inte är None begränsas matchningslistan till böcker som har dessa författare (skiftlägesokänsligt)." |
| 1213 |
|
| 1214 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1215 |
#: calibre.db.cache.Cache.unretire_note_for:1 |
| 1216 |
msgid "" |
| 1217 |
"Unretire a previously retired note for the specified item. Notes are retired" |
| 1218 |
" when an item is removed from the database" |
| 1219 |
msgstr "Ta bort en tidigare tillbakadragen anteckning för den angivna posten. Anteckningar tas bort när en post tas bort från databasen" |
| 1220 |
|
| 1221 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1222 |
#: calibre.db.cache.Cache.update_annotations:1 |
| 1223 |
msgid "Update annotations." |
| 1224 |
msgstr "Uppdatera noteringar." |
| 1225 |
|
| 1226 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1227 |
#: calibre.db.cache.Cache.user_categories_for_books:1 |
| 1228 |
msgid "" |
| 1229 |
"Return the user categories for the specified books. proxy_metadata_map is " |
| 1230 |
"optional and is useful for a performance boost, in contexts where a " |
| 1231 |
"ProxyMetadata object for the books already exists. It should be a mapping of" |
| 1232 |
" book_ids to their corresponding ProxyMetadata objects." |
| 1233 |
msgstr "Returnera användarkategorierna för de angivna böckerna. proxy_metadata_map är valfritt och är användbart för en prestandahöjning, i sammanhang där ett ProxyMetadata-objekt för böckerna redan finns. Det bör vara en kartläggning av book_ids till deras motsvarande ProxyMetadata-objekt." |