Debian Codegraph @

translations/manual/nl/develop.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 # Gideon van Melle <[email protected]>, 2025
7 # math1985 <[email protected]>, 2016
8 # M. de Boer <[email protected]>, 2018-2019,2023
9 # Meteor0id, 2019
10 # Rodolfo_Jadon, 2015
11 # peter <[email protected]>, 2021-2022
12 # Rodolfo_Jadon, 2015
13 # math1985 <[email protected]>, 2016
14 # Volluta <[email protected]>, 2016
15 # W.P.M.E. Hofland <[email protected]>, 2015
16 msgid ""
17 msgstr ""
18 "Project-Id-Version: calibre\n"
19 "Report-Msgid-Bugs-To: \n"
20 "POT-Creation-Date: 2026-02-17 16:44+0000\n"
21 "PO-Revision-Date: 2014-06-17 08:34+0000\n"
22 "Last-Translator: Gideon van Melle <[email protected]>, 2025\n"
23 "Language-Team: Dutch (http://app.transifex.com/calibre/calibre/language/nl/)\n"
24 "MIME-Version: 1.0\n"
25 "Content-Type: text/plain; charset=UTF-8\n"
26 "Content-Transfer-Encoding: 8bit\n"
27 "Language: nl\n"
28 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
29
30 #: ../../../__w/calibre/calibre/manual/develop.rst:4
31 msgid "Setting up a calibre development environment"
32 msgstr "Opzetten van Calibre in een development omgeving"
33
34 #: ../../../__w/calibre/calibre/manual/develop.rst:6
35 msgid ""
36 "calibre is completely open source, licensed under the `GNU GPL v3 "
37 "<https://www.gnu.org/licenses/gpl.html>`_. This means that you are free to "
38 "download and modify the program to your heart's content. In this section, "
39 "you will learn how to get a calibre development environment set up on the "
40 "operating system of your choice. calibre is written primarily in `Python "
41 "<https://www.python.org>`_ with some C/C++ code for speed and system "
42 "interfacing. Note that calibre requires at least Python 3.8."
43 msgstr "calibre is volledig open source, onder de `GNU GPL v3 licentie <https://www.gnu.org/licenses/gpl.html>` _. Dit betekent dat u vrij bent om het programma naar hartenlust te downloaden en aan te passen. In dit gedeelte leert u hoe u een calibre ontwikkelingsomgeving kunt opzetten voor het besturingssysteem van uw keuze. calibre wordt voornamelijk geschreven in `Python <https://www.python.org>` _ met wat C/C++ code voor snelheid en systeeminterface. Merk op dat calibre minstens Python 3.8 nodig heeft."
44
45 #: ../../../__w/calibre/calibre/manual/develop.rst:14
46 msgid "Contents"
47 msgstr "Inhoud"
48
49 #: ../../../__w/calibre/calibre/manual/develop.rst:17
50 msgid "Design philosophy"
51 msgstr "Ontwerp filosofie"
52
53 #: ../../../__w/calibre/calibre/manual/develop.rst:19
54 msgid ""
55 "calibre has its roots in the Unix world, which means that its design is "
56 "highly modular. The modules interact with each other via well defined "
57 "interfaces. This makes adding new features and fixing bugs in calibre very "
58 "easy, resulting in a frenetic pace of development. Because of its roots, "
59 "calibre has a comprehensive command line interface for all its functions, "
60 "documented in :doc:`generated/en/cli-index`."
61 msgstr "Calibre heeft zijn wortels in de Unix-wereld, wat betekent dat het design bijzonder modulair is. De modules werken samen met elkaar via precies gedefinieerde interfaces. Hierdoor wordt het toevoegen van nieuwe features en het oplossen van bugs in Calibre erg eenvoudig, wat resulteert in een snel ontwikkelingstempo. Vanwege deze wortels heeft Calibre een uitgebreide command line interface voor al zijn functies, welke gedocumenteerd zijn in :doc:`generated/nl/cli-index`."
62
63 #: ../../../__w/calibre/calibre/manual/develop.rst:24
64 msgid ""
65 "The modular design of calibre is expressed via ``Plugins``. There is a "
66 ":ref:`tutorial <customize>` on writing calibre plugins. For example, adding "
67 "support for a new device to calibre typically involves writing fewer than "
68 "100 lines of code in the form of a device driver plugin. You can browse the "
69 "`built-in drivers "
70 "<https://github.com/kovidgoyal/calibre/tree/master/src/calibre/devices>`_. "
71 "Similarly, adding support for new conversion formats involves writing "
72 "input/output format plugins. Another example of the modular design is the "
73 ":ref:`recipe system <news>` for fetching news. For more examples of plugins "
74 "designed to add features to calibre, see the `Index of plugins "
75 "<https://www.mobileread.com/forums/showthread.php?p=1362767#post1362767>`_."
76 msgstr ""
77
78 #: ../../../__w/calibre/calibre/manual/develop.rst:34
79 msgid "Code layout"
80 msgstr "Code opmaak"
81
82 #: ../../../__w/calibre/calibre/manual/develop.rst:36
83 msgid ""
84 "All the calibre Python code is in the ``calibre`` package. This package "
85 "contains the following main sub-packages"
86 msgstr "Alle de Calibre python code staat in het ``Calibre`` pakket. Dit pakket bevat de volgende hoofddeel pakketten"
87
88 #: ../../../__w/calibre/calibre/manual/develop.rst:38
89 msgid ""
90 "devices - All the device drivers. Just look through some of the built-in "
91 "drivers to get an idea for how they work."
92 msgstr "apparaten - Alle apparaatstuurprogramma's. Bekijk enkele van de ingebouwde stuurprogramma's om een ​​idee te krijgen hoe ze werken."
93
94 #: ../../../__w/calibre/calibre/manual/develop.rst:40
95 msgid ""
96 "For details, see: ``devices.interface`` which defines the interface "
97 "supported by device drivers and ``devices.usbms`` which defines a generic "
98 "driver that connects to a USBMS device. All USBMS based drivers in calibre "
99 "inherit from it."
100 msgstr "Voor details, bekijk: ``devices.interface`` wat de interface definieert ondersteund door toestel stuurprogramma's en ``devices.usbms`` wat een generiek stuurprogramma definieert die met een USBMS toestel verbindt. Alle USBMS gebaseerde stuurprogramma's erven ervan."
101
102 #: ../../../__w/calibre/calibre/manual/develop.rst:43
103 msgid ""
104 "e-books - All the e-book conversion/metadata code. A good starting point is"
105 " ``calibre.ebooks.conversion.cli`` which is the module powering the "
106 ":command:`ebook-convert` command. The conversion process is controlled via "
107 "``conversion.plumber``. The format independent code is all in ``ebooks.oeb``"
108 " and the format dependent code is in ``ebooks.format_name``."
109 msgstr "e-boeken - Alle e-boek conversie/metadata code. Een goed beginpunt is ``calibre.ebooks.conversion.cli``, de module die het :command:`ebook-convert` commando drijft. Het conversieproces wordt gecontroleerd via ``conversion.plumber``. De formaat onafhankelijke code zit allemaal in ``ebooks.oeb`` en de formaat afhankelijke code in ``ebooks.format_name``."
110
111 #: ../../../__w/calibre/calibre/manual/develop.rst:47
112 msgid ""
113 "Metadata reading, writing, and downloading is all in ``ebooks.metadata``"
114 msgstr "Metadata lezen, schrijven en downloaden staat allemaal in `` ebooks.metagegevans``"
115
116 #: ../../../__w/calibre/calibre/manual/develop.rst:48
117 msgid ""
118 "Conversion happens in a pipeline, for the structure of the pipeline, see "
119 ":ref:`conversion-introduction`. The pipeline consists of an input plugin, "
120 "various transforms and an output plugin. The code that constructs and drives"
121 " the pipeline is in :file:`plumber.py`. The pipeline works on a "
122 "representation of an e-book that is like an unzipped epub, with manifest, "
123 "spine, toc, guide, html content, etc. The class that manages this "
124 "representation is OEBBook in ``ebooks.oeb.base``. The various "
125 "transformations that are applied to the book during conversions live in "
126 ":file:`oeb/transforms/*.py`. And the input and output plugins live in "
127 ":file:`conversion/plugins/*.py`."
128 msgstr "Conversie gebeurt in een pijplijn, voor de structuur van de pijplijn, bekijk :ref:`conversion-introduction`. De pijplijn bestaat uit een invoerplug-in, verschillende transforms en een uitvoerplug-in. De code die de pijplijn opbouwt en aandrijft zit in :file:`plumber.py`. De pijplijn werkt op een voorstelling van een e-boek als een ontzipte EPUB, met manifest, spine, ToC, gids, HTML inhoud, enz. De class die deze voorstelling beheert is OEBBook in ``ebooks.oeb.base``. De verschillende transformaties toegepast op het boek tijdens conversie wonen in :file:`oeb/transforms/*.py`. En de in- en uitvoerplug-in wonen in :file:`oeb/transforms/*.py`."
129
130 #: ../../../__w/calibre/calibre/manual/develop.rst:58
131 msgid ""
132 "E-book editing happens using a different container object. It is documented "
133 "in :ref:`polish_api`."
134 msgstr "E-boek bewerken gebeurt met een ander container object, gedocumenteerd in :ref:`polish_api`."
135
136 #: ../../../__w/calibre/calibre/manual/develop.rst:61
137 msgid ""
138 "db - The database back-end. See :ref:`db_api` for the interface to the "
139 "calibre library."
140 msgstr "db - De database achterkant. Bekijk :ref:`db_api` voor de interface naar de calibre bibliotheek."
141
142 #: ../../../__w/calibre/calibre/manual/develop.rst:63
143 msgid "Content server: ``srv`` is the calibre Content server."
144 msgstr "Content server: ``srv`` is de calibre Content server."
145
146 #: ../../../__w/calibre/calibre/manual/develop.rst:65
147 msgid ""
148 "gui2 - The Graphical User Interface. GUI initialization happens in "
149 "``gui2.main`` and ``gui2.ui``. The e-book-viewer is in ``gui2.viewer``. The "
150 "e-book editor is in ``gui2.tweak_book``."
151 msgstr "gui2 - De Grafische Gebruiker Interface. GUI initialisatie gebeurt in ``gui2.main`` en ``gui2.ui``. De e-boek-viewer zit in ``gui2.viewer``. De e-book editor in ``gui2.tweak_book``."
152
153 #: ../../../__w/calibre/calibre/manual/develop.rst:67
154 msgid ""
155 "If you want to locate the entry points for all the various calibre "
156 "executables, look at the ``entry_points`` structure in `linux.py "
157 "<https://github.com/kovidgoyal/calibre/blob/master/src/calibre/linux.py>`_."
158 msgstr "Als u de ingangspunten voor alle calibre executables wilt lokaliseren, bekijk de ``entry_points`` structuur in `linux.py <https://github.com/kovidgoyal/calibre/blob/master/src/calibre/linux.py>`_."
159
160 #: ../../../__w/calibre/calibre/manual/develop.rst:71
161 msgid ""
162 "If you need help understanding the code, post in the `development forum "
163 "<https://www.mobileread.com/forums/forumdisplay.php?f=240>`_ and you will "
164 "most likely get help from one of calibre's many developers."
165 msgstr "Als u hulp nodig hebt om de code te begrijpen, post iets in het `ontwikkelforum <https://www.mobileread.com/forums/forumdisplay.php?f=240>`_ en u zal heel waarschijnlijk hulp krijgen van een van de vele calibre ontwikkelaars."
166
167 #: ../../../__w/calibre/calibre/manual/develop.rst:75
168 msgid "Getting the code"
169 msgstr "De code verkrijgen"
170
171 #: ../../../__w/calibre/calibre/manual/develop.rst:77
172 msgid ""
173 "You can get the calibre source code in two ways, using a version control "
174 "system or directly downloading a :website_base:`tarball <dist/src>`."
175 msgstr "U kan de calibre broncode op twee manieren krijgen, via een versiecontrolesysteem of download direct een :website_base:`tarball <dist/src>`."
176
177 #: ../../../__w/calibre/calibre/manual/develop.rst:80
178 msgid ""
179 "calibre uses `Git <https://www.git-scm.com/>`_, a distributed version "
180 "control system. Git is available on all the platforms calibre supports. "
181 "After installing Git, you can get the calibre source code with the command::"
182 msgstr "calibre gebruikt `Git <https://www.git-scm.com/>`_, een gedistribueerd versiecontrolesysteem. Git is beschikbaar op alle platformen die calibre ondersteunt. Na installeren van Git kan u de calibre source code krijgen met het commando::"
183
184 #: ../../../__w/calibre/calibre/manual/develop.rst:86
185 msgid ""
186 "On Windows you will need the complete path name, that will be something like"
187 " :file:`C:\\\\Program Files\\\\Git\\\\git.exe`."
188 msgstr "Op Windows heb je de volledige padnaam nodig, dat zal ongeveer zo zijn: bestand: `C:\\\\Program Files\\\\Git\\\\git.exe`."
189
190 #: ../../../__w/calibre/calibre/manual/develop.rst:88
191 msgid ""
192 "calibre is a very large project with a very long source control history, so "
193 "the above can take a while (10 mins to an hour depending on your internet "
194 "speed)."
195 msgstr "Calibre is een zeer groot project met een zeer lange versiebeheergeschiedenis, dus het bovenstaande kan een tijd duren (10 minuten tot een uur, afhankelijk van je internetsnelheid)."
196
197 #: ../../../__w/calibre/calibre/manual/develop.rst:91
198 msgid ""
199 "If you want to get the code faster, the source code for the latest release "
200 "is always available as an :website_base:`archive <dist/src>`."
201 msgstr "Als u de code sneller wilt krijgen, de broncode van de laatste uitgave is altijd beschikbaar als een :website_base:`archive <dist/src>`."
202
203 #: ../../../__w/calibre/calibre/manual/develop.rst:94
204 msgid "To update a branch to the latest code, use the command::"
205 msgstr "Om een ​​vertakking bij te werken naar de nieuwste code, gebruik de volgende opdracht: "
206
207 #: ../../../__w/calibre/calibre/manual/develop.rst:98
208 msgid ""
209 "You can also browse the code at `GitHub "
210 "<https://github.com/kovidgoyal/calibre>`_."
211 msgstr "U kan ook de code doorbladeren op `GitHub <https://github.com/kovidgoyal/calibre>`_."
212
213 #: ../../../__w/calibre/calibre/manual/develop.rst:101
214 msgid "Submitting your changes to be included"
215 msgstr "Uw aanpassingen insturen voor productie"
216
217 #: ../../../__w/calibre/calibre/manual/develop.rst:103
218 msgid ""
219 "If you only plan to make a few small changes, you can make your changes and "
220 "create a \"merge directive\" which you can then attach to a ticket in the "
221 "calibre `bug tracker <https://bugs.launchpad.net/calibre>`_. To do this, "
222 "make your changes, then run::"
223 msgstr "Als u enkel een paar kleine veranderingen wilt maken, maak uw veranderingen en creëer een \"merge directive\" die u dan aan een ticket in de calibre `bug tracker <https://bugs.launchpad.net/calibre>`_ kan koppelen. Om dit te doen, maak uw veranderingen , draai dan::"
224
225 #: ../../../__w/calibre/calibre/manual/develop.rst:111
226 msgid ""
227 "This will create a :file:`my-changes` file in the current folder, simply "
228 "attach that to a ticket on the calibre `bug tracker "
229 "<https://bugs.launchpad.net/calibre>`_. Note that this will include *all* "
230 "the commits you have made. If you only want to send some commits, you have "
231 "to change ``origin/master`` above. To send only the last commit, use::"
232 msgstr "Dit creëert een :file:`my-changes` bestand in de huidige map, koppel dit gewoon aan een ticket op de calibre `bug tracker <https://bugs.launchpad.net/calibre>`_. Merk op dat dit *alle* commits die gemaakt hebt meeneemt. Als u slechts enkele commits wil sturen, moet u de ``origin/master`` boven veranderen. Om enkel de laatste commit te sturen, gebruik::"
233
234 #: ../../../__w/calibre/calibre/manual/develop.rst:119
235 msgid ""
236 "To send the last *n* commits, replace *1* with *n*, for example, for the "
237 "last 3 commits::"
238 msgstr "Als u de laatste *n* commentaren wilt verzenden, vervangt u *1* door *n*, bijvoorbeeld voor de laatste 3 commentaren::"
239
240 #: ../../../__w/calibre/calibre/manual/develop.rst:124
241 msgid "Be careful to not include merges when using ``HEAD~n``."
242 msgstr "Zorg dat u geen samenvoegingen opneemt bij het gebruik van ``HEAD~n``."
243
244 #: ../../../__w/calibre/calibre/manual/develop.rst:126
245 msgid ""
246 "If you plan to do a lot of development on calibre, then the best method is "
247 "to create a `GitHub <https://github.com>`__ account. Below is a basic guide "
248 "to setting up your own fork of calibre in a way that will allow you to "
249 "submit pull requests for inclusion into the main calibre repository:"
250 msgstr "Als u veel ontwikkelwerk aan calibre wil doen, kan u best een `GitHub <https://github.com>`__ account creëren. Onder vindt u een basisgids om uw eigen fork van calibre op te zetten die u toelaat pull requests in te dienen voor opname in calibre's hoofdrepository:"
251
252 #: ../../../__w/calibre/calibre/manual/develop.rst:131
253 msgid ""
254 "Setup git on your machine as described in this article: `Setup Git "
255 "<https://help.github.com/articles/set-up-git>`_"
256 msgstr "Stel git in op uw machine zoals beschreven in dit artikel: `Setup Git <https://help.github.com/articles/set-up-git>`_"
257
258 #: ../../../__w/calibre/calibre/manual/develop.rst:132
259 msgid ""
260 "Setup ssh keys for authentication to GitHub, as described here: `Generating "
261 "SSH keys <https://help.github.com/articles/generating-ssh-keys>`_"
262 msgstr "Stel ssh-sleutels in voor authenticatie naar GitHub, zoals hier beschreven: `SSH-sleutels genereren <https://help.github.com/articles/generating-ssh-keys>` _"
263
264 #: ../../../__w/calibre/calibre/manual/develop.rst:133
265 msgid ""
266 "Go to https://github.com/kovidgoyal/calibre and click the :guilabel:`Fork` "
267 "button."
268 msgstr "Ga naar https://github.com/kovidgoyal/Calibre en klik op de :guilabel:`Fork` button."
269
270 #: ../../../__w/calibre/calibre/manual/develop.rst:134
271 msgid "In a Terminal do::"
272 msgstr "In een terminalvenster doe::"
273
274 #: ../../../__w/calibre/calibre/manual/develop.rst:139
275 msgid ""
276 "Replace <username> above with your GitHub username. That will get your fork "
277 "checked out locally."
278 msgstr "Vervang <username> boven door uw GitHub gebruikersnaam. Dat zorgt ervoor dat uw fork lokaal wordt uitgecheckt."
279
280 #: ../../../__w/calibre/calibre/manual/develop.rst:140
281 msgid ""
282 "You can make changes and commit them whenever you like. When you are ready "
283 "to have your work merged, do a::"
284 msgstr "U kunt wijzigingen aanbrengen en deze toewijzen wanneer u maar wilt. Wanneer je klaar bent om je werk samen te voegen, doe dan een:"
285
286 #: ../../../__w/calibre/calibre/manual/develop.rst:144
287 msgid ""
288 "and go to ``https://github.com/<username>/calibre`` and click the "
289 ":guilabel:`Pull Request` button to generate a pull request that can be "
290 "merged."
291 msgstr "en ga naar ``https://github.com/<username>/Calibre`` en klik op :guilabel:`Pull Request` button om een pull request te generen die samengevoegd kan worden."
292
293 #: ../../../__w/calibre/calibre/manual/develop.rst:145
294 msgid ""
295 "You can update your local copy with code from the main repo at any time by "
296 "doing::"
297 msgstr "U kunt uw lokale exemplaar op elk gewenst moment bijwerken met code van de hoofdrepo door te doen:"
298
299 #: ../../../__w/calibre/calibre/manual/develop.rst:150
300 msgid ""
301 "You should also keep an eye on the calibre `development forum "
302 "<https://www.mobileread.com/forums/forumdisplay.php?f=240>`_. Before making "
303 "major changes, you should discuss them in the forum or contact Kovid "
304 "directly (his email address is all over the source code)."
305 msgstr "U houdt best een oogje op het calibre `ontwikkelforum <https://www.mobileread.com/forums/forumdisplay.php?f=240>`_. Vooraleer grote veranderingen te maken, bespreek ze best in het forum of contacteer Kovid direct (de broncode krioelt van z'n e-mailadres)."
306
307 #: ../../../__w/calibre/calibre/manual/develop.rst:156
308 msgid "Windows development environment"
309 msgstr "Windows ontwikkel omgeving"
310
311 #: ../../../__w/calibre/calibre/manual/develop.rst:158
312 #: ../../../__w/calibre/calibre/manual/develop.rst:192
313 #: ../../../__w/calibre/calibre/manual/develop.rst:229
314 msgid ""
315 "You must also get the calibre source code separately as described above."
316 msgstr "U moet ook de calibre broncode apart ophalen zoals beschreven boven."
317
318 #: ../../../__w/calibre/calibre/manual/develop.rst:160
319 msgid ""
320 "Install calibre normally, using the `Windows installer <https://calibre-"
321 "ebook.com/download_windows>`__. Then open a Command Prompt and change to the"
322 " previously checked out calibre code folder. For example::"
323 msgstr "Installeer calibre normaal met de Windows installer <https://calibre-ebook.com/download_windows>`__. Open dan een Commandoprompt en ga naar de voordien bekeken calibre codemap. Bijvoorbeeld::"
324
325 #: ../../../__w/calibre/calibre/manual/develop.rst:165
326 #: ../../../__w/calibre/calibre/manual/develop.rst:241
327 msgid "calibre is the folder that contains the src and resources sub-folders."
328 msgstr "calibre is de map die de src bevat en bronnensubmappen."
329
330 #: ../../../__w/calibre/calibre/manual/develop.rst:167
331 msgid ""
332 "The next step is to set the environment variable ``CALIBRE_DEVELOP_FROM`` to"
333 " the absolute path of the src folder. So, following the example above, it "
334 "would be ``C:\\Users\\kovid\\work\\calibre\\src``. `Here is a short guide "
335 "<https://docs.python.org/using/windows.html#excursus-setting-environment-"
336 "variables>`_ to setting environment variables on Windows."
337 msgstr "De volgende stap is de omgevingsvariabele ``CALIBRE_DEVELOP_FROM`` instellen op het absolute pad van de src map. Dus, volgens het voorbeeld boven zou het ``C:\\Users\\kovid\\work\\calibre\\src`` zijn. Hier is een korte gids <https://docs.python.org/using/windows.html#excursus-setting-environment-variables>`_ over instellen van omgevingsvariabelen in Windows."
338
339 #: ../../../__w/calibre/calibre/manual/develop.rst:172
340 msgid ""
341 "Once you have set the environment variable, open a new command prompt and "
342 "check that it was correctly set by using the command::"
343 msgstr "Nadat u de omgevingsvariabele hebt ingesteld, opent u een nieuwe opdrachtprompt en controleert u of deze correct is ingesteld met de opdracht::"
344
345 #: ../../../__w/calibre/calibre/manual/develop.rst:177
346 #: ../../../__w/calibre/calibre/manual/develop.rst:260
347 msgid ""
348 "Setting this environment variable means that calibre will now load all its "
349 "Python code from the specified location."
350 msgstr "Deze omgevingsvariabele instellen betekent dat calibre nu alle Python code vanuit de gespecificeerde locatie laadt."
351
352 #: ../../../__w/calibre/calibre/manual/develop.rst:179
353 msgid ""
354 "That's it! You are now ready to start hacking on the calibre code. For "
355 "example, open the file :file:`src\\\\calibre\\\\__init__.py` in your "
356 "favorite editor and add the line::"
357 msgstr "Das alles! U bent nu klaar om de calibre code te beginnen hacken. Bv. open het bestand :file:`src\\\\calibre\\\\__init__.py` in uw favoriete editor en voeg volgende regel toe::"
358
359 #: ../../../__w/calibre/calibre/manual/develop.rst:184
360 #: ../../../__w/calibre/calibre/manual/develop.rst:267
361 msgid ""
362 "near the top of the file. Now run the command :command:`calibredb`. The very"
363 " first line of output should be ``Hello, world!``."
364 msgstr "in de buurt van de bovenkant van het bestand. Voer nu de opdracht: opdracht uit: `calibredb`. De allereerste regel van de uitvoer zou moeten zijn `` Hallo, wereld! ``."
365
366 #: ../../../__w/calibre/calibre/manual/develop.rst:186
367 msgid ""
368 "You can also setup a calibre development environment inside the free "
369 "Microsoft Visual Studio, if you like, following the instructions `here "
370 "<https://www.mobileread.com/forums/showthread.php?t=251201>`_."
371 msgstr "U kan ook een calibre ontwikkelomgeving opzetten in het gratis Microsoft Visual Studio, als u wilt, met volgende instructies `hier <https://www.mobileread.com/forums/showthread.php?t=251201>`_."
372
373 #: ../../../__w/calibre/calibre/manual/develop.rst:190
374 msgid "macOS development environment"
375 msgstr "macOS ontwikkelomgeving "
376
377 #: ../../../__w/calibre/calibre/manual/develop.rst:194
378 msgid ""
379 "Install calibre normally using the `provided .dmg <https://calibre-"
380 "ebook.com/download_osx>`__. Then open a Terminal and change to the "
381 "previously checked out calibre code folder, for example::"
382 msgstr "Installeer calibre normaal met de `provided .dmg <https://calibre-ebook.com/download_osx>`__. Open dan een Terminal en ga naar de voordien bekeken calibre codemap, bijvoorbeeld::"
383
384 #: ../../../__w/calibre/calibre/manual/develop.rst:199
385 msgid ""
386 "calibre is the folder that contains the src and resources sub-folders. The "
387 "calibre command line tools are found inside the calibre app bundle, in "
388 ":file:`/Applications/calibre.app/Contents/MacOS` you should add this folder "
389 "to your PATH environment variable, if you want to run the command line tools"
390 " easily."
391 msgstr "calibre is de map die de src bevat en bronnensubmappen. de calibre opdrachtregelgereedschappen vindt u in de calibre appbundel, in :file:`/Applications/calibre.app/Contents/MacOS`, u voegt deze map best toe aan uw PATH omgevingsvariabele als u de opdrachtregelgereedschappen vlot wilt gebruiken."
392
393 #: ../../../__w/calibre/calibre/manual/develop.rst:205
394 msgid ""
395 "The next step is to create a bash script that will set the environment "
396 "variable ``CALIBRE_DEVELOP_FROM`` to the absolute path of the src folder "
397 "when running calibre in debug mode."
398 msgstr "De volgende stap is het maken van een bash-script dat de omgevingsvariabele ``CALIBRE_DEVELOP_FROM`` instelt op het absolute pad van de src map bij het uitvoeren van calibre in foutzoekmodus."
399
400 #: ../../../__w/calibre/calibre/manual/develop.rst:208
401 msgid "Create a plain text file::"
402 msgstr "Maak een platte-tekst bestand::"
403
404 #: ../../../__w/calibre/calibre/manual/develop.rst:214
405 msgid ""
406 "Save this file as :file:`/usr/local/bin/calibre-develop`, then set its "
407 "permissions so that it can be executed::"
408 msgstr "Sla dit bestand op als :file:`/usr/local/bin/calibre-develop`, stel dan de rechten in zodat het kan worden uitgevoerd::"
409
410 #: ../../../__w/calibre/calibre/manual/develop.rst:218
411 msgid "Once you have done this, run::"
412 msgstr "Als u dit heeft gedaan, voer uit::"
413
414 #: ../../../__w/calibre/calibre/manual/develop.rst:222
415 msgid ""
416 "You should see some diagnostic information in the Terminal window as calibre"
417 " starts up, and you should see an asterisk after the version number in the "
418 "GUI window, indicating that you are running from source."
419 msgstr "U zou wat diagnostische informatie in het Terminal-venster moeten zien als Calibre opstart, en u zou een asterisk na het versienummer in het GUI-venster moeten zien, om aan te geven dat u vanuit de bron loopt."
420
421 #: ../../../__w/calibre/calibre/manual/develop.rst:227
422 msgid "Linux development environment"
423 msgstr "Linux ontwikkel omgeving"
424
425 #: ../../../__w/calibre/calibre/manual/develop.rst:231
426 msgid ""
427 "calibre is primarily developed on Linux. You have two choices in setting up "
428 "the development environment. You can install the calibre binary as normal "
429 "and use that as a runtime environment to do your development. This approach "
430 "is similar to that used in Windows and macOS. Alternatively, you can install"
431 " calibre from source. Instructions for setting up a development environment "
432 "from source are in the INSTALL file in the source tree. Here we will address"
433 " using the binary as a runtime, which is the recommended method."
434 msgstr "calibre is voornamelijk in Linux ontwikkeld. U hebt twee keuzes bij instellen van de ontwikkelomgeving. U kan de calibre binary als gewoonlijk installeren en dat als runtime omgeving gebruiken voor uw ontwikkeling. Deze werkwijze is gelijkaardig aan die in Windows en macOS. Als alternatief kan u calibre van de bron installeren. Instructies om een ontwikkelomgeving op te zetten vanuit de bron staan in het INSTALL bestand in de bestandsboom. Hier gaat het over gebruik van de binary als een runtime, wat de aanbevolen methode is."
435
436 #: ../../../__w/calibre/calibre/manual/develop.rst:237
437 msgid ""
438 "Install calibre using the `binary installer <https://calibre-"
439 "ebook.com/download_linux>`_. Then open a terminal and change to the "
440 "previously checked out calibre code folder, for example::"
441 msgstr "Installeer calibre met de `binary installer <https://calibre-ebook.com/download_linux>`_. Open dan een Terminal en ga naar de voordien bekeken calibre codemap, bijvoorbeeld::"
442
443 #: ../../../__w/calibre/calibre/manual/develop.rst:243
444 msgid ""
445 "The next step is to set the environment variable ``CALIBRE_DEVELOP_FROM`` to"
446 " the absolute path of the src folder. So, following the example above, it "
447 "would be ``/home/kovid/work/calibre/src``. How to set environment variables "
448 "depends on your Linux distribution and what shell you are using."
449 msgstr "De volgende stap is om de omgevingsvariabele `` CALIBRE_DEVELOP_FROM`` in te stellen op het absolute pad van de src-map. Dus, in navolging van het bovenstaande voorbeeld, zou het ``/home/kovid/work/Calibre/src`` zijn. Het instellen van omgevingsvariabelen is afhankelijk van je Linux-distributie en welke shell je gebruikt."
450
451 #: ../../../__w/calibre/calibre/manual/develop.rst:248
452 msgid ""
453 "It is recommended to use the binary installer provided from upstream. Should"
454 " you insist on using a package provided by your distribution, use the "
455 "``CALIBRE_PYTHON_PATH`` and ``CALIBRE_RESOURCES_PATH`` variables instead. "
456 "You can get these by running ``calibre-debug --paths``. But note that "
457 "distribution calibre packages are often terminally broken and are completely"
458 " unsupported."
459 msgstr "Het wordt aanbevolen om het binaire installatieprogramma te gebruiken dat vanaf upstream wordt geleverd. Als u erop staat een pakket te gebruiken dat door uw distributie wordt geleverd, gebruik dan in plaats daarvan de variabelen ''CALIBRE_PYTHON_PATH'' en ''CALIBRE_RESOURCES_PATH'. Je kunt deze krijgen door ``calibre-debug --paths`` uit te voeren. Maar houd er rekening mee dat distributiepakketten van calibre vaak terminaal kapot zijn en totaal niet worden ondersteund."
460
461 #: ../../../__w/calibre/calibre/manual/develop.rst:255
462 msgid ""
463 "Once you have set the environment variable, open a new terminal and check "
464 "that it was correctly set by using the command::"
465 msgstr "Nadat u de omgevingsvariabele hebt ingesteld, opent u een nieuwe terminal en controleert u of deze correct is ingesteld met de opdracht::"
466
467 #: ../../../__w/calibre/calibre/manual/develop.rst:262
468 msgid ""
469 "That's it! You are now ready to start hacking on the calibre code. For "
470 "example, open the file :file:`src/calibre/__init__.py` in your favorite "
471 "editor and add the line::"
472 msgstr "Das alles! U bent nu klaar om de calibre code te beginnen hacken. Bv. open het bestand :file:`src\\\\calibre\\\\__init__.py` in uw favoriete editor en voeg volgende regel toe::"
473
474 #: ../../../__w/calibre/calibre/manual/develop.rst:270
475 msgid ""
476 "Having separate \"normal\" and \"development\" calibre installs on the same "
477 "computer"
478 msgstr "Afzonderlijke \"normale\" en \"ontwikkel\" calibre installaties op dezelfde computer hebben"
479
480 #: ../../../__w/calibre/calibre/manual/develop.rst:272
481 msgid ""
482 "The calibre source tree is very stable and rarely breaks, but if you feel "
483 "the need to run from source on a separate test library and run the released "
484 "calibre version with your everyday library, you can achieve this easily "
485 "using .bat files or shell scripts to launch calibre. The example below shows"
486 " how to do this on Windows using .bat files (the instructions for other "
487 "platforms are the same, just use a shell script instead of a .bat file)"
488 msgstr "De calibre bronboom is heel stabiel en breekt zelden maar als u de behoefte voelt om vanuit de bron te draaien op een aparte testbibliotheek en de uitgegeven calibre versie met uw dagdagelijkse bibliotheek, kan u dat gemakkelijk met .bat bestanden of shellscripts om calibre te starten. Het voorbeeld onder toont hoe dit te doen in Windows met .bat bestanden (de instructies voor andere platformen zijn hetzelfde, gebruik gewoon een shellscript i.p.v. een .bat bestand)."
489
490 #: ../../../__w/calibre/calibre/manual/develop.rst:277
491 msgid "To launch the release version of calibre with your everyday library:"
492 msgstr "De releaseversie van calibre lanceren met uw alledaagse bibliotheek"
493
494 #: ../../../__w/calibre/calibre/manual/develop.rst:279
495 msgid "calibre-normal.bat::"
496 msgstr "Calibre-normal.bat::"
497
498 #: ../../../__w/calibre/calibre/manual/develop.rst:283
499 msgid "calibre-dev.bat::"
500 msgstr "Calibre-dev.bat::"
501
502 #: ../../../__w/calibre/calibre/manual/develop.rst:290
503 msgid "Debugging tips"
504 msgstr "Debug tips"
505
506 #: ../../../__w/calibre/calibre/manual/develop.rst:292
507 msgid ""
508 "Python is a dynamically typed language with excellent facilities for "
509 "introspection. Kovid wrote the core calibre code without once using a "
510 "debugger. There are many strategies to debug calibre code:"
511 msgstr "Python is een dynamisch getypeerde taal met uitstekend onderdak voor introspectie. Kovid schreef de kern calibre code zonder ook maar één keer een foutzoeker te gebruiken. Er zijn veel strategieën voor foutzoeken in calibre code:"
512
513 #: ../../../__w/calibre/calibre/manual/develop.rst:297
514 msgid "Using print statements"
515 msgstr "Gebruik van print statements"
516
517 #: ../../../__w/calibre/calibre/manual/develop.rst:299
518 msgid ""
519 "This is Kovid's favorite way to debug. Simply insert print statements at "
520 "points of interest and run your program in the terminal. For example, you "
521 "can start the GUI from the terminal as::"
522 msgstr "Dit is de favoriete manier van Kovid om te debuggen. Voeg eenvoudig afdrukinstructies in op interessante plaatsen en voer uw programma uit in de terminal. U kunt de GUI bijvoorbeeld vanuit de terminal starten als::"
523
524 #: ../../../__w/calibre/calibre/manual/develop.rst:304
525 msgid "Similarly, you can start the E-book viewer as::"
526 msgstr "U kan de e-boekviewer ook starten als::"
527
528 #: ../../../__w/calibre/calibre/manual/develop.rst:308
529 msgid "The e-book editor can be started as::"
530 msgstr "De e-boekbewerker kan worden gestart als:"
531
532 #: ../../../__w/calibre/calibre/manual/develop.rst:313
533 msgid "Using an interactive Python interpreter"
534 msgstr "Een interactieve Python vertaler gebruiken"
535
536 #: ../../../__w/calibre/calibre/manual/develop.rst:315
537 msgid ""
538 "You can insert the following two lines of code to start an interactive "
539 "Python session at that point::"
540 msgstr "U kan de volgende twee regels code invoegen om op dat punt een interactieve Python sessie te starten::"
541
542 #: ../../../__w/calibre/calibre/manual/develop.rst:320
543 msgid ""
544 "When running from the command line, this will start an interactive Python "
545 "interpreter with access to all locally defined variables (variables in the "
546 "local scope). The interactive prompt even has :kbd:`Tab` completion for "
547 "object properties and you can use the various Python facilities for "
548 "introspection, such as :func:`dir`, :func:`type`, :func:`repr`, etc."
549 msgstr "Bij het uitvoeren van de opdrachtregel start hiermee een interactieve Python vertaler met toegang tot alle lokaal gedefinieerde variabelen (variabelen in de lokale scope). De interactieve prompt heeft zelfs :kbd:`Tab` voltooiing voor objecteigenschappen en u kunt de verschillende Python faciliteiten gebruiken voor introspectie, zoals :func:`dir`, :func:`type`, :func:`repr`, enz."
550
551 #: ../../../__w/calibre/calibre/manual/develop.rst:326
552 msgid "Using the Python debugger as a remote debugger"
553 msgstr "De Python foutzoeker als een externe foutzoeker gebruiken"
554
555 #: ../../../__w/calibre/calibre/manual/develop.rst:328
556 msgid ""
557 "You can use the builtin Python debugger (pdb) as a remote debugger from the "
558 "command line. First, start the remote debugger at the point in the calibre "
559 "code you are interested in, like this::"
560 msgstr "U kan de ingebouwde Python foutzoeker gebruiken (pdb) als een externe foutzoeker vanop de opdrachtregel. Om te beginnen, start de externe foutzoeker op de plaats in de code waar u in geïnteresseerd bent, zoals dit::"
561
562 #: ../../../__w/calibre/calibre/manual/develop.rst:335
563 msgid ""
564 "Then run calibre, either as normal, or using one of the calibre-debug "
565 "commands described in the previous section. Once the above point in the code"
566 " is reached, calibre will freeze, waiting for the debugger to connect."
567 msgstr "Voer vervolgens Calibre uit, hetzij als normaal, of met behulp van een van de Calibre-debug-opdrachten die in de vorige sectie zijn beschreven. Zodra het bovenstaande punt in de code is bereikt, zal Calibre bevriezen, wachtend totdat de foutopsporing verbinding maakt."
568
569 #: ../../../__w/calibre/calibre/manual/develop.rst:339
570 msgid ""
571 "Now open a terminal or command prompt and use the following command to start"
572 " the debugging session::"
573 msgstr "Open nu een terminal of opdrachtprompt en gebruik de volgende opdracht om de foutopsporingssessie te starten:"
574
575 #: ../../../__w/calibre/calibre/manual/develop.rst:344
576 msgid ""
577 "You can read about how to use the Python debugger in the `Python stdlib docs"
578 " for the pdb module <https://docs.python.org/library/pdb.html#debugger-"
579 "commands>`_."
580 msgstr "U kan lezen hoe de Python foutzoeker te gebruiken in de `Python stdlib docs voor de pdb module <https://docs.python.org/library/pdb.html#debugger-commands>`_."
581
582 #: ../../../__w/calibre/calibre/manual/develop.rst:348
583 msgid ""
584 "By default, the remote debugger will try to connect on port 4444. You can "
585 "change it, by passing the port parameter to both the set_trace() and the "
586 "cli() functions above, like this: ``set_trace(port=1234)`` and "
587 "``cli(port=1234)``."
588 msgstr "Standaard probeert de debugger op afstand verbinding te maken op poort 4444. Je kunt dit wijzigen door de parameter port naar zowel de set_trace() als de cli() -functies hierboven door te geven, zoals deze: ``set_trace(port=1234)``en``cli(port = 1234)``."
589
590 #: ../../../__w/calibre/calibre/manual/develop.rst:354
591 msgid ""
592 "The Python debugger cannot handle multiple threads, so you have to call "
593 "set_trace once per thread, each time with a different port number."
594 msgstr "De Python foutzoeker kan niet met meerdere draadjes overweg, u moet set_trace dus voor elk draadje roepen, elke keer met een ander poortnummer."
595
596 #: ../../../__w/calibre/calibre/manual/develop.rst:358
597 msgid "Using the debugger in your favorite Python IDE"
598 msgstr "De foutzoeker gebruiken in uw favoriete Python IDE"
599
600 #: ../../../__w/calibre/calibre/manual/develop.rst:360
601 msgid ""
602 "It is possible to use the builtin debugger in your favorite Python IDE, if "
603 "it supports remote debugging. The first step is to add the calibre src "
604 "checkout to the ``PYTHONPATH`` in your IDE. In other words, the folder you "
605 "set as ``CALIBRE_DEVELOP_FROM`` above, must also be in the ``PYTHONPATH`` of"
606 " your IDE."
607 msgstr "Het is mogelijk om de ingebouwde foutzoeker van uw favoriete Python IDE te gebruiken, als hij extern foutzoeken ondersteunt. De eerste stap is toevoegen van de calibre scr checkout aan ``PYTHONPATH`` in uw IDE. M.a.w. de map die u instelde als ``CALIBRE_DEVELOP_FROM`` boven moet ook in ``PYTHONPATH`` van uw IDE staan. "
608
609 #: ../../../__w/calibre/calibre/manual/develop.rst:365
610 msgid ""
611 "Then place the IDE's remote debugger module into the :file:`src` sub-folder "
612 "of the calibre source code checkout. Add whatever code is needed to launch "
613 "the remote debugger to calibre at the point of interest, for example in the "
614 "main function. Then run calibre as normal. Your IDE should now be able to "
615 "connect to the remote debugger running inside calibre."
616 msgstr "Plaats dan de IDE's externe foutzoekmodule in de :file:`src` submap van de calibre broncode checkout. Voeg de nodige code toe om de externe foutzoeker te starten op het punt van interesse, bv. in de hoofdfunctie. Draai calibre dan als gewoonlijk. Uw IDE zou nu moeten kunnen verbinden met de externe foutzoeker die in calibre draait."
617
618 #: ../../../__w/calibre/calibre/manual/develop.rst:372
619 msgid "Executing arbitrary scripts in the calibre Python environment"
620 msgstr "Willekeurige scripts uitvoeren in de calibre Python omgeving"
621
622 #: ../../../__w/calibre/calibre/manual/develop.rst:374
623 msgid ""
624 "The :command:`calibre-debug` command provides a couple of handy switches to "
625 "execute your own code, with access to the calibre modules::"
626 msgstr "Het :command:`calibre-debug` commando voorziet enkele handige schakelaars om uw eigen code uit te voeren, met toegang tot de calibre modules::"
627
628 #: ../../../__w/calibre/calibre/manual/develop.rst:379
629 msgid ""
630 "is great for testing a little snippet of code on the command line. It works "
631 "in the same way as the -c switch to the Python interpreter::"
632 msgstr "is geweldig om een klein code knipseltje te testen op de commandoregel. Werkt op dezelfde manier als de -c schakelaar naar de Python vertaler::"
633
634 #: ../../../__w/calibre/calibre/manual/develop.rst:383
635 msgid ""
636 "can be used to execute your own Python script. It works in the same way as "
637 "passing the script to the Python interpreter, except that the calibre "
638 "environment is fully initialized, so you can use all the calibre code in "
639 "your script. To use command line arguments with your script, use the form::"
640 msgstr "kan worden gebruikt om je eigen Python-script uit te voeren. Het werkt op dezelfde manier als het doorgeven van het script aan de Python-interpreter, behalve dat de Calibre omgeving volledig is geïnitialiseerd, zodat u alle Calibre code in uw script kunt gebruiken. om opdrachtregelargumenten te gebruiken met uw script, gebruik de vorm: "
641
642 #: ../../../__w/calibre/calibre/manual/develop.rst:388
643 msgid ""
644 "The ``--`` causes all subsequent arguments to be passed to your script."
645 msgstr "De `` --`` zorgt ervoor dat alle volgende argumenten aan je script worden doorgegeven."
646
647 #: ../../../__w/calibre/calibre/manual/develop.rst:392
648 msgid "Using calibre in your projects"
649 msgstr "Calibre gebruiken in uw projecten"
650
651 #: ../../../__w/calibre/calibre/manual/develop.rst:394
652 msgid ""
653 "It is possible to directly use calibre functions/code in your Python "
654 "project. Two ways exist to do this:"
655 msgstr "Het is mogelijk calibre functies/code direct te gebruiken in uw Python project. Er zijn twee manieren om dit te doen:"
656
657 #: ../../../__w/calibre/calibre/manual/develop.rst:397
658 msgid "Binary install of calibre"
659 msgstr "Binaire installatie van Calibre"
660
661 #: ../../../__w/calibre/calibre/manual/develop.rst:399
662 msgid ""
663 "If you have a binary install of calibre, you can use the Python interpreter "
664 "bundled with calibre, like this::"
665 msgstr "Als u een binaire installatie van calibre hebt, kan u de Python vertaler, gebundeld met calibre, zo gebruiken::"
666
667 #: ../../../__w/calibre/calibre/manual/develop.rst:404
668 msgid "Source install on Linux"
669 msgstr "Broncode installatie op Linux"
670
671 #: ../../../__w/calibre/calibre/manual/develop.rst:406
672 msgid ""
673 "In addition to using the above technique, if you do a source install on "
674 "Linux, you can also directly import calibre, as follows::"
675 msgstr "Bijkomend aan de techniek boven, als u een broninstallatie doet in Linux kan u calibre ook direct importeren, op deze manier::"
676
677 #: ../../../__w/calibre/calibre/manual/develop.rst:414
678 msgid ""
679 "It is essential that you import the init_calibre module before any other "
680 "calibre modules/packages as it sets up the interpreter to run calibre code."
681 msgstr "Het is essentieel dat u de init_calibre module importeert voor enige andere calibre modules/packages want het stelt de vertaler in om de calibre code te draaien."
682
683 #: ../../../__w/calibre/calibre/manual/develop.rst:418
684 msgid "API documentation for various parts of calibre"
685 msgstr "API installatie voor diverse onderdelen van Calibre"