Debian Codegraph @

translations/manual/sv/plugins.po

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