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, 2018 10# efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017 11# Merarom <merarom@yahoo.es>, 2014-2017,2019 12# Sofie Sundberg <filaes@gmail.com>, 2018 13msgid "" 14msgstr "" 15"Project-Id-Version: calibre\n" 16"Report-Msgid-Bugs-To: \n" 17"POT-Creation-Date: 2021-12-16 10:49+0000\n" 18"PO-Revision-Date: 2021-12-11 14:36+0000\n" 19"Last-Translator: Jonatan Nyberg <jonatan@autistici.org>\n" 20"Language-Team: Swedish (http://www.transifex.com/calibre/calibre/language/sv/)\n" 21"MIME-Version: 1.0\n" 22"Content-Type: text/plain; charset=UTF-8\n" 23"Content-Transfer-Encoding: 8bit\n" 24"Language: sv\n" 25"Plural-Forms: nplurals=2; plural=(n != 1);\n" 26 27#: ../../__w/calibre/calibre/manual/plugins.rst:4 28msgid "API documentation for plugins" 29msgstr "API-dokumentation för insticksmoduler" 30 31#: ../../__w/calibre/calibre/manual/plugins.rst:9 32msgid "" 33"Defines various abstract base classes that can be subclassed to create " 34"powerful plugins. The useful classes are:" 35msgstr "Definiera diverse abstrakta grundklasser som kan vara underklasser för att skapa kraftfulla insticksmoduler. Dessa användbara klasser är:" 36 37#: ../../__w/calibre/calibre/manual/plugins.rst:19 38msgid "Plugin" 39msgstr "Insticksmoduler" 40 41#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 42#: calibre.customize.Plugin:1 43msgid "A calibre plugin. Useful members include:" 44msgstr "En calibre insticksmodul. Användbara medlemmar inkluderar:" 45 46#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 47#: calibre.customize.Plugin:3 48msgid "``self.installation_type``: Stores how the plugin was installed." 49msgstr "``self.installation_type``: Lagrar hur insticksmoudlen installerades." 50 51#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 52#: calibre.customize.Plugin:5 53msgid "``self.plugin_path``: Stores path to the ZIP file that contains" 54msgstr "``self.plugin_path``: Lagrar sökväg till ZIP-filen som innehåller" 55 56#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 57#: calibre.customize.Plugin:5 58msgid "this plugin or None if it is a builtin plugin" 59msgstr "denna insticksmodul eller None om den är en inbyggd insticksmodul" 60 61#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 62#: calibre.customize.Plugin:8 63msgid "``self.site_customization``: Stores a customization string entered" 64msgstr "``self.site_customization``: Lagrar en anpassad inmatad sträng" 65 66#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 67#: calibre.customize.Plugin:8 68msgid "by the user." 69msgstr "av användaren." 70 71#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 72#: calibre.customize.Plugin:10 73msgid "Methods that should be overridden in sub classes:" 74msgstr "Metoder som ska åsidosättas i underklasser:" 75 76#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 77#: calibre.customize.Plugin:12 78msgid ":meth:`initialize`" 79msgstr ":meth:`initialize`" 80 81#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 82#: calibre.customize.Plugin:13 83msgid ":meth:`customization_help`" 84msgstr ":meth:`customization_help`" 85 86#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 87#: calibre.customize.Plugin:15 88msgid "Useful methods:" 89msgstr "Användbara metoder:" 90 91#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 92#: calibre.customize.Plugin:17 93msgid ":meth:`temporary_file`" 94msgstr ":meth:`temporary_file`" 95 96#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 97#: calibre.customize.Plugin:18 98msgid ":meth:`__enter__`" 99msgstr ":meth:`__enter__`" 100 101#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 102#: calibre.customize.Plugin:19 103msgid ":meth:`load_resources`" 104msgstr ":meth:`load_resources`" 105 106#: ../../__w/calibre/calibre/manual/docstring of 107#: calibre.customize.Plugin.supported_platforms:1 108msgid "" 109"List of platforms this plugin works on. For example: ``['windows', 'osx', " 110"'linux']``" 111msgstr "Lista över plattformar som denna insticksmodul fungerar i. Till exempel: ``['windows', 'osx', 'linux']``" 112 113#: ../../__w/calibre/calibre/manual/docstring of 114#: calibre.customize.Plugin.name:1 115msgid "" 116"The name of this plugin. You must set it something other than Trivial Plugin" 117" for it to work." 118msgstr "Namnet på denna insticksmodul. Du måste ange något annan än Trivial Plugin för att den ska fungera." 119 120#: ../../__w/calibre/calibre/manual/docstring of 121#: calibre.customize.Plugin.version:1 122msgid "The version of this plugin as a 3-tuple (major, minor, revision)" 123msgstr "Versionen för denna insticksmodul är n 3-tupel (major, minor, revision)" 124 125#: ../../__w/calibre/calibre/manual/docstring of 126#: calibre.customize.Plugin.description:1 127msgid "A short string describing what this plugin does" 128msgstr "En kort sträng som beskriver vad denna insticksmodul gör" 129 130#: ../../__w/calibre/calibre/manual/docstring of 131#: calibre.customize.Plugin.author:1 132msgid "The author of this plugin" 133msgstr "Författare av denna insticksmodul" 134 135#: ../../__w/calibre/calibre/manual/docstring of 136#: calibre.customize.Plugin.priority:1 137msgid "" 138"When more than one plugin exists for a filetype, the plugins are run in " 139"order of decreasing priority. Plugins with higher priority will be run " 140"first. The highest possible priority is ``sys.maxsize``. Default priority is" 141" 1." 142msgstr "När mer än en insticksmodul finns för en filtyp, kommer insticksmodulen att köras i fallande prioritet. Insticksmoduler med högre prioritet kommer att köras först. Det högsta möjliga prioriten är ``sys.maxsize``. Standard prioritet är 1." 143 144#: ../../__w/calibre/calibre/manual/docstring of 145#: calibre.customize.Plugin.minimum_calibre_version:1 146msgid "The earliest version of calibre this plugin requires" 147msgstr "Den tidigaste versionen av calibre som denna insticksmodul kräver" 148 149#: ../../__w/calibre/calibre/manual/docstring of 150#: calibre.customize.Plugin.installation_type:1 151msgid "The way this plugin is installed" 152msgstr "Sättet den här insticksmodulen installeras" 153 154#: ../../__w/calibre/calibre/manual/docstring of 155#: calibre.customize.Plugin.can_be_disabled:1 156msgid "" 157"If False, the user will not be able to disable this plugin. Use with care." 158msgstr "Om False, kommer inte användaren kunna deaktivera denna insticksmodul. Använd med försiktighet." 159 160#: ../../__w/calibre/calibre/manual/docstring of 161#: calibre.customize.Plugin.type:1 162msgid "The type of this plugin. Used for categorizing plugins in the GUI" 163msgstr "Typen av denna insticksmodul. Används för kategorisera insticksmodul i användargränssnittet" 164 165#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 166#: calibre.customize.Plugin.initialize:1 167msgid "" 168"Called once when calibre plugins are initialized. Plugins are re-" 169"initialized every time a new plugin is added. Also note that if the plugin " 170"is run in a worker process, such as for adding books, then the plugin will " 171"be initialized for every new worker process." 172msgstr "Anropas när calibre-insticksmoduler initieras. Insticksmoduler är återinitierade varje gång en ny insticksmodul läggs till. Observera också att om insticksmodulen körs i en arbetsprocess, såsom att lägga till böcker, då kommer insticksmodulen att initieras för varje ny arbetsprocess." 173 174#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 175#: calibre.customize.Plugin.initialize:6 176msgid "" 177"Perform any plugin specific initialization here, such as extracting " 178"resources from the plugin ZIP file. The path to the ZIP file is available as" 179" ``self.plugin_path``." 180msgstr "Utför godtyckligt insticksmodul initialisering här, såsom att utvinna resurser från insticksmoduls ZIP-filen. Sökvägen till ZIP-filen är tillgänglig som ``self.plugin_path``." 181 182#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 183#: calibre.customize.Plugin.initialize:10 184msgid "" 185"Note that ``self.site_customization`` is **not** available at this point." 186msgstr "Observera att ``self.site_customization`` är **inte** tillgänglig vid detta tillfälle." 187 188#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 189#: calibre.customize.Plugin.config_widget:1 190#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 191#: of calibre.ebooks.metadata.sources.base.Source.config_widget:1 192msgid "" 193"Implement this method and :meth:`save_settings` in your plugin to use a " 194"custom configuration dialog, rather then relying on the simple string based " 195"default customization." 196msgstr "Implementera denna metod och :meth:`save_settings` i din insticksmodul för att använda en anpassad konfigurationsdialog, snarare än att förlita sig på en enkel strängbaserad standardanpassning." 197 198#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 199#: calibre.customize.Plugin.config_widget:5 200#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 201#: of calibre.ebooks.metadata.sources.base.Source.config_widget:5 202msgid "" 203"This method, if implemented, must return a QWidget. The widget can have an " 204"optional method validate() that takes no arguments and is called immediately" 205" after the user clicks OK. Changes are applied if and only if the method " 206"returns True." 207msgstr "Denna metod, om implementerad, måste återge en QWidget. Denna grej kan ha en alternativ metod validate() som inte tar några argument och anropas omedelbart efter användaren klickat OK. Förändringar tillämpas om och bara om metoden återger True." 208 209#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 210#: calibre.customize.Plugin.config_widget:10 211#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 212#: of calibre.ebooks.metadata.sources.base.Source.config_widget:10 213msgid "" 214"If for some reason you cannot perform the configuration at this time, return" 215" a tuple of two strings (message, details), these will be displayed as a " 216"warning dialog to the user and the process will be aborted." 217msgstr "Om du av någon anledning inte kan utföra konfigurationen vid denna tid, återge en tupel av två strängar (meddelande, detaljer), kommer dessa att visas som en varningsdialogruta för användaren och processen avbryts." 218 219#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 220#: calibre.customize.Plugin.save_settings:1 221#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 222#: of calibre.ebooks.metadata.sources.base.Source.save_settings:1 223msgid "Save the settings specified by the user with config_widget." 224msgstr "Spara inställningarna som anges av användaren med config_widget." 225 226#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 227#: calibre.customize.Plugin.save_settings:0 228#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 229#: calibre.customize.Plugin.load_resources:0 230#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 231#: calibre.customize.Plugin.customization_help:0 232#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 233#: calibre.customize.Plugin.temporary_file:0 234#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 235#: calibre.customize.FileTypePlugin.run:0 236#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 237#: calibre.customize.FileTypePlugin.postimport:0 238#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 239#: calibre.customize.FileTypePlugin.postadd:0 240#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 241#: calibre.customize.MetadataReaderPlugin.get_metadata:0 242#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 243#: calibre.customize.MetadataWriterPlugin.set_metadata:0 244#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 245#: calibre.customize.CatalogPlugin.run:0 246#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 247#: of calibre.ebooks.metadata.sources.base.Source.customization_help:0 248#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 249#: of calibre.ebooks.metadata.sources.base.Source.save_settings:0 250#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 251#: of calibre.ebooks.metadata.sources.base.Source.identify:0 252#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 253#: calibre.customize.conversion.InputFormatPlugin.convert:0 254#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 255#: calibre.customize.conversion.OutputFormatPlugin.convert:0 256#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 257#: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:0 258#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 259#: calibre.devices.interface.DevicePlugin.is_usb_connected:0 260#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 261#: calibre.devices.interface.DevicePlugin.detect_managed_devices:0 262#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 263#: calibre.devices.interface.DevicePlugin.reset:0 264#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 265#: calibre.devices.interface.DevicePlugin.can_handle_windows:0 266#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 267#: calibre.devices.interface.DevicePlugin.can_handle:0 268#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 269#: calibre.devices.interface.DevicePlugin.open:0 270#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 271#: calibre.devices.interface.DevicePlugin.set_progress_reporter:0 272#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 273#: calibre.devices.interface.DevicePlugin.books:0 274#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 275#: calibre.devices.interface.DevicePlugin.upload_books:0 276#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 277#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:0 278#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 279#: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:0 280#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 281#: calibre.devices.interface.DevicePlugin.sync_booklists:0 282#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 283#: calibre.devices.interface.DevicePlugin.get_file:0 284#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 285#: calibre.devices.interface.BookList.get_collections:0 286#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 287#: calibre.devices.usbms.device.Device.reset:0 288#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 289#: calibre.devices.usbms.device.Device.set_progress_reporter:0 290#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 291#: calibre.devices.usbms.device.Device.can_handle_windows:0 292#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 293#: calibre.devices.usbms.device.Device.open:0 294#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 295#: calibre.devices.usbms.driver.USBMS.books:0 296#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 297#: calibre.devices.usbms.driver.USBMS.upload_books:0 298#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 299#: calibre.devices.usbms.driver.USBMS.upload_cover:0 300#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 301#: calibre.devices.usbms.driver.USBMS.add_books_to_metadata:0 302#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 303#: calibre.devices.usbms.driver.USBMS.remove_books_from_metadata:0 304#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 305#: calibre.devices.usbms.driver.USBMS.sync_booklists:0 306#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 307#: calibre.gui2.actions.InterfaceAction.create_menu_action:0 308#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 309#: calibre.gui2.actions.InterfaceAction.load_resources:0 310#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 311#: calibre.gui2.actions.InterfaceAction.library_changed:0 312#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 313#: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:0 314#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 315#: of calibre.gui2.preferences.ConfigWidgetBase.register:0 316msgid "Parameters" 317msgstr "Parametrar" 318 319#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 320#: calibre.customize.Plugin.save_settings:3 321#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 322#: of calibre.ebooks.metadata.sources.base.Source.save_settings:3 323msgid "The widget returned by :meth:`config_widget`." 324msgstr "Gränssnittskomponenten som återges av :meth:`config_widget`." 325 326#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 327#: calibre.customize.Plugin.do_user_config:1 328msgid "" 329"This method shows a configuration dialog for this plugin. It returns True if" 330" the user clicks OK, False otherwise. The changes are automatically applied." 331msgstr "Denna metod visar en inställningsdialogruta för denna insticksmodul. Den återger True om användaren klickar på OK, annars False. Ändringarna tillämpas automatiskt." 332 333#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 334#: calibre.customize.Plugin.load_resources:1 335#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 336#: calibre.gui2.actions.InterfaceAction.load_resources:1 337msgid "" 338"If this plugin comes in a ZIP file (user added plugin), this method will " 339"allow you to load resources from the ZIP file." 340msgstr "Om denna insticksmodul kommer i en ZIP-fil (användartillagd insticksmodul), kommer denna metod tillåta dig läsa in resurser från ZIP-fil." 341 342#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 343#: calibre.customize.Plugin.load_resources:4 344#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 345#: calibre.gui2.actions.InterfaceAction.load_resources:4 346msgid "For example to load an image::" 347msgstr "Till exempel att läsa in en bild::" 348 349#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 350#: calibre.customize.Plugin.load_resources:10 351#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 352#: calibre.gui2.actions.InterfaceAction.load_resources:10 353msgid "List of paths to resources in the ZIP file using / as separator" 354msgstr "Förteckning över sökvägar till resurser i ZIP-filen som använder / som avskiljare" 355 356#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 357#: calibre.customize.Plugin.load_resources:0 358#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 359#: calibre.customize.FileTypePlugin.run:0 360#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 361#: calibre.customize.MetadataReaderPlugin.get_metadata:0 362#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 363#: of calibre.ebooks.metadata.sources.base.Source.identify:0 364#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 365#: calibre.devices.interface.DevicePlugin.get_device_information:0 366#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 367#: calibre.devices.interface.DevicePlugin.total_space:0 368#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 369#: calibre.devices.interface.DevicePlugin.free_space:0 370#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 371#: calibre.devices.interface.DevicePlugin.books:0 372#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 373#: calibre.devices.interface.DevicePlugin.upload_books:0 374#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 375#: calibre.devices.interface.DevicePlugin.set_plugboards:0 376#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 377#: calibre.devices.usbms.device.Device.total_space:0 378#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 379#: calibre.devices.usbms.device.Device.free_space:0 380#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 381#: calibre.devices.usbms.driver.USBMS.get_device_information:0 382#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 383#: calibre.devices.usbms.driver.USBMS.books:0 384#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 385#: calibre.devices.usbms.driver.USBMS.upload_books:0 386#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 387#: calibre.gui2.actions.InterfaceAction.load_resources:0 388msgid "Returns" 389msgstr "Återger" 390 391#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 392#: calibre.customize.Plugin.load_resources:12 393msgid "" 394"A dictionary of the form ``{name: file_contents}``. Any names that were not " 395"found in the ZIP file will not be present in the dictionary." 396msgstr "En ordbok av formen ``{name:file_contents}``. Namn som inte finns i ZIP-filen kommer inte att vara närvarande i ordboken." 397 398#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 399#: calibre.customize.Plugin.customization_help:1 400#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 401#: of calibre.ebooks.metadata.sources.base.Source.customization_help:1 402msgid "" 403"Return a string giving help on how to customize this plugin. By default " 404"raise a :class:`NotImplementedError`, which indicates that the plugin does " 405"not require customization." 406msgstr "Återge en sträng som ger hjälp om hur du anpassar denna insticksmodul. Som standard upp en :class:`NotImplementedError`, vilket tyder på att insticksmodulen inte kräver anpassning." 407 408#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 409#: calibre.customize.Plugin.customization_help:5 410#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 411#: of calibre.ebooks.metadata.sources.base.Source.customization_help:5 412msgid "" 413"If you re-implement this method in your subclass, the user will be asked to " 414"enter a string as customization for this plugin. The customization string " 415"will be available as ``self.site_customization``." 416msgstr "Om du återimplementerar den här metoden i din underklass, kommer användaren att bli ombedd att skriva in en sträng som anpassning för denna insticksmodul. Den anpassning strängen kommer att finnas tillgänglig som ``self.site_customization``." 417 418#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 419#: calibre.customize.Plugin.customization_help:10 420#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 421#: of calibre.ebooks.metadata.sources.base.Source.customization_help:10 422msgid "" 423"Site customization could be anything, for example, the path to a needed " 424"binary on the user's computer." 425msgstr "Platsanpassning skulle kunna vara vad som helst, till exempel vägen till en välbehövlig binär på användarens dator." 426 427#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 428#: calibre.customize.Plugin.customization_help:13 429#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 430#: of calibre.ebooks.metadata.sources.base.Source.customization_help:13 431msgid "If True return HTML help, otherwise return plain text help." 432msgstr "Om True återges HTML-hjälp, annars återges oformaterad hjälptext." 433 434#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 435#: calibre.customize.Plugin.temporary_file:1 436msgid "" 437"Return a file-like object that is a temporary file on the file system. This " 438"file will remain available even after being closed and will only be removed " 439"on interpreter shutdown. Use the ``name`` member of the returned object to " 440"access the full path to the created temporary file." 441msgstr "Återge en fil-liknande objekt som är en temporär fil i filsystemet. Denna fil kommer att vara tillgänglig även efter nedstängning och kommer endast att tas bort på vid avstängning. Använd ``name`` medlem av den återgivna objektet för att komma åt den fullständiga sökvägen till den skapade temporärfilen." 442 443#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 444#: calibre.customize.Plugin.temporary_file:6 445msgid "The suffix that the temporary file will have." 446msgstr "Suffixet att den temporära filen kommer att ha." 447 448#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 449#: calibre.customize.Plugin.cli_main:1 450msgid "" 451"This method is the main entry point for your plugins command line interface." 452" It is called when the user does: calibre-debug -r \"Plugin Name\". Any " 453"arguments passed are present in the args variable." 454msgstr "Denna metod är den viktigaste inkörsporten för dina insticksmodulskommandoradsgränssnitt. Det kallas när användaren utför: calibre-debug -r \"Namn på insticksmodul\". Eventuella argument som skickas finns i args-variabeln." 455 456#: ../../__w/calibre/calibre/manual/plugins.rst:28 457msgid "FileTypePlugin" 458msgstr "FileTypePlugin" 459 460#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 461#: calibre.customize.FileTypePlugin:1 462#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 463#: calibre.customize.MetadataReaderPlugin:1 464#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 465#: calibre.customize.MetadataWriterPlugin:1 466#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 467#: calibre.customize.CatalogPlugin:1 468#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 469#: of calibre.ebooks.metadata.sources.base.Source:1 470#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 471#: calibre.customize.conversion.InputFormatPlugin:1 472#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 473#: calibre.customize.conversion.OutputFormatPlugin:1 474#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 475#: calibre.devices.interface.DevicePlugin:1 476#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 477#: calibre.customize.InterfaceActionBase:1 478#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 479#: calibre.customize.PreferencesPlugin:1 480msgid "Bases: :py:class:`calibre.customize.Plugin`" 481msgstr "Grunder: :py:class:`calibre.customize.Plugin`" 482 483#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 484#: calibre.customize.FileTypePlugin:1 485msgid "A plugin that is associated with a particular set of file types." 486msgstr "En insticksmodul som är associerad med en viss uppsättning filtyper." 487 488#: ../../__w/calibre/calibre/manual/docstring of 489#: calibre.customize.FileTypePlugin.file_types:1 490msgid "" 491"Set of file types for which this plugin should be run. Use '*' for all file " 492"types. For example: ``{'lit', 'mobi', 'prc'}``" 493msgstr "Uppsättning av filtyper som denna insticksmodul ska köra. Använd \"*\" för alla filtyper. Till exempel: ``{'lit', 'mobi', 'prc'}``" 494 495#: ../../__w/calibre/calibre/manual/docstring of 496#: calibre.customize.FileTypePlugin.on_import:1 497msgid "If True, this plugin is run when books are added to the database" 498msgstr "Om True, körs denna insticksmodul när böcker läggs till i databasen" 499 500#: ../../__w/calibre/calibre/manual/docstring of 501#: calibre.customize.FileTypePlugin.on_postimport:1 502msgid "" 503"If True, this plugin is run after books are added to the database. In this " 504"case the postimport and postadd methods of the plugin are called." 505msgstr "Om True, körs denna insticksmodul efter att böcker läggs till i databasen. I detta fall anropas metoderna postimport och postadd av insticksmodulen." 506 507#: ../../__w/calibre/calibre/manual/docstring of 508#: calibre.customize.FileTypePlugin.on_preprocess:1 509msgid "If True, this plugin is run just before a conversion" 510msgstr "Om True, körs denna insticksmodul alldeles innan en konvertering" 511 512#: ../../__w/calibre/calibre/manual/docstring of 513#: calibre.customize.FileTypePlugin.on_postprocess:1 514msgid "" 515"If True, this plugin is run after conversion on the final file produced by " 516"the conversion output plugin." 517msgstr "Om True, körs denna insticksmodul efter konvertering på den slutliga filen som produceras av insticksmodulen för konverteringsutmatning." 518 519#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 520#: calibre.customize.FileTypePlugin.run:1 521msgid "" 522"Run the plugin. Must be implemented in subclasses. It should perform " 523"whatever modifications are required on the e-book and return the absolute " 524"path to the modified e-book. If no modifications are needed, it should " 525"return the path to the original e-book. If an error is encountered it should" 526" raise an Exception. The default implementation simply return the path to " 527"the original e-book. Note that the path to the original file (before any " 528"file type plugins are run, is available as self.original_path_to_file)." 529msgstr "Kör insticksmodulen. Behöver implementeras i underklasser. Det ska utföra vilka som helst modifikationer som krävs på e-boken och återge den absoluta sökvägen till den modifierade e-boken. Om inga modifikationer behövs, bör sökvägen återgå till den ursprungliga e-boken. Om ett fel uppstår, ska det framkalla ett undantag. Standard implementationen helt enkelt återger sökvägen till den ursprungliga e-boken. Observera att sökvägen till originalfilen (innan några filtyp insticksmodul körs, finns som self.original_path_to_file)." 530 531#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 532#: calibre.customize.FileTypePlugin.run:11 533msgid "" 534"The modified e-book file should be created with the :meth:`temporary_file` " 535"method." 536msgstr "Den modifierade e-bokfilen ska skapas med :meth:`temporary_file` metod." 537 538#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 539#: calibre.customize.FileTypePlugin.run:14 540msgid "Absolute path to the e-book." 541msgstr "Absolut sökväg till e-boken." 542 543#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 544#: calibre.customize.FileTypePlugin.run:16 545msgid "Absolute path to the modified e-book." 546msgstr "Absolut sökväg till den modifierade e-boken." 547 548#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 549#: calibre.customize.FileTypePlugin.postimport:1 550msgid "" 551"Called post import, i.e., after the book file has been added to the " 552"database. Note that this is different from :meth:`postadd` which is called " 553"when the book record is created for the first time. This method is called " 554"whenever a new file is added to a book record. It is useful for modifying " 555"the book record based on the contents of the newly added file." 556msgstr "Anropas efter importering, d.v.s. efter bokfilen har lagts till i databasen. Observera att detta skiljer sig från :meth:`postadd` som anropas när bokposten skapas för första gången. Denna metod anropas varje gång en ny fil läggs till i en bokpost. Det är användbart för att ändra bokposten baserat på innehållet i den nyligen tillagda filen." 557 558#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 559#: calibre.customize.FileTypePlugin.postimport:6 560#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 561#: calibre.customize.FileTypePlugin.postadd:8 562msgid "Database id of the added book." 563msgstr "Databas id för tillagda boken." 564 565#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 566#: calibre.customize.FileTypePlugin.postimport:7 567msgid "The file type of the book that was added." 568msgstr "Filtypen för boken som lades till." 569 570#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 571#: calibre.customize.FileTypePlugin.postimport:8 572msgid "Library database." 573msgstr "Biblioteksdatabas." 574 575#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 576#: calibre.customize.FileTypePlugin.postadd:1 577msgid "" 578"Called post add, i.e. after a book has been added to the db. Note that this " 579"is different from :meth:`postimport`, which is called after a single book " 580"file has been added to a book. postadd() is called only when an entire book " 581"record with possibly more than one book file has been created for the first " 582"time. This is useful if you wish to modify the book record in the database " 583"when the book is first added to calibre." 584msgstr "Anropad efter posttilläggning, d.v.s. efter en bok har lagts till i databasen. Observera att detta skiljer sig från :meth:`postimport` som anropas efter en enskild bokfil har lagts till en bok. postadd() anropas när en hel bokpost med mer än en möjlig bokfil har skapats för första gången. Det är användbart för att ändra bokposten i databasen när boken läggs till för första gången till calibre." 585 586#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 587#: calibre.customize.FileTypePlugin.postadd:9 588msgid "" 589"Map of file format to path from which the file format was added. Note that " 590"this might or might not point to an actual existing file, as sometimes files" 591" are added as streams. In which case it might be a dummy value or a non-" 592"existent path." 593msgstr "Lista över filformat till sökväg från vilken filformatet lades till. Observera att detta kan eller kanske inte hänvisar till en faktisk befintlig fil, eftersom filer ibland läggs till som strömmar. I så fall kan det vara ett skenvärde eller en obefintlig sökväg." 594 595#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 596#: calibre.customize.FileTypePlugin.postadd:13 597msgid "Library database" 598msgstr "Biblioteksdatabas" 599 600#: ../../__w/calibre/calibre/manual/plugins.rst:39 601msgid "Metadata plugins" 602msgstr "Metadatainsticksmodul" 603 604#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 605#: calibre.customize.MetadataReaderPlugin:1 606#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 607#: calibre.customize.MetadataWriterPlugin:1 608msgid "A plugin that implements reading metadata from a set of file types." 609msgstr "En insticksmodul som implementerar läsning av metadata från en uppsättning filtyper." 610 611#: ../../__w/calibre/calibre/manual/docstring of 612#: calibre.customize.MetadataReaderPlugin.file_types:1 613#: ../../__w/calibre/calibre/manual/docstring of 614#: calibre.customize.MetadataWriterPlugin.file_types:1 615msgid "" 616"Set of file types for which this plugin should be run. For example: " 617"``set(['lit', 'mobi', 'prc'])``" 618msgstr "Uppsättning med filtyper som denna insticksmodul ska köra. Till exempel: ``set(['lit', 'mobi', 'prc'])``" 619 620#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 621#: calibre.customize.MetadataReaderPlugin.get_metadata:1 622msgid "" 623"Return metadata for the file represented by stream (a file like object that " 624"supports reading). Raise an exception when there is an error with the input " 625"data." 626msgstr "Återge metadata för filen som representeras av ström (ett filliknande objekt som stöder läsning). Markera ett undantag när det finns ett fel med inmatningen." 627 628#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 629#: calibre.customize.MetadataReaderPlugin.get_metadata:5 630#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 631#: calibre.customize.MetadataWriterPlugin.set_metadata:5 632msgid "" 633"The type of file. Guaranteed to be one of the entries in :attr:`file_types`." 634msgstr "Filtypen. Garanterat en av posterna i :attr:`file_types`." 635 636#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 637#: calibre.customize.MetadataReaderPlugin.get_metadata:7 638#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 639#: calibre.customize.MetadataWriterPlugin.set_metadata:7 640msgid "A :class:`calibre.ebooks.metadata.book.Metadata` object" 641msgstr "Ett :class:`calibre.ebooks.metadata.book.Metadata` objekt" 642 643#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 644#: calibre.customize.MetadataWriterPlugin.set_metadata:1 645msgid "" 646"Set metadata for the file represented by stream (a file like object that " 647"supports reading). Raise an exception when there is an error with the input " 648"data." 649msgstr "Ställ metadata för filen som representeras av ström (en fil som objekt som stöder läsning). Markerar ett undantag när det finns ett fel med inmatning." 650 651#: ../../__w/calibre/calibre/manual/plugins.rst:54 652msgid "Catalog plugins" 653msgstr "Katalog insticksmodul" 654 655#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 656#: calibre.customize.CatalogPlugin:1 657msgid "A plugin that implements a catalog generator." 658msgstr "En insticksmodul som implementerar en kataloggenerator." 659 660#: ../../__w/calibre/calibre/manual/docstring of 661#: calibre.customize.CatalogPlugin.file_types:1 662msgid "" 663"Output file type for which this plugin should be run. For example: 'epub' or" 664" 'xml'" 665msgstr "Utmatningsfiltyp som denna insticksmodul ska köra. Till exempel: 'epub' eller 'xml'" 666 667#: ../../__w/calibre/calibre/manual/docstring of 668#: calibre.customize.CatalogPlugin.cli_options:1 669msgid "" 670"CLI parser options specific to this plugin, declared as `namedtuple` " 671"`Option`:" 672msgstr "CLI-parseralternativ som är specifika för denna insticksmodul deklareras som `namedtuple` `Option`:" 673 674#: ../../__w/calibre/calibre/manual/docstring of 675#: calibre.customize.CatalogPlugin.cli_options:3 676msgid "" 677"from collections import namedtuple Option = namedtuple('Option', 'option, " 678"default, dest, help') cli_options = [Option('--catalog-title', default = 'My" 679" Catalog', dest = 'catalog_title', help = (_('Title of generated catalog. " 680"\\nDefault:') + \" '\" + '%default' + \"'\"))] cli_options parsed in " 681"calibre.db.cli.cmd_catalog:option_parser()" 682msgstr "från uppsättningar importera namnsatta tupler Option = namedtuple('Option', 'option, default, dest, help') cli_options = [Option('--catalog-title', default = 'My Catalog', dest = 'catalog_title', help = (_('Title of generated catalog. \\nDefault:') + \" '\" + '%default' + \"'\"))] cli_options tolkas i calibre.db.cli.cmd_catalog:option_parser()" 683 684#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 685#: calibre.customize.CatalogPlugin.initialize:1 686msgid "" 687"If plugin is not a built-in, copy the plugin's .ui and .py files from the " 688"ZIP file to $TMPDIR. Tab will be dynamically generated and added to the " 689"Catalog Options dialog in calibre.gui2.dialogs.catalog.py:Catalog" 690msgstr "Om insticksmodulen inte är ett inbyggt, kopiera insticksmodulens .ui- och .py-filer från ZIP-filen till $TMPDIR. Flik kommer att skapas dynamiskt och läggas till dialogrutan Katalogalternativ i calibre.gui2.dialogs.catalog.py:Catalog" 691 692#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 693#: calibre.customize.CatalogPlugin.run:1 694msgid "" 695"Run the plugin. Must be implemented in subclasses. It should generate the " 696"catalog in the format specified in file_types, returning the absolute path " 697"to the generated catalog file. If an error is encountered it should raise an" 698" Exception." 699msgstr "Kör insticksmodulen. Måste implementeras i underklasser. Det ska skapa katalogen i det format som anges i file_types, återvänder den absoluta sökvägen till den skapade katalogfilen. Om ett fel inträffar bör det signalera ett undantag." 700 701#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 702#: calibre.customize.CatalogPlugin.run:7 703msgid "" 704"The generated catalog file should be created with the :meth:`temporary_file`" 705" method." 706msgstr "Den skapade katalogfilen ska skapas med :meth:`temporary_file`-metoden." 707 708#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 709#: calibre.customize.CatalogPlugin.run:10 710msgid "Absolute path to the generated catalog file." 711msgstr "Absoluta sökvägen till den skapade katalogfilen." 712 713#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 714#: calibre.customize.CatalogPlugin.run:11 715msgid "A dictionary of keyword arguments" 716msgstr "En ordbok av nyckelordsargument" 717 718#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 719#: calibre.customize.CatalogPlugin.run:12 720msgid "A LibraryDatabase2 object" 721msgstr "Ett LibraryDatabase2-objekt" 722 723#: ../../__w/calibre/calibre/manual/plugins.rst:64 724msgid "Metadata download plugins" 725msgstr "Insticksmoduler för metadatahämtning" 726 727#: ../../__w/calibre/calibre/manual/docstring of 728#: calibre.ebooks.metadata.sources.base.Source.capabilities:1 729msgid "" 730"Set of capabilities supported by this plugin. Useful capabilities are: " 731"'identify', 'cover'" 732msgstr "Uppsättning funktioner som stöds av denna insticksmodul. Användbara funktioner är: \"identify\", \"cover\"" 733 734#: ../../__w/calibre/calibre/manual/docstring of 735#: calibre.ebooks.metadata.sources.base.Source.touched_fields:1 736msgid "" 737"List of metadata fields that can potentially be download by this plugin " 738"during the identify phase" 739msgstr "Lista med metadatafält som potentiellt kan hämtas av denna insticksmodul under identifieringsfasen" 740 741#: ../../__w/calibre/calibre/manual/docstring of 742#: calibre.ebooks.metadata.sources.base.Source.has_html_comments:1 743msgid "Set this to True if your plugin returns HTML formatted comments" 744msgstr "Ange detta som True om din insticksmodul återger HTML-formaterade kommentarer" 745 746#: ../../__w/calibre/calibre/manual/docstring of 747#: calibre.ebooks.metadata.sources.base.Source.supports_gzip_transfer_encoding:1 748msgid "" 749"Setting this to True means that the browser object will indicate that it " 750"supports gzip transfer encoding. This can speedup downloads but make sure " 751"that the source actually supports gzip transfer encoding correctly first" 752msgstr "Om detta ställs till True betyder det att webbläsarobjektet indikerar att det stöder gzip-överföringskodning. Detta kan hämtas snabbt, men se till att källan faktiskt stöder gzip-överföringskodningen korrekt först" 753 754#: ../../__w/calibre/calibre/manual/docstring of 755#: calibre.ebooks.metadata.sources.base.Source.ignore_ssl_errors:1 756msgid "" 757"Set this to True to ignore HTTPS certificate errors when connecting to this " 758"source." 759msgstr "Ställ in detta till True för att ignorera HTTPS-certifikatfel när du ansluter till den här källan." 760 761#: ../../__w/calibre/calibre/manual/docstring of 762#: calibre.ebooks.metadata.sources.base.Source.cached_cover_url_is_reliable:1 763msgid "" 764"Cached cover URLs can sometimes be unreliable (i.e. the download could fail " 765"or the returned image could be bogus). If that is often the case with this " 766"source, set to False" 767msgstr "Cachade omslagswebbadresser kan ibland vara opålitliga (d.v.s. hämtningen kan misslyckas eller den återgivna bilden kan vara falsk). Om så ofta är fallet med den här källan, ställ in den till False" 768 769#: ../../__w/calibre/calibre/manual/docstring of 770#: calibre.ebooks.metadata.sources.base.Source.options:1 771msgid "" 772"A list of :class:`Option` objects. They will be used to automatically " 773"construct the configuration widget for this plugin" 774msgstr "En lista med :class:`Alternativ` objekt. De kommer användas för automatiskt skapa konfigurationsgränssnittskomponenten för denna insticksmodul" 775 776#: ../../__w/calibre/calibre/manual/docstring of 777#: calibre.ebooks.metadata.sources.base.Source.config_help_message:1 778msgid "" 779"A string that is displayed at the top of the config widget for this plugin" 780msgstr "En sträng som visas högst upp på gränssnittskomponenten för denna insticksmodul" 781 782#: ../../__w/calibre/calibre/manual/docstring of 783#: calibre.ebooks.metadata.sources.base.Source.can_get_multiple_covers:1 784msgid "If True this source can return multiple covers for a given query" 785msgstr "Om True kan denna källa återge flera omslag för en viss förfråga" 786 787#: ../../__w/calibre/calibre/manual/docstring of 788#: calibre.ebooks.metadata.sources.base.Source.auto_trim_covers:1 789msgid "" 790"If set to True covers downloaded by this plugin are automatically trimmed." 791msgstr "Om inställt till True beskärs hämtade omslag automatiskt med denna insticksmodul." 792 793#: ../../__w/calibre/calibre/manual/docstring of 794#: calibre.ebooks.metadata.sources.base.Source.prefer_results_with_isbn:1 795msgid "" 796"If set to True, and this source returns multiple results for a query, some " 797"of which have ISBNs and some of which do not, the results without ISBNs will" 798" be ignored" 799msgstr "Om värdet är True, och denna källa återger flera resultat för en förfråga, av vilka några har ISBN och av vilka en del inte, så ignoreras resultaten utan ISBN" 800 801#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 802#: of calibre.ebooks.metadata.sources.base.Source.is_configured:1 803msgid "" 804"Return False if your plugin needs to be configured before it can be used. " 805"For example, it might need a username/password/API key." 806msgstr "Återge False om din insticksmodul måste anpassas innan den kan användas. Till exempel kan den behöva ett användarnamn/lösenord/API-nyckel." 807 808#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 809#: of calibre.ebooks.metadata.sources.base.Source.get_author_tokens:1 810msgid "" 811"Take a list of authors and return a list of tokens useful for an AND search " 812"query. This function tries to return tokens in first name middle names last " 813"name order, by assuming that if a comma is in the author name, the name is " 814"in lastname, other names form." 815msgstr "Ta en lista över författare och återge en lista med tokens som är användbara för en AND-sökförfråga. Denna funktion försöker återge tokens i ordningen förnamn mellannamn efternamn, genom att anta att om ett kommatecken finns i författarnamnet, är namnet i efternamn, andra namnbildningar." 816 817#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 818#: of calibre.ebooks.metadata.sources.base.Source.get_title_tokens:1 819msgid "" 820"Take a title and return a list of tokens useful for an AND search query. " 821"Excludes connectives(optionally) and punctuation." 822msgstr "Ta en titel och återge en lista med symboler som är användbara för en OCH sökförfrågan. Utesluter konnektiva (valfritt) och skiljetecken." 823 824#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 825#: of calibre.ebooks.metadata.sources.base.Source.split_jobs:1 826msgid "Split a list of jobs into at most num groups, as evenly as possible" 827msgstr "Dela upp en lista med jobb i högst num grupper, så jämnt som möjligt" 828 829#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 830#: of calibre.ebooks.metadata.sources.base.Source.test_fields:1 831msgid "" 832"Return the first field from self.touched_fields that is null on the mi " 833"object" 834msgstr "Återgå till det första fältet från self.touched_fields som är null på mi objektet" 835 836#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 837#: of calibre.ebooks.metadata.sources.base.Source.clean_downloaded_metadata:1 838msgid "" 839"Call this method in your plugin's identify method to normalize metadata " 840"before putting the Metadata object into result_queue. You can of course, use" 841" a custom algorithm suited to your metadata source." 842msgstr "Anropa den här metoden i din insticksmodul för att identifiera metod att normalisera metadata innan metadataobjektet läggs i result_queue. Du kan naturligtvis använda en anpassad algoritm som matchar din metadatakälla." 843 844#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 845#: of calibre.ebooks.metadata.sources.base.Source.get_book_url:1 846msgid "" 847"Return a 3-tuple or None. The 3-tuple is of the form: (identifier_type, " 848"identifier_value, URL). The URL is the URL for the book identified by " 849"identifiers at this source. identifier_type, identifier_value specify the " 850"identifier corresponding to the URL. This URL must be browsable to by a " 851"human using a browser. It is meant to provide a clickable link for the user " 852"to easily visit the books page at this source. If no URL is found, return " 853"None. This method must be quick, and consistent, so only implement it if it " 854"is possible to construct the URL from a known scheme given identifiers." 855msgstr "Återge en 3-tupel eller None. 3-tupeln har formen: (identifier_type, identifier_value, URL). URL:en är webbadressen till boken som identifierats av identifierare vid denna källa. identifier_type, identifier_value anger identifieraren som motsvarar URL:en. Den här webbadressen måste vara tillgänglig för en person med en webbläsare. Den är avsedd att tillhandahålla en klickbar länk för användaren att enkelt besöka bokens sida vid denna källa. Om ingen webbadress hittas, återges None. Denna metod måste vara snabb och konsekvent, så implementera den bara om det är möjligt att konstruera webbadressen från ett känt schema med identifierare." 856 857#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 858#: of calibre.ebooks.metadata.sources.base.Source.get_book_url_name:1 859msgid "Return a human readable name from the return value of get_book_url()." 860msgstr "Återge ett mänskligt läsbart namn från det återgivna värdet för get_book_url()." 861 862#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 863#: of calibre.ebooks.metadata.sources.base.Source.get_book_urls:1 864msgid "" 865"Override this method if you would like to return multiple urls for this " 866"book. Return a list of 3-tuples. By default this method simply calls " 867":func:`get_book_url`." 868msgstr "Åsidosätta denna metod om du vill återvända flera webbadresser för den här boken. Återge en lista med 3-tupler. Som standard kallar metoden helt enkelt :func:`get_book_url`." 869 870#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 871#: of calibre.ebooks.metadata.sources.base.Source.get_cached_cover_url:1 872msgid "" 873"Return cached cover URL for the book identified by the identifiers dict or " 874"None if no such URL exists." 875msgstr "Återge cachade omslagsadresser för boken som identifieras av identifierare dict eller None om ingen sådan URL finns." 876 877#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 878#: of calibre.ebooks.metadata.sources.base.Source.get_cached_cover_url:4 879msgid "" 880"Note that this method must only return validated URLs, i.e. not URLS that " 881"could result in a generic cover image or a not found error." 882msgstr "Observera att den här metoden bara måste återvända validerade URL:er, d.v.s. inte webbadresser som kan resultera i en generisk omslagsbild eller inte hittat felet." 883 884#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 885#: of calibre.ebooks.metadata.sources.base.Source.id_from_url:1 886msgid "" 887"Parse a URL and return a tuple of the form: (identifier_type, " 888"identifier_value). If the URL does not match the pattern for the metadata " 889"source, return None." 890msgstr "Tolka en webbadress och återge en tupel av formen: (identifier_type, identifier_value). Om webbadressen inte matchar mönstret för metadatakällan, återge None." 891 892#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 893#: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:1 894msgid "" 895"Return a function that is used to generate a key that can sort Metadata " 896"objects by their relevance given a search query (title, authors, " 897"identifiers)." 898msgstr "Återge en funktion som används för att skapa en nyckel som kan sortera metadataobjekt genom deras relevans givet en sökförfråga (titel, författare, kännetecken)." 899 900#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 901#: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:5 902msgid "These keys are used to sort the results of a call to :meth:`identify`." 903msgstr "Dessa nycklar används för att sortera resultatet av ett anrop till :meth:`identify`." 904 905#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 906#: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:7 907msgid "" 908"For details on the default algorithm see " 909":class:`InternalMetadataCompareKeyGen`. Re-implement this function in your " 910"plugin if the default algorithm is not suitable." 911msgstr "För mer information om standardalgoritmen, se: klass :class:`InternalMetadataCompareKeyGen`. Återimplementera denna funktion i din insticksmodul om standardalgoritmen inte är lämplig." 912 913#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 914#: of calibre.ebooks.metadata.sources.base.Source.identify:1 915msgid "Identify a book by its Title/Author/ISBN/etc." 916msgstr "Identifiera en bok med dess titel/författare/ISBN/o.s.v." 917 918#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 919#: of calibre.ebooks.metadata.sources.base.Source.identify:3 920msgid "" 921"If identifiers(s) are specified and no match is found and this metadata " 922"source does not store all related identifiers (for example, all ISBNs of a " 923"book), this method should retry with just the title and author (assuming " 924"they were specified)." 925msgstr "Om en eller flera identifierare anges och ingen träff hittas och den här metadatakällan inte lagrar alla relaterade identifierare (till exempel alla ISBN av en bok), bör den här metoden försökas igen med bara titel och författare (förutsatt att de specificerades)." 926 927#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 928#: of calibre.ebooks.metadata.sources.base.Source.identify:8 929msgid "" 930"If this metadata source also provides covers, the URL to the cover should be" 931" cached so that a subsequent call to the get covers API with the same " 932"ISBN/special identifier does not need to get the cover URL again. Use the " 933"caching API for this." 934msgstr "Om den här metadatakällan också innehåller omslag, bör webbadressen till omslaget cachas så att ett efterföljande anrop till skaffa omslags-API:n med samma ISBN/specialidentifiering inte behöver hämta omslagsadresser igen. Använd cache-API:n för detta." 935 936#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 937#: of calibre.ebooks.metadata.sources.base.Source.identify:13 938msgid "" 939"Every Metadata object put into result_queue by this method must have a " 940"`source_relevance` attribute that is an integer indicating the order in " 941"which the results were returned by the metadata source for this query. This " 942"integer will be used by :meth:`compare_identify_results`. If the order is " 943"unimportant, set it to zero for every result." 944msgstr "Varje metadataobjekt infört i result_queue med denna metod måste ha en `source_relevance` attribut som är ett heltal som anger i vilken ordning resultaten återgavs av metadatakällan för den här förfrågan. Detta heltal kommer att användas av :meth:`compare_identify_results`. Om ordningen är oviktigt, sätt den till noll för varje resultat." 945 946#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 947#: of calibre.ebooks.metadata.sources.base.Source.identify:19 948msgid "" 949"Make sure that any cover/ISBN mapping information is cached before the " 950"Metadata object is put into result_queue." 951msgstr "Se till att alla omslag/ISBN-referensinformation lagras i cache innan metadataobjektet läggs i result_queue." 952 953#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 954#: of calibre.ebooks.metadata.sources.base.Source.identify:22 955msgid "A log object, use it to output debugging information/errors" 956msgstr "En loggpost, använd den för att mata ut felsökningsinformation/fel" 957 958#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 959#: of calibre.ebooks.metadata.sources.base.Source.identify:23 960msgid "" 961"A result Queue, results should be put into it. Each result is a Metadata " 962"object" 963msgstr "Ett resultat Kö, resultaten läggas in i den. Varje resultat är ett metadataobjekt" 964 965#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 966#: of calibre.ebooks.metadata.sources.base.Source.identify:25 967msgid "" 968"If abort.is_set() returns True, abort further processing and return as soon " 969"as possible" 970msgstr "Om abort.is_set() återger True, avbryt vidare bearbetning och återvända så snart som möjligt" 971 972#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 973#: of calibre.ebooks.metadata.sources.base.Source.identify:27 974msgid "The title of the book, can be None" 975msgstr "Titeln på boken, kan vara None" 976 977#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 978#: of calibre.ebooks.metadata.sources.base.Source.identify:28 979msgid "A list of authors of the book, can be None" 980msgstr "En lista med författare av boken, kan vara None" 981 982#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 983#: of calibre.ebooks.metadata.sources.base.Source.identify:29 984msgid "A dictionary of other identifiers, most commonly {'isbn':'1234...'}" 985msgstr "En ordbok av andra identifieringsuppgifter oftast {'isbn':'1234...'}" 986 987#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 988#: of calibre.ebooks.metadata.sources.base.Source.identify:31 989msgid "" 990"Timeout in seconds, no network request should hang for longer than timeout." 991msgstr "Tidsbegränsning i sekunder, ingen nätverksförfrågan ska dröja längre än tidsbegränsningen." 992 993#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 994#: of calibre.ebooks.metadata.sources.base.Source.identify:33 995msgid "" 996"None if no errors occurred, otherwise a unicode representation of the error " 997"suitable for showing to the user" 998msgstr "None om inga fel har inträffat, annars en Unicode-representation av felet som är lämplig för att visa för användaren" 999 1000#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1001#: of calibre.ebooks.metadata.sources.base.Source.download_cover:1 1002msgid "" 1003"Download a cover and put it into result_queue. The parameters all have the " 1004"same meaning as for :meth:`identify`. Put (self, cover_data) into " 1005"result_queue." 1006msgstr "Hämta ett omslag och sätta det i result_queue. Parametrarna alla har samma betydelse som för :meth:`identify`. Put (jaget, cover_data) i result_queue." 1007 1008#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1009#: of calibre.ebooks.metadata.sources.base.Source.download_cover:5 1010msgid "" 1011"This method should use cached cover URLs for efficiency whenever possible. " 1012"When cached data is not present, most plugins simply call identify and use " 1013"its results." 1014msgstr "Denna metod bör använda cachade omslagsadresser för effektivitet när det är möjligt. När buffrad data inte är närvarande, de flesta insticksmodul anropar helt enkelt identifiera och använda dess resultat." 1015 1016#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1017#: of calibre.ebooks.metadata.sources.base.Source.download_cover:9 1018msgid "" 1019"If the parameter get_best_cover is True and this plugin can get multiple " 1020"covers, it should only get the \"best\" one." 1021msgstr "Om parametern get_best_cover är True, och kan denna insticksmodul få flera omslag, det bör bara få det \"bästa\"." 1022 1023#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1024#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:1 1025msgid "" 1026"Generate a sort key for comparison of the relevance of Metadata objects, " 1027"given a search query. This is used only to compare results from the same " 1028"metadata source, not across different sources." 1029msgstr "Skapa en slags nyckel för jämförelse av relevansen av metadataobjekt, ges en sökförfråga. Detta används endast för att jämföra resultat från samma metadatakälla, inte mellan olika informationskällor." 1030 1031#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1032#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:5 1033msgid "" 1034"The sort key ensures that an ascending order sort is a sort by order of " 1035"decreasing relevance." 1036msgstr "Sorteringsnyckeln säkerställer att en stigande ordning sortera är en sortera fallande relevans." 1037 1038#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1039#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:8 1040msgid "The algorithm is:" 1041msgstr "Algoritmen är:" 1042 1043#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1044#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:10 1045msgid "" 1046"Prefer results that have at least one identifier the same as for the query" 1047msgstr "Föredra resultat som har åtminstone en identifierare som är samma som för förfrågan" 1048 1049#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1050#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:11 1051msgid "Prefer results with a cached cover URL" 1052msgstr "Föredra resultat med en cachad omslagsadresser" 1053 1054#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1055#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:12 1056msgid "Prefer results with all available fields filled in" 1057msgstr "Föredra resultat med alla tillgängliga fält ifyllda" 1058 1059#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1060#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:13 1061msgid "" 1062"Prefer results with the same language as the current user interface language" 1063msgstr "Föredra resultat med samma språk som aktuella användarens gränssnittsspråk" 1064 1065#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1066#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:14 1067msgid "Prefer results that are an exact title match to the query" 1068msgstr "Föredra resultat som är en exakt titelmatchning på förfrågan" 1069 1070#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1071#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:15 1072msgid "Prefer results with longer comments (greater than 10% longer)" 1073msgstr "Föredra resultat med längre kommentarer (mer än 10% längre)" 1074 1075#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1076#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:16 1077msgid "" 1078"Use the relevance of the result as reported by the metadata source's search" 1079msgstr "Använd relevansen av resultatet som rapporterats av metadatakällans sökning" 1080 1081#: ../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring 1082#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:17 1083msgid "engine" 1084msgstr "engine" 1085 1086#: ../../__w/calibre/calibre/manual/plugins.rst:76 1087msgid "Conversion plugins" 1088msgstr "Konvertering insticksmodul" 1089 1090#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1091#: calibre.customize.conversion.InputFormatPlugin:1 1092msgid "" 1093"InputFormatPlugins are responsible for converting a document into " 1094"HTML+OPF+CSS+etc. The results of the conversion *must* be encoded in UTF-8. " 1095"The main action happens in :meth:`convert`." 1096msgstr "InputFormatPlugins ansvarar för att konvertera ett dokument till HTML+OPF+CSS+o.s.v. Resultatet av konverteringen *måste* kodas i UTF-8. Den viktigaste åtgärden händer i :meth:`convert`." 1097 1098#: ../../__w/calibre/calibre/manual/docstring of 1099#: calibre.customize.conversion.InputFormatPlugin.file_types:1 1100msgid "" 1101"Set of file types for which this plugin should be run For example: " 1102"``set(['azw', 'mobi', 'prc'])``" 1103msgstr "Uppsättning med filtyper som denna insticksmodul ska köra Till exempel: ``set(['azw', 'mobi', 'prc'])``" 1104 1105#: ../../__w/calibre/calibre/manual/docstring of 1106#: calibre.customize.conversion.InputFormatPlugin.is_image_collection:1 1107msgid "" 1108"If True, this input plugin generates a collection of images, one per HTML " 1109"file. This can be set dynamically, in the convert method if the input files " 1110"can be both image collections and non-image collections. If you set this to " 1111"True, you must implement the get_images() method that returns a list of " 1112"images." 1113msgstr "Om True, denna inmatning insticksmodul skapar en samling bilder, en per HTML-fil. Detta kan ställas in dynamiskt, i konverteringsmetoden om inmatningsfilerna kan vara både bildsamlingar och icke-bildsamlingar. Om du ställer in detta till True måste du implementera get_images () som återger en lista med bilder." 1114 1115#: ../../__w/calibre/calibre/manual/docstring of 1116#: calibre.customize.conversion.InputFormatPlugin.core_usage:1 1117msgid "" 1118"Number of CPU cores used by this plugin. A value of -1 means that it uses " 1119"all available cores" 1120msgstr "Antal CPU-kärnor som används av denna insticksmodul. Ett värde av -1 betyder att den använder alla tillgängliga kärnor" 1121 1122#: ../../__w/calibre/calibre/manual/docstring of 1123#: calibre.customize.conversion.InputFormatPlugin.for_viewer:1 1124msgid "" 1125"If set to True, the input plugin will perform special processing to make its" 1126" output suitable for viewing" 1127msgstr "Om värdet är True, kommer inmatning insticksmodulen specialbearbeta att göra sitt utmatning lämpligt för visning" 1128 1129#: ../../__w/calibre/calibre/manual/docstring of 1130#: calibre.customize.conversion.InputFormatPlugin.output_encoding:1 1131msgid "" 1132"The encoding that this input plugin creates files in. A value of None means " 1133"that the encoding is undefined and must be detected individually" 1134msgstr "Kodningen som denna inmatning insticksmodul skapar filer i. Ett värde på None betyder att kodningen är odefinierad och måste upptäckas var för sig" 1135 1136#: ../../__w/calibre/calibre/manual/docstring of 1137#: calibre.customize.conversion.InputFormatPlugin.common_options:1 1138#: ../../__w/calibre/calibre/manual/docstring of 1139#: calibre.customize.conversion.OutputFormatPlugin.common_options:1 1140msgid "" 1141"Options shared by all Input format plugins. Do not override in sub-classes. " 1142"Use :attr:`options` instead. Every option must be an instance of " 1143":class:`OptionRecommendation`." 1144msgstr "Alternativ som delas av alla inmatningsformatsinsticksmoduler. Åsidostätt inte i underklasser. Använd :attr:`options` istället. Varje alternativ ska vara en instans av :class:`OptionRecommendation`." 1145 1146#: ../../__w/calibre/calibre/manual/docstring of 1147#: calibre.customize.conversion.InputFormatPlugin.options:1 1148#: ../../__w/calibre/calibre/manual/docstring of 1149#: calibre.customize.conversion.OutputFormatPlugin.options:1 1150msgid "" 1151"Options to customize the behavior of this plugin. Every option must be an " 1152"instance of :class:`OptionRecommendation`." 1153msgstr "Alternativ för att anpassa beteendet hos denna insticksmodul. Varje alternativ ska vara en instans av :class:`OptionRecommendation`." 1154 1155#: ../../__w/calibre/calibre/manual/docstring of 1156#: calibre.customize.conversion.InputFormatPlugin.recommendations:1 1157#: ../../__w/calibre/calibre/manual/docstring of 1158#: calibre.customize.conversion.OutputFormatPlugin.recommendations:1 1159msgid "" 1160"A set of 3-tuples of the form (option_name, recommended_value, " 1161"recommendation_level)" 1162msgstr "En uppsättning av 3-tupler av formen (option_name, recommended_value, recommendation_level)" 1163 1164#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1165#: calibre.customize.conversion.InputFormatPlugin.get_images:1 1166msgid "" 1167"Return a list of absolute paths to the images, if this input plugin " 1168"represents an image collection. The list of images is in the same order as " 1169"the spine and the TOC." 1170msgstr "Återge en lista med absoluta sökvägar till bilderna, om denna inmatning insticksmodul representerar en bildsamling. Listan med bilder är i samma ordning som bokryggen och innehållsförteckningen." 1171 1172#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1173#: calibre.customize.conversion.InputFormatPlugin.convert:1 1174msgid "" 1175"This method must be implemented in sub-classes. It must return the path to " 1176"the created OPF file or an :class:`OEBBook` instance. All output should be " 1177"contained in the current folder. If this plugin creates files outside the " 1178"current folder they must be deleted/marked for deletion before this method " 1179"returns." 1180msgstr "Denna metod måste implementeras i underklasser. Den måste återge sökvägen till den skapade OPF-filen eller en :class:`OEBBook`-instans. All utmatning ska ingå i den aktuella mappen. Om denna insticksmodul skapar filer utanför den aktuella mappen måste de tas bort/markeras för borttagning innan denna metod avslutas." 1181 1182#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1183#: calibre.customize.conversion.InputFormatPlugin.convert:8 1184msgid "A file like object that contains the input file." 1185msgstr "En fil som objekt som innehåller inmatningsfilen." 1186 1187#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1188#: calibre.customize.conversion.InputFormatPlugin.convert:9 1189msgid "" 1190"Options to customize the conversion process. Guaranteed to have attributes " 1191"corresponding to all the options declared by this plugin. In addition, it " 1192"will have a verbose attribute that takes integral values from zero upwards. " 1193"Higher numbers mean be more verbose. Another useful attribute is " 1194"``input_profile`` that is an instance of " 1195":class:`calibre.customize.profiles.InputProfile`." 1196msgstr "Alternativ för att anpassa konverteringen. Garanterat att ha attribut som motsvarar alla de alternativ som deklarerats av denna insticksmodul. Dessutom kommer det att ha en utförlig attribut som tar intergralvärden från noll och uppåt. Högre siffror innebär att vara mer utförlig. En annan användbar egenskap är ``input_profile`` det är en instans av :class:`calibre.customize.profiles.InputProfile`." 1197 1198#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1199#: calibre.customize.conversion.InputFormatPlugin.convert:17 1200msgid "" 1201"The extension (without the .) of the input file. It is guaranteed to be one " 1202"of the `file_types` supported by this plugin." 1203msgstr "Filtypsändelsen (utan .) i inmatningsfilen. Det är garanterat att vara en av de `file_types` stöds av denna insticksmodul." 1204 1205#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1206#: calibre.customize.conversion.InputFormatPlugin.convert:20 1207msgid "" 1208"A :class:`calibre.utils.logging.Log` object. All output should use this " 1209"object." 1210msgstr "Ett :class:`calibre.utils.logging.Log` objekt. All utmatning bör använda detta objekt." 1211 1212#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1213#: calibre.customize.conversion.InputFormatPlugin.convert:22 1214msgid "" 1215"A dictionary of various information that the input plugin can get easily " 1216"that would speed up the subsequent stages of the conversion." 1217msgstr "En ordbok för olika uppgifter inmatning insticksmodul kan få lätt som skulle kunna påskynda de efterföljande stegen i konverteringen." 1218 1219#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1220#: calibre.customize.conversion.InputFormatPlugin.postprocess_book:1 1221msgid "" 1222"Called to allow the input plugin to perform postprocessing after the book " 1223"has been parsed." 1224msgstr "Anropas för att tillåta inmatning insticksmodul för att utföra efterbehandling efter att boken har tolkats." 1225 1226#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1227#: calibre.customize.conversion.InputFormatPlugin.specialize:1 1228msgid "" 1229"Called to allow the input plugin to specialize the parsed book for a " 1230"particular output format. Called after postprocess_book and before any " 1231"transforms are performed on the parsed book." 1232msgstr "Anropas för att tillåta inmatning insticksmodul att specialisera den analyserade boken för en viss utmatning format. Anropas efter postprocess_book och innan några omvandlingar utförs på den analyserade boken." 1233 1234#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1235#: calibre.customize.conversion.InputFormatPlugin.gui_configuration_widget:1 1236msgid "" 1237"Called to create the widget used for configuring this plugin in the calibre " 1238"GUI. The widget must be an instance of the PluginWidget class. See the " 1239"builtin input plugins for examples." 1240msgstr "Kallas för att skapa gränssnittskomponenten som används för att anpassa denna insticksmodul i calibre-användaregränssnittet. Gränssnittskomponenten måste vara en instans av klassen PluginWidget. Se inbyggda inmatningsinsticksmoduler för exempel." 1241 1242#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1243#: calibre.customize.conversion.OutputFormatPlugin:1 1244msgid "" 1245"OutputFormatPlugins are responsible for converting an OEB document " 1246"(OPF+HTML) into an output e-book." 1247msgstr "OutputFormatPlugins är ansvariga för att konvertera ett OEB-dokument (OPF+HTML) till e-bokutmatning." 1248 1249#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1250#: calibre.customize.conversion.OutputFormatPlugin:4 1251msgid "" 1252"The OEB document can be assumed to be encoded in UTF-8. The main action " 1253"happens in :meth:`convert`." 1254msgstr "OEB-dokumentet kan antas vara kodade i UTF-8. Den viktigaste åtgärden händer i :meth:`convert`." 1255 1256#: ../../__w/calibre/calibre/manual/docstring of 1257#: calibre.customize.conversion.OutputFormatPlugin.file_type:1 1258msgid "" 1259"The file type (extension without leading period) that this plugin outputs" 1260msgstr "Filtypen (ändelse utan främre punkt) att denna insticksmodul utmatning" 1261 1262#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1263#: calibre.customize.conversion.OutputFormatPlugin.description:1 1264msgid "" 1265"str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str" 1266msgstr "str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str" 1267 1268#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1269#: calibre.customize.conversion.OutputFormatPlugin.description:4 1270msgid "" 1271"Create a new string object from the given object. If encoding or errors is " 1272"specified, then the object must expose a data buffer that will be decoded " 1273"using the given encoding and error handler. Otherwise, returns the result of" 1274" object.__str__() (if defined) or repr(object). encoding defaults to " 1275"sys.getdefaultencoding(). errors defaults to 'strict'." 1276msgstr "Skapa ett nytt strängobjekt från det givna objektet. Om kodning eller fel anges måste objektet exponera en databuffert som kommer att avkodas med den givna kodningen och felhanteraren. Annars återges resultatet av object.__str__() ((om definierat)) eller repr(object). kodning är som standard sys.getdefaultencoding(). fel är som standard 'strict'." 1277 1278#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1279#: calibre.customize.conversion.OutputFormatPlugin.convert:1 1280msgid "" 1281"Render the contents of `oeb_book` (which is an instance of " 1282":class:`calibre.ebooks.oeb.OEBBook`) to the file specified by output." 1283msgstr "Återge innehållet i `oeb_book` (som är en instans av: :class:`calibre.ebooks.oeb.OEBBook`) till filen som anges av utgång." 1284 1285#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1286#: calibre.customize.conversion.OutputFormatPlugin.convert:4 1287msgid "" 1288"Either a file like object or a string. If it is a string it is the path to a" 1289" folder that may or may not exist. The output plugin should write its output" 1290" into that folder. If it is a file like object, the output plugin should " 1291"write its output into the file." 1292msgstr "Antingen en fil som ett objekt eller en sträng. Om det är en sträng är det sökvägen till en mapp som kanske eller kanske inte finns. Utmatningsinsticksmodulen ska skriva dess utmatning till den mappen. Om det är en fil som objekt ska utmatningsinsticksmodulen skriva dess utmatning till filen." 1293 1294#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1295#: calibre.customize.conversion.OutputFormatPlugin.convert:8 1296msgid "" 1297"The input plugin that was used at the beginning of the conversion pipeline." 1298msgstr "Inmatning insticksmodulen som användes i början av konverteringen." 1299 1300#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1301#: calibre.customize.conversion.OutputFormatPlugin.convert:10 1302msgid "" 1303"Conversion options. Guaranteed to have attributes corresponding to the " 1304"OptionRecommendations of this plugin." 1305msgstr "Konverteringsalternativ. Garanterat att ha attribut som motsvarar OptionRecommendations av denna insticksmodul." 1306 1307#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1308#: calibre.customize.conversion.OutputFormatPlugin.convert:12 1309msgid "The logger. Print debug/info messages etc. using this." 1310msgstr "Loggern. Skriv ut felsöknings/infomeddelanden o.s.v. med hjälp av denna." 1311 1312#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1313#: calibre.customize.conversion.OutputFormatPlugin.specialize_options:1 1314msgid "" 1315"Can be used to change the values of conversion options, as used by the " 1316"conversion pipeline." 1317msgstr "Kan användas för att ändra värdena för konverteringsinställningarna, som används av konverteringsledningen." 1318 1319#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1320#: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:1 1321msgid "" 1322"Can be used to make changes to the css during the CSS flattening process." 1323msgstr "Kan användas för att göra ändringar i css under CSS tillplattningsprocessen." 1324 1325#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1326#: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:4 1327msgid "The item (HTML file) being processed" 1328msgstr "Elementet (HTML-fil) som bearbetas" 1329 1330#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1331#: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:5 1332msgid "" 1333"A Stylizer object containing the flattened styles for item. You can get the " 1334"style for any element by stylizer.style(element)." 1335msgstr "Ett stiliseringsobjekt som innehåller de tillplattade stilarna för objektet. Du kan få stilen för alla element av stylizer.style(element)." 1336 1337#: ../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring of 1338#: calibre.customize.conversion.OutputFormatPlugin.gui_configuration_widget:1 1339msgid "" 1340"Called to create the widget used for configuring this plugin in the calibre " 1341"GUI. The widget must be an instance of the PluginWidget class. See the " 1342"builtin output plugins for examples." 1343msgstr "Anropas för att skapa gränssnittskomponenten för att anpassa denna insticksmodul i calibres användargranssnittet. Gränssnittskomponenten måste vara en instans av klassen PluginWidget. Se inbyggda utmatningsinsticksmoduler för exempel." 1344 1345#: ../../__w/calibre/calibre/manual/plugins.rst:91 1346msgid "Device drivers" 1347msgstr "Enhetsdrivrutiner" 1348 1349#: ../../__w/calibre/calibre/manual/plugins.rst:95 1350msgid "" 1351"The base class for all device drivers is :class:`DevicePlugin`. However, if " 1352"your device exposes itself as a USBMS drive to the operating system, you " 1353"should use the USBMS class instead as it implements all the logic needed to " 1354"support these kinds of devices." 1355msgstr "Basklass för alla drivrutiner är :class:`DevicePlugin`. Men om din enhet exponerar sig som en USBMS-enhet till operativsystemet, bör du använda USBMS-klassen istället eftersom den genomför all logik som behövs för att stöda dessa typer av enheter." 1356 1357#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1358#: calibre.devices.interface.DevicePlugin:1 1359msgid "" 1360"Defines the interface that should be implemented by backends that " 1361"communicate with an e-book reader." 1362msgstr "Definierar gränssnitt som ska implementeras av bakomliggande system som kommunicerar med en e-bokläsenhet." 1363 1364#: ../../__w/calibre/calibre/manual/docstring of 1365#: calibre.devices.interface.DevicePlugin.FORMATS:1 1366msgid "Ordered list of supported formats" 1367msgstr "Ordnad lista med format som stöds" 1368 1369#: ../../__w/calibre/calibre/manual/docstring of 1370#: calibre.devices.interface.DevicePlugin.VENDOR_ID:1 1371msgid "" 1372"VENDOR_ID can be either an integer, a list of integers or a dictionary If it" 1373" is a dictionary, it must be a dictionary of dictionaries, of the form::" 1374msgstr "VENDOR_ID kan vara antingen ett heltal, en lista med heltal eller ett ordbok om det är ett ordbok, måste det vara en ordbok av ordböcker, på formen::" 1375 1376#: ../../__w/calibre/calibre/manual/docstring of 1377#: calibre.devices.interface.DevicePlugin.PRODUCT_ID:1 1378msgid "An integer or a list of integers" 1379msgstr "Ett heltal eller en lista med heltal" 1380 1381#: ../../__w/calibre/calibre/manual/docstring of 1382#: calibre.devices.interface.DevicePlugin.BCD:1 1383msgid "" 1384"BCD can be either None to not distinguish between devices based on BCD, or " 1385"it can be a list of the BCD numbers of all devices supported by this driver." 1386msgstr "BCD kan vara antingen None att inte skilja mellan enheter baserade på BCD, eller det kan vara en lista med BCD-numren för alla enheter som stöds av denna drivrutin." 1387 1388#: ../../__w/calibre/calibre/manual/docstring of 1389#: calibre.devices.interface.DevicePlugin.THUMBNAIL_HEIGHT:1 1390msgid "Height for thumbnails on the device" 1391msgstr "Höjd för omslagsminiatyrbilder på enheten" 1392 1393#: ../../__w/calibre/calibre/manual/docstring of 1394#: calibre.devices.interface.DevicePlugin.THUMBNAIL_COMPRESSION_QUALITY:1 1395msgid "" 1396"Compression quality for thumbnails. Set this closer to 100 to have better " 1397"quality thumbnails with fewer compression artifacts. Of course, the " 1398"thumbnails get larger as well." 1399msgstr "Komprimeringskvalitet för miniatyrbilder. Ställ in detta till närmare 100 för att få bättre kvalitet på miniatyrbilder med färre komprimeringsartefakter. Naturligtvis, miniatyrbilden blir större också." 1400 1401#: ../../__w/calibre/calibre/manual/docstring of 1402#: calibre.devices.interface.DevicePlugin.WANTS_UPDATED_THUMBNAILS:1 1403msgid "" 1404"Set this to True if the device supports updating cover thumbnails during " 1405"sync_booklists. Setting it to true will ask device.py to refresh the cover " 1406"thumbnails during book matching" 1407msgstr "Ändra den till True om enheten stödjer uppdatering av omslagsminiatyrbilder under sync_booklists. Ställ in den till True kommer att be device.py att uppdatera omslagsminiatyrbilder under bokmatchning" 1408 1409#: ../../__w/calibre/calibre/manual/docstring of 1410#: calibre.devices.interface.DevicePlugin.CAN_SET_METADATA:1 1411msgid "Whether the metadata on books can be set via the GUI." 1412msgstr "Huruvida metadata om böckerna kan ställas in via GUI." 1413 1414#: ../../__w/calibre/calibre/manual/docstring of 1415#: calibre.devices.interface.DevicePlugin.CAN_DO_DEVICE_DB_PLUGBOARD:1 1416msgid "Whether the device can handle device_db metadata plugboards" 1417msgstr "Hurvida enheten kan hantera device_db-metadatapluggbrädor" 1418 1419#: ../../__w/calibre/calibre/manual/docstring of 1420#: calibre.devices.interface.DevicePlugin.path_sep:1 1421msgid "Path separator for paths to books on device" 1422msgstr "Sökvägsavskiljare för sökvägar till böcker på enheten" 1423 1424#: ../../__w/calibre/calibre/manual/docstring of 1425#: calibre.devices.interface.DevicePlugin.icon:1 1426msgid "Icon for this device" 1427msgstr "Ikon för denna enhet" 1428 1429#: ../../__w/calibre/calibre/manual/docstring of 1430#: calibre.devices.interface.DevicePlugin.OPEN_FEEDBACK_MESSAGE:1 1431msgid "" 1432"GUI displays this as a message if not None. Useful if opening can take a " 1433"long time" 1434msgstr "Gränssnittet visar detta som ett meddelande om inte None. Användbart om öppning kan ta lång tid" 1435 1436#: ../../__w/calibre/calibre/manual/docstring of 1437#: calibre.devices.interface.DevicePlugin.VIRTUAL_BOOK_EXTENSIONS:1 1438msgid "" 1439"Set of extensions that are \"virtual books\" on the device and therefore " 1440"cannot be viewed/saved/added to library. For example: " 1441"``frozenset(['kobo'])``" 1442msgstr "Uppsättning av tillägg som är \"virtuella böcker\" på enheten och kan därför inte ses/sparas/läggas till biblioteket. Till exempel: ``frozenset(['kobo'])``" 1443 1444#: ../../__w/calibre/calibre/manual/docstring of 1445#: calibre.devices.interface.DevicePlugin.VIRTUAL_BOOK_EXTENSION_MESSAGE:1 1446msgid "Message to display to user for virtual book extensions." 1447msgstr "Meddelande att visa för användare av virtuella boktillägg." 1448 1449#: ../../__w/calibre/calibre/manual/docstring of 1450#: calibre.devices.interface.DevicePlugin.NUKE_COMMENTS:1 1451msgid "" 1452"Whether to nuke comments in the copy of the book sent to the device. If not " 1453"None this should be short string that the comments will be replaced by." 1454msgstr "I fall det ska förstöra kommentarer i kopian av boken som skickas till enheten. Om inte None bör detta vara kort sträng som kommentarerna kommer att ersättas av." 1455 1456#: ../../__w/calibre/calibre/manual/docstring of 1457#: calibre.devices.interface.DevicePlugin.MANAGES_DEVICE_PRESENCE:1 1458msgid "" 1459"If True indicates that this driver completely manages device detection, " 1460"ejecting and so forth. If you set this to True, you *must* implement the " 1461"detect_managed_devices and debug_managed_device_detection methods. A driver " 1462"with this set to true is responsible for detection of devices, managing a " 1463"blacklist of devices, a list of ejected devices and so forth. calibre will " 1464"periodically call the detect_managed_devices() method and if it returns a " 1465"detected device, calibre will call open(). open() will be called every time " 1466"a device is returned even if previous calls to open() failed, therefore the " 1467"driver must maintain its own blacklist of failed devices. Similarly, when " 1468"ejecting, calibre will call eject() and then assuming the next call to " 1469"detect_managed_devices() returns None, it will call post_yank_cleanup()." 1470msgstr "Om True indikerar att denna drivrutin helt hanterar enhetsupptäckt, utmatning och så vidare. Om du ställer in detta till True, *måste* du implmentera detect_managed_devices och debug_managed_device_detection metoder. En drivrutin med denna uppsättning till True är ansvarig för upptäckt av enheter, hantering av en svartlista med enheter, en förteckning över de utmatade enheter och så vidare. calibre kommer regelbundet kalla detect_managed_devices() metoden och om det återger en upptäckt enhet, kommer calibre anropa open(). open() kommer att anropas varje gång en enhet återges även om tidigare anrop för att open() misslyckades, därför måste drivrutin bibehålla sin egen svartlista med misslyckade enheter. Likaså vid utmatning, kommer calibre anropa eject() och sedan antar nästa anrop till detect_managed_devices() återger None, kommer det att anropa post_yank_cleanup()." 1471 1472#: ../../__w/calibre/calibre/manual/docstring of 1473#: calibre.devices.interface.DevicePlugin.SLOW_DRIVEINFO:1 1474msgid "" 1475"If set the True, calibre will call the :meth:`get_driveinfo()` method after " 1476"the books lists have been loaded to get the driveinfo." 1477msgstr "Om värder är True, kommer calibre att anropa :meth:`get_driveinfo()` metoden efter att boklistor har lästs för att få \"driveinfo\"." 1478 1479#: ../../__w/calibre/calibre/manual/docstring of 1480#: calibre.devices.interface.DevicePlugin.ASK_TO_ALLOW_CONNECT:1 1481msgid "" 1482"If set to True, calibre will ask the user if they want to manage the device " 1483"with calibre, the first time it is detected. If you set this to True you " 1484"must implement :meth:`get_device_uid()` and " 1485":meth:`ignore_connected_device()` and :meth:`get_user_blacklisted_devices` " 1486"and :meth:`set_user_blacklisted_devices`" 1487msgstr "Om värdet är True, kommer calibre fråga användaren om de vill hantera enheten med calibre, första gången den upptäcktes. Om du ställer in detta till True måste du implementera :meth:`get_device_uid()` och :meth:`ignore_connected_device()` och :meth:`get_user_blacklisted_devices` och :meth:`set_user_blacklisted_devices`" 1488 1489#: ../../__w/calibre/calibre/manual/docstring of 1490#: calibre.devices.interface.DevicePlugin.user_feedback_after_callback:1 1491msgid "" 1492"Set this to a dictionary of the form {'title':title, 'msg':msg, " 1493"'det_msg':detailed_msg} to have calibre popup a message to the user after " 1494"some callbacks are run (currently only upload_books). Be careful to not spam" 1495" the user with too many messages. This variable is checked after *every* " 1496"callback, so only set it when you really need to." 1497msgstr "Ställ in detta i en ordbok med formuläret {'title':title, 'msg':msg, 'det_msg':detailed_msg} för att calibre ska få ett meddelande till användaren efter att några återanrop har körts (för närvarande endast upload_books). Var försiktig så att du inte skräppostar användaren med för många meddelanden. Denna variabel kontrolleras efter *varje* anrop, så ställ in den bara när du verkligen behöver." 1498 1499#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1500#: calibre.devices.interface.DevicePlugin.is_usb_connected:1 1501msgid "" 1502"Return True, device_info if a device handled by this plugin is currently " 1503"connected." 1504msgstr "Återge True, device_info om en enhet som hanteras av denna insticksmodul är ansluten." 1505 1506#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1507#: calibre.devices.interface.DevicePlugin.is_usb_connected:3 1508msgid "List of devices currently connected" 1509msgstr "Lista med för närvarande anslutna enheter" 1510 1511#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1512#: calibre.devices.interface.DevicePlugin.detect_managed_devices:1 1513#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1514#: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:1 1515msgid "Called only if MANAGES_DEVICE_PRESENCE is True." 1516msgstr "Anropas bara om MANAGES_DEVICE_PRESENCE är True." 1517 1518#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1519#: calibre.devices.interface.DevicePlugin.detect_managed_devices:3 1520msgid "" 1521"Scan for devices that this driver can handle. Should return a device object " 1522"if a device is found. This object will be passed to the open() method as the" 1523" connected_device. If no device is found, return None. The returned object " 1524"can be anything, calibre does not use it, it is only passed to open()." 1525msgstr "Skanna efter enheter som denna drivrutin kan hantera. Ska återge en enhetsobjekt om en enhet hittas. Detta syfte kommer att vidarebefordras till open() metoden som connected_device. Om ingen enhet hittas, retruneras None. Den återgivna objektet kan vara vad som helst, calibre använder inte den, det skickas bara till open()." 1526 1527#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1528#: calibre.devices.interface.DevicePlugin.detect_managed_devices:9 1529msgid "" 1530"This method is called periodically by the GUI, so make sure it is not too " 1531"resource intensive. Use a cache to avoid repeatedly scanning the system." 1532msgstr "Denna metod anropas periodiskt av användargränssnittet, så se till att den inte är för resurskrävande. Använd en cache för att undvika att upprepade gånger skanna systemet." 1533 1534#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1535#: calibre.devices.interface.DevicePlugin.detect_managed_devices:13 1536msgid "Set of USB devices found on the system." 1537msgstr "Uppsättning av USB-enheter hittade på systemet." 1538 1539#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1540#: calibre.devices.interface.DevicePlugin.detect_managed_devices:15 1541msgid "" 1542"If True and the driver uses a cache to prevent repeated scanning, the cache " 1543"must be flushed." 1544msgstr "Om True och drivrutinen använder en cache för att förhindra upprepad skanning måste cachen tömmas." 1545 1546#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1547#: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:3 1548msgid "" 1549"Should write information about the devices detected on the system to output," 1550" which is a file like object." 1551msgstr "Bör skriva information om enheterna som upptäckts på systemet till utmatning, vilket är en fil som objekt." 1552 1553#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1554#: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:6 1555msgid "" 1556"Should return True if a device was detected and successfully opened, " 1557"otherwise False." 1558msgstr "Ska återge True om en enhet upptäcktes och öppnades, annars False." 1559 1560#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1561#: calibre.devices.interface.DevicePlugin.reset:1 1562#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1563#: calibre.devices.usbms.device.Device.reset:1 1564msgid "The key to unlock the device" 1565msgstr "Nyckeln för att låsa upp enheten" 1566 1567#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1568#: calibre.devices.interface.DevicePlugin.reset:2 1569#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1570#: calibre.devices.usbms.device.Device.reset:2 1571msgid "If true the packet stream to/from the device is logged" 1572msgstr "Om True paketströmmen till/från enheten loggas" 1573 1574#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1575#: calibre.devices.interface.DevicePlugin.reset:3 1576#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1577#: calibre.devices.interface.DevicePlugin.set_progress_reporter:3 1578#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1579#: calibre.devices.usbms.device.Device.reset:3 1580#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1581#: calibre.devices.usbms.device.Device.set_progress_reporter:3 1582msgid "" 1583"Function that is called with a % progress (number between 0 and 100) for " 1584"various tasks. If it is called with -1 that means that the task does not " 1585"have any progress information" 1586msgstr "Funktion som anropas med %-förlopp (tal mellan 0 och 100) för olika uppgifter. Om den anropas med -1 betyder det att uppgiften inte har någon förloppsinformation" 1587 1588#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1589#: calibre.devices.interface.DevicePlugin.reset:7 1590#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1591#: calibre.devices.usbms.device.Device.reset:7 1592msgid "Device information from the device scanner" 1593msgstr "Enhetsinformation från enhetsskannaren" 1594 1595#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1596#: calibre.devices.interface.DevicePlugin.can_handle_windows:1 1597#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1598#: calibre.devices.usbms.device.Device.can_handle_windows:1 1599msgid "" 1600"Optional method to perform further checks on a device to see if this driver " 1601"is capable of handling it. If it is not it should return False. This method " 1602"is only called after the vendor, product ids and the bcd have matched, so it" 1603" can do some relatively time intensive checks. The default implementation " 1604"returns True. This method is called only on Windows. See also " 1605":meth:`can_handle`." 1606msgstr "Valfri metod för att utföra ytterligare kontroller på en enhet för att se om den här drivrutinen kan hantera det. Om det inte är det ska återge False. Denna metod anropas endast efter leverantör, produkt-ID och bcd har matchats, så det kan göra några relativt tidskrävande kontroller. Genomförandet standard återger True. Denna metod kallas bara i Windows. Se även :meth:`can_handle`." 1607 1608#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1609#: calibre.devices.interface.DevicePlugin.can_handle_windows:8 1610#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1611#: calibre.devices.usbms.device.Device.can_handle_windows:8 1612msgid "" 1613"Note that for devices based on USBMS this method by default delegates to " 1614":meth:`can_handle`. So you only need to override :meth:`can_handle` in your" 1615" subclass of USBMS." 1616msgstr "Observera att för enheter baserade på USBMS denna metod delegerar som standard till :meth:`can_handle`. Så du behöver bara åsidosätta :meth:`can_handle` i din underklass av USBMS." 1617 1618#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1619#: calibre.devices.interface.DevicePlugin.can_handle_windows:12 1620#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1621#: calibre.devices.usbms.device.Device.can_handle_windows:12 1622msgid "" 1623"A usbdevice as returned by :func:`calibre.devices.winusb.scan_usb_devices`" 1624msgstr "En USB-enhet som återges av :func:`calibre.devices.winusb.scan_usb_devices`" 1625 1626#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1627#: calibre.devices.interface.DevicePlugin.can_handle:1 1628msgid "Unix version of :meth:`can_handle_windows`." 1629msgstr "Unix-version av :meth:`can_handle_windows`." 1630 1631#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1632#: calibre.devices.interface.DevicePlugin.can_handle:3 1633msgid "Is a tuple of (vid, pid, bcd, manufacturer, product, serial number)" 1634msgstr "Är en tupel av (VID, pid, BCD, tillverkare, produkt, serienummer)" 1635 1636#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1637#: calibre.devices.interface.DevicePlugin.open:1 1638#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1639#: calibre.devices.usbms.device.Device.open:1 1640msgid "" 1641"Perform any device specific initialization. Called after the device is " 1642"detected but before any other functions that communicate with the device. " 1643"For example: For devices that present themselves as USB Mass storage " 1644"devices, this method would be responsible for mounting the device or if the " 1645"device has been automounted, for finding out where it has been mounted. The " 1646"method :meth:`calibre.devices.usbms.device.Device.open` has an " 1647"implementation of this function that should serve as a good example for USB " 1648"Mass storage devices." 1649msgstr "Utför specifik initiering på alla enheter. Anropas efter att enheten har upptäckts men innan några andra funktioner kommunicerar med enheten. Till exempel: För enheter som presenterar sig som USB-masslagringsenheter, skulle denna metod vara ansvarig för montering av enheten eller om enheten har en automatisk montering, för att ta reda på var det har monterats. Metoden :meth:`calibre.devices.usbms.device.Device.open` har en implementering av denna funktion som bör tjäna som ett gott exempel för USB-masslagringsenheter." 1650 1651#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1652#: calibre.devices.interface.DevicePlugin.open:11 1653#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1654#: calibre.devices.usbms.device.Device.open:11 1655msgid "" 1656"This method can raise an OpenFeedback exception to display a message to the " 1657"user." 1658msgstr "Denna metod kan indikera ett OpenFeedback-undantag för att visa ett meddelande till användaren." 1659 1660#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1661#: calibre.devices.interface.DevicePlugin.open:14 1662#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1663#: calibre.devices.usbms.device.Device.open:14 1664msgid "" 1665"The device that we are trying to open. It is a tuple of (vendor id, product " 1666"id, bcd, manufacturer name, product name, device serial number). However, " 1667"some devices have no serial number and on Windows only the first three " 1668"fields are present, the rest are None." 1669msgstr "Enheten som vi försöker öppna. Det är en typ av (leverantörs-ID, produkt-id, bcd, tillverkarens namn, produktnamn, enhetens serienummer). Vissa enheter har emellertid inget serienummer och i Windows finns bara de tre första fälten, resten är None." 1670 1671#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1672#: calibre.devices.interface.DevicePlugin.open:20 1673#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1674#: calibre.devices.usbms.device.Device.open:20 1675msgid "" 1676"The UUID of the current calibre library. Can be None if there is no library " 1677"(for example when used from the command line)." 1678msgstr "UUID:t för det aktuella calibre-biblioteket. Kan vara None om det inte finns något bibliotek (till exempel när det används från kommandoraden)." 1679 1680#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1681#: calibre.devices.interface.DevicePlugin.eject:1 1682#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1683#: calibre.devices.usbms.device.Device.eject:1 1684msgid "" 1685"Un-mount / eject the device from the OS. This does not check if there are " 1686"pending GUI jobs that need to communicate with the device." 1687msgstr "Avmontera/mata ut enheten från OS. Detta innebär inte kontroll om det finns väntande jobb som behöver kommuniceras med enheten." 1688 1689#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1690#: calibre.devices.interface.DevicePlugin.eject:4 1691#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1692#: calibre.devices.usbms.device.Device.eject:4 1693msgid "" 1694"NOTE: That this method may not be called on the same thread as the rest of " 1695"the device methods." 1696msgstr "OBSERVERA: Att denna metod kan inte kallas på samma tråd som resten av enhetsmetoderna." 1697 1698#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1699#: calibre.devices.interface.DevicePlugin.post_yank_cleanup:1 1700#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1701#: calibre.devices.usbms.device.Device.post_yank_cleanup:1 1702msgid "Called if the user yanks the device without ejecting it first." 1703msgstr "Anropas om användaren rycker enheten utan att mata ut det först." 1704 1705#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1706#: calibre.devices.interface.DevicePlugin.set_progress_reporter:1 1707#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1708#: calibre.devices.usbms.device.Device.set_progress_reporter:1 1709msgid "Set a function to report progress information." 1710msgstr "Ändra en funktion för att rapportera förloppsinformationen." 1711 1712#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1713#: calibre.devices.interface.DevicePlugin.get_device_information:1 1714#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1715#: calibre.devices.usbms.driver.USBMS.get_device_information:1 1716msgid "Ask device for device information. See L{DeviceInfoQuery}." 1717msgstr "Fråga enheten efter enhetsinformation . Se L{DeviceInfoQuery}." 1718 1719#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1720#: calibre.devices.interface.DevicePlugin.get_device_information:3 1721#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1722#: calibre.devices.usbms.driver.USBMS.get_device_information:3 1723msgid "" 1724"(device name, device version, software version on device, MIME type) The " 1725"tuple can optionally have a fifth element, which is a drive information " 1726"dictionary. See usbms.driver for an example." 1727msgstr "(enhetsnamn, enhetsversion, mjukvaruversion på enheten, MIME-typ) Tupeln kan valfritt ha ett femte element, som är en enhetsinformationsordbok. Se usbms.driver för ett exempel." 1728 1729#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1730#: calibre.devices.interface.DevicePlugin.get_driveinfo:1 1731msgid "" 1732"Return the driveinfo dictionary. Usually called from " 1733"get_device_information(), but if loading the driveinfo is slow for this " 1734"driver, then it should set SLOW_DRIVEINFO. In this case, this method will be" 1735" called by calibre after the book lists have been loaded. Note that it is " 1736"not called on the device thread, so the driver should cache the drive info " 1737"in the books() method and this function should return the cached data." 1738msgstr "Återge driveinfo-ordboken. Anropas vanligtvis från get_device_information(), men om inläsningen av driveinfo är långsam för den här drivrutinen, bör den ställa in SLOW_DRIVEINFO. I det här fallet kommer den här metoden at anropas av calibre efter att boklistorna har lästs in. Observera att den inte anropas på enhetstråden, så drivrutinenbör cachelagra enhetsinformationen i metoden books() och den här funktionen bör återge cachade data." 1739 1740#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1741#: calibre.devices.interface.DevicePlugin.card_prefix:1 1742#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1743#: calibre.devices.usbms.device.Device.card_prefix:1 1744msgid "" 1745"Return a 2 element list of the prefix to paths on the cards. If no card is " 1746"present None is set for the card's prefix. E.G. ('/place', '/place2') (None," 1747" 'place2') ('place', None) (None, None)" 1748msgstr "Återge en lista med 2 element med prefixet till sökvägar på korten. Om inget kort är förinställt ställs None in som kortets prefix. Till exempel ('/plats', '/plats2') (None, 'plats2') ('plats', None) (None, None)" 1749 1750#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1751#: calibre.devices.interface.DevicePlugin.total_space:4 1752#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1753#: calibre.devices.usbms.device.Device.total_space:4 1754msgid "Get total space available on the mountpoints:" 1755msgstr "Få total utrymme på monteringspunkter:" 1756 1757#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1758#: calibre.devices.interface.DevicePlugin.total_space:2 1759#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1760#: calibre.devices.interface.DevicePlugin.free_space:2 1761#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1762#: calibre.devices.usbms.device.Device.total_space:2 1763#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1764#: calibre.devices.usbms.device.Device.free_space:2 1765msgid "Main memory" 1766msgstr "Huvudminne" 1767 1768#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1769#: calibre.devices.interface.DevicePlugin.total_space:3 1770#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1771#: calibre.devices.usbms.device.Device.total_space:3 1772msgid "Memory Card A" 1773msgstr "Minneskort A" 1774 1775#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1776#: calibre.devices.interface.DevicePlugin.total_space:4 1777#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1778#: calibre.devices.usbms.device.Device.total_space:4 1779msgid "Memory Card B" 1780msgstr "Minneskort B" 1781 1782#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1783#: calibre.devices.interface.DevicePlugin.total_space:6 1784#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1785#: calibre.devices.usbms.device.Device.total_space:6 1786msgid "" 1787"A 3 element list with total space in bytes of (1, 2, 3). If a particular " 1788"device doesn't have any of these locations it should return 0." 1789msgstr "En 3-elementlista med totalt utrymme i oktetter av (1, 2, 3). Om en viss enhet inte har någon av dessa platser den ska visa 0." 1790 1791#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1792#: calibre.devices.interface.DevicePlugin.free_space:4 1793#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1794#: calibre.devices.usbms.device.Device.free_space:4 1795msgid "Get free space available on the mountpoints:" 1796msgstr "Få ledigt utrymme på monteringspunkter:" 1797 1798#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1799#: calibre.devices.interface.DevicePlugin.free_space:3 1800#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1801#: calibre.devices.usbms.device.Device.free_space:3 1802msgid "Card A" 1803msgstr "Kort A" 1804 1805#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1806#: calibre.devices.interface.DevicePlugin.free_space:4 1807#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1808#: calibre.devices.usbms.device.Device.free_space:4 1809msgid "Card B" 1810msgstr "Kort B" 1811 1812#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1813#: calibre.devices.interface.DevicePlugin.free_space:6 1814#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 1815#: calibre.devices.usbms.device.Device.free_space:6 1816msgid "" 1817"A 3 element list with free space in bytes of (1, 2, 3). If a particular " 1818"device doesn't have any of these locations it should return -1." 1819msgstr "En 3-elementlista med fritt utrymme i oktetter av (1, 2, 3). Om en viss enhet inte har någon av dessa platser den ska återge -1." 1820 1821#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1822#: calibre.devices.interface.DevicePlugin.books:1 1823#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1824#: calibre.devices.usbms.driver.USBMS.books:1 1825msgid "Return a list of e-books on the device." 1826msgstr "Återge en lista med e-böcker på enheten." 1827 1828#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1829#: calibre.devices.interface.DevicePlugin.books:3 1830#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1831#: calibre.devices.usbms.driver.USBMS.books:3 1832msgid "" 1833"If 'carda' or 'cardb' return a list of e-books on the specific storage card," 1834" otherwise return list of e-books in main memory of device. If a card is " 1835"specified and no books are on the card return empty list." 1836msgstr "Om \"carda\" eller \"cardb\" återger en lista med e-böcker på det specifika minneskortet, annars återges en lista med e-böcker i huvudminnet av enheten. Om ett kort är specificerad och inga böcker finns på kortet återges en tomma listan." 1837 1838#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1839#: calibre.devices.interface.DevicePlugin.books:8 1840#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1841#: calibre.devices.usbms.driver.USBMS.books:8 1842msgid "A BookList." 1843msgstr "En BookList." 1844 1845#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1846#: calibre.devices.interface.DevicePlugin.upload_books:1 1847#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1848#: calibre.devices.usbms.driver.USBMS.upload_books:1 1849msgid "" 1850"Upload a list of books to the device. If a file already exists on the " 1851"device, it should be replaced. This method should raise a " 1852":class:`FreeSpaceError` if there is not enough free space on the device. The" 1853" text of the FreeSpaceError must contain the word \"card\" if ``on_card`` is" 1854" not None otherwise it must contain the word \"memory\"." 1855msgstr "Överför en lista med böcker till enheten. Om en fil redan finns på enheten, ska den ersättas. Denna metod bör signalera ett :class:`FreeSpaceError` om det inte finns tillräckligt med ledigt utrymme på enheten. Texten till FreeSpaceError måste innehålla ordet \"kort\" om ``on_card`` inte None annars måste innehålla ordet \"minne\"." 1856 1857#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1858#: calibre.devices.interface.DevicePlugin.upload_books:7 1859#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1860#: calibre.devices.usbms.driver.USBMS.upload_books:7 1861msgid "A list of paths" 1862msgstr "En lista med sökvägar" 1863 1864#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1865#: calibre.devices.interface.DevicePlugin.upload_books:8 1866#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1867#: calibre.devices.usbms.driver.USBMS.upload_books:8 1868msgid "" 1869"A list of file names that the books should have once uploaded to the device." 1870" len(names) == len(files)" 1871msgstr "En lista med filnamn som böckerna skulle ha när väl överförda till enheten. len(names) == len(files)" 1872 1873#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1874#: calibre.devices.interface.DevicePlugin.upload_books:10 1875#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1876#: calibre.devices.usbms.driver.USBMS.upload_books:10 1877msgid "" 1878"If not None, it is a list of :class:`Metadata` objects. The idea is to use " 1879"the metadata to determine where on the device to put the book. len(metadata)" 1880" == len(files). Apart from the regular cover (path to cover), there may also" 1881" be a thumbnail attribute, which should be used in preference. The thumbnail" 1882" attribute is of the form (width, height, cover_data as jpeg)." 1883msgstr "Om inte None, det är en lista med :class:`Metadata` objekt. Tanken är att använda metadata för att avgöra var på enheten att lägga boken. len(metadata) == len(files). Bortsett från det vanliga omslaget (sökväg för omslaget), kan det också finnas ett omslagsminiatyrbildattribut, som ska användas istället. Omslagsminiatyrbildattributet är på formen (bredd, höjd, cover_data som jpeg)." 1884 1885#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1886#: calibre.devices.interface.DevicePlugin.upload_books:17 1887#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1888#: calibre.devices.usbms.driver.USBMS.upload_books:17 1889msgid "" 1890"A list of 3-element tuples. The list is meant to be passed to " 1891":meth:`add_books_to_metadata`." 1892msgstr "En lista med 3-elements tupler. Listan är tänkt att skickas till :meth:`add_books_to_metadata`." 1893 1894#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1895#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:1 1896#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1897#: calibre.devices.usbms.driver.USBMS.add_books_to_metadata:1 1898msgid "" 1899"Add locations to the booklists. This function must not communicate with the " 1900"device." 1901msgstr "Lägg till platser i boklistorna. Denna funktion får inte kommunicera med enheten." 1902 1903#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1904#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:4 1905#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1906#: calibre.devices.usbms.driver.USBMS.add_books_to_metadata:4 1907msgid "Result of a call to L{upload_books}" 1908msgstr "Resultat av ett anrop till L{upload_books}" 1909 1910#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1911#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:5 1912#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1913#: calibre.devices.usbms.driver.USBMS.add_books_to_metadata:5 1914msgid "List of :class:`Metadata` objects, same as for :meth:`upload_books`." 1915msgstr "Lista med :class:`Metadata` objekt, samma som för :meth:`upload_books`." 1916 1917#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1918#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:7 1919#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1920#: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:5 1921#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1922#: calibre.devices.interface.DevicePlugin.sync_booklists:3 1923#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1924#: calibre.devices.usbms.driver.USBMS.add_books_to_metadata:7 1925#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1926#: calibre.devices.usbms.driver.USBMS.remove_books_from_metadata:5 1927#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1928#: calibre.devices.usbms.driver.USBMS.sync_booklists:3 1929msgid "" 1930"A tuple containing the result of calls to (:meth:`books(oncard=None)`, " 1931":meth:`books(oncard='carda')`, :meth`books(oncard='cardb')`)." 1932msgstr "En tupel innehåller resultatet av anrop till (:meth:`books(oncard=None)`, :meth:`books(oncard='carda')`, :meth`books(oncard='cardb')`)." 1933 1934#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1935#: calibre.devices.interface.DevicePlugin.delete_books:1 1936#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1937#: calibre.devices.usbms.driver.USBMS.delete_books:1 1938msgid "Delete books at paths on device." 1939msgstr "Ta bort böcker i sökvägar på enhet." 1940 1941#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1942#: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:1 1943#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1944#: calibre.devices.usbms.driver.USBMS.remove_books_from_metadata:1 1945msgid "" 1946"Remove books from the metadata list. This function must not communicate with" 1947" the device." 1948msgstr "Ta böcker från metadatalistan. Denna funktion får inte kommunicera med enheten." 1949 1950#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1951#: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:4 1952#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1953#: calibre.devices.usbms.driver.USBMS.remove_books_from_metadata:4 1954msgid "paths to books on the device." 1955msgstr "sökvägar till böcker på enheten." 1956 1957#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1958#: calibre.devices.interface.DevicePlugin.sync_booklists:1 1959#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 1960#: calibre.devices.usbms.driver.USBMS.sync_booklists:1 1961msgid "Update metadata on device." 1962msgstr "Uppdatera metadata på enheten." 1963 1964#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1965#: calibre.devices.interface.DevicePlugin.get_file:1 1966msgid "Read the file at ``path`` on the device and write it to outfile." 1967msgstr "Läs filen på ``sökväg`` på enheten och skriva den till utfil." 1968 1969#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1970#: calibre.devices.interface.DevicePlugin.get_file:3 1971msgid "file object like ``sys.stdout`` or the result of an :func:`open` call." 1972msgstr "filobjekt som ``sys.stdout`` eller resultatet av ett :func:`open` anrop." 1973 1974#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1975#: calibre.devices.interface.DevicePlugin.config_widget:1 1976msgid "" 1977"Should return a QWidget. The QWidget contains the settings for the device " 1978"interface" 1979msgstr "Bör återge en QWidget-gränssnittskomponent. QWidget-gränssnittskomponent innehåller inställningarna för enhetens gränssnitt" 1980 1981#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1982#: calibre.devices.interface.DevicePlugin.save_settings:1 1983msgid "" 1984"Should save settings to disk. Takes the widget created in " 1985":meth:`config_widget` and saves all settings to disk." 1986msgstr "Ska spara inställningar till disk. Tar gränssnittskomponenten som skapas i :meth:`config_widget` och sparar alla inställningar till disk." 1987 1988#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1989#: calibre.devices.interface.DevicePlugin.settings:1 1990msgid "" 1991"Should return an opts object. The opts object should have at least one " 1992"attribute `format_map` which is an ordered list of formats for the device." 1993msgstr "Ska återge ett opts objekt. Den opts-objektet bör ha minst ett attribut `format_map` vilket är en ordnad lista med format för enheten." 1994 1995#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 1996#: calibre.devices.interface.DevicePlugin.set_plugboards:1 1997msgid "" 1998"provide the driver the current set of plugboards and a function to select a " 1999"specific plugboard. This method is called immediately before add_books and " 2000"sync_booklists." 2001msgstr "ge drivrutin den aktuella uppsättningen av pluggbrädor och en funktion för att välja pluggbräda. Denna metod kallas omedelbart före add_books och sync_booklists." 2002 2003#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2004#: calibre.devices.interface.DevicePlugin.set_plugboards:6 2005msgid "pb_func is a callable with the following signature::" 2006msgstr "pb_func är anropbar med följande signatur::" 2007 2008#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2009#: calibre.devices.interface.DevicePlugin.set_plugboards:6 2010msgid "def pb_func(device_name, format, plugboards)" 2011msgstr "def pb_func(device_name, format, pluggbrädor)" 2012 2013#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2014#: calibre.devices.interface.DevicePlugin.set_plugboards:8 2015msgid "" 2016"You give it the current device name (either the class name or " 2017"DEVICE_PLUGBOARD_NAME), the format you are interested in (a 'real' format or" 2018" 'device_db'), and the plugboards (you were given those by set_plugboards, " 2019"the same place you got this method)." 2020msgstr "Du ger den nuvarande enheten namn (antingen klassnamnet eller DEVICE_PLUGBOARD_NAME), det format du är intresserad av (en \"riktig\" format eller \"device_db\"), och de pluggbrädor (du fick dem från set_plugboards, på samma ställe som du fick denna metod)." 2021 2022#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2023#: calibre.devices.interface.DevicePlugin.set_plugboards:13 2024msgid "None or a single plugboard instance." 2025msgstr "Ingen eller en pluggbrädsinstans." 2026 2027#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2028#: calibre.devices.interface.DevicePlugin.set_driveinfo_name:1 2029#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2030#: calibre.devices.usbms.driver.USBMS.set_driveinfo_name:1 2031msgid "" 2032"Set the device name in the driveinfo file to 'name'. This setting will " 2033"persist until the file is re-created or the name is changed again." 2034msgstr "Ange enhetens namn i driveinfo-filen till \"namn\". Inställningen kvarstår tills filen återskapas eller namnet ändras igen." 2035 2036#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2037#: calibre.devices.interface.DevicePlugin.set_driveinfo_name:4 2038#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2039#: calibre.devices.usbms.driver.USBMS.set_driveinfo_name:4 2040msgid "" 2041"Non-disk devices should implement this method based on the location codes " 2042"returned by the get_device_information() method." 2043msgstr "Icke-diskenheter bör genomföra denna metod baserad på platskoder som återges av get_device_information() metoden." 2044 2045#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2046#: calibre.devices.interface.DevicePlugin.prepare_addable_books:1 2047msgid "" 2048"Given a list of paths, returns another list of paths. These paths point to " 2049"addable versions of the books." 2050msgstr "Genom att få en lista med sökvägar, återges en annan lista med sökvägar. Dessa sökvägar hänvisar till tilläggningsbara versioner av böckerna." 2051 2052#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2053#: calibre.devices.interface.DevicePlugin.prepare_addable_books:4 2054msgid "" 2055"If there is an error preparing a book, then instead of a path, the position " 2056"in the returned list for that book should be a three tuple: (original_path, " 2057"the exception instance, traceback)" 2058msgstr "Om det finns ett fel vid förberedning av en bok, så i stället för en sökväg, den position i den återgivna listan för att boken ska vara en tre tupel: (original_path, undantaget instans, återsöknings)" 2059 2060#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2061#: calibre.devices.interface.DevicePlugin.startup:1 2062msgid "" 2063"Called when calibre is starting the device. Do any initialization required. " 2064"Note that multiple instances of the class can be instantiated, and thus " 2065"__init__ can be called multiple times, but only one instance will have this " 2066"method called. This method is called on the device thread, not the GUI " 2067"thread." 2068msgstr "Anropas när calibre starar enheten. Gör godtycklig initiering som krävs. Observera att flera instanser av klassen kan instansieras, och sålunda __init__ kan anropas flera gånger, men bara en instans kommer att ha den här metoden anropad. Denna metod kallas på enhetens processtråd, inte GUI-tråden." 2069 2070#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2071#: calibre.devices.interface.DevicePlugin.shutdown:1 2072msgid "" 2073"Called when calibre is shutting down, either for good or in preparation to " 2074"restart. Do any cleanup required. This method is called on the device " 2075"thread, not the GUI thread." 2076msgstr "Anropas när calibre stängs, antingen för gott eller är under förberedelser för att starta om. Gör den sanering som krävs. Denna metod kallas på enhetens processtråd, inte GUI-tråden." 2077 2078#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2079#: calibre.devices.interface.DevicePlugin.get_device_uid:1 2080msgid "" 2081"Must return a unique id for the currently connected device (this is called " 2082"immediately after a successful call to open()). You must implement this " 2083"method if you set ASK_TO_ALLOW_CONNECT = True" 2084msgstr "Måste återge ett unikt id för den för närvarande anslutna enheten (detta anropas omedelbart efter ett lyckat anrop till open()). Du måste implementera den här metoden om du ställer in ASK_TO_ALLOW_CONNECT = True" 2085 2086#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2087#: calibre.devices.interface.DevicePlugin.ignore_connected_device:1 2088msgid "" 2089"Should ignore the device identified by uid (the result of a call to " 2090"get_device_uid()) in the future. You must implement this method if you set " 2091"ASK_TO_ALLOW_CONNECT = True. Note that this function is called immediately " 2092"after open(), so if open() caches some state, the driver should reset that " 2093"state." 2094msgstr "Borde ignorera enheten som identifieras av uid (resultatet av ett anrop till get_device_uid()) i framtiden. Du måste implementera denna metod om du ställer in ASK_TO_ALLOW_CONNECT = True. Observera att denna funktion anropas direkt efter open(), så om open() buffrar vissa tillstånd, bör drivrutinen återställa det tillståndet." 2095 2096#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2097#: calibre.devices.interface.DevicePlugin.get_user_blacklisted_devices:1 2098msgid "" 2099"Return map of device uid to friendly name for all devices that the user has " 2100"asked to be ignored." 2101msgstr "Återge karta över enhet uid till kortnamn för alla enheter som användaren har begärt att få ignorerade." 2102 2103#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2104#: calibre.devices.interface.DevicePlugin.set_user_blacklisted_devices:1 2105msgid "Set the list of device uids that should be ignored by this driver." 2106msgstr "Ställ in listan med enheters uid:er som ska ignoreras av denna drivrutin." 2107 2108#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2109#: calibre.devices.interface.DevicePlugin.specialize_global_preferences:1 2110msgid "" 2111"Implement this method if your device wants to override a particular " 2112"preference. You must ensure that all call sites that want a preference that " 2113"can be overridden use device_prefs['something'] instead of " 2114"prefs['something']. Your method should call " 2115"device_prefs.set_overrides(pref=val, pref=val, ...). Currently used for: " 2116"metadata management (prefs['manage_device_metadata'])" 2117msgstr "Implementera denna metod om din enhet vill åsidosätta en viss preferens. Du måste se till att alla anrops platser som vill ha en inställning som kan åsidosättas använder device_prefs ['något'] istället för prefs['något']. Din metod ska anropa device_prefs.set_overrides(pref = val, pref = val, ...). För närvarande används för: metadata management (prefs['manage_device_metadata'])" 2118 2119#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2120#: calibre.devices.interface.DevicePlugin.set_library_info:1 2121msgid "" 2122"Implement this method if you want information about the current calibre " 2123"library. This method is called at startup and when the calibre library " 2124"changes while connected." 2125msgstr "Implementera den här metoden om du vill ha information om det aktuella calibre-biblioteket. Denna metod kallas vid start och när calibre-biblioteket ändras medan det är anslutet." 2126 2127#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2128#: calibre.devices.interface.DevicePlugin.is_dynamically_controllable:1 2129msgid "" 2130"Called by the device manager when starting plugins. If this method returns a" 2131" string, then a) it supports the device manager's dynamic control interface," 2132" and b) that name is to be used when talking to the plugin." 2133msgstr "Anropas av enhetshanteraren vid start av insticksmodul. Om den här metoden återger en sträng, då a) den stödjer enhetshanteraren dynamiska kontroll gränssnitt, och b) det namnet ska användas när man talar med insticksmodulen." 2134 2135#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2136#: calibre.devices.interface.DevicePlugin.is_dynamically_controllable:5 2137#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2138#: calibre.devices.interface.DevicePlugin.start_plugin:5 2139#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2140#: calibre.devices.interface.DevicePlugin.stop_plugin:6 2141#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2142#: calibre.devices.interface.DevicePlugin.get_option:5 2143#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2144#: calibre.devices.interface.DevicePlugin.set_option:4 2145#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2146#: calibre.devices.interface.DevicePlugin.is_running:3 2147msgid "" 2148"This method can be called on the GUI thread. A driver that implements this " 2149"method must be thread safe." 2150msgstr "Den här metoden kan anropas i GUI-processtråden. En drivrutin som implementerar den här metoden måste vara trådsäkert." 2151 2152#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2153#: calibre.devices.interface.DevicePlugin.start_plugin:1 2154msgid "" 2155"This method is called to start the plugin. The plugin should begin to accept" 2156" device connections however it does that. If the plugin is already accepting" 2157" connections, then do nothing." 2158msgstr "Denna metod anropas för att starta insticksmodulen. Insticksmodulen ska börja acceptera enhetsanslutningar men det gör det. Om insticksmodulen redan acceptera anslutningar, så görs ingenting." 2159 2160#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2161#: calibre.devices.interface.DevicePlugin.stop_plugin:1 2162msgid "" 2163"This method is called to stop the plugin. The plugin should no longer accept" 2164" connections, and should cleanup behind itself. It is likely that this " 2165"method should call shutdown. If the plugin is already not accepting " 2166"connections, then do nothing." 2167msgstr "Denna metod kallas för att stoppa insticksmodulen. Insticksmodulen bör inte längre acceptera anslutningar, och bör städa upp efter sig. Det är troligt att denna metod ska anropa avstängning. Om insticksmodulen inte tar emot anslutningar redan, så görs ingenting." 2168 2169#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2170#: calibre.devices.interface.DevicePlugin.get_option:1 2171msgid "" 2172"Return the value of the option indicated by opt_string. This method can be " 2173"called when the plugin is not started. Return None if the option does not " 2174"exist." 2175msgstr "Återge värdet av optionen indikerad av opt_string. Den här metoden kan anropas när insticksmodulen inte startats. Återge None om alternativet inte finns." 2176 2177#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2178#: calibre.devices.interface.DevicePlugin.set_option:1 2179msgid "" 2180"Set the value of the option indicated by opt_string. This method can be " 2181"called when the plugin is not started." 2182msgstr "Ange värdet av alternativ som indikeras av opt_string. Den här metoden kan anropas när insticksmodulen inte startats." 2183 2184#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2185#: calibre.devices.interface.DevicePlugin.is_running:1 2186msgid "Return True if the plugin is started, otherwise false" 2187msgstr "Återge True om insticksmodulen startas, annars falsk" 2188 2189#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2190#: calibre.devices.interface.DevicePlugin.synchronize_with_db:1 2191msgid "" 2192"Called during book matching when a book on the device is matched with a book" 2193" in calibre's db. The method is responsible for synchronizing data from the " 2194"device to calibre's db (if needed)." 2195msgstr "Anropas vid bokmatchning när en bok på enheten matchar en bok i calibres databas. Metoden ansvarar för att synkronisera data från enheten till calibres databas (om det behövs)." 2196 2197#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2198#: calibre.devices.interface.DevicePlugin.synchronize_with_db:5 2199msgid "" 2200"The method must return a two-value tuple. The first value is a set of " 2201"calibre book ids changed if calibre's database was changed or None if the " 2202"database was not changed. If the first value is an empty set then the " 2203"metadata for the book on the device is updated with calibre's metadata and " 2204"given back to the device, but no GUI refresh of that book is done. This is " 2205"useful when the calibre data is correct but must be sent to the device." 2206msgstr "Metoden ska återge en tvåvärdig tupel. Det första värdet är en uppsättning av calibre-bok-id:n som ändras om calibres databas ändrades eller None om databasen inte ändrades. Om det första värdet är en tom uppsättning uppdateras metadata för boken på enheten med calibres metadata och ges tillbaka till enheten, men ingen grafisktgränsnittsuppdatering av den boken sker. Detta är användbart när calibre-data är korrekt men måste skickas till enheten." 2207 2208#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2209#: calibre.devices.interface.DevicePlugin.synchronize_with_db:13 2210msgid "" 2211"The second value is itself a 2-value tuple. The first value in the tuple " 2212"specifies whether a book format should be sent to the device. The intent is " 2213"to permit verifying that the book on the device is the same as the book in " 2214"calibre. This value must be None if no book is to be sent, otherwise return " 2215"the base file name on the device (a string like foobar.epub). Be sure to " 2216"include the extension in the name. The device subsystem will construct a " 2217"send_books job for all books with not- None returned values. Note: other " 2218"than to later retrieve the extension, the name is ignored in cases where the" 2219" device uses a template to generate the file name, which most do. The second" 2220" value in the returned tuple indicated whether the format is future-dated. " 2221"Return True if it is, otherwise return False. calibre will display a dialog " 2222"to the user listing all future dated books." 2223msgstr "Det andra värdet är i sig en 2-värde tupel. Det första värdet i tupeln anger om ett bokformat ska skickas till enheten. Syftet är att tillåta verifiering av att boken på enheten är densamma som boken i calibre. Detta värde måste vara \"None\" om ingen bok ska skickas, annars återge basfilnamnet på enheten (en sträng som foobar.epub). Se till att inkludera ändelsen i namnet. Enhetsundersystemet kommer att skapa ett send_books-jobb för alla böcker med \"not-None\" återgivna värden. Observera: Förutom att senare hämta tillägget ignoreras namnet i fall där enheten använder en mall för att skapa filnamnet, vilket de flesta gör. Det andra värdet i den återgivna tupeln indikerade om formatet är framtidsdaterat. Återge True om det är, annars återge False. calibre visar en dialogruta för användaren som listar alla framtidsdaterade böcker." 2224 2225#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2226#: calibre.devices.interface.DevicePlugin.synchronize_with_db:27 2227msgid "" 2228"Extremely important: this method is called on the GUI thread. It must be " 2229"threadsafe with respect to the device manager's thread." 2230msgstr "Extremt viktigt: den här metoden anropas på GUI-processtråden. Den måste vara trådsäker i förhållande till enhetens huvudtråd." 2231 2232#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2233#: calibre.devices.interface.DevicePlugin.synchronize_with_db:30 2234msgid "" 2235"book_id: the calibre id for the book in the database. book_metadata: the " 2236"Metadata object for the book coming from the device. first_call: True if " 2237"this is the first call during a sync, False otherwise" 2238msgstr "book_id: calibre id för boken i databasen. book_metadata: Metadataobjektet för boken som kommer från enheten. first_call: True om det är första anropet under en synkronisering, False annars" 2239 2240#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2241#: calibre.devices.interface.BookList:1 2242msgid "Bases: :py:class:`list`" 2243msgstr "Grunder: :py:class:`list`" 2244 2245#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2246#: calibre.devices.interface.BookList:1 2247msgid "A list of books. Each Book object must have the fields" 2248msgstr "En lista med böcker. Varje bokpost måste ha fälten" 2249 2250#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2251#: calibre.devices.interface.BookList:3 2252msgid "title" 2253msgstr "titel" 2254 2255#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2256#: calibre.devices.interface.BookList:4 2257msgid "authors" 2258msgstr "författare" 2259 2260#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2261#: calibre.devices.interface.BookList:5 2262msgid "size (file size of the book)" 2263msgstr "storlek (filstorlek av boken)" 2264 2265#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2266#: calibre.devices.interface.BookList:6 2267msgid "datetime (a UTC time tuple)" 2268msgstr "datumtid (en UTC-tids tupel)" 2269 2270#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2271#: calibre.devices.interface.BookList:7 2272msgid "path (path on the device to the book)" 2273msgstr "sökväg (sökväg på enheten till boken)" 2274 2275#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2276#: calibre.devices.interface.BookList:8 2277msgid "" 2278"thumbnail (can be None) thumbnail is either a str/bytes object with the " 2279"image data or it should have an attribute image_path that stores an absolute" 2280" (platform native) path to the image" 2281msgstr "omslagsminiatyrbild (kan vara None) omslagsminiatyrbild är antingen ett str/bytes-objekt med bilddata eller det borde ha ett attribut image_path som lagrar en absolut (plattformsberoende) sökvägen till bilden" 2282 2283#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2284#: calibre.devices.interface.BookList:11 2285msgid "tags (a list of strings, can be empty)." 2286msgstr "taggar (en lista med strängar, kan vara tom)." 2287 2288#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2289#: calibre.devices.interface.BookList.supports_collections:1 2290msgid "Return True if the device supports collections for this book list." 2291msgstr "Återge True om enheten stöder kollektioner för denna boklista." 2292 2293#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2294#: calibre.devices.interface.BookList.add_book:1 2295msgid "" 2296"Add the book to the booklist. Intent is to maintain any device-internal " 2297"metadata. Return True if booklists must be sync'ed" 2298msgstr "Lägg boken i boklistan. Avsikten är att behålla alla enheters interna metadata. Återge True om boklistor måste synkroniseras" 2299 2300#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2301#: calibre.devices.interface.BookList.remove_book:1 2302msgid "" 2303"Remove a book from the booklist. Correct any device metadata at the same " 2304"time" 2305msgstr "Ta bort en bok från boklistan. Rätta någon enhets metadata samtidigt" 2306 2307#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2308#: calibre.devices.interface.BookList.get_collections:1 2309msgid "" 2310"Return a dictionary of collections created from collection_attributes. Each " 2311"entry in the dictionary is of the form collection name:[list of books]" 2312msgstr "Återge en ordbok med samlingar som skapats från collection_attributes. Varje post i ordboken är på formen kollektionsnamn:[lista med böcker]" 2313 2314#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2315#: calibre.devices.interface.BookList.get_collections:5 2316msgid "" 2317"The list of books is sorted by book title, except for collections created " 2318"from series, in which case series_index is used." 2319msgstr "Listan med böcker sorterad efter boktitel, förutom samlingar som skapats från serien, i vilket fall series_index används." 2320 2321#: ../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of 2322#: calibre.devices.interface.BookList.get_collections:8 2323msgid "A list of attributes of the Book object" 2324msgstr "En lista med attribut av bokpost" 2325 2326#: ../../__w/calibre/calibre/manual/plugins.rst:110 2327msgid "USB Mass Storage based devices" 2328msgstr "USB-masslagringsbaserade enheter" 2329 2330#: ../../__w/calibre/calibre/manual/plugins.rst:112 2331msgid "" 2332"The base class for such devices is " 2333":class:`calibre.devices.usbms.driver.USBMS`. This class in turn inherits " 2334"some of its functionality from its bases, documented below. A typical basic " 2335"USBMS based driver looks like this:" 2336msgstr "Basklass för sådan enhet är :class:`calibre.devices.usbms.driver.USBMS`. Denna klass ärver i sin tur en del av dess funktioner från sina baser, dokumenterad nedan. En typisk grund USBMS baserad drivrutin ser ut så här:" 2337 2338#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2339#: calibre.devices.usbms.device.Device:1 2340msgid "" 2341"Bases: :py:class:`calibre.devices.usbms.deviceconfig.DeviceConfig`, " 2342":py:class:`calibre.devices.interface.DevicePlugin`" 2343msgstr "Grunder: :py:class:`calibre.devices.usbms.deviceconfig.DeviceConfig`, :py:class:`calibre.devices.interface.DevicePlugin`" 2344 2345#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2346#: calibre.devices.usbms.device.Device:1 2347msgid "" 2348"This class provides logic common to all drivers for devices that export " 2349"themselves as USB Mass Storage devices. Provides implementations for " 2350"mounting/ejecting of USBMS devices on all platforms." 2351msgstr "Denna klass ger logik som är gemensam för alla drivrutiner för enheter som exporterar själva som USB-masslagringsenheter. Ger implementationer för montering/utmatning av USBMS-enheter på alla plattformar." 2352 2353#: ../../__w/calibre/calibre/manual/docstring of 2354#: calibre.devices.usbms.device.Device.WINDOWS_MAIN_MEM:1 2355msgid "" 2356"String identifying the main memory of the device in the Windows PnP id " 2357"strings This can be None, string, list of strings or compiled regex" 2358msgstr "Sträng som identifierar enhetens huvudminne i Windows PnP-id-strängarna Detta kan vara Inga, sträng, lista över strängar eller sammanställd regex" 2359 2360#: ../../__w/calibre/calibre/manual/docstring of 2361#: calibre.devices.usbms.device.Device.WINDOWS_CARD_A_MEM:1 2362msgid "" 2363"String identifying the first card of the device in the Windows PnP id " 2364"strings This can be None, string, list of strings or compiled regex" 2365msgstr "Sträng som identifierar enhetens första kort i Windows PnP-id-strängarna Detta kan vara Inga, sträng, lista över strängar eller sammanställd regex" 2366 2367#: ../../__w/calibre/calibre/manual/docstring of 2368#: calibre.devices.usbms.device.Device.WINDOWS_CARD_B_MEM:1 2369msgid "" 2370"String identifying the second card of the device in the Windows PnP id " 2371"strings This can be None, string, list of strings or compiled regex" 2372msgstr "Sträng som identifierar enhetens andra kort i Windows PnP-id-strängarna Detta kan vara Inga, sträng, lista över strängar eller sammanställd regex" 2373 2374#: ../../__w/calibre/calibre/manual/docstring of 2375#: calibre.devices.usbms.device.Device.OSX_MAIN_MEM_VOL_PAT:1 2376msgid "" 2377"Used by the new driver detection to disambiguate main memory from storage " 2378"cards. Should be a regular expression that matches the main memory mount " 2379"point assigned by macOS" 2380msgstr "Används av den nya drivrutinens upptäckaren för att klargöra huvudminnet från minneskort. Bör vara ett reguljärt uttryck som matchar huvudminnets monteringspunkt tilldelad av macOS" 2381 2382#: ../../__w/calibre/calibre/manual/docstring of 2383#: calibre.devices.usbms.device.Device.MAX_PATH_LEN:1 2384msgid "The maximum length of paths created on the device" 2385msgstr "Största längd av sökvägar som skapas på enheten" 2386 2387#: ../../__w/calibre/calibre/manual/docstring of 2388#: calibre.devices.usbms.device.Device.NEWS_IN_FOLDER:1 2389msgid "Put news in its own folder" 2390msgstr "Lägg nyheter i sin egen mapp" 2391 2392#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2393#: calibre.devices.usbms.device.Device.windows_sort_drives:1 2394msgid "" 2395"Called to disambiguate main memory and storage card for devices that do not " 2396"distinguish between them on the basis of `WINDOWS_CARD_NAME`. For example: " 2397"The EB600" 2398msgstr "Anropas för att klargöra huvudminnet och minneskortet för enheter som inte skiljer mellan dem på grundval av `WINDOWS_CARD_NAME`. Till exempel: EB600" 2399 2400#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2401#: calibre.devices.usbms.device.Device.sanitize_callback:1 2402msgid "" 2403"Callback to allow individual device drivers to override the path " 2404"sanitization used by :meth:`create_upload_path`." 2405msgstr "Tillbakaanrop för att låta enskilda drivrutiner åsidosätta sökvägens sanering som används av :meth:`create_upload_path`." 2406 2407#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2408#: calibre.devices.usbms.device.Device.filename_callback:1 2409msgid "" 2410"Callback to allow drivers to change the default file name set by " 2411":meth:`create_upload_path`." 2412msgstr "Tillbakaanrop för att låta enskilda drivrutiner ändra standard filnamnet fastställt av :meth:`create_upload_path`." 2413 2414#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2415#: calibre.devices.usbms.device.Device.sanitize_path_components:1 2416msgid "" 2417"Perform any device specific sanitization on the path components for files to" 2418" be uploaded to the device" 2419msgstr "Utför någon enhetsspecifik sanering på sökvägskomponenter för filer som överförs till enheten" 2420 2421#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2422#: calibre.devices.usbms.device.Device.get_annotations:1 2423msgid "Resolve path_map to annotation_map of files found on the device" 2424msgstr "Lösa upp path_map till annotation_map filer som finns på enheten" 2425 2426#: ../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring of 2427#: calibre.devices.usbms.device.Device.add_annotation_to_library:1 2428msgid "Add an annotation to the calibre library" 2429msgstr "Lägg till en notering i calibre-biblioteket" 2430 2431#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2432#: calibre.devices.usbms.driver.USBMS:1 2433msgid "" 2434"Bases: :py:class:`calibre.devices.usbms.cli.CLI`, " 2435":py:class:`calibre.devices.usbms.device.Device`" 2436msgstr "Grunder: :py:class:`calibre.devices.usbms.cli.CLI`, :py:class:`calibre.devices.usbms.device.Device`" 2437 2438#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2439#: calibre.devices.usbms.driver.USBMS:1 2440msgid "" 2441"The base class for all USBMS devices. Implements the logic for " 2442"sending/getting/updating metadata/caching metadata/etc." 2443msgstr "Basklass för alla USBMS-enheter. Implementerar logiken för att skicka/få/uppdatera metadata/buffra metadata/o.s.v." 2444 2445#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2446#: calibre.devices.usbms.driver.USBMS.upload_cover:1 2447msgid "Upload book cover to the device. Default implementation does nothing." 2448msgstr "Överför bokomslag till enheten. Standard implementationen gör ingenting." 2449 2450#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2451#: calibre.devices.usbms.driver.USBMS.upload_cover:3 2452msgid "The full path to the folder where the associated book is located." 2453msgstr "Den fullständiga sökvägen till mappen där den tillhörande boken är placerad." 2454 2455#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2456#: calibre.devices.usbms.driver.USBMS.upload_cover:4 2457msgid "The name of the book file without the extension." 2458msgstr "Namnet på bokfilen utan ändelse." 2459 2460#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2461#: calibre.devices.usbms.driver.USBMS.upload_cover:5 2462msgid "metadata belonging to the book. Use metadata.thumbnail for cover" 2463msgstr "metadata som hör till boken. Använd metadata.thumbnail för omslag" 2464 2465#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2466#: calibre.devices.usbms.driver.USBMS.upload_cover:7 2467msgid "The full path to the e-book file" 2468msgstr "Fullständig sökväg till e-bokfilen" 2469 2470#: ../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring of 2471#: calibre.devices.usbms.driver.USBMS.normalize_path:1 2472msgid "Return path with platform native path separators" 2473msgstr "Återge sökväg med plattformsursprungliga sökvägsavskiljare" 2474 2475#: ../../__w/calibre/calibre/manual/plugins.rst:157 2476msgid "User interface actions" 2477msgstr "Användargränssnittsåtgärder" 2478 2479#: ../../__w/calibre/calibre/manual/plugins.rst:159 2480msgid "" 2481"If you are adding your own plugin in a ZIP file, you should subclass both " 2482"InterfaceActionBase and InterfaceAction. The :meth:`load_actual_plugin` " 2483"method of your InterfaceActionBase subclass must return an instantiated " 2484"object of your InterfaceBase subclass." 2485msgstr "Om du lägger till din egen insticksmodul i en ZIP-fil, bör du underklassa både InterfaceActionBase och InterfaceAction. :meth:`load_actual_plugin`-metoden för din InterfaceActionBase-underklass måste återge ett exemplifierat objekt för din InterfaceBase underklass." 2486 2487#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2488#: calibre.gui2.actions.InterfaceAction:1 2489msgid "Bases: :py:class:`PyQt5.QtCore.QObject`" 2490msgstr "Grunder: :py:class:`PyQt5.QtCore.QObject`" 2491 2492#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2493#: calibre.gui2.actions.InterfaceAction:1 2494msgid "" 2495"A plugin representing an \"action\" that can be taken in the graphical user " 2496"interface. All the items in the toolbar and context menus are implemented by" 2497" these plugins." 2498msgstr "En insticksmodul som representerar en \"åtgärd\" som kan tas i grafiska användargränssnittet. Alla post i verktygsfältet och snabbmenyer implementerar av dessa insticksmodul." 2499 2500#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2501#: calibre.gui2.actions.InterfaceAction:5 2502msgid "" 2503"Note that this class is the base class for these plugins, however, to " 2504"integrate the plugin with calibre's plugin system, you have to make a " 2505"wrapper class that references the actual plugin. See the " 2506":mod:`calibre.customize.builtins` module for examples." 2507msgstr "Observera att den här klassen är basklassen för dessa insticksmodul, dock att integrera insticksmodulen med calibres insticksmodul system, måste du göra en omslagsklass som refererar till den faktiska insticksmoduln. Se :mod:`calibre.customize.builtins` modul för exempel." 2508 2509#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2510#: calibre.gui2.actions.InterfaceAction:10 2511msgid "" 2512"If two :class:`InterfaceAction` objects have the same name, the one with " 2513"higher priority takes precedence." 2514msgstr "Om två :class:`InterfaceAction` objekt har samma namn, tar den med högre prioritet företräde." 2515 2516#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2517#: calibre.gui2.actions.InterfaceAction:13 2518msgid "" 2519"Sub-classes should implement the :meth:`genesis`, :meth:`library_changed`, " 2520":meth:`location_selected`, :meth:`shutting_down`, " 2521":meth:`initialization_complete` and :meth:`tag_browser_context_action` " 2522"methods." 2523msgstr "Underklasser bör implementera :meth:`genesis`, :meth:`library_changed`, :meth:`location_selected`, :meth:`shutting_down`, :meth:`initialization_complete` och :meth:`tag_browser_context_action` metoder." 2524 2525#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2526#: calibre.gui2.actions.InterfaceAction:17 2527msgid "" 2528"Once initialized, this plugin has access to the main calibre GUI via the " 2529":attr:`gui` member. You can access other plugins by name, for example::" 2530msgstr "När initierats, har denna insticksmodul tillgång till calibres huvudanvändargränssnitt via :attr:`gui` medlem. Du kan komma åt andra insticksmodul med namn, till exempel::" 2531 2532#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2533#: calibre.gui2.actions.InterfaceAction:22 2534msgid "" 2535"To access the actual plugin, use the :attr:`interface_action_base_plugin` " 2536"attribute, this attribute only becomes available after the plugin has been " 2537"initialized. Useful if you want to use methods from the plugin class like " 2538"do_user_config()." 2539msgstr "För att få åktomst till själva insticksmodulen, använd attributet :attr:`interface_action_base_plugin`, detta attribut blir först tillgänglig efter att insticksmodulen har initierats. Användbart om du vill använda metoder från insticksmodulsklassen som do_user_config()." 2540 2541#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2542#: calibre.gui2.actions.InterfaceAction:27 2543msgid "" 2544"The QAction specified by :attr:`action_spec` is automatically create and " 2545"made available as ``self.qaction``." 2546msgstr "QAction anges av :attr:`action_spec` skapas automatiskt och blir tillgänglig via ``self.qaction``." 2547 2548#: ../../__w/calibre/calibre/manual/docstring of 2549#: calibre.gui2.actions.InterfaceAction.name:1 2550msgid "" 2551"The plugin name. If two plugins with the same name are present, the one with" 2552" higher priority takes precedence." 2553msgstr "Insticksmodulnamnet. Om två insticksmodul med samma namn är närvarande, tar en med högre prioritet företräde." 2554 2555#: ../../__w/calibre/calibre/manual/docstring of 2556#: calibre.gui2.actions.InterfaceAction.priority:1 2557msgid "" 2558"The plugin priority. If two plugins with the same name are present, the one " 2559"with higher priority takes precedence." 2560msgstr "Insticksmodul prioritet. Om två insticksmodul med samma namn är närvarande, tar den med högre prioritet företräde." 2561 2562#: ../../__w/calibre/calibre/manual/docstring of 2563#: calibre.gui2.actions.InterfaceAction.popup_type:1 2564msgid "The menu popup type for when this plugin is added to a toolbar" 2565msgstr "Menypopuptypen för när denna insticksmodul läggs till i ett verktygsfält" 2566 2567#: ../../__w/calibre/calibre/manual/docstring of 2568#: calibre.gui2.actions.InterfaceAction.auto_repeat:1 2569msgid "" 2570"Whether this action should be auto repeated when its shortcut key is held " 2571"down." 2572msgstr "Huruvida denna åtgärd bör automatiskt upprepas när dess kortkommando hålls nere." 2573 2574#: ../../__w/calibre/calibre/manual/docstring of 2575#: calibre.gui2.actions.InterfaceAction.action_spec:1 2576msgid "" 2577"Of the form: (text, icon_path, tooltip, keyboard shortcut) icon, tooltip and" 2578" keyboard shortcut can be None shortcut must be a string, None or tuple of " 2579"shortcuts. If None, a keyboard shortcut corresponding to the action is not " 2580"registered. If you pass an empty tuple, then the shortcut is registered with" 2581" no default key binding." 2582msgstr "Av formen: (text, icon_path, verktygstips, kortkommando) ikonen, verktygstips och kortkommandot kan vara None genväg måste vara en sträng, None eller tupel av genvägar. Om None är ett kortkommando som motsvarar åtgärden inte är registrerad. Om du skickar en tom tabellrad, då registreras genvägen utan bindande standardnyckel." 2583 2584#: ../../__w/calibre/calibre/manual/docstring of 2585#: calibre.gui2.actions.InterfaceAction.action_add_menu:1 2586msgid "If True, a menu is automatically created and added to self.qaction" 2587msgstr "Om True, skapas en meny automatiskt och läggs till i self.qaction" 2588 2589#: ../../__w/calibre/calibre/manual/docstring of 2590#: calibre.gui2.actions.InterfaceAction.action_menu_clone_qaction:1 2591msgid "" 2592"If True, a clone of self.qaction is added to the menu of self.qaction If you" 2593" want the text of this action to be different from that of self.qaction, set" 2594" this variable to the new text" 2595msgstr "Om True, läggs en klon av self.qaction till menyn för self.qaction Om du vill att texten i den här åtgärden ska vara annorlunda än self.qaction, ställ in den här variabeln till den nya texten" 2596 2597#: ../../__w/calibre/calibre/manual/docstring of 2598#: calibre.gui2.actions.InterfaceAction.dont_add_to:1 2599msgid "" 2600"Set of locations to which this action must not be added. See " 2601":attr:`all_locations` for a list of possible locations" 2602msgstr "Uppsättning av platser som denna åtgärd får inte tilläggas. Se :attr:`all_locations` för en lista med möjliga platser" 2603 2604#: ../../__w/calibre/calibre/manual/docstring of 2605#: calibre.gui2.actions.InterfaceAction.dont_remove_from:1 2606msgid "" 2607"Set of locations from which this action must not be removed. See " 2608":attr:`all_locations` for a list of possible locations" 2609msgstr "Uppsättning av platser som denna åtgärd inte får ta bort. Se :attr:`all_locations` för en lista med möjliga platser" 2610 2611#: ../../__w/calibre/calibre/manual/docstring of 2612#: calibre.gui2.actions.InterfaceAction.action_type:1 2613msgid "" 2614"Type of action 'current' means acts on the current view 'global' means an " 2615"action that does not act on the current view, but rather on calibre as a " 2616"whole" 2617msgstr "Typ av åtgärd \"nuvarande\" innebär, agerar på den aktuella vyn \"global\": en åtgärd som inte verkar på den aktuella vyn, utan snarare på calibre som helhet" 2618 2619#: ../../__w/calibre/calibre/manual/docstring of 2620#: calibre.gui2.actions.InterfaceAction.accepts_drops:1 2621msgid "" 2622"If True, then this InterfaceAction will have the opportunity to interact " 2623"with drag and drop events. See the methods, :meth:`accept_enter_event`, " 2624":meth`:accept_drag_move_event`, :meth:`drop_event` for details." 2625msgstr "Om True, kommer detta InterfaceAction att ha möjlighet att interagera med dra och släpp händelser. Se de metoder, :meth:`accept_enter_event`, :meth`:accept_drag_move_event`, :meth:`drop_event` för mer information." 2626 2627#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2628#: calibre.gui2.actions.InterfaceAction.accept_enter_event:1 2629#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2630#: calibre.gui2.actions.InterfaceAction.accept_drag_move_event:1 2631msgid "" 2632"This method should return True iff this interface action is capable of " 2633"handling the drag event. Do not call accept/ignore on the event, that will " 2634"be taken care of by the calibre UI." 2635msgstr "Metoden ska återge True om och endast detta gränssnitt åtgärd kan hantera dra händelsen. Anropa inte acceptera/ignorera vid händelsen, som kommer att tas om hand av den calibre UI." 2636 2637#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2638#: calibre.gui2.actions.InterfaceAction.drop_event:1 2639msgid "" 2640"This method should perform some useful action and return True iff this " 2641"interface action is capable of handling the drop event. Do not call " 2642"accept/ignore on the event, that will be taken care of by the calibre UI. " 2643"You should not perform blocking/long operations in this function. Instead " 2644"emit a signal or use QTimer.singleShot and return quickly. See the builtin " 2645"actions for examples." 2646msgstr "Denna metod bör utföra några användbara åtgärder och återge True om endast om denna gränssnittsåtgärd kan hantera händelsen \"drop\". Anropa inte acceptera/ignorera vid händelsen, som kommer att tas om hand av calibre-användargränssnittet. Du bör inte utföra blockerade/långa operationer i denna funktion. Sänd istället en signal eller använd QTimer.singleShot och återvänd snabbt. Se de inbyggda åtgärderna för exempel." 2647 2648#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2649#: calibre.gui2.actions.InterfaceAction.create_menu_action:1 2650msgid "" 2651"Convenience method to easily add actions to a QMenu. Returns the created " 2652"QAction. This action has one extra attribute calibre_shortcut_unique_name " 2653"which if not None refers to the unique name under which this action is " 2654"registered with the keyboard manager." 2655msgstr "Bekväm metod för att enkelt lägga handlingar till en QMenu. Återger den skapade QAction. Denna åtgärd har ett extra attribut calibre_shortcut_unique_name som om den inte None avser det unika namn under vilket denna åtgärd är registrerad med tangentbordsansvarig." 2656 2657#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2658#: calibre.gui2.actions.InterfaceAction.create_menu_action:6 2659msgid "The QMenu the newly created action will be added to" 2660msgstr "Den QMenu som den nyligen skapade åtgärden läggs till i" 2661 2662#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2663#: calibre.gui2.actions.InterfaceAction.create_menu_action:7 2664msgid "" 2665"A unique name for this action, this must be globally unique, so make it as " 2666"descriptive as possible. If in doubt, add an UUID to it." 2667msgstr "Ett unikt namn för den här åtgärden, det måste vara globalt unikt, så gör det så beskrivande som möjligt. Om du är osäker, lägg till ett uuid i den." 2668 2669#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2670#: calibre.gui2.actions.InterfaceAction.create_menu_action:10 2671msgid "The text of the action." 2672msgstr "Texten för denna åtgärd." 2673 2674#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2675#: calibre.gui2.actions.InterfaceAction.create_menu_action:11 2676msgid "" 2677"Either a QIcon or a file name. The file name is passed to the I() builtin, " 2678"so you do not need to pass the full path to the images folder." 2679msgstr "Antingen en QIcon eller ett filnamn. Filnamnet skickas till inbyggda I(), så du behöver inte ange den fullständiga sökvägen till bildmappen." 2680 2681#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2682#: calibre.gui2.actions.InterfaceAction.create_menu_action:14 2683msgid "" 2684"A string, a list of strings, None or False. If False, no keyboard shortcut " 2685"is registered for this action. If None, a keyboard shortcut with no default " 2686"keybinding is registered. String and list of strings register a shortcut " 2687"with default keybinding as specified." 2688msgstr "En sträng, en lista med strängar, None eller False. Om False har inget kortkommando registrerats för denna åtgärd. Om None har ett kortkommando med ingen standardtangentbindning registrerats. Sträng och lista med strängar registrerar en genväg med standardtangentbindning som anges." 2689 2690#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2691#: calibre.gui2.actions.InterfaceAction.create_menu_action:18 2692msgid "A description for this action. Used to set tooltips." 2693msgstr "En beskrivning för denna åtgärd. Används för att ställa in verktygstips." 2694 2695#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2696#: calibre.gui2.actions.InterfaceAction.create_menu_action:20 2697msgid "" 2698"A callable which is connected to the triggered signal of the created action." 2699msgstr "En anropbar som är ansluten till den utlösta signalen i den skapade åtgärden." 2700 2701#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2702#: calibre.gui2.actions.InterfaceAction.create_menu_action:22 2703msgid "" 2704"The text displayed to the user when customizing the keyboard shortcuts for " 2705"this action. By default it is set to the value of ``text``." 2706msgstr "Texten visas för användaren när du anpassar kortkommandon för denna åtgärd. Som standard är det inställt till värdet på ``text``." 2707 2708#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2709#: calibre.gui2.actions.InterfaceAction.create_menu_action:25 2710msgid "" 2711"Shortcuts for actions that don't always appear, or are library dependent, " 2712"may disappear when other keyboard shortcuts are edited unless " 2713"```persist_shortcut``` is set True." 2714msgstr "Kortkommandon för åtgärder som inte alltid visas eller är biblioteksberoende kan försvinna när andra kortkommandon redigeras om inte ```persist_shortcut``` är inställt som True." 2715 2716#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2717#: calibre.gui2.actions.InterfaceAction.load_resources:12 2718msgid "" 2719"A dictionary of the form ``{name : file_contents}``. Any names that were not" 2720" found in the ZIP file will not be present in the dictionary." 2721msgstr "En ordbok med formen ``{name : file_contents}``. Namn som inte finns i ZIP-filen kommer inte att vara närvarande i ordboken." 2722 2723#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2724#: calibre.gui2.actions.InterfaceAction.genesis:1 2725msgid "" 2726"Setup this plugin. Only called once during initialization. self.gui is " 2727"available. The action specified by :attr:`action_spec` is available as " 2728"``self.qaction``." 2729msgstr "Ställ in denna insticksmodul. Endast anropas en gång under initieringen. self.gui är tillgänglig. Den funktion som specificerats :attr:`action_spec` finns som ``self.qaction``." 2730 2731#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2732#: calibre.gui2.actions.InterfaceAction.location_selected:1 2733msgid "" 2734"Called whenever the book list being displayed in calibre changes. Currently " 2735"values for loc are: ``library, main, card and cardb``." 2736msgstr "Anropas när boklistan som visas i calibre ändras. För närvarande är värden för loc: ``library, main, card och cardb``." 2737 2738#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2739#: calibre.gui2.actions.InterfaceAction.location_selected:4 2740msgid "" 2741"This method should enable/disable this action and its sub actions as " 2742"appropriate for the location." 2743msgstr "Denna metod bör aktivera/inaktivera denna åtgärd och dess underåtgärder som är lämpliga för platsen." 2744 2745#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2746#: calibre.gui2.actions.InterfaceAction.library_changed:1 2747msgid "Called whenever the current library is changed." 2748msgstr "Anropas var gång det aktuella biblioteket är ändrat." 2749 2750#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2751#: calibre.gui2.actions.InterfaceAction.library_changed:3 2752msgid "The LibraryDatabase corresponding to the current library." 2753msgstr "LibraryDatabase motsvarar det aktuella biblioteket." 2754 2755#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2756#: calibre.gui2.actions.InterfaceAction.gui_layout_complete:1 2757msgid "" 2758"Called once per action when the layout of the main GUI is completed. If your" 2759" action needs to make changes to the layout, they should be done here, " 2760"rather than in :meth:`initialization_complete`." 2761msgstr "Anropas en gång per åtgärd när layouten för huvudgränssnittet är klar. Om din åtgärd behöver göra ändringar i layouten bör de göras här snarare än i :meth:`initialization_complete`." 2762 2763#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2764#: calibre.gui2.actions.InterfaceAction.initialization_complete:1 2765msgid "" 2766"Called once per action when the initialization of the main GUI is completed." 2767msgstr "Anropas en gång per åtgärd när installationen av huvud-GUI är färdigt." 2768 2769#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2770#: calibre.gui2.actions.InterfaceAction.tag_browser_context_action:1 2771msgid "" 2772"Called when displaying the context menu in the Tag browser. ``index`` is the" 2773" QModelIndex that points to the Tag browser item that was right clicked. " 2774"Test it for validity with index.valid() and get the underlying TagTreeItem " 2775"object with index.data(Qt.ItemDataRole.UserRole). Any action objects yielded" 2776" by this method will be added to the context menu." 2777msgstr "Anropas när snabbmenyn visas i taggbläddraren. ``index`` är QModelIndex som hänvisar till taggbläddrarposterna som högerklickades. Testa giltigheten med index.valid() och få den underliggande TagTreeItem-posten med index.data(Qt.ItemDataRole.UserRole). Eventuella åtgärdsobjekt som ges av denna metod läggs till i snabbmenyn." 2778 2779#: ../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring of 2780#: calibre.gui2.actions.InterfaceAction.shutting_down:1 2781msgid "" 2782"Called once per plugin when the main GUI is in the process of shutting down." 2783" Release any used resources, but try not to block the shutdown for long " 2784"periods of time." 2785msgstr "Anropas en gång per insticksmodul när huvud-GUI är i färd med att stängas av. Släpp alla använda resurser, men försök att inte blockera avstängning under långa tidsperioder." 2786 2787#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 2788#: calibre.customize.InterfaceActionBase.load_actual_plugin:1 2789msgid "This method must return the actual interface action plugin object." 2790msgstr "Denna metod måste återge själva gränssnittsåtgärden av insticksmodul objektet." 2791 2792#: ../../__w/calibre/calibre/manual/plugins.rst:175 2793msgid "Preferences plugins" 2794msgstr "Inställningar insticksmodul" 2795 2796#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 2797#: calibre.customize.PreferencesPlugin:1 2798msgid "A plugin representing a widget displayed in the Preferences dialog." 2799msgstr "En insticksmodul som representerar en gränssnittskomponent som visas i dialogrutan Inställningar." 2800 2801#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 2802#: calibre.customize.PreferencesPlugin:3 2803msgid "" 2804"This plugin has only one important method :meth:`create_widget`. The various" 2805" fields of the plugin control how it is categorized in the UI." 2806msgstr "Denna insticksmodul har bara en viktig metod :meth:`create_widget`. De olika fälten i insticksmodulen bestämmer hur den kategoriseras i användargränssnittet." 2807 2808#: ../../__w/calibre/calibre/manual/docstring of 2809#: calibre.customize.PreferencesPlugin.config_widget:1 2810msgid "" 2811"Import path to module that contains a class named ConfigWidget which " 2812"implements the ConfigWidgetInterface. Used by :meth:`create_widget`." 2813msgstr "Importera sökväg till modul som innehåller en klass namngiven ConfigWidget vilken implementerar ConfigWidgetInterface. Används av :meth:`create_widget`." 2814 2815#: ../../__w/calibre/calibre/manual/docstring of 2816#: calibre.customize.PreferencesPlugin.category_order:1 2817msgid "" 2818"Where in the list of categories the :attr:`category` of this plugin should " 2819"be." 2820msgstr "Var i listan av kategorier :attr:`category` av denna insticksmodul bör vara." 2821 2822#: ../../__w/calibre/calibre/manual/docstring of 2823#: calibre.customize.PreferencesPlugin.name_order:1 2824msgid "" 2825"Where in the list of names in a category, the :attr:`gui_name` of this " 2826"plugin should be" 2827msgstr "Var i listan av namn i en kategori :attr:`gui_name` som denna insticksmodul bör vara" 2828 2829#: ../../__w/calibre/calibre/manual/docstring of 2830#: calibre.customize.PreferencesPlugin.category:1 2831msgid "The category this plugin should be in" 2832msgstr "Kategorin för denna insticksmodul bör vara i" 2833 2834#: ../../__w/calibre/calibre/manual/docstring of 2835#: calibre.customize.PreferencesPlugin.gui_category:1 2836msgid "The category name displayed to the user for this plugin" 2837msgstr "Kategorinamnet som visas till användaren för denna insticksmodul" 2838 2839#: ../../__w/calibre/calibre/manual/docstring of 2840#: calibre.customize.PreferencesPlugin.gui_name:1 2841msgid "The name displayed to the user for this plugin" 2842msgstr "Namnet som visar till användaren för denna insticksmodul" 2843 2844#: ../../__w/calibre/calibre/manual/docstring of 2845#: calibre.customize.PreferencesPlugin.icon:1 2846msgid "The icon for this plugin, should be an absolute path" 2847msgstr "Ikonen för denna insticksmodul bör vara en absolut sökväg" 2848 2849#: ../../__w/calibre/calibre/manual/docstring of 2850#: calibre.customize.PreferencesPlugin.description:1 2851msgid "The description used for tooltips and the like" 2852msgstr "Beskrivning som används för verktygstips och liknande" 2853 2854#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 2855#: calibre.customize.PreferencesPlugin.create_widget:1 2856msgid "" 2857"Create and return the actual Qt widget used for setting this group of " 2858"preferences. The widget must implement the " 2859":class:`calibre.gui2.preferences.ConfigWidgetInterface`." 2860msgstr "Skapa och återger den faktiska Qt-gränssnittskomponenten som används för ställa in denna grupps inställningar. Gränssnittskomponenten måste implementera :class:`calibre.gui2.preferences.ConfigWidgetInterface`." 2861 2862#: ../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of 2863#: calibre.customize.PreferencesPlugin.create_widget:5 2864msgid "" 2865"The default implementation uses :attr:`config_widget` to instantiate the " 2866"widget." 2867msgstr "Standard implementationen använder :attr:`config_widget` för att instansiera gränssnittskomponenten." 2868 2869#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2870#: of calibre.gui2.preferences.ConfigWidgetInterface:1 2871msgid "" 2872"This class defines the interface that all widgets displayed in the " 2873"Preferences dialog must implement. See :class:`ConfigWidgetBase` for a base " 2874"class that implements this interface and defines various convenience methods" 2875" as well." 2876msgstr "Denna klass definierar gränssnittet som alla gränssnittskomponenter som visas i dialogrutan Inställningar måste implementeras. Se :class:`ConfigWidgetBase` för en basklass som implementerar detta gränssnitt och definierar olika bekvämlighetsmetoder också." 2877 2878#: ../../__w/calibre/calibre/manual/docstring of 2879#: calibre.gui2.preferences.ConfigWidgetInterface.changed_signal:1 2880msgid "" 2881"This signal must be emitted whenever the user changes a value in this widget" 2882msgstr "Denna signal ska avges när användaren ändrar ett värde i den här gränssnittskomponenten" 2883 2884#: ../../__w/calibre/calibre/manual/docstring of 2885#: calibre.gui2.preferences.ConfigWidgetInterface.supports_restoring_to_defaults:1 2886msgid "Set to True iff the :meth:`restore_to_defaults` method is implemented." 2887msgstr "Ändra till True om och endast om metoden :meth:`restore_to_defaults` är implementerad." 2888 2889#: ../../__w/calibre/calibre/manual/docstring of 2890#: calibre.gui2.preferences.ConfigWidgetInterface.restore_defaults_desc:1 2891msgid "The tooltip for the \"Restore defaults\" button" 2892msgstr "Verktygstipset för knappen \"Återställ till standardvärden\"" 2893 2894#: ../../__w/calibre/calibre/manual/docstring of 2895#: calibre.gui2.preferences.ConfigWidgetInterface.restart_critical:1 2896msgid "" 2897"If True the Preferences dialog will not allow the user to set any more " 2898"preferences. Only has effect if :meth:`commit` returns True." 2899msgstr "Om True tillåter inte Inställningsdialogrutan inte användaren att ställa in några fler inställningar. Endast har verkan om :meth:`commit` återger True." 2900 2901#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2902#: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:1 2903msgid "" 2904"Called once before the widget is displayed, should perform any necessary " 2905"setup." 2906msgstr "Anropas en gång innan gränssnittskomponent visas, borde utföra alla nödvändig inställningar." 2907 2908#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2909#: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:4 2910msgid "The main calibre graphical user interface" 2911msgstr "calibres huvudanvändargränssnitt" 2912 2913#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2914#: of calibre.gui2.preferences.ConfigWidgetInterface.initialize:1 2915#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2916#: of calibre.gui2.preferences.ConfigWidgetBase.initialize:1 2917msgid "" 2918"Should set all config values to their initial values (the values stored in " 2919"the config files). A \"return\" statement is optional. Return False if the " 2920"dialog is not to be shown." 2921msgstr "Bör ställa in alla konfigurationsvärden till sina ursprungliga värden (värdena lagras i konfigurationsfilerna). Ett \"återgå\"-uttalande är valfritt. Återge False om dialogrutan inte ska visas." 2922 2923#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2924#: of calibre.gui2.preferences.ConfigWidgetInterface.restore_defaults:1 2925#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2926#: of calibre.gui2.preferences.ConfigWidgetBase.restore_defaults:1 2927msgid "Should set all config values to their defaults." 2928msgstr "Bör ställa in alla konfigurationsvärden till sina standardvärden." 2929 2930#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2931#: of calibre.gui2.preferences.ConfigWidgetInterface.commit:1 2932#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2933#: of calibre.gui2.preferences.ConfigWidgetBase.commit:1 2934msgid "" 2935"Save any changed settings. Return True if the changes require a restart, " 2936"False otherwise. Raise an :class:`AbortCommit` exception to indicate that an" 2937" error occurred. You are responsible for giving the user feedback about what" 2938" the error is and how to correct it." 2939msgstr "Spara alla ändrade inställningar. Återger True om förändringarna kräver omstart, annars False. Signalera ett :class:`AbortCommit` undantag för att indikera att ett fel har inträffat. Du är ansvarig för att ge användaren återkoppling på vad felet är och hur man rättar till det." 2940 2941#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2942#: of calibre.gui2.preferences.ConfigWidgetInterface.refresh_gui:1 2943msgid "" 2944"Called once after this widget is committed. Responsible for causing the gui " 2945"to reread any changed settings. Note that by default the GUI re-initializes " 2946"various elements anyway, so most widgets won't need to use this method." 2947msgstr "Anropas en gång efter denna gränssnittskomponent läggs in. Ansvarig för att orsakat gui att läsa om ändrade inställningar. Observera att som standard åter initierar grafiska gränssnittet olika element i alla fall, så de flesta gränssnittskomponenter inte behöver använda den här metoden." 2948 2949#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2950#: of calibre.gui2.preferences.ConfigWidgetBase:1 2951msgid "" 2952"Base class that contains code to easily add standard config widgets like " 2953"checkboxes, combo boxes, text fields and so on. See the :meth:`register` " 2954"method." 2955msgstr "Basklass som innehåller kod för att enkelt lägga till standard konfigureringsgränssnittskomponenter som kryssrutor, kombinationsrutor, textfält och så vidare. se metoden :meth:`register`." 2956 2957#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2958#: of calibre.gui2.preferences.ConfigWidgetBase:5 2959msgid "" 2960"This class automatically handles change notification, resetting to default, " 2961"translation between gui objects and config objects, etc. for registered " 2962"settings." 2963msgstr "Denna klass hanterar automatiskt förändringsnoteringar, återställning till standard, översättning mellan gui-objekt och konfigurationsobjekt o.s.v. för registrerade inställningar." 2964 2965#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2966#: of calibre.gui2.preferences.ConfigWidgetBase:9 2967msgid "" 2968"If your config widget inherits from this class but includes setting that are" 2969" not registered, you should override the :class:`ConfigWidgetInterface` " 2970"methods and call the base class methods inside the overrides." 2971msgstr "Om din konfigureringsgränssnittskomponent ärver från denna klass men inkluderar inställning som inte är registrerad, bör du åsidosätta :class:`ConfigWidgetInterface`-metoder och anropa basklassmetoder inuti åsidosättningarna." 2972 2973#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2974#: of calibre.gui2.preferences.ConfigWidgetBase.register:1 2975msgid "Register a setting." 2976msgstr "Registrera en inställning." 2977 2978#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2979#: of calibre.gui2.preferences.ConfigWidgetBase.register:3 2980msgid "The setting name" 2981msgstr "Namnet på inställningen" 2982 2983#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2984#: of calibre.gui2.preferences.ConfigWidgetBase.register:4 2985msgid "The config object that reads/writes the setting" 2986msgstr "Konfigureringsobjektet som läser/skriver instälningen" 2987 2988#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2989#: of calibre.gui2.preferences.ConfigWidgetBase.register:5 2990msgid "" 2991"The name of the GUI object that presents an interface to change the setting." 2992" By default it is assumed to be ``'opt_' + name``." 2993msgstr "Namnet på det grafiska objekt som presenterar ett gränssnitt för att ändra inställningen. Som standard antas vara ``'opt_' + name``." 2994 2995#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 2996#: of calibre.gui2.preferences.ConfigWidgetBase.register:8 2997msgid "" 2998"If this setting is a multiple choice (combobox) based setting, the list of " 2999"choices. The list is a list of two element tuples of the form: ``[(gui name," 3000" value), ...]``" 3001msgstr "Om inställningen är en flervals (ComboBox) baserad inställning, listan med alternativ. Listan är en lista på två-elements tupler av formen: ``[(gui name, value), ...]``" 3002 3003#: ../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring 3004#: of calibre.gui2.preferences.ConfigWidgetBase.register:11 3005msgid "" 3006"The class responsible for managing this setting. The default class handles " 3007"almost all cases, so this param is rarely used." 3008msgstr "Klassen ansvarar för att hantera den här inställningen. Standard klassen hanterar nästan alla fall, så den här param används sällan." 3009