# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # Jonatan Nyberg, 2026 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017-2018,2020 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2020 # Jonatan Nyberg, 2026 # Jonatan Nyberg, 2016-2017,2021-2026 # Jonatan Nyberg, 2018-2021 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2018 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2017 # Jonatan Nyberg, 2026 # Merarom , 2014-2017,2019 # Sofie Sundberg , 2018 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-09-16 15:05+0000\n" "PO-Revision-Date: 2014-06-17 08:35+0000\n" "Last-Translator: Sofie Sundberg , 2018\n" "Language-Team: Swedish (http://app.transifex.com/calibre/calibre/language/sv/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../../../__w/calibre/calibre/manual/plugins.rst:4 msgid "API documentation for plugins" msgstr "API-dokumentation för insticksmoduler" #: ../../../__w/calibre/calibre/manual/plugins.rst:9 msgid "" "Defines various abstract base classes that can be subclassed to create " "powerful plugins. The useful classes are:" msgstr "Definierar olika abstrakta basklasser som du kan skapa underklasser av för att utveckla kraftfulla insticksmoduler. De användbara klasserna är:" #: ../../../__w/calibre/calibre/manual/plugins.rst:19 msgid "Plugin" msgstr "Plugin" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:1 msgid "A calibre plugin. Useful members include:" msgstr "En insticksmodul för calibre. Användbara medlemmar är:" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:3 msgid "``self.installation_type``: Stores how the plugin was installed." msgstr "``self.installation_type``: Lagrar hur insticksmodulen installerades." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:4 msgid "``self.plugin_path``: Stores path to the ZIP file that contains" msgstr "``self.plugin_path``: Lagrar sökväg till ZIP-filen som innehåller" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:5 msgid "this plugin or None if it is a builtin plugin" msgstr "denna insticksmodul eller None om den är en inbyggd insticksmodul" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:7 msgid "``self.site_customization``: Stores a customization string entered" msgstr "``self.site_customization``: Lagrar en anpassningssträng som har angetts" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:8 msgid "by the user." msgstr "av användaren." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:10 msgid "Methods that should be overridden in sub classes:" msgstr "Metoder som ska åsidosättas i underklasser:" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:12 msgid ":meth:`initialize`" msgstr ":meth:`initialize`" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:13 msgid ":meth:`customization_help`" msgstr ":meth:`customization_help`" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:15 msgid "Useful methods:" msgstr "Användbara metoder:" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:17 msgid ":meth:`temporary_file`" msgstr ":meth:`temporary_file`" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:18 msgid ":meth:`__enter__`" msgstr ":meth:`__enter__`" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:19 msgid ":meth:`load_resources`" msgstr ":meth:`load_resources`" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.InterfaceActionBase.supported_platforms:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin.supported_platforms:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin.supported_platforms:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.supported_platforms:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.supported_platforms:1 #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.supported_platforms:1 #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.supported_platforms:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.supported_platforms:1 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.supported_platforms:1 msgid "" "List of platforms this plugin works on. For example: ``['windows', 'osx', " "'linux']``" msgstr "Lista över plattformar som den här insticksmodulen fungerar på. Till exempel: ``['windows', 'osx', 'linux']``" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.name:1 msgid "" "The name of this plugin. You must set it something other than Trivial Plugin" " for it to work." msgstr "Namnet på denna insticksmodul. Du måste ange något annat än Trivial Plugin för att den ska fungera." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin.version:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin.version:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.version:1 msgid "The version of this plugin as a 3-tuple (major, minor, revision)" msgstr "Insticksmodulens version som en tupel med tre element (major, minor, revision)" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.description:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.description:1 msgid "A short string describing what this plugin does" msgstr "En kort sträng som beskriver vad denna insticksmodul gör" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.InterfaceActionBase.author:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin.author:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin.author:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.author:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.author:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.author:1 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.author:1 msgid "The author of this plugin" msgstr "Författare av denna insticksmodul" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.priority:1 msgid "" "When more than one plugin exists for a filetype, the plugins are run in " "order of decreasing priority. Plugins with higher priority will be run " "first. The highest possible priority is ``sys.maxsize``. Default priority is" " 1." msgstr "När flera insticksmoduler finns för samma filtyp körs de i fallande prioritetsordning. Moduler med högre prioritet körs först. Högsta möjliga prioritet är ``sys.maxsize``. Standardprioriteten är 1." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.minimum_calibre_version:1 msgid "The earliest version of calibre this plugin requires" msgstr "Den tidigaste versionen av calibre som denna insticksmodul kräver" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.installation_type:1 msgid "The way this plugin is installed" msgstr "Sättet den här insticksmodulen installeras" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.can_be_disabled:1 msgid "" "If False, the user will not be able to disable this plugin. Use with care." msgstr "Om False, kommer inte användaren kunna deaktivera denna insticksmodul. Använd med försiktighet." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.type:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.type:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.InterfaceActionBase.type:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin.type:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin.type:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.type:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.type:1 #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.type:1 #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.type:1 #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.type:1 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.type:1 msgid "The type of this plugin. Used for categorizing plugins in the GUI" msgstr "Insticksmodulens typ. Används för att kategorisera insticksmoduler i användargränssnittet." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.initialize:1 msgid "" "Called once when calibre plugins are initialized. Plugins are re-" "initialized every time a new plugin is added. Also note that if the plugin " "is run in a worker process, such as for adding books, then the plugin will " "be initialized for every new worker process." msgstr "Anropas en gång när calibres insticksmoduler initieras. Insticksmodulerna initieras på nytt varje gång en ny insticksmodul läggs till. Om insticksmodulen körs i en arbetsprocess, till exempel för att lägga till böcker, initieras den för varje ny arbetsprocess." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.initialize:6 msgid "" "Perform any plugin specific initialization here, such as extracting " "resources from the plugin ZIP file. The path to the ZIP file is available as" " ``self.plugin_path``." msgstr "Utför valfri insticksmodulspecifik initiering 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``." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.initialize:10 msgid "" "Note that ``self.site_customization`` is **not** available at this point." msgstr "Observera att ``self.site_customization`` **inte** är tillgänglig vid detta tillfälle." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.config_widget:1 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.config_widget:1 msgid "" "Implement this method and :meth:`save_settings` in your plugin to use a " "custom configuration dialog, rather then relying on the simple string based " "default customization." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.config_widget:5 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.config_widget:5 msgid "" "This method, if implemented, must return a QWidget. The widget can have an " "optional method validate() that takes no arguments and is called immediately" " after the user clicks OK. Changes are applied if and only if the method " "returns True." msgstr "Om metoden implementeras måste den returnera en QWidget. Komponenten kan ha en valfri metod ``validate()`` utan argument, som anropas direkt efter att användaren klickat på OK. Ändringarna tillämpas endast om metoden returnerar True." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.config_widget:10 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.config_widget:10 msgid "" "If for some reason you cannot perform the configuration at this time, return" " a tuple of two strings (message, details), these will be displayed as a " "warning dialog to the user and the process will be aborted." msgstr "Om du av någon anledning inte kan utföra konfigurationen vid denna tid, returnera en tupel av två strängar (meddelande, detaljer), kommer dessa att visas som en varningsdialogruta för användaren och processen avbryts." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.save_settings:1 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.save_settings:1 msgid "Save the settings specified by the user with config_widget." msgstr "Spara inställningarna som anges av användaren med config_widget." #: ../../../__w/calibre/calibre/manual/plugins.rst:0 msgid "Parameters" msgstr "Parametrar" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.save_settings:3 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.save_settings:3 msgid "The widget returned by :meth:`config_widget`." msgstr "Gränssnittskomponenten som returneras av :meth:`config_widget`." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.do_user_config:1 msgid "" "This method shows a configuration dialog for this plugin. It returns True if" " the user clicks OK, False otherwise. The changes are automatically applied." msgstr "Denna metod visar en inställningsdialogruta för denna insticksmodul. Den returnerar True om användaren klickar på OK, annars False. Ändringarna tillämpas automatiskt." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.load_resources:1 #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.load_resources:1 msgid "" "If this plugin comes in a ZIP file (user added plugin), this method will " "allow you to load resources from the ZIP file." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.load_resources:4 #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.load_resources:4 msgid "For example to load an image::" msgstr "Till exempel att läsa in en bild::" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.load_resources:10 #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.load_resources:10 msgid "List of paths to resources in the ZIP file using / as separator" msgstr "Förteckning över sökvägar till resurser i ZIP-filen som använder / som avskiljare" #: ../../../__w/calibre/calibre/manual/plugins.rst:0 msgid "Returns" msgstr "Returnerar" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.load_resources:12 msgid "" "A dictionary of the form ``{name: file_contents}``. Any names that were not " "found in the ZIP file will not be present in the dictionary." msgstr "En ordbok av formen ``{name: file_contents}``. Namn som inte finns i ZIP-filen kommer inte att vara närvarande i ordboken." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.customization_help:1 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.customization_help:1 msgid "" "Return a string giving help on how to customize this plugin. By default " "raise a :class:`NotImplementedError`, which indicates that the plugin does " "not require customization." msgstr "Returnera en hjälptext om hur insticksmodulen anpassas. Standardimplementeringen genererar :class:`NotImplementedError`, vilket anger att modulen inte behöver anpassas." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.customization_help:5 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.customization_help:5 msgid "" "If you re-implement this method in your subclass, the user will be asked to " "enter a string as customization for this plugin. The customization string " "will be available as ``self.site_customization``." msgstr "Om du implementerar denna metod på nytt i underklassen ombeds användaren att ange en anpassningssträng för insticksmodulen. Strängen blir tillgänglig som ``self.site_customization``." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.customization_help:10 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.customization_help:10 msgid "" "Site customization could be anything, for example, the path to a needed " "binary on the user's computer." msgstr "Den lokala anpassningen kan vara vad som helst, till exempel sökvägen till en nödvändig körbar fil på användarens dator." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.customization_help:13 #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.customization_help:13 msgid "If True return HTML help, otherwise return plain text help." msgstr "Om True returneras HTML-hjälp, annars returneras oformaterad hjälptext." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.temporary_file:1 msgid "" "Return a file-like object that is a temporary file on the file system. This " "file will remain available even after being closed and will only be removed " "on interpreter shutdown. Use the ``name`` member of the returned object to " "access the full path to the created temporary file." msgstr "Returnera ett filliknande objekt som motsvarar en tillfällig fil i filsystemet. Filen finns kvar även efter att den har stängts och tas bort först när tolken avslutas. Använd medlemmen ``name`` i det returnerade objektet för att komma åt hela sökvägen till den skapade tillfälliga filen." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.temporary_file:6 msgid "The suffix that the temporary file will have." msgstr "Suffixet som den tillfälliga filen ska ha." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.cli_main:1 msgid "" "This method is the main entry point for your plugins command line interface." " It is called when the user does: calibre-debug -r \"Plugin Name\". Any " "arguments passed are present in the args variable." msgstr "Denna metod är den huvudsakliga ingångspunkten för dina insticksmodulers kommandoradsgränssnitt. Det anropas när användaren utför: calibre-debug -r \"insticksmodulsnamn\". Eventuella argument som skickas finns i variabeln args." #: ../../../__w/calibre/calibre/manual/plugins.rst:28 msgid "FileTypePlugin" msgstr "FileTypePlugin" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin:1 msgid "A plugin that is associated with a particular set of file types." msgstr "En insticksmodul som är associerad med en viss uppsättning filtyper." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.file_types:1 msgid "" "Set of file types for which this plugin should be run. Use '*' for all file " "types. For example: ``{'lit', 'mobi', 'prc'}``" msgstr "En mängd med filtyper som insticksmodulen ska köras för. Använd '*' för alla filtyper. Till exempel: ``{'lit', 'mobi', 'prc'}``" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.on_import:1 msgid "If True, this plugin is run when books are added to the database" msgstr "Om True, körs denna insticksmodul när böcker läggs till i databasen" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.on_postimport:1 msgid "" "If True, this plugin is run after books are added to the database. In this " "case the postimport and postadd methods of the plugin are called." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.on_postconvert:1 msgid "" "If True, this plugin is run after a book is converted. In this case the " "postconvert method of the plugin is called." msgstr "Om True körs insticksmodulen efter att en bok har konverterats. Då anropas insticksmodulens metod postconvert." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.on_postdelete:1 msgid "" "If True, this plugin is run after a book file is deleted from the database. " "In this case the postdelete method of the plugin is called." msgstr "Om True körs insticksmodulen efter att en bokfil har tagits bort från databasen. Då anropas insticksmodulens metod postdelete." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.on_preprocess:1 msgid "If True, this plugin is run just before a conversion" msgstr "Om True, körs denna insticksmodul alldeles innan en konvertering" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.on_postprocess:1 msgid "" "If True, this plugin is run after conversion on the final file produced by " "the conversion output plugin." msgstr "Om True, körs denna insticksmodul efter konvertering på den slutliga filen som produceras av insticksmodulen för konverteringsutmatning." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.run:1 msgid "" "Run the plugin. Must be implemented in subclasses. It should perform " "whatever modifications are required on the e-book and return the absolute " "path to the modified e-book. If no modifications are needed, it should " "return the path to the original e-book. If an error is encountered it should" " raise an Exception. The default implementation simply return the path to " "the original e-book. Note that the path to the original file (before any " "file type plugins are run, is available as self.original_path_to_file)." msgstr "Kör insticksmodulen. Metoden måste implementeras i underklasser. Den ska göra nödvändiga ändringar i e-boken och returnera den absoluta sökvägen till den ändrade filen. Om inga ändringar behövs returneras sökvägen till originalfilen. Om ett fel uppstår ska ett undantag genereras. Standardimplementeringen returnerar originalfilens sökväg. Sökvägen före körning av filtypsinsticksmoduler finns i ``self.original_path_to_file``." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.run:11 msgid "" "The modified e-book file should be created with the :meth:`temporary_file` " "method." msgstr "Den ändrade e-bokfilen ska skapas med metoden :meth:`temporary_file`." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.run:14 msgid "Absolute path to the e-book." msgstr "Absolut sökväg till e-boken." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.run:16 msgid "Absolute path to the modified e-book." msgstr "Absolut sökväg till den modifierade e-boken." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postimport:1 msgid "" "Called post import, i.e., after the book file has been added to the " "database. Note that this is different from :meth:`postadd` which is called " "when the book record is created for the first time. This method is called " "whenever a new file is added to a book record. It is useful for modifying " "the book record based on the contents of the newly added file." msgstr "Anropas efter importering, dvs. 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." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postadd:8 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postconvert:5 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postdelete:6 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postimport:6 msgid "Database id of the added book." msgstr "Databas-ID för den tillagda boken." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postconvert:6 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postdelete:7 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postimport:7 msgid "The file type of the book that was added." msgstr "Filtypen för boken som lades till." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postconvert:7 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postdelete:8 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postimport:8 msgid "Library database." msgstr "Biblioteksdatabas." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postconvert:1 msgid "" "Called post conversion, i.e., after the conversion output book file has been" " added to the database. Note that it is run after a conversion only, not " "after a book is added. It is useful for modifying the book record based on " "the contents of the newly added file." msgstr "Anropas efter konvertering, när den konverterade bokfilen har lagts till i databasen. Metoden körs endast efter en konvertering, inte när en bok läggs till. Den är användbar för att ändra bokposten utifrån innehållet i den nytillagda filen." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postdelete:1 msgid "" "Called post deletion, i.e., after the book file has been deleted from the " "database. Note that it is not run when a book record is deleted, only when " "one or more formats from the book are deleted. It is useful for modifying " "the book record based on the format of the deleted file." msgstr "Anropas efter borttagning, när bokfilen har tagits bort från databasen. Metoden körs när ett eller flera format tas bort från en bok, men inte när själva bokposten tas bort. Den är användbar för att ändra bokposten utifrån den borttagna filens format." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postadd:1 msgid "" "Called post add, i.e. after a book has been added to the db. Note that this " "is different from :meth:`postimport`, which is called after a single book " "file has been added to a book. postadd() is called only when an entire book " "record with possibly more than one book file has been created for the first " "time. This is useful if you wish to modify the book record in the database " "when the book is first added to calibre." msgstr "Anropas efter att en bok har lagts till i databasen. Detta skiljer sig från :meth:`postimport`, som anropas efter att en enskild bokfil har lagts till i en bok. postadd() anropas endast när en hel bokpost skapas för första gången, eventuellt med flera bokfiler. Metoden är användbar för att ändra bokposten i databasen när boken först läggs till i calibre." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postadd:9 msgid "" "Map of file format to path from which the file format was added. Note that " "this might or might not point to an actual existing file, as sometimes files" " are added as streams. In which case it might be a dummy value or a non-" "existent path." msgstr "Mappning från filformat till den sökväg som formatet lades till från. Observera att sökvägen inte nödvändigtvis pekar på en befintlig fil, eftersom filer ibland läggs till som strömmar. I sådana fall kan värdet vara ett platshållarvärde eller en obefintlig sökväg." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postadd:13 msgid "Library database" msgstr "Biblioteksdatabas" #: ../../../__w/calibre/calibre/manual/plugins.rst:39 msgid "Metadata plugins" msgstr "Metadatainsticksmoduler" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin:1 msgid "A plugin that implements reading metadata from a set of file types." msgstr "En insticksmodul som implementerar läsning av metadata från en uppsättning filtyper." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin.file_types:1 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin.file_types:1 msgid "" "Set of file types for which this plugin should be run. For example: " "``set(['lit', 'mobi', 'prc'])``" msgstr "En mängd med filtyper som insticksmodulen ska köras för. Till exempel: ``set(['lit', 'mobi', 'prc'])``" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin.get_metadata:1 msgid "" "Return metadata for the file represented by stream (a file like object that " "supports reading). Raise an exception when there is an error with the input " "data." msgstr "Returnera metadata för filen som representeras av stream, ett filliknande objekt som stöder läsning. Generera ett undantag om indata är felaktiga." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin.get_metadata:5 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin.set_metadata:5 msgid "" "The type of file. Guaranteed to be one of the entries in :attr:`file_types`." msgstr "Filtypen. Garanterat en av posterna i :attr:`file_types`." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin.get_metadata:7 #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin.set_metadata:7 msgid "A :class:`calibre.ebooks.metadata.book.Metadata` object" msgstr "Ett :class:`calibre.ebooks.metadata.book.Metadata`-objekt" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin.set_metadata:1 msgid "" "Set metadata for the file represented by stream (a file like object that " "supports reading). Raise an exception when there is an error with the input " "data." msgstr "Ange metadata för filen som representeras av ``stream``, ett filliknande objekt som kan läsas. Generera ett undantag om indata är felaktiga." #: ../../../__w/calibre/calibre/manual/plugins.rst:54 msgid "Catalog plugins" msgstr "Kataloginsticksmoduler" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin:1 msgid "A plugin that implements a catalog generator." msgstr "En insticksmodul som implementerar en kataloggenerator." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.file_types:1 msgid "" "Output file type for which this plugin should be run. For example: 'epub' or" " 'xml'" msgstr "Utmatningsfiltypen som insticksmodulen ska köras för. Till exempel: 'epub' eller 'xml'" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.cli_options:1 msgid "" "CLI parser options specific to this plugin, declared as `namedtuple` " "`Option`:" msgstr "CLI-parseralternativ som är specifika för denna insticksmodul deklareras som `namedtuple` `Option`:" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.cli_options:3 msgid "" "from collections import namedtuple 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 parsed in " "calibre.db.cli.cmd_catalog:option_parser()" msgstr "from collections import namedtuple 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 parsed in calibre.db.cli.cmd_catalog:option_parser()" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.initialize:1 msgid "" "If plugin is not a built-in, copy the plugin's .ui and .py files from the " "ZIP file to $TMPDIR. Tab will be dynamically generated and added to the " "Catalog Options dialog in calibre.gui2.dialogs.catalog.py:Catalog" msgstr "Om insticksmodulen inte är inbyggd kopierar du dess .ui- och .py-filer från ZIP-filen till $TMPDIR. En flik skapas dynamiskt och läggs till i dialogrutan Katalogalternativ i calibre.gui2.dialogs.catalog.py:Catalog." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.run:1 msgid "" "Run the plugin. Must be implemented in subclasses. It should generate the " "catalog in the format specified in file_types, returning the absolute path " "to the generated catalog file. If an error is encountered it should raise an" " Exception." msgstr "Kör insticksmodulen. Metoden måste implementeras i underklasser. Den ska skapa katalogen i det format som anges i file_types och returnera den absoluta sökvägen till katalogfilen. Om ett fel uppstår ska ett undantag genereras." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.run:7 msgid "" "The generated catalog file should be created with the :meth:`temporary_file`" " method." msgstr "Den genererade katalogfilen ska genereras med :meth:`temporary_file`-metoden." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.run:10 msgid "Absolute path to the generated catalog file." msgstr "Absoluta sökvägen till den genererade katalogfilen." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.run:11 msgid "A dictionary of keyword arguments" msgstr "En ordbok av nyckelordsargument" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.run:12 msgid "A LibraryDatabase2 object" msgstr "Ett LibraryDatabase2-objekt" #: ../../../__w/calibre/calibre/manual/plugins.rst:64 msgid "Metadata download plugins" msgstr "Insticksmoduler för metadatahämtning" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.capabilities:1 msgid "" "Set of capabilities supported by this plugin. Useful capabilities are: " "'identify', 'cover'" msgstr "Uppsättning funktioner som stöds av denna insticksmodul. Användbara funktioner är: \"identify\", \"cover\"" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.touched_fields:1 msgid "" "List of metadata fields that can potentially be download by this plugin " "during the identify phase" msgstr "Lista med metadatafält som potentiellt kan hämtas av denna insticksmodul under identifieringsfasen" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.has_html_comments:1 msgid "Set this to True if your plugin returns HTML formatted comments" msgstr "Ange detta som True om din insticksmodul returnerar HTML-formaterade kommentarer" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of #: calibre.ebooks.metadata.sources.base.Source.supports_gzip_transfer_encoding:1 msgid "" "Setting this to True means that the browser object will indicate that it " "supports gzip transfer encoding. This can speedup downloads but make sure " "that the source actually supports gzip transfer encoding correctly first" msgstr "Om värdet är True anger webbläsarobjektet att det stöder gzip-överföringskodning. Det kan göra hämtningarna snabbare, men kontrollera först att källan stöder gzip-överföringskodning korrekt." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.ignore_ssl_errors:1 msgid "" "Set this to True to ignore HTTPS certificate errors when connecting to this " "source." msgstr "Ställ in detta till True för att ignorera HTTPS-certifikatfel när du ansluter till den här källan." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of #: calibre.ebooks.metadata.sources.base.Source.cached_cover_url_is_reliable:1 msgid "" "Cached cover URLs can sometimes be unreliable (i.e. the download could fail " "or the returned image could be bogus). If that is often the case with this " "source, set to False" msgstr "Cachelagrade omslags-URL:er kan ibland vara opålitliga, exempelvis genom att hämtningen misslyckas eller den returnerade bilden är ogiltig. Om detta ofta inträffar med källan anger du False" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.options:1 msgid "" "A list of :class:`Option` objects. They will be used to automatically " "construct the configuration widget for this plugin" msgstr "En lista med :class:`Option`-objekt. De används för att automatiskt skapa insticksmodulens konfigurationskomponent." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.config_help_message:1 msgid "" "A string that is displayed at the top of the config widget for this plugin" msgstr "En sträng som visas högst upp på gränssnittskomponenten för denna insticksmodul" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.can_get_multiple_covers:1 msgid "If True this source can return multiple covers for a given query" msgstr "Om True kan denna källa returnera flera omslag för en viss förfråga" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.auto_trim_covers:1 msgid "" "If set to True covers downloaded by this plugin are automatically trimmed." msgstr "Om inställt till True beskärs hämtade omslag automatiskt med denna insticksmodul." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.prefer_results_with_isbn:1 msgid "" "If set to True, and this source returns multiple results for a query, some " "of which have ISBNs and some of which do not, the results without ISBNs will" " be ignored" msgstr "Om värdet är True, och denna källa returnerar 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" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.is_configured:1 msgid "" "Return False if your plugin needs to be configured before it can be used. " "For example, it might need a username/password/API key." msgstr "Returnera 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." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_author_tokens:1 msgid "" "Take a list of authors and return a list of tokens useful for an AND search " "query. This function tries to return tokens in first name middle names last " "name order, by assuming that if a comma is in the author name, the name is " "in lastname, other names form." msgstr "Ta en lista över författare och returnera en lista med söktermer som kan användas i en AND-sökning. Funktionen försöker ordna termerna som förnamn, mellannamn och efternamn. Om ett författarnamn innehåller ett kommatecken antas det ha formen efternamn, övriga namn." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_title_tokens:1 msgid "" "Take a title and return a list of tokens useful for an AND search query. " "Excludes connectives(optionally) and punctuation." msgstr "Ta en titel och returnera en lista med söktermer som kan användas i en AND-sökning. Skiljetecken och, valfritt, bindeord utelämnas." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.split_jobs:1 msgid "Split a list of jobs into at most num groups, as evenly as possible" msgstr "Dela upp en lista med jobb i högst num grupper, så jämnt som möjligt" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.test_fields:1 msgid "" "Return the first field from self.touched_fields that is null on the mi " "object" msgstr "Returnera det första fältet i self.touched_fields som är null i mi-objektet." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.clean_downloaded_metadata:1 msgid "" "Call this method in your plugin's identify method to normalize metadata " "before putting the Metadata object into result_queue. You can of course, use" " a custom algorithm suited to your metadata source." msgstr "Anropa denna metod från insticksmodulens identify-metod för att normalisera metadata innan Metadata-objektet placeras i result_queue. Du kan naturligtvis använda en egen algoritm som passar metadatakällan." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_book_url:1 msgid "" "Return a 3-tuple or None. The 3-tuple is of the form: (identifier_type, " "identifier_value, URL). The URL is the URL for the book identified by " "identifiers at this source. identifier_type, identifier_value specify the " "identifier corresponding to the URL. This URL must be browsable to by a " "human using a browser. It is meant to provide a clickable link for the user " "to easily visit the books page at this source. If no URL is found, return " "None. This method must be quick, and consistent, so only implement it if it " "is possible to construct the URL from a known scheme given identifiers." msgstr "Returnera en 3-tupel eller None. Tupeln ska ha formen (identifier_type, identifier_value, URL). URL är adressen till den bok som motsvarar identifieraren hos den här källan. identifier_type och identifier_value anger identifierarens typ och värde. URL:en måste kunna öppnas av en användare i en webbläsare och är avsedd att fungera som en klickbar länk till bokens sida hos källan. Returnera None om ingen URL hittas. Metoden måste vara snabb och ge konsekventa resultat, så implementera den bara om URL:en kan konstrueras enligt ett känt schema från identifierarna." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_book_url_name:1 msgid "Return a human readable name from the return value of get_book_url()." msgstr "Returnera ett mänskligt läsbart namn från det återgivna värdet för get_book_url()." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_book_urls:1 msgid "" "Override this method if you would like to return multiple URLs for this " "book. Return a list of 3-tuples. By default this method simply calls " ":func:`get_book_url`." msgstr "Åsidosätt den här metoden om du vill returnera flera URL:er för den här boken. Returnera en lista med 3-tupler. Som standard anropar den här metoden helt enkelt :func:`get_book_url`." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_cached_cover_url:1 msgid "" "Return cached cover URL for the book identified by the identifiers " "dictionary or None if no such URL exists." msgstr "Returnera den cachelagrade omslags-URL:en för boken som identifieras av identifierarordboken, eller None om ingen sådan URL finns." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_cached_cover_url:4 msgid "" "Note that this method must only return validated URLs, i.e. not URLS that " "could result in a generic cover image or a not found error." msgstr "Observera att metoden endast får returnera validerade URL:er, inte URL:er som kan ge en generisk omslagsbild eller ett ”hittades inte”-fel." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.id_from_url:1 msgid "" "Parse a URL and return a tuple of the form: (identifier_type, " "identifier_value). If the URL does not match the pattern for the metadata " "source, return None." msgstr "Analysera en URL och returnera en tupel av formen: (identifier_type, identifier_value). Om URL:en inte matchar mönstret för metadatakällan, returnera None." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:1 msgid "" "Return a function that is used to generate a key that can sort Metadata " "objects by their relevance given a search query (title, authors, " "identifiers)." msgstr "Returnera en funktion som skapar en nyckel för att sortera Metadata-objekt efter relevans för en sökfråga (title, authors, identifiers)." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:5 msgid "These keys are used to sort the results of a call to :meth:`identify`." msgstr "Dessa nycklar används för att sortera resultatet av ett anrop till :meth:`identify`." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:7 msgid "" "For details on the default algorithm see " ":class:`InternalMetadataCompareKeyGen`. Re-implement this function in your " "plugin if the default algorithm is not suitable." msgstr "Mer information om standardalgoritmen finns i :class:`InternalMetadataCompareKeyGen`. Implementera funktionen på nytt i insticksmodulen om standardalgoritmen inte är lämplig." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:1 msgid "Identify a book by its Title/Author/ISBN/etc." msgstr "Identifiera en bok med dess titel/författare/ISBN/etc." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:3 msgid "" "If identifiers(s) are specified and no match is found and this metadata " "source does not store all related identifiers (for example, all ISBNs of a " "book), this method should retry with just the title and author (assuming " "they were specified)." msgstr "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)." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:8 msgid "" "If this metadata source also provides covers, the URL to the cover should be" " cached so that a subsequent call to the get covers API with the same " "ISBN/special identifier does not need to get the cover URL again. Use the " "caching API for this." msgstr "Om den här metadatakällan också innehåller omslag, bör URL:en till omslaget cachas så att ett efterföljande anrop till skaffa omslags-API:et med samma ISBN/specialidentifiering inte behöver hämta omslags-URL:en igen. Använd cache-API:et för detta." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:13 msgid "" "Every Metadata object put into result_queue by this method must have a " "`source_relevance` attribute that is an integer indicating the order in " "which the results were returned by the metadata source for this query. This " "integer will be used by :meth:`compare_identify_results`. If the order is " "unimportant, set it to zero for every result." msgstr "Varje Metadata-objekt som denna metod placerar i result_queue måste ha attributet `source_relevance`. Det ska vara ett heltal som anger i vilken ordning metadatakällan returnerade resultaten för sökfrågan. Heltalet används av :meth:`compare_identify_results`. Om ordningen saknar betydelse anger du noll för alla resultat." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:19 msgid "" "Make sure that any cover/ISBN mapping information is cached before the " "Metadata object is put into result_queue." msgstr "Se till att all omslags-/ISBN-kartläggningsinformation cachelagras innan Metadata-objektet placeras i result_queue." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:22 msgid "A log object, use it to output debugging information/errors" msgstr "Ett loggobjekt som används för att skriva felsökningsinformation och fel" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:23 msgid "" "A result Queue, results should be put into it. Each result is a Metadata " "object" msgstr "En resultatkö (Queue) där resultaten ska placeras. Varje resultat är ett Metadata-objekt." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:25 msgid "" "If abort.is_set() returns True, abort further processing and return as soon " "as possible" msgstr "Om abort.is_set() returnerar True, avbryt vidare bearbetning och återvända så snart som möjligt" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:27 msgid "The title of the book, can be None" msgstr "Titeln på boken, kan vara None" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:28 msgid "A list of authors of the book, can be None" msgstr "En lista med författare av boken, kan vara None" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:29 msgid "A dictionary of other identifiers, most commonly {'isbn':'1234...'}" msgstr "En ordbok av andra identifieringsuppgifter oftast {'isbn':'1234...'}" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:31 msgid "" "Timeout in seconds, no network request should hang for longer than timeout." msgstr "Tidsbegränsning i sekunder, ingen nätverksförfrågan ska dröja längre än tidsbegränsningen." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:33 msgid "" "None if no errors occurred, otherwise a unicode representation of the error " "suitable for showing to the user" msgstr "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" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.download_cover:1 msgid "" "Download a cover and put it into result_queue. The parameters all have the " "same meaning as for :meth:`identify`. Put (self, cover_data) into " "result_queue." msgstr "Hämta ett omslag och placera det i result_queue. Alla parametrar har samma betydelse som för :meth:`identify`. Placera (self, cover_data) i result_queue." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.download_cover:5 msgid "" "This method should use cached cover URLs for efficiency whenever possible. " "When cached data is not present, most plugins simply call identify and use " "its results." msgstr "Metoden bör om möjligt använda cachelagrade omslags-URL:er för effektivitetens skull. Om cachelagrade data saknas anropar de flesta insticksmoduler identify och använder dess resultat." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.download_cover:9 msgid "" "If the parameter get_best_cover is True and this plugin can get multiple " "covers, it should only get the \"best\" one." msgstr "Om parametern get_best_cover är True och insticksmodulen kan hämta flera omslag ska den endast hämta det bästa." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:1 msgid "" "Generate a sort key for comparison of the relevance of Metadata objects, " "given a search query. This is used only to compare results from the same " "metadata source, not across different sources." msgstr "Skapa en sorteringsnyckel för att jämföra Metadata-objektens relevans för en sökfråga. Nyckeln används endast för att jämföra resultat från samma metadatakälla, inte mellan olika källor." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:5 msgid "" "The sort key ensures that an ascending order sort is a sort by order of " "decreasing relevance." msgstr "Sorteringsnyckeln gör att stigande sortering efter nyckeln ger fallande relevans." #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:8 msgid "The algorithm is:" msgstr "Algoritmen är:" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:10 msgid "" "Prefer results that have at least one identifier the same as for the query" msgstr "Föredra resultat som har åtminstone en identifierare som är samma som för förfrågan" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:11 msgid "Prefer results with a cached cover URL" msgstr "Föredra resultat med en cachad omslags-URL" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:12 msgid "Prefer results with all available fields filled in" msgstr "Föredra resultat med alla tillgängliga fält ifyllda" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:13 msgid "" "Prefer results with the same language as the current user interface language" msgstr "Föredra resultat med samma språk som aktuella användarens gränssnittsspråk" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:14 msgid "Prefer results that are an exact title match to the query" msgstr "Föredra resultat som är en exakt titelmatchning på förfrågan" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:15 msgid "Prefer results with longer comments (greater than 10% longer)" msgstr "Föredra resultat med längre kommentarer (mer än 10% längre)" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:16 msgid "" "Use the relevance of the result as reported by the metadata source's search" msgstr "Använd den relevans som anges av metadatakällans" #: ../../../__w/calibre/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:17 msgid "engine" msgstr "sökmotor" #: ../../../__w/calibre/calibre/manual/plugins.rst:76 msgid "Conversion plugins" msgstr "Konverteringsinsticksmoduler" #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin:1 msgid "" "InputFormatPlugins are responsible for converting a document into " "HTML+OPF+CSS+etc. The results of the conversion *must* be encoded in UTF-8. " "The main action happens in :meth:`convert`." msgstr "InputFormatPlugins ansvarar för att konvertera ett dokument till HTML+OPF+CSS+etc. Resultatet av konverteringen *måste* kodas i UTF-8. Den viktigaste åtgärden händer i :meth:`convert`." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.file_types:1 msgid "" "Set of file types for which this plugin should be run For example: " "``set(['azw', 'mobi', 'prc'])``" msgstr "En mängd med filtyper som insticksmodulen ska köras för. Till exempel: ``set(['azw', 'mobi', 'prc'])``" #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.is_image_collection:1 msgid "" "If True, this input plugin generates a collection of images, one per HTML " "file. This can be set dynamically, in the convert method if the input files " "can be both image collections and non-image collections. If you set this to " "True, you must implement the get_images() method that returns a list of " "images." msgstr "Om True skapar denna inmatningsinsticksmodul en bildsamling med en bild per HTML-fil. Värdet kan anges dynamiskt i metoden convert om indatafilerna kan vara både bildsamlingar och andra typer av innehåll. Om du anger True måste du implementera metoden get_images(), som returnerar en lista med bilder." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.core_usage:1 msgid "" "Number of CPU cores used by this plugin. A value of -1 means that it uses " "all available cores" msgstr "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" #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.for_viewer:1 msgid "" "If set to True, the input plugin will perform special processing to make its" " output suitable for viewing" msgstr "Om True utför inmatningsinsticksmodulen särskild bearbetning för att göra resultatet lämpligt för visning." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.output_encoding:1 msgid "" "The encoding that this input plugin creates files in. A value of None means " "that the encoding is undefined and must be detected individually" msgstr "Teckenkodningen som inmatningsinsticksmodulen skapar filer med. None innebär att kodningen är odefinierad och måste identifieras separat för varje fil." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.common_options:1 #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.common_options:1 msgid "" "Options shared by all Input format plugins. Do not override in sub-classes. " "Use :attr:`options` instead. Every option must be an instance of " ":class:`OptionRecommendation`." msgstr "Alternativ som delas av alla inmatningsformatsinsticksmoduler. Åsidosätt inte dessa i underklasser. Använd :attr:`options` i stället. Varje alternativ måste vara en instans av :class:`OptionRecommendation`." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.options:1 #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.options:1 msgid "" "Options to customize the behavior of this plugin. Every option must be an " "instance of :class:`OptionRecommendation`." msgstr "Alternativ för att anpassa beteendet för denna insticksmodul. Varje alternativ ska vara en instans av :class:`OptionRecommendation`." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.recommendations:1 #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.recommendations:1 msgid "" "A set of 3-tuples of the form (option_name, recommended_value, " "recommendation_level)" msgstr "En uppsättning av 3-tupler av formen (option_name, recommended_value, recommendation_level)" #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.get_images:1 msgid "" "Return a list of absolute paths to the images, if this input plugin " "represents an image collection. The list of images is in the same order as " "the spine and the TOC." msgstr "Returnera en lista med absoluta sökvägar till bilderna om inmatningsinsticksmodulen representerar en bildsamling. Bilderna anges i samma ordning som i läsordningen (spine) och innehållsförteckningen." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:1 msgid "" "This method must be implemented in sub-classes. It must return the path to " "the created OPF file or an :class:`OEBBook` instance. All output should be " "contained in the current folder. If this plugin creates files outside the " "current folder they must be deleted/marked for deletion before this method " "returns." msgstr "Denna metod måste implementeras i underklasser. Den måste returnera 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." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:8 msgid "A file like object that contains the input file." msgstr "Ett filliknande objekt som innehåller indatafilen." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:9 msgid "" "Options to customize the conversion process. Guaranteed to have attributes " "corresponding to all the options declared by this plugin. In addition, it " "will have a verbose attribute that takes integral values from zero upwards. " "Higher numbers mean be more verbose. Another useful attribute is " "``input_profile`` that is an instance of " ":class:`calibre.customize.profiles.InputProfile`." msgstr "Alternativ för att anpassa konverteringen. Objektet har garanterat attribut för alla alternativ som insticksmodulen deklarerar. Det har dessutom attributet verbose, som tar heltalsvärden från noll och uppåt. Högre tal ger mer utförlig utmatning. Ett annat användbart attribut är ``input_profile``, som är en instans av :class:`calibre.customize.profiles.InputProfile`." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:17 msgid "" "The extension (without the .) of the input file. It is guaranteed to be one " "of the `file_types` supported by this plugin." msgstr "Filtypsändelsen (utan .) i inmatningsfilen. Det är garanterat att vara en av de `file_types` stöds av denna insticksmodul." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:20 msgid "" "A :class:`calibre.utils.logging.Log` object. All output should use this " "object." msgstr "Ett :class:`calibre.utils.logging.Log` objekt. All utmatning bör använda detta objekt." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:22 msgid "" "A dictionary of various information that the input plugin can get easily " "that would speed up the subsequent stages of the conversion." msgstr "En ordbok med uppgifter som inmatningsinsticksmodulen enkelt kan hämta och som kan påskynda de senare konverteringsstegen." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.postprocess_book:1 msgid "" "Called to allow the input plugin to perform postprocessing after the book " "has been parsed." msgstr "Anropas för att låta inmatningsinsticksmodulen utföra efterbehandling när boken har analyserats." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.specialize:1 msgid "" "Called to allow the input plugin to specialize the parsed book for a " "particular output format. Called after postprocess_book and before any " "transforms are performed on the parsed book." msgstr "Anropas för att låta inmatningsinsticksmodulen anpassa den analyserade boken till ett visst utmatningsformat. Anropet sker efter postprocess_book och innan några omvandlingar utförs på den analyserade boken." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of #: calibre.customize.conversion.InputFormatPlugin.gui_configuration_widget:1 msgid "" "Called to create the widget used for configuring this plugin in the calibre " "GUI. The widget must be an instance of the PluginWidget class. See the " "builtin input plugins for examples." msgstr "Anropas 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." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin:1 msgid "" "OutputFormatPlugins are responsible for converting an OEB document " "(OPF+HTML) into an output e-book." msgstr "OutputFormatPlugins är ansvariga för att konvertera ett OEB-dokument (OPF+HTML) till e-bokutmatning." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin:4 msgid "" "The OEB document can be assumed to be encoded in UTF-8. The main action " "happens in :meth:`convert`." msgstr "OEB-dokumentet kan antas vara kodat i UTF-8. Huvudarbetet utförs i :meth:`convert`." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.file_type:1 msgid "" "The file type (extension without leading period) that this plugin outputs" msgstr "Filtypen (filändelsen utan inledande punkt) som insticksmodulen producerar" #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.description:1 msgid "" "str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str" msgstr "str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str" #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.description:4 msgid "" "Create a new string object from the given object. If encoding or errors is " "specified, then the object must expose a data buffer that will be decoded " "using the given encoding and error handler. Otherwise, returns the result of" " object.__str__() (if defined) or repr(object). encoding defaults to " "'utf-8'. errors defaults to 'strict'." msgstr "Skapa ett nytt strängobjekt från det angivna objektet. Om encoding eller errors anges måste objektet tillhandahålla en databuffert som avkodas med den angivna teckenkodningen och felhanteringen. Annars returneras resultatet av object.__str__(), om metoden finns, eller repr(object). Standardvärdet för encoding är 'utf-8' och för errors 'strict'." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.convert:1 msgid "" "Render the contents of `oeb_book` (which is an instance of " ":class:`calibre.ebooks.oeb.OEBBook`) to the file specified by output." msgstr "Skriv innehållet i `oeb_book` (en instans av :class:`calibre.ebooks.oeb.OEBBook`) till filen som anges av output." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.convert:4 msgid "" "Either a file like object or a string. If it is a string it is the path to a" " folder that may or may not exist. The output plugin should write its output" " into that folder. If it is a file like object, the output plugin should " "write its output into the file." msgstr "Antingen ett filliknande objekt eller en sträng. En sträng är sökvägen till en mapp som kan finnas eller saknas; utmatningsinsticksmodulen ska skriva resultatet dit. Om värdet är ett filliknande objekt ska resultatet skrivas till objektet." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.convert:8 msgid "" "The input plugin that was used at the beginning of the conversion pipeline." msgstr "Inmatningsinsticksmodulen som användes i början av konverteringsprocessen." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.convert:10 msgid "" "Conversion options. Guaranteed to have attributes corresponding to the " "OptionRecommendations of this plugin." msgstr "Konverteringsalternativ. Garanterat att ha attribut som motsvarar OptionRecommendations av denna insticksmodul." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.convert:12 msgid "The logger. Print debug/info messages etc. using this." msgstr "Loggern. Skriv ut felsöknings/infomeddelanden etc. med hjälp av denna." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.specialize_options:1 msgid "" "Can be used to change the values of conversion options, as used by the " "conversion pipeline." msgstr "Kan användas för att ändra värdena för konverteringsalternativ, som används av konverteringsprocessen." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of #: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:1 msgid "" "Can be used to make changes to the CSS during the CSS flattening process." msgstr "Kan användas för att göra ändringar i CSS under CSS-utplattningsprocessen." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of #: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:4 msgid "The item (HTML file) being processed" msgstr "Elementet (HTML-fil) som bearbetas" #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of #: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:5 msgid "" "A Stylizer object containing the flattened styles for item. You can get the " "style for any element by stylizer.style(element)." msgstr "Ett Stylizer-objekt som innehåller de utplattade stilarna för item. Du kan hämta stilen för ett valfritt element med stylizer.style(element)." #: ../../../__w/calibre/calibre/src/calibre/customize/conversion.pydocstring #: of #: calibre.customize.conversion.OutputFormatPlugin.gui_configuration_widget:1 msgid "" "Called to create the widget used for configuring this plugin in the calibre " "GUI. The widget must be an instance of the PluginWidget class. See the " "builtin output plugins for examples." msgstr "Anropas för att skapa gränssnittskomponenten som används för att konfigurera insticksmodulen i calibres användargränssnitt. Komponenten måste vara en instans av klassen PluginWidget. Exempel finns i de inbyggda utmatningsinsticksmodulerna." #: ../../../__w/calibre/calibre/manual/plugins.rst:91 msgid "Device drivers" msgstr "Enhetsdrivrutiner" #: ../../../__w/calibre/calibre/manual/plugins.rst:95 msgid "" "The base class for all device drivers is :class:`DevicePlugin`. However, if " "your device exposes itself as a USBMS drive to the operating system, you " "should use the USBMS class instead as it implements all the logic needed to " "support these kinds of devices." msgstr "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 i stället eftersom den genomför all logik som behövs för att stödja dessa typer av enheter." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin:1 msgid "" "Defines the interface that should be implemented by backends that " "communicate with an e-book reader." msgstr "Definierar gränssnitt som ska implementeras av bakomliggande system som kommunicerar med en e-bokläsenhet." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.FORMATS:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.FORMATS:1 msgid "Ordered list of supported formats" msgstr "Ordnad lista med format som stöds" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.VENDOR_ID:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.VENDOR_ID:1 msgid "" "VENDOR_ID can be either an integer, a list of integers or a dictionary If it" " is a dictionary, it must be a dictionary of dictionaries, of the form::" msgstr "VENDOR_ID kan vara ett heltal, en lista med heltal eller en ordbok. Om värdet är en ordbok måste det vara en ordbok med ordböcker i följande form::" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.PRODUCT_ID:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.PRODUCT_ID:1 msgid "An integer or a list of integers" msgstr "Ett heltal eller en lista med heltal" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.BCD:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.BCD:1 msgid "" "BCD can be either None to not distinguish between devices based on BCD, or " "it can be a list of the BCD numbers of all devices supported by this driver." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.THUMBNAIL_HEIGHT:1 msgid "Height for thumbnails on the device" msgstr "Höjd för omslagsminiatyrbilder på enheten" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.THUMBNAIL_COMPRESSION_QUALITY:1 msgid "" "Compression quality for thumbnails. Set this closer to 100 to have better " "quality thumbnails with fewer compression artifacts. Of course, the " "thumbnails get larger as well." msgstr "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å." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.WANTS_UPDATED_THUMBNAILS:1 msgid "" "Set this to True if the device supports updating cover thumbnails during " "sync_booklists. Setting it to true will ask device.py to refresh the cover " "thumbnails during book matching" msgstr "Ange True om enheten stöder uppdatering av omslagsminiatyrer under sync_booklists. När värdet är True uppmanas device.py att uppdatera omslagsminiatyrerna när böcker matchas." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.CAN_SET_METADATA:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.CAN_SET_METADATA:1 msgid "Whether the metadata on books can be set via the GUI." msgstr "Huruvida metadata om böckerna kan ställas in via GUI." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.CAN_DO_DEVICE_DB_PLUGBOARD:1 msgid "Whether the device can handle device_db metadata plugboards" msgstr "Huruvida enheten kan hantera device_db-metadatametadatakopplingar" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.path_sep:1 msgid "Path separator for paths to books on device" msgstr "Sökvägsavskiljare för sökvägar till böcker på enheten" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.icon:1 msgid "Icon for this device" msgstr "Ikon för denna enhet" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.UserAnnotation.type:1 msgid "Alias for field number 0" msgstr "Alias för fält nummer 0" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.UserAnnotation.value:1 msgid "Alias for field number 1" msgstr "Alias för fält nummer 1" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.OPEN_FEEDBACK_MESSAGE:1 msgid "" "GUI displays this as a message if not None in the status bar. Useful if " "opening can take a long time" msgstr "Det grafiska användargränssnittet visar detta som ett meddelande om inte None i statusfältet. Användbart om öppning kan ta lång tid" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.VIRTUAL_BOOK_EXTENSIONS:1 msgid "" "Set of extensions that are \"virtual books\" on the device and therefore " "cannot be viewed/saved/added to library. For example: " "``frozenset(['kobo'])``" msgstr "En uppsättning filändelser som representerar \"virtuella böcker\" på enheten och därför inte kan visas, sparas eller läggas till i biblioteket. Exempel: ``frozenset(['kobo'])``" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.VIRTUAL_BOOK_EXTENSION_MESSAGE:1 msgid "Message to display to user for virtual book extensions." msgstr "Meddelande som visas för användaren för filändelser som representerar virtuella böcker." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.NUKE_COMMENTS:1 msgid "" "Whether to nuke comments in the copy of the book sent to the device. If not " "None this should be short string that the comments will be replaced by." msgstr "Om kommentarer ska tas bort ur den kopia av boken som skickas till enheten. Om värdet inte är None ska det vara en kort sträng som ersätter kommentarerna." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.MANAGES_DEVICE_PRESENCE:1 msgid "" "If True indicates that this driver completely manages device detection, " "ejecting and so forth. If you set this to True, you *must* implement the " "detect_managed_devices and debug_managed_device_detection methods. A driver " "with this set to true is responsible for detection of devices, managing a " "blacklist of devices, a list of ejected devices and so forth. calibre will " "periodically call the detect_managed_devices() method and if it returns a " "detected device, calibre will call open(). open() will be called every time " "a device is returned even if previous calls to open() failed, therefore the " "driver must maintain its own blacklist of failed devices. Similarly, when " "ejecting, calibre will call eject() and then assuming the next call to " "detect_managed_devices() returns None, it will call post_yank_cleanup()." msgstr "Om True hanterar drivrutinen själv enhetsidentifiering, utmatning och liknande. Du *måste* då implementera metoderna detect_managed_devices och debug_managed_device_detection. Drivrutinen ansvarar för att upptäcka enheter och hantera en svartlista, en lista över utmatade enheter med mera. calibre anropar regelbundet detect_managed_devices(). Om metoden returnerar en upptäckt enhet anropar calibre open(). Detta sker varje gång en enhet returneras, även om tidigare anrop till open() har misslyckats. Därför måste drivrutinen hålla en egen svartlista över enheter som inte kunde öppnas. Vid utmatning anropar calibre eject(). Om nästa anrop till detect_managed_devices() sedan returnerar None anropas post_yank_cleanup()." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.SLOW_DRIVEINFO:1 msgid "" "If set the True, calibre will call the :meth:`get_driveinfo()` method after " "the books lists have been loaded to get the driveinfo." msgstr "Om True anropar calibre metoden :meth:`get_driveinfo()` efter att boklistorna har lästs in, för att hämta enhetsinformationen." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.ASK_TO_ALLOW_CONNECT:1 msgid "" "If set to True, calibre will ask the user if they want to manage the device " "with calibre, the first time it is detected. If you set this to True you " "must implement :meth:`get_device_uid()` and " ":meth:`ignore_connected_device()` and :meth:`get_user_blacklisted_devices` " "and :meth:`set_user_blacklisted_devices`" msgstr "Om värdet är True frågar calibre användaren första gången enheten upptäcks om enheten ska hanteras med calibre. Om du anger True måste du implementera :meth:`get_device_uid()`, :meth:`ignore_connected_device()`, :meth:`get_user_blacklisted_devices` och :meth:`set_user_blacklisted_devices`." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.user_feedback_after_callback:1 msgid "" "Set this to a dictionary of the form {'title':title, 'msg':msg, " "'det_msg':detailed_msg} to have calibre popup a message to the user after " "some callbacks are run (currently only upload_books). Be careful to not spam" " the user with too many messages. This variable is checked after *every* " "callback, so only set it when you really need to." msgstr "Ange detta som en ordbok av formen {'title':title, 'msg':msg, 'det_msg':detailed_msg} för att låta calibre visa ett meddelande för användaren efter att vissa återanrop har körts, för närvarande endast upload_books. Var försiktig så att användaren inte får alltför många meddelanden. Variabeln kontrolleras efter *varje* återanrop, så ange den bara när det verkligen behövs." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_open_popup_message:1 msgid "" "GUI displays this as a non-modal popup. Should be an instance of " "OpenPopupMessage" msgstr "Det grafiska användargränssnittet visar detta som en icke-modal popup. Bör vara en instans av OpenPopupMessage" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.model_metadata:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.model_metadata:1 msgid "Metadata about all the actual device models this driver supports" msgstr "Metadata om alla faktiska enhetsmodeller som denna drivrutin stöder" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_usb_connected:1 msgid "" "Return True, device_info if a device handled by this plugin is currently " "connected." msgstr "Returnera True, device_info om en enhet som hanteras av denna insticksmodul är ansluten." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_usb_connected:3 msgid "List of devices currently connected" msgstr "Lista med för närvarande anslutna enheter" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:1 #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.detect_managed_devices:1 msgid "Called only if MANAGES_DEVICE_PRESENCE is True." msgstr "Anropas bara om MANAGES_DEVICE_PRESENCE är True." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.detect_managed_devices:3 msgid "" "Scan for devices that this driver can handle. Should return a device object " "if a device is found. This object will be passed to the open() method as the" " connected_device. If no device is found, return None. The returned object " "can be anything, calibre does not use it, it is only passed to open()." msgstr "Skanna efter enheter som drivrutinen kan hantera. Om en enhet hittas ska ett enhetsobjekt returneras. Objektet skickas till metoden open() som connected_device. Returnera None om ingen enhet hittas. Det returnerade objektet kan vara vad som helst; calibre använder det inte utan skickar det endast vidare till open()." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.detect_managed_devices:9 msgid "" "This method is called periodically by the GUI, so make sure it is not too " "resource intensive. Use a cache to avoid repeatedly scanning the system." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.detect_managed_devices:13 msgid "Set of USB devices found on the system." msgstr "Uppsättning av USB-enheter hittade på systemet." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.detect_managed_devices:15 msgid "" "If True and the driver uses a cache to prevent repeated scanning, the cache " "must be flushed." msgstr "Om True och drivrutinen använder en cache för att förhindra upprepad skanning måste cachen tömmas." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:3 msgid "" "Should write information about the devices detected on the system to output," " which is a file like object." msgstr "Skriv information om de enheter som identifierats i systemet till ``output``, som är ett filliknande objekt." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:6 msgid "" "Should return True if a device was detected and successfully opened, " "otherwise False." msgstr "Ska returnera True om en enhet upptäcktes och öppnades, annars False." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.reset:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.reset:1 msgid "The key to unlock the device" msgstr "Nyckeln för att låsa upp enheten" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.reset:2 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.reset:2 msgid "If true the packet stream to/from the device is logged" msgstr "Om True paketströmmen till/från enheten loggas" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.reset:3 #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_progress_reporter:3 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.reset:3 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.set_progress_reporter:3 msgid "" "Function that is called with a % progress (number between 0 and 100) for " "various tasks. If it is called with -1 that means that the task does not " "have any progress information" msgstr "Funktion som anropas med framsteg i procent (tal mellan 0 och 100) för olika uppgifter. Om den anropas med -1 betyder det att uppgiften inte har någon förloppsinformation" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.reset:7 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.reset:7 msgid "Device information from the device scanner" msgstr "Enhetsinformation från enhetsskannaren" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.can_handle_windows:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.can_handle_windows:1 msgid "" "Optional method to perform further checks on a device to see if this driver " "is capable of handling it. If it is not it should return False. This method " "is only called after the vendor, product ids and the bcd have matched, so it" " can do some relatively time intensive checks. The default implementation " "returns True. This method is called only on Windows. See also " ":meth:`can_handle`." msgstr "Valfri metod för ytterligare kontroller av om drivrutinen kan hantera enheten. Om den inte kan det ska False returneras. Metoden anropas först efter att leverantörs-ID, produkt-ID och bcd har matchats, så den kan utföra relativt tidskrävande kontroller. Standardimplementeringen returnerar True. Metoden anropas endast i Windows. Se även :meth:`can_handle`." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.can_handle_windows:8 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.can_handle_windows:8 msgid "" "Note that for devices based on USBMS this method by default delegates to " ":meth:`can_handle`. So you only need to override :meth:`can_handle` in your" " subclass of USBMS." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.can_handle_windows:12 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.can_handle_windows:12 msgid "" "A usbdevice as returned by :func:`calibre.devices.winusb.scan_usb_devices`" msgstr "En USB-enhet som returneras av :func:`calibre.devices.winusb.scan_usb_devices`" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.can_handle:1 msgid "Unix version of :meth:`can_handle_windows`." msgstr "Unix-version av :meth:`can_handle_windows`." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.can_handle:3 msgid "Is a tuple of (vid, pid, bcd, manufacturer, product, serial number)" msgstr "Är en tupel av (VID, pid, BCD, tillverkare, produkt, serienummer)" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.open:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.open:1 msgid "" "Perform any device specific initialization. Called after the device is " "detected but before any other functions that communicate with the device. " "For example: For devices that present themselves as USB Mass storage " "devices, this method would be responsible for mounting the device or if the " "device has been automounted, for finding out where it has been mounted. The " "method :meth:`calibre.devices.usbms.device.Device.open` has an " "implementation of this function that should serve as a good example for USB " "Mass storage devices." msgstr "Utför den enhetsspecifika initiering som behövs. Metoden anropas efter att enheten har upptäckts men före andra funktioner som kommunicerar med enheten. För USB-masslagringsenheter ansvarar den till exempel för att montera enheten eller ta reda på var den har monterats automatiskt. Implementeringen i :meth:`calibre.devices.usbms.device.Device.open` är ett användbart exempel för USB-masslagringsenheter." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.open:11 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.open:11 msgid "" "This method can raise an OpenFeedback exception to display a message to the " "user." msgstr "Metoden kan generera ett OpenFeedback-undantag för att visa ett meddelande för användaren." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.open:14 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.open:14 msgid "" "The device that we are trying to open. It is a tuple of (vendor id, product " "id, bcd, manufacturer name, product name, device serial number). However, " "some devices have no serial number and on Windows only the first three " "fields are present, the rest are None." msgstr "Enheten som ska öppnas. Den anges som en tupel med (leverantörs-id, produkt-id, bcd, tillverkarnamn, produktnamn, enhetens serienummer). Vissa enheter saknar serienummer, och i Windows finns endast de tre första fälten; övriga är None." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.open:20 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.open:20 msgid "" "The UUID of the current calibre library. Can be None if there is no library " "(for example when used from the command line)." msgstr "UUID:et 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)." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.eject:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.eject:1 msgid "" "Un-mount / eject the device from the OS. This does not check if there are " "pending GUI jobs that need to communicate with the device." msgstr "Avmontera/mata ut enheten från OS. Detta innebär inte kontroll om det finns väntande jobb som behöver kommuniceras med enheten." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.eject:4 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.eject:4 msgid "" "NOTE: That this method may not be called on the same thread as the rest of " "the device methods." msgstr "OBS: Denna metod kan anropas från en annan tråd än de övriga enhetsmetoderna." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.post_yank_cleanup:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.post_yank_cleanup:1 msgid "Called if the user yanks the device without ejecting it first." msgstr "Anropas om användaren kopplar ur enheten utan att först mata ut den." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_progress_reporter:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.set_progress_reporter:1 msgid "Set a function to report progress information." msgstr "Ange en funktion för att rapportera förloppsinformation." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_device_information:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.get_device_information:1 msgid "Ask device for device information. See L{DeviceInfoQuery}." msgstr "Fråga enheten efter enhetsinformation . Se L{DeviceInfoQuery}." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_device_information:3 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.get_device_information:3 msgid "" "(device name, device version, software version on device, MIME type) The " "tuple can optionally have a fifth element, which is a drive information " "dictionary. See usbms.driver for an example." msgstr "(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." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_driveinfo:1 msgid "" "Return the driveinfo dictionary. Usually called from " "get_device_information(), but if loading the driveinfo is slow for this " "driver, then it should set SLOW_DRIVEINFO. In this case, this method will be" " called by calibre after the book lists have been loaded. Note that it is " "not called on the device thread, so the driver should cache the drive info " "in the books() method and this function should return the cached data." msgstr "Returnera driveinfo-ordboken. Funktionen anropas vanligtvis från get_device_information(). Om det går långsamt att läsa in enhetsinformationen för drivrutinen bör den ange SLOW_DRIVEINFO. Då anropar calibre metoden efter att boklistorna har lästs in. Observera att den inte anropas från enhetstråden. Drivrutinen bör därför cachelagra enhetsinformationen i metoden books(), och den här funktionen ska returnera de cachelagrade uppgifterna." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.card_prefix:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.card_prefix:1 msgid "" "Return a 2 element list of the prefix to paths on the cards. If no card is " "present None is set for the card's prefix. E.G. ('/place', '/place2') (None," " 'place2') ('place', None) (None, None)" msgstr "Returnera en lista med två element som innehåller prefixen för sökvägarna på korten. Om ett kort inte finns anges None som kortets prefix. Exempel: ('/place', '/place2') (None, 'place2') ('place', None) (None, None)" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.total_space:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.total_space:1 msgid "Get total space available on the mountpoints:" msgstr "Få total utrymme på monteringspunkter:" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.free_space:2 #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.total_space:2 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.free_space:2 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.total_space:2 msgid "Main memory" msgstr "Huvudminne" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.total_space:3 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.total_space:3 msgid "Memory Card A" msgstr "Minneskort A" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.total_space:4 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.total_space:4 msgid "Memory Card B" msgstr "Minneskort B" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.total_space:6 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.total_space:6 msgid "" "A 3 element list with total space in bytes of (1, 2, 3). If a particular " "device doesn't have any of these locations it should return 0." msgstr "En lista med tre element som anger det totala utrymmet i byte för (1, 2, 3). Om enheten saknar någon av dessa platser ska 0 returneras för den platsen." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.free_space:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.free_space:1 msgid "Get free space available on the mountpoints:" msgstr "Få ledigt utrymme på monteringspunkter:" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.free_space:3 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.free_space:3 msgid "Card A" msgstr "Kort A" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.free_space:4 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.free_space:4 msgid "Card B" msgstr "Kort B" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.free_space:6 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.free_space:6 msgid "" "A 3 element list with free space in bytes of (1, 2, 3). If a particular " "device doesn't have any of these locations it should return -1." msgstr "En lista med tre element som anger det lediga utrymmet i byte för (1, 2, 3). Om enheten saknar någon av dessa platser ska -1 returneras för den platsen." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.books:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.books:1 msgid "Return a list of e-books on the device." msgstr "Returnera en lista med e-böcker på enheten." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.books:3 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.books:3 msgid "" "If 'carda' or 'cardb' return a list of e-books on the specific storage card," " otherwise return list of e-books in main memory of device. If a card is " "specified and no books are on the card return empty list." msgstr "Om \"carda\" eller \"cardb\" returnerar en lista med e-böcker på det specifika minneskortet, annars returneras en lista med e-böcker i huvudminnet av enheten. Om ett kort är specificerad och inga böcker finns på kortet returneras en tomma listan." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.books:8 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.books:8 msgid "A BookList." msgstr "En BookList." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.upload_books:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_books:1 msgid "" "Upload a list of books to the device. If a file already exists on the " "device, it should be replaced. This method should raise a " ":class:`FreeSpaceError` if there is not enough free space on the device. The" " text of the FreeSpaceError must contain the word \"card\" if ``on_card`` is" " not None otherwise it must contain the word \"memory\"." msgstr "Överför en lista med böcker till enheten. Om en fil redan finns ska den ersättas. Metoden ska generera :class:`FreeSpaceError` om enheten inte har tillräckligt med ledigt utrymme. Feltexten för FreeSpaceError måste innehålla ordet \"card\" om ``on_card`` inte är None; annars måste den innehålla ordet \"memory\"." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.upload_books:7 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_books:7 msgid "A list of paths" msgstr "En lista med sökvägar" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.upload_books:8 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_books:8 msgid "" "A list of file names that the books should have once uploaded to the device." " len(names) == len(files)" msgstr "En lista med filnamn som böckerna skulle ha när väl överförda till enheten. len(names) == len(files)" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.upload_books:10 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_books:10 msgid "" "If not None, it is a list of :class:`Metadata` objects. The idea is to use " "the metadata to determine where on the device to put the book. len(metadata)" " == len(files). Apart from the regular cover (path to cover), there may also" " be a thumbnail attribute, which should be used in preference. The thumbnail" " attribute is of the form (width, height, cover_data as jpeg)." msgstr "Om värdet inte är None är det en lista med :class:`Metadata`-objekt. Metadata används för att avgöra var boken ska placeras på enheten. ``len(metadata) == len(files)``. Förutom det vanliga omslaget kan ett ``thumbnail``-attribut finnas och bör då användas i första hand. Attributet har formen ``(width, height, cover_data as jpeg)``." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.upload_books:17 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_books:17 msgid "" "A list of 3-element tuples. The list is meant to be passed to " ":meth:`add_books_to_metadata`." msgstr "En lista med 3-elements tupler. Listan är tänkt att skickas till :meth:`add_books_to_metadata`." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.add_books_to_metadata:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.add_books_to_metadata:1 msgid "" "Add locations to the booklists. This function must not communicate with the " "device." msgstr "Lägg till platser i boklistorna. Denna funktion får inte kommunicera med enheten." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.add_books_to_metadata:4 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.add_books_to_metadata:4 msgid "Result of a call to L{upload_books}" msgstr "Resultat av ett anrop till L{upload_books}" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.add_books_to_metadata:5 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.add_books_to_metadata:5 msgid "List of :class:`Metadata` objects, same as for :meth:`upload_books`." msgstr "Lista med :class:`Metadata`-objekt, samma som för :meth:`upload_books`." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.add_books_to_metadata:7 #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:5 #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.sync_booklists:3 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.add_books_to_metadata:7 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.remove_books_from_metadata:5 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.sync_booklists:3 msgid "" "A tuple containing the result of calls to (:meth:`books(oncard=None)`, " ":meth:`books(oncard='carda')`, :meth`books(oncard='cardb')`)." msgstr "En tupel som innehåller resultaten av anropen (:meth:`books(oncard=None)`, :meth:`books(oncard='carda')`, :meth:`books(oncard='cardb')`)." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.delete_books:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.delete_books:1 msgid "Delete books at paths on device." msgstr "Ta bort böcker i sökvägar på enhet." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.remove_books_from_metadata:1 msgid "" "Remove books from the metadata list. This function must not communicate with" " the device." msgstr "Ta bort böcker från metadatalistan. Funktionen får inte kommunicera med enheten." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:4 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.remove_books_from_metadata:4 msgid "paths to books on the device." msgstr "sökvägar till böcker på enheten." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.sync_booklists:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.sync_booklists:1 msgid "Update metadata on device." msgstr "Uppdatera metadata på enheten." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_file:1 msgid "Read the file at ``path`` on the device and write it to outfile." msgstr "Läs filen vid ``path`` på enheten och skriv den till outfile." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_file:3 msgid "file object like ``sys.stdout`` or the result of an :func:`open` call." msgstr "filobjekt som ``sys.stdout`` eller resultatet av ett :func:`open` anrop." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.config_widget:1 msgid "" "Should return a QWidget. The QWidget contains the settings for the device " "interface" msgstr "Bör returnera en QWidget-gränssnittskomponent. QWidget-gränssnittskomponent innehåller inställningarna för enhetens gränssnitt" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.save_settings:1 msgid "" "Should save settings to disk. Takes the widget created in " ":meth:`config_widget` and saves all settings to disk." msgstr "Ska spara inställningarna på disken. Tar gränssnittskomponenten skapad i :meth:`config_widget` och sparar alla inställningar på disken." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.settings:1 msgid "" "Should return an opts object. The opts object should have at least one " "attribute `format_map` which is an ordered list of formats for the device." msgstr "Ska returnera ett opts-objekt med åtminstone attributet `format_map`, som är en ordnad lista över format för enheten." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_plugboards:1 msgid "" "provide the driver the current set of plugboards and a function to select a " "specific plugboard. This method is called immediately before add_books and " "sync_booklists." msgstr "tillhandahåll drivrutinen den aktuella uppsättningen av metadatakopplingar och en funktion för att välja metadatakoppling. Denna metod anropas omedelbart före add_books och sync_booklists." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_plugboards:5 msgid "pb_func is a callable with the following signature::" msgstr "pb_func är anropbar med följande signatur::" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_plugboards:6 msgid "def pb_func(device_name, format, plugboards)" msgstr "def pb_func(device_name, format, plugboards)" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_plugboards:8 msgid "" "You give it the current device name (either the class name or " "DEVICE_PLUGBOARD_NAME), the format you are interested in (a 'real' format or" " 'device_db'), and the plugboards (you were given those by set_plugboards, " "the same place you got this method)." msgstr "Du ger den det aktuella enhetsnamnet (antingen klassnamnet eller DEVICE_PLUGBOARD_NAME), formatet du är intresserad av (ett \"riktigt\" format eller \"device_db\") och de metadatakopplingar (du fick dem av set_plugboards, på samma plats som du fick den här metoden)." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_plugboards:13 msgid "None or a single plugboard instance." msgstr "None eller en enskild metadatakopplingsinstans." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_driveinfo_name:1 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.set_driveinfo_name:1 msgid "" "Set the device name in the driveinfo file to 'name'. This setting will " "persist until the file is re-created or the name is changed again." msgstr "Ange enhetens namn i driveinfo-filen till 'name'. Inställningen kvarstår tills filen återskapas eller namnet ändras igen." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_driveinfo_name:4 #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.set_driveinfo_name:4 msgid "" "Non-disk devices should implement this method based on the location codes " "returned by the get_device_information() method." msgstr "Icke-diskenheter bör genomföra denna metod baserad på platskoder som returneras av get_device_information() metoden." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.prepare_addable_books:1 msgid "" "Given a list of paths, returns another list of paths. These paths point to " "addable versions of the books." msgstr "Tar en lista med sökvägar och returnerar en annan lista med sökvägar. Dessa pekar på versioner av böckerna som kan läggas till." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.prepare_addable_books:4 msgid "" "If there is an error preparing a book, then instead of a path, the position " "in the returned list for that book should be a three tuple: (original_path, " "the exception instance, traceback)" msgstr "Om ett fel uppstår när en bok förbereds ska motsvarande position i den returnerade listan, i stället för en sökväg, innehålla en tupel med tre värden: (original_path, undantagsinstansen, traceback)" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.startup:1 msgid "" "Called when calibre is starting the device. Do any initialization required. " "Note that multiple instances of the class can be instantiated, and thus " "__init__ can be called multiple times, but only one instance will have this " "method called. This method is called on the device thread, not the GUI " "thread." msgstr "Anropas när calibre startar enheten. Utför den initiering som behövs. Flera instanser av klassen kan skapas, så __init__ kan anropas flera gånger, men denna metod anropas endast för en instans. Anropet sker i enhetstråden, inte i användargränssnittets tråd." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.shutdown:1 msgid "" "Called when calibre is shutting down, either for good or in preparation to " "restart. Do any cleanup required. This method is called on the device " "thread, not the GUI thread." msgstr "Anropas när calibre stängs, antingen för gott eller under förberedelser för omstart. Gör den sanering som krävs. Denna metod anropas på enhetens processtråd, inte tråden för det grafiska gränssnittet." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_device_uid:1 msgid "" "Must return a unique id for the currently connected device (this is called " "immediately after a successful call to open()). You must implement this " "method if you set ASK_TO_ALLOW_CONNECT = True" msgstr "Måste returnera 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" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.ignore_connected_device:1 msgid "" "Should ignore the device identified by uid (the result of a call to " "get_device_uid()) in the future. You must implement this method if you set " "ASK_TO_ALLOW_CONNECT = True. Note that this function is called immediately " "after open(), so if open() caches some state, the driver should reset that " "state." msgstr "Metoden ska göra så att enheten som identifieras av uid (resultatet av ett anrop till get_device_uid()) ignoreras i fortsättningen. Du måste implementera metoden om du anger ASK_TO_ALLOW_CONNECT = True. Observera att funktionen anropas omedelbart efter open(). Om open() cachelagrar ett tillstånd bör drivrutinen därför återställa det." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_user_blacklisted_devices:1 msgid "" "Return map of device uid to friendly name for all devices that the user has " "asked to be ignored." msgstr "Returnera en mappning från enheternas uid till läsbara namn för alla enheter som användaren har valt att ignorera." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_user_blacklisted_devices:1 msgid "Set the list of device uids that should be ignored by this driver." msgstr "Ställ in listan med enheters uid:er som ska ignoreras av denna drivrutin." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.specialize_global_preferences:1 msgid "" "Implement this method if your device wants to override a particular " "preference. You must ensure that all call sites that want a preference that " "can be overridden use device_prefs['something'] instead of " "prefs['something']. Your method should call " "device_prefs.set_overrides(pref=val, pref=val, ...). Currently used for: " "metadata management (prefs['manage_device_metadata'])" msgstr "Implementera denna metod om enheten behöver åsidosätta en viss inställning. Alla anropsställen som hämtar en inställning som kan åsidosättas måste använda device_prefs['something'] i stället för prefs['something']. Metoden ska anropa device_prefs.set_overrides(pref=val, pref=val, ...). Används för närvarande för metadatahantering (prefs['manage_device_metadata'])." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_library_info:1 msgid "" "Implement this method if you want information about the current calibre " "library. This method is called at startup and when the calibre library " "changes while connected." msgstr "Implementera den här metoden om du vill ha information om det aktuella calibre-biblioteket. Denna metod anropas vid start och när calibre-biblioteket ändras medan det är anslutet." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_dynamically_controllable:1 msgid "" "Called by the device manager when starting plugins. If this method returns a" " string, then a) it supports the device manager's dynamic control interface," " and b) that name is to be used when talking to the plugin." msgstr "Anropas av enhetshanteraren när insticksmoduler startas. Om metoden returnerar en sträng innebär det dels att insticksmodulen stöder enhetshanterarens dynamiska styrgränssnitt, dels att strängen ska användas som namn vid kommunikation med insticksmodulen." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_option:5 #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_dynamically_controllable:5 #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_running:3 #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_option:4 #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.start_plugin:5 #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.stop_plugin:6 msgid "" "This method can be called on the GUI thread. A driver that implements this " "method must be thread safe." msgstr "Metoden kan anropas i användargränssnittets tråd. En drivrutin som implementerar den måste vara trådsäker." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.start_plugin:1 msgid "" "This method is called to start the plugin. The plugin should begin to accept" " device connections however it does that. If the plugin is already accepting" " connections, then do nothing." msgstr "Anropas för att starta insticksmodulen. Den ska börja ta emot enhetsanslutningar på det sätt som den använder. Om den redan tar emot anslutningar ska inget göras." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.stop_plugin:1 msgid "" "This method is called to stop the plugin. The plugin should no longer accept" " connections, and should cleanup behind itself. It is likely that this " "method should call shutdown. If the plugin is already not accepting " "connections, then do nothing." msgstr "Anropas för att stoppa insticksmodulen. Den ska sluta ta emot anslutningar och frigöra sina resurser. Metoden bör sannolikt anropa shutdown. Om insticksmodulen redan har slutat ta emot anslutningar ska inget göras." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_option:1 msgid "" "Return the value of the option indicated by opt_string. This method can be " "called when the plugin is not started. Return None if the option does not " "exist." msgstr "Returnera värdet av optionen indikerad av opt_string. Den här metoden kan anropas när insticksmodulen inte startats. Returnera None om alternativet inte finns." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_option:1 msgid "" "Set the value of the option indicated by opt_string. This method can be " "called when the plugin is not started." msgstr "Ange värdet av alternativ som indikeras av opt_string. Den här metoden kan anropas när insticksmodulen inte startats." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_running:1 msgid "Return True if the plugin is started, otherwise false" msgstr "Returnera True om insticksmodulen har startats, annars False." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.synchronize_with_db:1 msgid "" "Called during book matching when a book on the device is matched with a book" " in calibre's db. The method is responsible for synchronizing data from the " "device to calibre's db (if needed)." msgstr "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)." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.synchronize_with_db:5 msgid "" "The method must return a two-value tuple. The first value is a set of " "calibre book ids changed if calibre's database was changed or None if the " "database was not changed. If the first value is an empty set then the " "metadata for the book on the device is updated with calibre's metadata and " "given back to the device, but no GUI refresh of that book is done. This is " "useful when the calibre data is correct but must be sent to the device." msgstr "Metoden ska returnera en tupel med två värden. Det första värdet är en mängd med ID:n för de calibre-böcker som ändrades om calibres databas ändrades, eller None om databasen inte ändrades. Om det första värdet är en tom mängd uppdateras metadata för boken på enheten med calibres metadata och skickas tillbaka till enheten, men boken uppdateras inte i det grafiska gränssnittet. Detta är användbart när uppgifterna i calibre är korrekta men behöver skickas till enheten." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.synchronize_with_db:13 msgid "" "The second value is itself a 2-value tuple. The first value in the tuple " "specifies whether a book format should be sent to the device. The intent is " "to permit verifying that the book on the device is the same as the book in " "calibre. This value must be None if no book is to be sent, otherwise return " "the base file name on the device (a string like foobar.epub). Be sure to " "include the extension in the name. The device subsystem will construct a " "send_books job for all books with not- None returned values. Note: other " "than to later retrieve the extension, the name is ignored in cases where the" " device uses a template to generate the file name, which most do. The second" " value in the returned tuple indicated whether the format is future-dated. " "Return True if it is, otherwise return False. calibre will display a dialog " "to the user listing all future dated books." msgstr "Det andra värdet är i sig en tupel med två värden. Det första anger om ett bokformat ska skickas till enheten. Syftet är att kontrollera att boken på enheten är samma bok som i calibre. Värdet ska vara None om ingen bok ska skickas; annars ska basfilnamnet på enheten returneras, exempelvis foobar.epub. Ta med filnamnstillägget. Enhetsundersystemet skapar ett send_books-jobb för alla böcker vars returnerade värde inte är None. Namnet ignoreras när enheten använder en mall för att skapa filnamnet, förutom när filnamnstillägget senare behöver hämtas. Det andra värdet i den returnerade tupeln anger om formatet har ett framtida datum. Returnera True om det har det, annars False. calibre visar en dialogruta med alla framtidsdaterade böcker." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.synchronize_with_db:27 msgid "" "Extremely important: this method is called on the GUI thread. It must be " "threadsafe with respect to the device manager's thread." msgstr "Mycket viktigt: metoden anropas i användargränssnittets tråd. Den måste vara trådsäker i förhållande till enhetshanterarens tråd." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.synchronize_with_db:30 msgid "" "book_id: the calibre id for the book in the database. book_metadata: the " "Metadata object for the book coming from the device. first_call: True if " "this is the first call during a sync, False otherwise" msgstr "book_id: bokens calibre-ID i databasen. book_metadata: Metadata-objektet för boken från enheten. first_call: True om detta är det första anropet under en synkronisering, annars False." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:1 msgid "A list of books. Each Book object must have the fields" msgstr "En lista med böcker. Varje Book-objekt måste ha fälten" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:3 msgid "title" msgstr "title" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:4 msgid "authors" msgstr "authors" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:5 msgid "size (file size of the book)" msgstr "size (bokens filstorlek)" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:6 msgid "datetime (a UTC time tuple)" msgstr "datetime (en tupel med UTC-tid)" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:7 msgid "path (path on the device to the book)" msgstr "path (sökvägen till boken på enheten)" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:8 msgid "" "thumbnail (can be None) thumbnail is either a str/bytes object with the " "image data or it should have an attribute image_path that stores an absolute" " (platform native) path to the image" msgstr "thumbnail (kan vara None). thumbnail är antingen ett str-/bytes-objekt med bilddata eller ett objekt med attributet image_path, som innehåller en absolut sökväg till bilden i plattformens eget format." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:11 msgid "tags (a list of strings, can be empty)." msgstr "tags (en lista med strängar, kan vara tom)." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.supports_collections:1 msgid "Return True if the device supports collections for this book list." msgstr "Returnera True om enheten stöder kollektioner för denna boklista." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.add_book:1 msgid "" "Add the book to the booklist. Intent is to maintain any device-internal " "metadata. Return True if booklists must be sync'ed" msgstr "Lägg till boken i boklistan. Syftet är att hålla enhetens interna metadata uppdaterade. Returnera True om boklistorna måste synkroniseras." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.remove_book:1 msgid "" "Remove a book from the booklist. Correct any device metadata at the same " "time" msgstr "Ta bort en bok från boklistan. Korrigera samtidigt enhetens metadata." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.get_collections:1 msgid "" "Return a dictionary of collections created from collection_attributes. Each " "entry in the dictionary is of the form collection name:[list of books]" msgstr "Returnera en ordbok med samlingar som skapats från collection_attributes. Varje post i ordboken är på formen kollektionsnamn:[lista med böcker]" #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.get_collections:5 msgid "" "The list of books is sorted by book title, except for collections created " "from series, in which case series_index is used." msgstr "Boklistan sorteras efter boktitel, utom för samlingar som har skapats från serier. För dem används series_index." #: ../../../__w/calibre/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.get_collections:8 msgid "A list of attributes of the Book object" msgstr "En lista med attribut för Book-objektet" #: ../../../__w/calibre/calibre/manual/plugins.rst:110 msgid "USB Mass Storage based devices" msgstr "USB-masslagringsbaserade enheter" #: ../../../__w/calibre/calibre/manual/plugins.rst:112 msgid "" "The base class for such devices is " ":class:`calibre.devices.usbms.driver.USBMS`. This class in turn inherits " "some of its functionality from its bases, documented below. A typical basic " "USBMS based driver looks like this:" msgstr "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:" #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device:1 msgid "" "This class provides logic common to all drivers for devices that export " "themselves as USB Mass Storage devices. Provides implementations for " "mounting/ejecting of USBMS devices on all platforms." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.WINDOWS_MAIN_MEM:1 msgid "" "String identifying the main memory of the device in the Windows PnP id " "strings This can be None, string, list of strings or compiled regex" msgstr "Sträng som identifierar enhetens huvudminne i Windows PnP-id-strängarna Detta kan vara None, en sträng, en lista med strängar eller ett kompilerat reguljärt uttryck." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.WINDOWS_CARD_A_MEM:1 msgid "" "String identifying the first card of the device in the Windows PnP id " "strings This can be None, string, list of strings or compiled regex" msgstr "Sträng som identifierar enhetens första kort i Windows PnP-id-strängarna Detta kan vara None, en sträng, en lista med strängar eller ett kompilerat reguljärt uttryck." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.WINDOWS_CARD_B_MEM:1 msgid "" "String identifying the second card of the device in the Windows PnP id " "strings This can be None, string, list of strings or compiled regex" msgstr "Sträng som identifierar enhetens andra kort i Windows PnP-id-strängarna Detta kan vara None, en sträng, en lista med strängar eller ett kompilerat reguljärt uttryck." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.OSX_MAIN_MEM_VOL_PAT:1 msgid "" "Used by the new driver detection to disambiguate main memory from storage " "cards. Should be a regular expression that matches the main memory mount " "point assigned by macOS" msgstr "Används av den nya drivrutinsidentifieringen för att skilja huvudminnet från minneskorten. Ska vara ett reguljärt uttryck som matchar huvudminnets monteringspunkt i macOS." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.MAX_PATH_LEN:1 msgid "The maximum length of paths created on the device" msgstr "Största längd av sökvägar som skapas på enheten" #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.NEWS_IN_FOLDER:1 msgid "Put news in its own folder" msgstr "Lägg nyheter i sin egen mapp" #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.windows_sort_drives:1 msgid "" "Called to disambiguate main memory and storage card for devices that do not " "distinguish between them on the basis of `WINDOWS_CARD_NAME`. For example: " "The EB600" msgstr "Anropas för att skilja huvudminnet från minneskortet på enheter där detta inte kan göras med `WINDOWS_CARD_NAME`, till exempel EB600." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.sanitize_callback:1 msgid "" "Callback to allow individual device drivers to override the path " "sanitization used by :meth:`create_upload_path`." msgstr "Tillbakaanrop för att låta enskilda drivrutiner åsidosätta sanering av sökvägar som används av :meth:`create_upload_path`." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.filename_callback:1 msgid "" "Callback to allow drivers to change the default file name set by " ":meth:`create_upload_path`." msgstr "Tillbakaanrop för att låta enskilda drivrutiner ändra standardfilnamnet fastställt av :meth:`create_upload_path`." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.sanitize_path_components:1 msgid "" "Perform any device specific sanitization on the path components for files to" " be uploaded to the device" msgstr "Utför valfri enhetsspecifik sanering på sökvägskomponenter för filer som överförs till enheten" #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.get_annotations:1 msgid "Resolve path_map to annotation_map of files found on the device" msgstr "Lös upp path_map till annotation_map för filer som hittats på enheten" #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.add_annotation_to_library:1 msgid "Add an annotation to the calibre library" msgstr "Lägg till en notering i calibre-biblioteket" #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS:1 msgid "" "The base class for all USBMS devices. Implements the logic for " "sending/getting/updating metadata/caching metadata/etc." msgstr "Basklassen för alla USBMS-enheter. Implementerar logiken för att skicka, hämta, uppdatera och cachelagra metadata med mera." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_cover:1 msgid "Upload book cover to the device. Default implementation does nothing." msgstr "Överför bokens omslag till enheten. Standardimplementeringen gör ingenting." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_cover:3 msgid "The full path to the folder where the associated book is located." msgstr "Den fullständiga sökvägen till mappen där den tillhörande boken är placerad." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_cover:4 msgid "The name of the book file without the extension." msgstr "Namnet på bokfilen utan ändelse." #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_cover:5 msgid "metadata belonging to the book. Use metadata.thumbnail for cover" msgstr "metadata som hör till boken. Använd metadata.thumbnail för omslag" #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_cover:7 msgid "The full path to the e-book file" msgstr "Fullständig sökväg till e-bokfilen" #: ../../../__w/calibre/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.normalize_path:1 msgid "Return path with platform native path separators" msgstr "Returnera sökvägen med plattformens egna sökvägsavskiljare" #: ../../../__w/calibre/calibre/manual/plugins.rst:157 msgid "User interface actions" msgstr "Användargränssnittsåtgärder" #: ../../../__w/calibre/calibre/manual/plugins.rst:159 msgid "" "If you are adding your own plugin in a ZIP file, you should subclass both " "InterfaceActionBase and InterfaceAction. The :meth:`load_actual_plugin` " "method of your InterfaceActionBase subclass must return an instantiated " "object of your InterfaceAction subclass." msgstr "Om du lägger till en egen insticksmodul som ZIP-fil ska du skapa underklasser av både InterfaceActionBase och InterfaceAction. Metoden :meth:`load_actual_plugin` i InterfaceActionBase-underklassen måste returnera en instans av InterfaceAction-underklassen." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:1 msgid "" "A plugin representing an \"action\" that can be taken in the graphical user " "interface. All the items in the toolbar and context menus are implemented by" " these plugins." msgstr "En insticksmodul som representerar en \"åtgärd\" som kan tas i grafiska användargränssnittet. Alla poster i verktygsfältet och snabbmenyer implementeras av dessa insticksmoduler." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:5 msgid "" "Note that this class is the base class for these plugins, however, to " "integrate the plugin with calibre's plugin system, you have to make a " "wrapper class that references the actual plugin. See the " ":mod:`calibre.customize.builtins` module for examples." msgstr "Denna klass är basklassen för insticksmodulerna. För att integrera en insticksmodul med calibres insticksmodulssystem behöver du även skapa en omslutande klass som refererar till själva insticksmodulen. Exempel finns i modulen :mod:`calibre.customize.builtins`." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:10 msgid "" "If two :class:`InterfaceAction` objects have the same name, the one with " "higher priority takes precedence." msgstr "Om två :class:`InterfaceAction` objekt har samma namn, tar den med högre prioritet företräde." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:13 msgid "" "Sub-classes should implement the :meth:`genesis`, :meth:`library_changed`, " ":meth:`location_selected`, :meth:`shutting_down`, " ":meth:`initialization_complete` and :meth:`tag_browser_context_action` " "methods." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:17 msgid "" "Once initialized, this plugin has access to the main calibre GUI via the " ":attr:`gui` member. You can access other plugins by name, for example::" msgstr "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::" #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:22 msgid "" "To access the actual plugin, use the :attr:`interface_action_base_plugin` " "attribute, this attribute only becomes available after the plugin has been " "initialized. Useful if you want to use methods from the plugin class like " "do_user_config()." msgstr "Använd attributet :attr:`interface_action_base_plugin` för att komma åt själva insticksmodulen. Attributet blir tillgängligt först efter att insticksmodulen har initierats. Det är användbart om du vill anropa metoder i insticksmodulsklassen, till exempel do_user_config()." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:27 msgid "" "The QAction specified by :attr:`action_spec` is automatically create and " "made available as ``self.qaction``." msgstr "Den QAction som anges av :attr:`action_spec` skapas automatiskt och blir tillgänglig som ``self.qaction``." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.name:1 msgid "" "The plugin name. If two plugins with the same name are present, the one with" " higher priority takes precedence." msgstr "Insticksmodulens namn. Om två insticksmoduler har samma namn får den med högre prioritet företräde." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.priority:1 msgid "" "The plugin priority. If two plugins with the same name are present, the one " "with higher priority takes precedence." msgstr "Insticksmodulens prioritet. Om två insticksmoduler har samma namn får den med högre prioritet företräde." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.popup_type:1 msgid "The menu popup type for when this plugin is added to a toolbar" msgstr "Menypopuptypen för när denna insticksmodul läggs till i ett verktygsfält" #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.auto_repeat:1 msgid "" "Whether this action should be auto repeated when its shortcut key is held " "down." msgstr "Huruvida denna åtgärd ska upprepas automatiskt när dess kortkommandotangent hålls nedtryckt." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.action_spec:1 msgid "" "Of the form: (text, icon_path, tooltip, keyboard shortcut). icon, tooltip " "and keyboard shortcut can be None. keyboard shortcut must be either a " "string, None or tuple of shortcuts. If None, a keyboard shortcut " "corresponding to the action is not registered. If you pass an empty tuple, " "then the shortcut is registered with no default key binding." msgstr "På formen (text, icon_path, tooltip, kortkommando). Ikonen, verktygstipset och kortkommandot kan vara None. Kortkommandot måste vara en sträng, None eller en tupel med kortkommandon. Om värdet är None registreras inget kortkommando för åtgärden. Med en tom tupel registreras kortkommandot utan förvald tangentkombination." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.action_shortcut_name:1 msgid "" "If not None, used for the name displayed to the user when customizing the " "keyboard shortcuts for the above action spec instead of action_spec[0]" msgstr "Om inte None, används för namnet som visas för användaren när man anpassar kortkommandon för ovanstående åtgärdsspecifikation i stället för action_spec[0]" #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.action_add_menu:1 msgid "If True, a menu is automatically created and added to self.qaction" msgstr "Om True, skapas en meny automatiskt och läggs till i self.qaction" #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.action_menu_clone_qaction:1 msgid "" "If True, a clone of self.qaction is added to the menu of self.qaction If you" " want the text of this action to be different from that of self.qaction, set" " this variable to the new text" msgstr "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" #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.dont_add_to:1 msgid "" "Set of locations to which this action must not be added. See " ":attr:`all_locations` for a list of possible locations" msgstr "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" #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.dont_remove_from:1 msgid "" "Set of locations from which this action must not be removed. See " ":attr:`all_locations` for a list of possible locations" msgstr "En mängd med platser som åtgärden inte får tas bort från. Möjliga platser anges i :attr:`all_locations`." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.action_type:1 msgid "" "Type of action 'current' means acts on the current view 'global' means an " "action that does not act on the current view, but rather on calibre as a " "whole" msgstr "Åtgärdstyp: 'current' innebär att åtgärden gäller den aktuella vyn. 'global' innebär att den gäller calibre som helhet." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.accepts_drops:1 msgid "" "If True, then this InterfaceAction will have the opportunity to interact " "with drag and drop events. See the methods, :meth:`accept_enter_event`, " ":meth`:accept_drag_move_event`, :meth:`drop_event` for details." msgstr "Om True kan denna InterfaceAction hantera dra och släpp-händelser. Se metoderna :meth:`accept_enter_event`, :meth:`accept_drag_move_event` och :meth:`drop_event` för mer information." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.accept_drag_move_event:1 #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.accept_enter_event:1 msgid "" "This method should return True iff this interface action is capable of " "handling the drag event. Do not call accept/ignore on the event, that will " "be taken care of by the calibre UI." msgstr "Metoden ska returnera True om och endast om denna gränssnittsåtgärd kan hantera draghändelsen. Anropa inte accept eller ignore på händelsen; calibres användargränssnitt hanterar detta." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.drop_event:1 msgid "" "This method should perform some useful action and return True iff this " "interface action is capable of handling the drop event. Do not call " "accept/ignore on the event, that will be taken care of by the calibre UI. " "You should not perform blocking/long operations in this function. Instead " "emit a signal or use QTimer.singleShot and return quickly. See the builtin " "actions for examples." msgstr "Metoden ska utföra en användbar åtgärd och returnera True om och endast om denna gränssnittsåtgärd kan hantera släpphändelsen. Anropa inte accept eller ignore på händelsen; calibres användargränssnitt hanterar detta. Utför inga blockerande eller långvariga åtgärder i funktionen. Sänd i stället en signal eller använd QTimer.singleShot och returnera snabbt. Exempel finns i de inbyggda åtgärderna." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:1 msgid "" "Convenience method to easily add actions to a QMenu. Returns the created " "QAction. This action has one extra attribute calibre_shortcut_unique_name " "which if not None refers to the unique name under which this action is " "registered with the keyboard manager." msgstr "Hjälpmetod för att lägga till åtgärder i en QMenu. Returnerar den skapade QAction. Åtgärden får det extra attributet calibre_shortcut_unique_name. Om attributet inte är None anger det det unika namn som åtgärden är registrerad under i kortkommandohanteraren." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:6 msgid "The QMenu the newly created action will be added to" msgstr "Den QMenu som den nyligen skapade åtgärden läggs till i" #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:7 msgid "" "A unique name for this action, this must be globally unique, so make it as " "descriptive as possible. If in doubt, add an UUID to it." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:10 msgid "The text of the action." msgstr "Texten för denna åtgärd." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:11 msgid "" "Either a QIcon or a file name. The file name is passed to the QIcon.ic() " "builtin, so you do not need to pass the full path to the images folder." msgstr "Antingen en QIcon eller ett filnamn. Filnamnet skickas till QIcon.ic() inbyggda, så du behöver inte ange den fullständiga sökvägen till bildmappen." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:14 msgid "" "A string, a list of strings, None or False. If False, no keyboard shortcut " "is registered for this action. If None, a keyboard shortcut with no default " "keybinding is registered. String and list of strings register a shortcut " "with default keybinding as specified." msgstr "En sträng, en lista med strängar, None eller False. False innebär att inget kortkommando registreras för åtgärden. None innebär att ett kortkommando registreras utan förvald tangentkombination. En sträng eller lista med strängar registrerar ett kortkommando med den angivna förvalda tangentkombinationen." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:18 msgid "A description for this action. Used to set tooltips." msgstr "En beskrivning för denna åtgärd. Används för att ställa in verktygstips." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:20 msgid "" "A callable which is connected to the triggered signal of the created action." msgstr "Ett anropbart objekt som kopplas till den skapade åtgärdens triggered-signal." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:22 msgid "" "The text displayed to the user when customizing the keyboard shortcuts for " "this action. By default it is set to the value of ``text``." msgstr "Texten som visas för användaren när man anpassar kortkommandon för denna åtgärd. Som standard är den inställd på värdet ``text``." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:25 msgid "" "Shortcuts for actions that don't always appear, or are library dependent, " "may disappear when other keyboard shortcuts are edited unless " "```persist_shortcut``` is set True." msgstr "Kortkommandon för åtgärder som inte alltid visas, eller som är biblioteksberoende, kan försvinna när andra kortkommandon redigeras om inte ``persist_shortcut`` är True." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.load_resources:12 msgid "" "A dictionary of the form ``{name : file_contents}``. Any names that were not" " found in the ZIP file will not be present in the dictionary." msgstr "En ordbok med formen ``{name : file_contents}``. Namn som inte finns i ZIP-filen kommer inte att vara närvarande i ordboken." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.genesis:1 msgid "" "Setup this plugin. Only called once during initialization. self.gui is " "available. The action specified by :attr:`action_spec` is available as " "``self.qaction``." msgstr "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``." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.location_selected:1 msgid "" "Called whenever the book list being displayed in calibre changes. Currently " "values for loc are: ``library, main, card and cardb``." msgstr "Anropas när boklistan som visas i calibre ändras. För närvarande är värden för loc: ``library, main, card and cardb``." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.location_selected:4 msgid "" "This method should enable/disable this action and its sub actions as " "appropriate for the location." msgstr "Denna metod bör aktivera/inaktivera denna åtgärd och dess underåtgärder som är lämpliga för platsen." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.library_about_to_change:1 #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.library_changed:1 msgid "Called whenever the current library is changed." msgstr "Anropas var gång det aktuella biblioteket är ändrat." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.library_about_to_change:3 msgid "The LibraryDatabase corresponding to the previous library." msgstr "LibraryDatabasen som motsvarar det förra biblioteket." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.library_about_to_change:4 msgid "The LibraryDatabase corresponding to the new library." msgstr "LibraryDatabasen som motsvarar det nya biblioteket." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.library_changed:3 msgid "The LibraryDatabase corresponding to the current library." msgstr "LibraryDatabase motsvarar det aktuella biblioteket." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.gui_layout_complete:1 msgid "" "Called once per action when the layout of the main GUI is completed. If your" " action needs to make changes to the layout, they should be done here, " "rather than in :meth:`initialization_complete`." msgstr "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`." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.initialization_complete:1 msgid "" "Called once per action when the initialization of the main GUI is completed." msgstr "Anropas en gång per åtgärd när initieringen av det huvudsakliga användargränssnittet är klar." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.tag_browser_context_action:1 msgid "" "Called when displaying the context menu in the Tag browser. ``index`` is the" " QModelIndex that points to the Tag browser item that was right clicked. " "Test it for validity with index.valid() and get the underlying TagTreeItem " "object with index.data(Qt.ItemDataRole.UserRole). Any action objects yielded" " by this method will be added to the context menu." msgstr "Anropas när snabbmenyn visas i taggbläddraren. ``index`` är QModelIndex som hänvisar till posten i taggbläddraren 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." #: ../../../__w/calibre/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.shutting_down:1 msgid "" "Called once per plugin when the main GUI is in the process of shutting down." " Release any used resources, but try not to block the shutdown for long " "periods of time." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.InterfaceActionBase.load_actual_plugin:1 msgid "This method must return the actual interface action plugin object." msgstr "Metoden måste returnera själva insticksmodulsobjektet för gränssnittsåtgärden." #: ../../../__w/calibre/calibre/manual/plugins.rst:175 msgid "Preferences plugins" msgstr "Inställningsinsticksmoduler" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin:1 msgid "A plugin representing a widget displayed in the Preferences dialog." msgstr "En insticksmodul som representerar en gränssnittskomponent som visas i dialogrutan Inställningar." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin:3 msgid "" "This plugin has only one important method :meth:`create_widget`. The various" " fields of the plugin control how it is categorized in the UI." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.config_widget:1 msgid "" "Import path to module that contains a class named ConfigWidget which " "implements the ConfigWidgetInterface. Used by :meth:`create_widget`." msgstr "Importsökvägen till modulen som innehåller klassen ConfigWidget, vilken implementerar ConfigWidgetInterface. Används av :meth:`create_widget`." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.category_order:1 msgid "" "Where in the list of categories the :attr:`category` of this plugin should " "be." msgstr "Var i kategorilistan insticksmodulens :attr:`category` ska placeras." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.name_order:1 msgid "" "Where in the list of names in a category, the :attr:`gui_name` of this " "plugin should be" msgstr "Var i kategorins namnlista insticksmodulens :attr:`gui_name` ska placeras." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.category:1 msgid "The category this plugin should be in" msgstr "Kategorin som insticksmodulen ska tillhöra" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.gui_category:1 msgid "The category name displayed to the user for this plugin" msgstr "Kategorinamnet som visas till användaren för denna insticksmodul" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.gui_name:1 msgid "The name displayed to the user for this plugin" msgstr "Namnet som visas för användaren för denna insticksmodul" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.icon:1 msgid "The icon for this plugin, should be an absolute path" msgstr "Ikonen för denna insticksmodul bör vara en absolut sökväg" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.description:1 msgid "The description used for tooltips and the like" msgstr "Beskrivning som används för verktygstips och liknande" #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.create_widget:1 msgid "" "Create and return the actual Qt widget used for setting this group of " "preferences. The widget must implement the " ":class:`calibre.gui2.preferences.ConfigWidgetInterface`." msgstr "Skapa och returnera den Qt-gränssnittskomponent som används för denna grupp av inställningar. Komponenten måste implementera :class:`calibre.gui2.preferences.ConfigWidgetInterface`." #: ../../../__w/calibre/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.create_widget:5 msgid "" "The default implementation uses :attr:`config_widget` to instantiate the " "widget." msgstr "Standardimplementeringen använder :attr:`config_widget` för att skapa komponenten." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface:1 msgid "" "This class defines the interface that all widgets displayed in the " "Preferences dialog must implement. See :class:`ConfigWidgetBase` for a base " "class that implements this interface and defines various convenience methods" " as well." msgstr "Klassen definierar det gränssnitt som alla komponenter i dialogrutan Inställningar måste implementera. Basklassen :class:`ConfigWidgetBase` implementerar detta gränssnitt och erbjuder även flera hjälpmetoder." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.changed_signal:1 #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.changed_signal:1 msgid "" "This signal must be emitted whenever the user changes a value in this widget" msgstr "Denna signal ska sändas när användaren ändrar ett värde i den här gränssnittskomponenten" #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of #: calibre.gui2.preferences.ConfigWidgetBase.supports_restoring_to_defaults:1 #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of #: calibre.gui2.preferences.ConfigWidgetInterface.supports_restoring_to_defaults:1 msgid "Set to True iff the :meth:`restore_to_defaults` method is implemented." msgstr "Ändra till True om och endast om metoden :meth:`restore_to_defaults` är implementerad." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.restore_defaults_desc:1 msgid "The tooltip for the \"Restore defaults\" button" msgstr "Verktygstipset för knappen \"Återställ till standardvärden\"" #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.restart_critical:1 #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.restart_critical:1 msgid "" "If True the Preferences dialog will not allow the user to set any more " "preferences. Only has effect if :meth:`commit` returns True." msgstr "Om värdet är True hindrar dialogrutan Inställningar användaren från att ändra fler inställningar. Detta har endast effekt om :meth:`commit` returnerar True." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:1 msgid "" "Called once before the widget is displayed, should perform any necessary " "setup." msgstr "Anropas en gång innan gränssnittskomponenten visas, bör utföra alla nödvändiga inställningar." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:4 msgid "The main calibre graphical user interface" msgstr "calibres huvudanvändargränssnitt" #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.initialize:1 #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.initialize:1 msgid "" "Should set all config values to their initial values (the values stored in " "the config files). A \"return\" statement is optional. Return False if the " "dialog is not to be shown." msgstr "Återställ alla konfigurationsvärden till de ursprungliga värdena i konfigurationsfilerna. En ``return``-sats är valfri. Returnera False om dialogrutan inte ska visas." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.restore_defaults:1 #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.restore_defaults:1 msgid "Should set all config values to their defaults." msgstr "Bör ställa in alla konfigurationsvärden till sina standardvärden." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.commit:1 #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.commit:1 msgid "" "Save any changed settings. Return True if the changes require a restart, " "False otherwise. Raise an :class:`AbortCommit` exception to indicate that an" " error occurred. You are responsible for giving the user feedback about what" " the error is and how to correct it." msgstr "Spara ändrade inställningar. Returnera True om ändringarna kräver omstart, annars False. Generera undantaget :class:`AbortCommit` om ett fel uppstår. Du ansvarar för att förklara felet för användaren och hur det kan rättas." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.refresh_gui:1 msgid "" "Called once after this widget is committed. Responsible for causing the gui " "to reread any changed settings. Note that by default the GUI re-initializes " "various elements anyway, so most widgets won't need to use this method." msgstr "Anropas en gång efter att gränssnittskomponentens inställningar har sparats. Metoden ska få användargränssnittet att läsa in ändrade inställningar på nytt. Som standard initierar användargränssnittet ändå om flera av sina delar, så de flesta komponenter behöver inte använda denna metod." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.initial_tab_changed:1 msgid "" "Called if the initially displayed tab is changed before the widget is shown," " but after it is initialized." msgstr "Anropas om den initialt visade fliken ändras innan gränssnittskomponenten visas, men efter att den har initierats." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase:1 msgid "" "Base class that contains code to easily add standard config widgets like " "checkboxes, combo boxes, text fields and so on. See the :meth:`register` " "method." msgstr "Basklass med kod för att enkelt lägga till vanliga konfigurationskomponenter, till exempel kryssrutor, kombinationsrutor och textfält. Se metoden :meth:`register`." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase:5 msgid "" "This class automatically handles change notification, resetting to default, " "translation between gui objects and config objects, etc. for registered " "settings." msgstr "Den här klassen hanterar automatiskt ändringsmeddelande, återställning till standard, översättning mellan objekt i det grafiska gränssnittet och konfigurationsobjekt etc. för registrerade inställningar." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase:9 msgid "" "If your config widget inherits from this class but includes setting that are" " not registered, you should override the :class:`ConfigWidgetInterface` " "methods and call the base class methods inside the overrides." msgstr "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." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:1 msgid "Register a setting." msgstr "Registrera en inställning." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:3 msgid "The setting name" msgstr "Namnet på inställningen" #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:4 msgid "The config object that reads/writes the setting" msgstr "Konfigurationsobjektet som läser och skriver inställningen" #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:5 msgid "" "The name of the GUI object that presents an interface to change the setting." " By default it is assumed to be ``'opt_' + name``." msgstr "Namnet på det gränssnittsobjekt som används för att ändra inställningen. Standardvärdet antas vara ``'opt_' + name``." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:8 msgid "" "If this setting is a multiple choice (combobox) based setting, the list of " "choices. The list is a list of two element tuples of the form: ``[(gui name," " value), ...]``" msgstr "Om inställningen väljs i en kombinationsruta anges här listan över alternativ. Listan består av tupler med två element på formen ``[(gui name, value), ...]``." #: ../../../__w/calibre/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:11 msgid "" "The class responsible for managing this setting. The default class handles " "almost all cases, so this param is rarely used." msgstr "Klassen som hanterar inställningen. Standardklassen täcker nästan alla fall, så parametern används sällan."