| 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 |
# Çağla Turhan, 2016 |
| 7 |
# Çağla Turhan, 2016 |
| 8 |
msgid "" |
| 9 |
msgstr "" |
| 10 |
"Project-Id-Version: calibre\n" |
| 11 |
"Report-Msgid-Bugs-To: \n" |
| 12 |
"POT-Creation-Date: 2022-10-12 10:34+0000\n" |
| 13 |
"PO-Revision-Date: 2014-06-17 08:34+0000\n" |
| 14 |
"Last-Translator: Çağla Turhan, 2016\n" |
| 15 |
"Language-Team: Turkish (http://www.transifex.com/calibre/calibre/language/tr/)\n" |
| 16 |
"MIME-Version: 1.0\n" |
| 17 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 18 |
"Content-Transfer-Encoding: 8bit\n" |
| 19 |
"Language: tr\n" |
| 20 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
| 21 |
|
| 22 |
#: ../../__w/calibre/calibre/manual/develop.rst:4 |
| 23 |
msgid "Setting up a calibre development environment" |
| 24 |
msgstr "Calibre geliştirme ortamı ayarlamak" |
| 25 |
|
| 26 |
#: ../../__w/calibre/calibre/manual/develop.rst:6 |
| 27 |
msgid "" |
| 28 |
"calibre is completely open source, licensed under the `GNU GPL v3 " |
| 29 |
"<https://www.gnu.org/licenses/gpl.html>`_. This means that you are free to " |
| 30 |
"download and modify the program to your heart's content. In this section, " |
| 31 |
"you will learn how to get a calibre development environment set up on the " |
| 32 |
"operating system of your choice. calibre is written primarily in `Python " |
| 33 |
"<https://www.python.org>`_ with some C/C++ code for speed and system " |
| 34 |
"interfacing. Note that calibre requires at least Python 3.8." |
| 35 |
msgstr "" |
| 36 |
|
| 37 |
#: ../../__w/calibre/calibre/manual/develop.rst:14 |
| 38 |
msgid "Contents" |
| 39 |
msgstr "İçindekiler" |
| 40 |
|
| 41 |
#: ../../__w/calibre/calibre/manual/develop.rst:17 |
| 42 |
msgid "Design philosophy" |
| 43 |
msgstr "Tasarım felsefesi" |
| 44 |
|
| 45 |
#: ../../__w/calibre/calibre/manual/develop.rst:19 |
| 46 |
msgid "" |
| 47 |
"calibre has its roots in the Unix world, which means that its design is " |
| 48 |
"highly modular. The modules interact with each other via well defined " |
| 49 |
"interfaces. This makes adding new features and fixing bugs in calibre very " |
| 50 |
"easy, resulting in a frenetic pace of development. Because of its roots, " |
| 51 |
"calibre has a comprehensive command line interface for all its functions, " |
| 52 |
"documented in :doc:`generated/en/cli-index`." |
| 53 |
msgstr "calibre'nin kökleri Unix dünyasına uzanır, yani tasarımı oldukça modülerdir. Modüller birbirleriyle iyi tanımlanmış arayüzlerle iletişim kurarlar. Bu da calibre'ye yeni özellikler ekleme ve hata ayıklamayı çok kolay kılarak hızlı geliştirme temposu oluşturur. Kökleri sebebiyle, calibre'nin tüm fonksiyonları için :doc:`generated/tr/cli-index` de belgelenmiş kapsamlı bir komut satırı arayüzü vardır." |
| 54 |
|
| 55 |
#: ../../__w/calibre/calibre/manual/develop.rst:24 |
| 56 |
msgid "" |
| 57 |
"The modular design of calibre is expressed via ``Plugins``. There is a " |
| 58 |
":ref:`tutorial <customize>` on writing calibre plugins. For example, adding " |
| 59 |
"support for a new device to calibre typically involves writing less than a " |
| 60 |
"100 lines of code in the form of a device driver plugin. You can browse the " |
| 61 |
"`built-in drivers " |
| 62 |
"<https://github.com/kovidgoyal/calibre/tree/master/src/calibre/devices>`_. " |
| 63 |
"Similarly, adding support for new conversion formats involves writing " |
| 64 |
"input/output format plugins. Another example of the modular design is the " |
| 65 |
":ref:`recipe system <news>` for fetching news. For more examples of plugins " |
| 66 |
"designed to add features to calibre, see the `Index of plugins " |
| 67 |
"<https://www.mobileread.com/forums/showthread.php?p=1362767#post1362767>`_." |
| 68 |
msgstr "" |
| 69 |
|
| 70 |
#: ../../__w/calibre/calibre/manual/develop.rst:34 |
| 71 |
msgid "Code layout" |
| 72 |
msgstr "Kod düzeni" |
| 73 |
|
| 74 |
#: ../../__w/calibre/calibre/manual/develop.rst:36 |
| 75 |
msgid "" |
| 76 |
"All the calibre Python code is in the ``calibre`` package. This package " |
| 77 |
"contains the following main sub-packages" |
| 78 |
msgstr "" |
| 79 |
|
| 80 |
#: ../../__w/calibre/calibre/manual/develop.rst:38 |
| 81 |
msgid "" |
| 82 |
"devices - All the device drivers. Just look through some of the built-in " |
| 83 |
"drivers to get an idea for how they work." |
| 84 |
msgstr "devices - Tüm aygıt sürücüleri. Bazı yerleşik sürücülere bakmanız nasıl çalıştıkları konusunda fikir edinmeniz için yeterli olacaktır." |
| 85 |
|
| 86 |
#: ../../__w/calibre/calibre/manual/develop.rst:40 |
| 87 |
msgid "" |
| 88 |
"For details, see: ``devices.interface`` which defines the interface " |
| 89 |
"supported by device drivers and ``devices.usbms`` which defines a generic " |
| 90 |
"driver that connects to a USBMS device. All USBMS based drivers in calibre " |
| 91 |
"inherit from it." |
| 92 |
msgstr "Detaylar için: aygıt sürücüleri tarafından desteklenen arayüzü tanımlayan ``devices.interface`` ve bir USBMS aygıtına bağlanan genel bir sürücü tanımlayan ``devices.usbms`` e göz atın. Calibre'deki tüm USBMS temelli sürücüler ondan türemiştir." |
| 93 |
|
| 94 |
#: ../../__w/calibre/calibre/manual/develop.rst:43 |
| 95 |
msgid "" |
| 96 |
"e-books - All the e-book conversion/metadata code. A good starting point is" |
| 97 |
" ``calibre.ebooks.conversion.cli`` which is the module powering the " |
| 98 |
":command:`ebook-convert` command. The conversion process is controlled via " |
| 99 |
"``conversion.plumber``. The format independent code is all in ``ebooks.oeb``" |
| 100 |
" and the format dependent code is in ``ebooks.format_name``." |
| 101 |
msgstr "" |
| 102 |
|
| 103 |
#: ../../__w/calibre/calibre/manual/develop.rst:47 |
| 104 |
msgid "" |
| 105 |
"Metadata reading, writing, and downloading is all in ``ebooks.metadata``" |
| 106 |
msgstr "Metadata okuma, yazma ve indirme tamamen ``ebooks.metadata`` içindedir" |
| 107 |
|
| 108 |
#: ../../__w/calibre/calibre/manual/develop.rst:48 |
| 109 |
msgid "" |
| 110 |
"Conversion happens in a pipeline, for the structure of the pipeline, see " |
| 111 |
":ref:`conversion-introduction`. The pipeline consists of an input plugin, " |
| 112 |
"various transforms and an output plugin. The code that constructs and drives" |
| 113 |
" the pipeline is in :file:`plumber.py`. The pipeline works on a " |
| 114 |
"representation of an e-book that is like an unzipped epub, with manifest, " |
| 115 |
"spine, toc, guide, html content, etc. The class that manages this " |
| 116 |
"representation is OEBBook in ``ebooks.oeb.base``. The various " |
| 117 |
"transformations that are applied to the book during conversions live in " |
| 118 |
":file:`oeb/transforms/*.py`. And the input and output plugins live in " |
| 119 |
":file:`conversion/plugins/*.py`." |
| 120 |
msgstr "" |
| 121 |
|
| 122 |
#: ../../__w/calibre/calibre/manual/develop.rst:58 |
| 123 |
msgid "" |
| 124 |
"E-book editing happens using a different container object. It is documented " |
| 125 |
"in :ref:`polish_api`." |
| 126 |
msgstr "" |
| 127 |
|
| 128 |
#: ../../__w/calibre/calibre/manual/develop.rst:61 |
| 129 |
msgid "" |
| 130 |
"db - The database back-end. See :ref:`db_api` for the interface to the " |
| 131 |
"calibre library." |
| 132 |
msgstr "db - Veri tabanı arka ucu. Calibre kitaplığına arayüz için :ref:`db_api` ye göz atın." |
| 133 |
|
| 134 |
#: ../../__w/calibre/calibre/manual/develop.rst:63 |
| 135 |
msgid "Content server: ``srv`` is the calibre Content server." |
| 136 |
msgstr "" |
| 137 |
|
| 138 |
#: ../../__w/calibre/calibre/manual/develop.rst:65 |
| 139 |
msgid "" |
| 140 |
"gui2 - The Graphical User Interface. GUI initialization happens in " |
| 141 |
"``gui2.main`` and ``gui2.ui``. The e-book-viewer is in ``gui2.viewer``. The " |
| 142 |
"e-book editor is in ``gui2.tweak_book``." |
| 143 |
msgstr "" |
| 144 |
|
| 145 |
#: ../../__w/calibre/calibre/manual/develop.rst:67 |
| 146 |
msgid "" |
| 147 |
"If you want to locate the entry points for all the various calibre " |
| 148 |
"executables, look at the ``entry_points`` structure in `linux.py " |
| 149 |
"<https://github.com/kovidgoyal/calibre/blob/master/src/calibre/linux.py>`_." |
| 150 |
msgstr "Çeşitli calibre çalıştırılabilirleri için giriş noktalarını bulmak isterseniz, `linux.py <https://github.com/kovidgoyal/calibre/blob/master/src/calibre/linux.py>`_ içindeki ``entry_points``e bakın." |
| 151 |
|
| 152 |
#: ../../__w/calibre/calibre/manual/develop.rst:71 |
| 153 |
msgid "" |
| 154 |
"If you need help understanding the code, post in the `development forum " |
| 155 |
"<https://www.mobileread.com/forums/forumdisplay.php?f=240>`_ and you will " |
| 156 |
"most likely get help from one of calibre's many developers." |
| 157 |
msgstr "" |
| 158 |
|
| 159 |
#: ../../__w/calibre/calibre/manual/develop.rst:75 |
| 160 |
msgid "Getting the code" |
| 161 |
msgstr "Kodun alınması" |
| 162 |
|
| 163 |
#: ../../__w/calibre/calibre/manual/develop.rst:77 |
| 164 |
msgid "" |
| 165 |
"You can get the calibre source code in two ways, using a version control " |
| 166 |
"system or directly downloading a :website_base:`tarball <dist/src>`." |
| 167 |
msgstr "" |
| 168 |
|
| 169 |
#: ../../__w/calibre/calibre/manual/develop.rst:80 |
| 170 |
msgid "" |
| 171 |
"calibre uses `Git <https://www.git-scm.com/>`_, a distributed version " |
| 172 |
"control system. Git is available on all the platforms calibre supports. " |
| 173 |
"After installing Git, you can get the calibre source code with the command::" |
| 174 |
msgstr "" |
| 175 |
|
| 176 |
#: ../../__w/calibre/calibre/manual/develop.rst:86 |
| 177 |
msgid "" |
| 178 |
"On Windows you will need the complete path name, that will be something like" |
| 179 |
" :file:`C:\\\\Program Files\\\\Git\\\\git.exe`." |
| 180 |
msgstr "Windows üstünde tam yol ismine ihtiyacınız olacaktır, şuna benzer bir şey olmalı :file:`C:\\\\Program Files\\\\Git\\\\git.exe`." |
| 181 |
|
| 182 |
#: ../../__w/calibre/calibre/manual/develop.rst:88 |
| 183 |
msgid "" |
| 184 |
"calibre is a very large project with a very long source control history, so " |
| 185 |
"the above can take a while (10 mins to an hour depending on your internet " |
| 186 |
"speed)." |
| 187 |
msgstr "calibre çok geniş ve çok uzun kaynak kontrol geçmişine sahip bir projedir, yani yukarıdaki işlem bir miktar sürebilir (internet hızınıza bağlı olarak 10 dakikadan bir saate kadar)." |
| 188 |
|
| 189 |
#: ../../__w/calibre/calibre/manual/develop.rst:91 |
| 190 |
msgid "" |
| 191 |
"If you want to get the code faster, the source code for the latest release " |
| 192 |
"is always available as an :website_base:`archive <dist/src>`." |
| 193 |
msgstr "" |
| 194 |
|
| 195 |
#: ../../__w/calibre/calibre/manual/develop.rst:94 |
| 196 |
msgid "To update a branch to the latest code, use the command::" |
| 197 |
msgstr "Bir dalı son koda güncellemek için, şu komutu kullanın::" |
| 198 |
|
| 199 |
#: ../../__w/calibre/calibre/manual/develop.rst:98 |
| 200 |
msgid "" |
| 201 |
"You can also browse the code at `GitHub " |
| 202 |
"<https://github.com/kovidgoyal/calibre>`_." |
| 203 |
msgstr "" |
| 204 |
|
| 205 |
#: ../../__w/calibre/calibre/manual/develop.rst:101 |
| 206 |
msgid "Submitting your changes to be included" |
| 207 |
msgstr "Değişikliklerinizin içerilmesi için gönderilmesi" |
| 208 |
|
| 209 |
#: ../../__w/calibre/calibre/manual/develop.rst:103 |
| 210 |
msgid "" |
| 211 |
"If you only plan to make a few small changes, you can make your changes and " |
| 212 |
"create a \"merge directive\" which you can then attach to a ticket in the " |
| 213 |
"calibre `bug tracker <https://bugs.launchpad.net/calibre>`_. To do this, " |
| 214 |
"make your changes, then run::" |
| 215 |
msgstr "Yalnızca bir kaç küçük değişiklik yapmak istiyorsanız, değişikliklerinizi yapıp calibre `hata takibinde <https://bugs.launchpad.net/calibre>`_ bir bilete ekleyebileceğiniz bir \"merge talimatı\" oluşturun. Bu işlem için değişikliklerinizi yapıp şunu çalıştırın::" |
| 216 |
|
| 217 |
#: ../../__w/calibre/calibre/manual/develop.rst:111 |
| 218 |
msgid "" |
| 219 |
"This will create a :file:`my-changes` file in the current folder, simply " |
| 220 |
"attach that to a ticket on the calibre `bug tracker " |
| 221 |
"<https://bugs.launchpad.net/calibre>`_. Note that this will include *all* " |
| 222 |
"the commits you have made. If you only want to send some commits, you have " |
| 223 |
"to change ``origin/master`` above. To send only the last commit, use::" |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#: ../../__w/calibre/calibre/manual/develop.rst:119 |
| 227 |
msgid "" |
| 228 |
"To send the last *n* commits, replace *1* with *n*, for example, for the " |
| 229 |
"last 3 commits::" |
| 230 |
msgstr "Son *n* gönderiyi yollamak için, *1* i *n* ile değiştirin, örneğin, son 3 gönderi için::" |
| 231 |
|
| 232 |
#: ../../__w/calibre/calibre/manual/develop.rst:124 |
| 233 |
msgid "Be careful to not include merges when using ``HEAD~n``." |
| 234 |
msgstr " ``HEAD~n`` kullanırken birleştirmeleri içermediğinize emin olun." |
| 235 |
|
| 236 |
#: ../../__w/calibre/calibre/manual/develop.rst:126 |
| 237 |
msgid "" |
| 238 |
"If you plan to do a lot of development on calibre, then the best method is " |
| 239 |
"to create a `GitHub <https://github.com>`__ account. Below is a basic guide " |
| 240 |
"to setting up your own fork of calibre in a way that will allow you to " |
| 241 |
"submit pull requests for inclusion into the main calibre repository:" |
| 242 |
msgstr "" |
| 243 |
|
| 244 |
#: ../../__w/calibre/calibre/manual/develop.rst:131 |
| 245 |
msgid "" |
| 246 |
"Setup git on your machine as described in this article: `Setup Git " |
| 247 |
"<https://help.github.com/articles/set-up-git>`_" |
| 248 |
msgstr "Makalede gösterildiği gibi makinenize git kurun: `Git Kurulumu <https://help.github.com/articles/set-up-git>`_" |
| 249 |
|
| 250 |
#: ../../__w/calibre/calibre/manual/develop.rst:132 |
| 251 |
msgid "" |
| 252 |
"Setup ssh keys for authentication to GitHub, as described here: `Generating " |
| 253 |
"SSH keys <https://help.github.com/articles/generating-ssh-keys>`_" |
| 254 |
msgstr "Şurada anlatıldığı gibi, GitHub'a kimlik doğrulama için ssh anahtarları kurun: `SSH anahtarları üretme <https://help.github.com/articles/generating-ssh-keys>`_" |
| 255 |
|
| 256 |
#: ../../__w/calibre/calibre/manual/develop.rst:133 |
| 257 |
msgid "" |
| 258 |
"Go to https://github.com/kovidgoyal/calibre and click the :guilabel:`Fork` " |
| 259 |
"button." |
| 260 |
msgstr "https://github.com/kovidgoyal/calibre adresine gidin ve :guilabel:`Fork` düğmesine tıklayın." |
| 261 |
|
| 262 |
#: ../../__w/calibre/calibre/manual/develop.rst:134 |
| 263 |
msgid "In a Terminal do::" |
| 264 |
msgstr "Bir Terminal açın ve::" |
| 265 |
|
| 266 |
#: ../../__w/calibre/calibre/manual/develop.rst:139 |
| 267 |
msgid "" |
| 268 |
"Replace <username> above with your GitHub username. That will get your fork " |
| 269 |
"checked out locally." |
| 270 |
msgstr "" |
| 271 |
|
| 272 |
#: ../../__w/calibre/calibre/manual/develop.rst:140 |
| 273 |
msgid "" |
| 274 |
"You can make changes and commit them whenever you like. When you are ready " |
| 275 |
"to have your work merged, do a::" |
| 276 |
msgstr "İstediğiniz gibi değişiklikler yapabilir ve istediğiniz zaman gönderebilirsiniz. Yaptığınız işler birleştirmeye hazır olduğunda::" |
| 277 |
|
| 278 |
#: ../../__w/calibre/calibre/manual/develop.rst:144 |
| 279 |
msgid "" |
| 280 |
"and go to ``https://github.com/<username>/calibre`` and click the " |
| 281 |
":guilabel:`Pull Request` button to generate a pull request that can be " |
| 282 |
"merged." |
| 283 |
msgstr "sonra da ``https://github.com/<username>/calibre`` adresine gidin ve :guilabel:`Pull Request` düğmesine tıklayıp birleştirme işlemi için bir çekme isteği üretin." |
| 284 |
|
| 285 |
#: ../../__w/calibre/calibre/manual/develop.rst:145 |
| 286 |
msgid "" |
| 287 |
"You can update your local copy with code from the main repo at any time by " |
| 288 |
"doing::" |
| 289 |
msgstr "Herhangi bir anda yerel kopyanızı ana depo ile şu şekilde güncel tutabilirsiniz::" |
| 290 |
|
| 291 |
#: ../../__w/calibre/calibre/manual/develop.rst:150 |
| 292 |
msgid "" |
| 293 |
"You should also keep an eye on the calibre `development forum " |
| 294 |
"<https://www.mobileread.com/forums/forumdisplay.php?f=240>`_. Before making " |
| 295 |
"major changes, you should discuss them in the forum or contact Kovid " |
| 296 |
"directly (his email address is all over the source code)." |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#: ../../__w/calibre/calibre/manual/develop.rst:156 |
| 300 |
msgid "Windows development environment" |
| 301 |
msgstr "Windows geliştirme ortamı" |
| 302 |
|
| 303 |
#: ../../__w/calibre/calibre/manual/develop.rst:158 |
| 304 |
#: ../../__w/calibre/calibre/manual/develop.rst:192 |
| 305 |
#: ../../__w/calibre/calibre/manual/develop.rst:229 |
| 306 |
msgid "" |
| 307 |
"You must also get the calibre source code separately as described above." |
| 308 |
msgstr "Yukarda anlatıldığı gibi calibre kaynak kodunu almalısınız." |
| 309 |
|
| 310 |
#: ../../__w/calibre/calibre/manual/develop.rst:160 |
| 311 |
msgid "" |
| 312 |
"Install calibre normally, using the `Windows installer <https://calibre-" |
| 313 |
"ebook.com/download_windows>`__. Then open a Command Prompt and change to the" |
| 314 |
" previously checked out calibre code folder. For example::" |
| 315 |
msgstr "" |
| 316 |
|
| 317 |
#: ../../__w/calibre/calibre/manual/develop.rst:165 |
| 318 |
#: ../../__w/calibre/calibre/manual/develop.rst:241 |
| 319 |
msgid "calibre is the folder that contains the src and resources sub-folders." |
| 320 |
msgstr "" |
| 321 |
|
| 322 |
#: ../../__w/calibre/calibre/manual/develop.rst:167 |
| 323 |
msgid "" |
| 324 |
"The next step is to set the environment variable ``CALIBRE_DEVELOP_FROM`` to" |
| 325 |
" the absolute path of the src folder. So, following the example above, it " |
| 326 |
"would be ``C:\\Users\\kovid\\work\\calibre\\src``. `Here is a short guide " |
| 327 |
"<https://docs.python.org/using/windows.html#excursus-setting-environment-" |
| 328 |
"variables>`_ to setting environment variables on Windows." |
| 329 |
msgstr "" |
| 330 |
|
| 331 |
#: ../../__w/calibre/calibre/manual/develop.rst:172 |
| 332 |
msgid "" |
| 333 |
"Once you have set the environment variable, open a new command prompt and " |
| 334 |
"check that it was correctly set by using the command::" |
| 335 |
msgstr "Çevre değişkenini ayarladıktan sonra, yeni bir komut satırı açın ve şu komutu kullanarak düzgün ayarlandığını doğrulayın::" |
| 336 |
|
| 337 |
#: ../../__w/calibre/calibre/manual/develop.rst:177 |
| 338 |
#: ../../__w/calibre/calibre/manual/develop.rst:257 |
| 339 |
msgid "" |
| 340 |
"Setting this environment variable means that calibre will now load all its " |
| 341 |
"Python code from the specified location." |
| 342 |
msgstr "Bu çevre değişkenini ayarlamak calibre'nin belirtilen konumdan tüm Python kodunu yükleyeceği anlamına gelir." |
| 343 |
|
| 344 |
#: ../../__w/calibre/calibre/manual/develop.rst:179 |
| 345 |
msgid "" |
| 346 |
"That's it! You are now ready to start hacking on the calibre code. For " |
| 347 |
"example, open the file :file:`src\\\\calibre\\\\__init__.py` in your " |
| 348 |
"favorite editor and add the line::" |
| 349 |
msgstr "Bu kadar! Şimdi calibre kodu üstünde çalışmaya başlayabilirsiniz. Örneğin favori düzenleyicinizle :file:`src\\\\calibre\\\\__init__.py` dosyasını açın ve şu satırı ekleyin::" |
| 350 |
|
| 351 |
#: ../../__w/calibre/calibre/manual/develop.rst:184 |
| 352 |
#: ../../__w/calibre/calibre/manual/develop.rst:264 |
| 353 |
msgid "" |
| 354 |
"near the top of the file. Now run the command :command:`calibredb`. The very" |
| 355 |
" first line of output should be ``Hello, world!``." |
| 356 |
msgstr "dosyanın üst kısmına doğru. Şimdi :command:`calibredb` komutunu çalıştırın. Çıktının ilk satırı ``Hello, world!`` olmalı." |
| 357 |
|
| 358 |
#: ../../__w/calibre/calibre/manual/develop.rst:186 |
| 359 |
msgid "" |
| 360 |
"You can also setup a calibre development environment inside the free " |
| 361 |
"Microsoft Visual Studio, if you like, following the instructions `here " |
| 362 |
"<https://www.mobileread.com/forums/showthread.php?t=251201>`_." |
| 363 |
msgstr "" |
| 364 |
|
| 365 |
#: ../../__w/calibre/calibre/manual/develop.rst:190 |
| 366 |
msgid "macOS development environment" |
| 367 |
msgstr "" |
| 368 |
|
| 369 |
#: ../../__w/calibre/calibre/manual/develop.rst:194 |
| 370 |
msgid "" |
| 371 |
"Install calibre normally using the `provided .dmg <https://calibre-" |
| 372 |
"ebook.com/download_osx>`__. Then open a Terminal and change to the " |
| 373 |
"previously checked out calibre code folder, for example::" |
| 374 |
msgstr "" |
| 375 |
|
| 376 |
#: ../../__w/calibre/calibre/manual/develop.rst:199 |
| 377 |
msgid "" |
| 378 |
"calibre is the folder that contains the src and resources sub-folders. The " |
| 379 |
"calibre command line tools are found inside the calibre app bundle, in " |
| 380 |
":file:`/Applications/calibre.app/Contents/MacOS` you should add this folder " |
| 381 |
"to your PATH environment variable, if you want to run the command line tools" |
| 382 |
" easily." |
| 383 |
msgstr "" |
| 384 |
|
| 385 |
#: ../../__w/calibre/calibre/manual/develop.rst:205 |
| 386 |
msgid "" |
| 387 |
"The next step is to create a bash script that will set the environment " |
| 388 |
"variable ``CALIBRE_DEVELOP_FROM`` to the absolute path of the src folder " |
| 389 |
"when running calibre in debug mode." |
| 390 |
msgstr "" |
| 391 |
|
| 392 |
#: ../../__w/calibre/calibre/manual/develop.rst:208 |
| 393 |
msgid "Create a plain text file::" |
| 394 |
msgstr "Bir düz metin dosyası oluşturun::" |
| 395 |
|
| 396 |
#: ../../__w/calibre/calibre/manual/develop.rst:214 |
| 397 |
msgid "" |
| 398 |
"Save this file as :file:`/usr/local/bin/calibre-develop`, then set its " |
| 399 |
"permissions so that it can be executed::" |
| 400 |
msgstr "" |
| 401 |
|
| 402 |
#: ../../__w/calibre/calibre/manual/develop.rst:218 |
| 403 |
msgid "Once you have done this, run::" |
| 404 |
msgstr "Bu işlemden sonra şunu çalıştırın::" |
| 405 |
|
| 406 |
#: ../../__w/calibre/calibre/manual/develop.rst:222 |
| 407 |
msgid "" |
| 408 |
"You should see some diagnostic information in the Terminal window as calibre" |
| 409 |
" starts up, and you should see an asterisk after the version number in the " |
| 410 |
"GUI window, indicating that you are running from source." |
| 411 |
msgstr "Calibre başlarken Uç birim penceresinde bazı tanılama bilgileri görüyor olmalısınız, ve GUI penceresinde sürüm numarasından sonra kaynaktan çalıştırdığınızı belirten bir yıldız işareti görmelisiniz." |
| 412 |
|
| 413 |
#: ../../__w/calibre/calibre/manual/develop.rst:227 |
| 414 |
msgid "Linux development environment" |
| 415 |
msgstr "Linux geliştirme ortamı" |
| 416 |
|
| 417 |
#: ../../__w/calibre/calibre/manual/develop.rst:231 |
| 418 |
msgid "" |
| 419 |
"calibre is primarily developed on Linux. You have two choices in setting up " |
| 420 |
"the development environment. You can install the calibre binary as normal " |
| 421 |
"and use that as a runtime environment to do your development. This approach " |
| 422 |
"is similar to that used in Windows and macOS. Alternatively, you can install" |
| 423 |
" calibre from source. Instructions for setting up a development environment " |
| 424 |
"from source are in the INSTALL file in the source tree. Here we will address" |
| 425 |
" using the binary as a runtime, which is the recommended method." |
| 426 |
msgstr "" |
| 427 |
|
| 428 |
#: ../../__w/calibre/calibre/manual/develop.rst:237 |
| 429 |
msgid "" |
| 430 |
"Install calibre using the `binary installer <https://calibre-" |
| 431 |
"ebook.com/download_linux>`_. Then open a terminal and change to the " |
| 432 |
"previously checked out calibre code folder, for example::" |
| 433 |
msgstr "" |
| 434 |
|
| 435 |
#: ../../__w/calibre/calibre/manual/develop.rst:243 |
| 436 |
msgid "" |
| 437 |
"The next step is to set the environment variable ``CALIBRE_DEVELOP_FROM`` to" |
| 438 |
" the absolute path of the src folder. So, following the example above, it " |
| 439 |
"would be ``/home/kovid/work/calibre/src``. How to set environment variables " |
| 440 |
"depends on your Linux distribution and what shell you are using." |
| 441 |
msgstr "" |
| 442 |
|
| 443 |
#: ../../__w/calibre/calibre/manual/develop.rst:248 |
| 444 |
msgid "" |
| 445 |
"It is recommended to use the binary installer provided from upstream. Should" |
| 446 |
" you insist on using a package provided by your distribution, use the " |
| 447 |
"``CALIBRE_PYTHON_PATH`` and ``CALIBRE_RESOURCES_PATH`` variables instead." |
| 448 |
msgstr "" |
| 449 |
|
| 450 |
#: ../../__w/calibre/calibre/manual/develop.rst:252 |
| 451 |
msgid "" |
| 452 |
"Once you have set the environment variable, open a new terminal and check " |
| 453 |
"that it was correctly set by using the command::" |
| 454 |
msgstr "Çevre değişkenini ayarladıktan sonra, bir uç birim açın şu komutu kullanarak düzgün ayarlanıp ayarlanmadığını kontrol edin::" |
| 455 |
|
| 456 |
#: ../../__w/calibre/calibre/manual/develop.rst:259 |
| 457 |
msgid "" |
| 458 |
"That's it! You are now ready to start hacking on the calibre code. For " |
| 459 |
"example, open the file :file:`src/calibre/__init__.py` in your favorite " |
| 460 |
"editor and add the line::" |
| 461 |
msgstr "Bu kadar! Şimdi calibre kodu üstünde çalışmaya başlayabilirsiniz. Örneğin favori düzenleyicinizle :file:`src/calibre/__init__.py` dosyasını açın ve şu satırı ekleyin::" |
| 462 |
|
| 463 |
#: ../../__w/calibre/calibre/manual/develop.rst:267 |
| 464 |
msgid "" |
| 465 |
"Having separate \"normal\" and \"development\" calibre installs on the same " |
| 466 |
"computer" |
| 467 |
msgstr "Aynı bilgisayarda ayrı \"normal\" ve \"geliştirme\" calibre yüklemelerini bulundurmak" |
| 468 |
|
| 469 |
#: ../../__w/calibre/calibre/manual/develop.rst:269 |
| 470 |
msgid "" |
| 471 |
"The calibre source tree is very stable and rarely breaks, but if you feel " |
| 472 |
"the need to run from source on a separate test library and run the released " |
| 473 |
"calibre version with your everyday library, you can achieve this easily " |
| 474 |
"using .bat files or shell scripts to launch calibre. The example below shows" |
| 475 |
" how to do this on Windows using .bat files (the instructions for other " |
| 476 |
"platforms are the same, just use a shell script instead of a .bat file)" |
| 477 |
msgstr "Calibre kaynak ağacı oldukça kararlıdır ve çok nadiren kırılır, ama ayrı bir test kitaplığından kaynaktan çalıştırma ve yayınlanan calibre sürümünü gündelik kitaplığınızla çalıştırma gibi bir ihtiyaç duyarsanız, .bat dosyaları veya kabuk betikleri kullanarak calibre'yi başlatabilirsiniz. Aşağıdaki örnek Windows üzerinde .bat dosyaları (diğer platformlar için de yönergeler aynıdır, .bat dosyası yerine kabuk betiği kullanmanız yeterli) ile bu işin nasıl yapılacağını gösteriyor" |
| 478 |
|
| 479 |
#: ../../__w/calibre/calibre/manual/develop.rst:274 |
| 480 |
msgid "To launch the release version of calibre with your everyday library:" |
| 481 |
msgstr "Günlük kitaplığınızla calibre'nin yayınlanan sürümünü başlatmak için:" |
| 482 |
|
| 483 |
#: ../../__w/calibre/calibre/manual/develop.rst:276 |
| 484 |
msgid "calibre-normal.bat::" |
| 485 |
msgstr "calibre-normal.bat::" |
| 486 |
|
| 487 |
#: ../../__w/calibre/calibre/manual/develop.rst:280 |
| 488 |
msgid "calibre-dev.bat::" |
| 489 |
msgstr "calibre-dev.bat::" |
| 490 |
|
| 491 |
#: ../../__w/calibre/calibre/manual/develop.rst:287 |
| 492 |
msgid "Debugging tips" |
| 493 |
msgstr "Hata ayıklama ipuçları" |
| 494 |
|
| 495 |
#: ../../__w/calibre/calibre/manual/develop.rst:289 |
| 496 |
msgid "" |
| 497 |
"Python is a dynamically typed language with excellent facilities for " |
| 498 |
"introspection. Kovid wrote the core calibre code without once using a " |
| 499 |
"debugger. There are many strategies to debug calibre code:" |
| 500 |
msgstr "Python iç gözlem için mükemmel imkanları olan dinamik yazılan bir dildir. Kovid calibre çekirdek kodunu hata ayıklayıcı kullanmadan yazdı. Calibre kodunda hata ayıklama için bir çok taktik vardır:" |
| 501 |
|
| 502 |
#: ../../__w/calibre/calibre/manual/develop.rst:294 |
| 503 |
msgid "Using print statements" |
| 504 |
msgstr "Print ifadeleri kullanarak" |
| 505 |
|
| 506 |
#: ../../__w/calibre/calibre/manual/develop.rst:296 |
| 507 |
msgid "" |
| 508 |
"This is Kovid's favorite way to debug. Simply insert print statements at " |
| 509 |
"points of interest and run your program in the terminal. For example, you " |
| 510 |
"can start the GUI from the terminal as::" |
| 511 |
msgstr "Kovid'in favori hata ayıklama yöntemi. İlgilendiğiniz noktalara print ifadeleri koyun ve programı uç birimde çalıştırın. Örneğin GUI'yi uç birimden şu şekilde başlatabilirsiniz::" |
| 512 |
|
| 513 |
#: ../../__w/calibre/calibre/manual/develop.rst:301 |
| 514 |
msgid "Similarly, you can start the E-book viewer as::" |
| 515 |
msgstr "" |
| 516 |
|
| 517 |
#: ../../__w/calibre/calibre/manual/develop.rst:305 |
| 518 |
msgid "The e-book-editor can be started as::" |
| 519 |
msgstr "" |
| 520 |
|
| 521 |
#: ../../__w/calibre/calibre/manual/develop.rst:310 |
| 522 |
msgid "Using an interactive Python interpreter" |
| 523 |
msgstr "" |
| 524 |
|
| 525 |
#: ../../__w/calibre/calibre/manual/develop.rst:312 |
| 526 |
msgid "" |
| 527 |
"You can insert the following two lines of code to start an interactive " |
| 528 |
"Python session at that point::" |
| 529 |
msgstr "" |
| 530 |
|
| 531 |
#: ../../__w/calibre/calibre/manual/develop.rst:317 |
| 532 |
msgid "" |
| 533 |
"When running from the command line, this will start an interactive Python " |
| 534 |
"interpreter with access to all locally defined variables (variables in the " |
| 535 |
"local scope). The interactive prompt even has :kbd:`Tab` completion for " |
| 536 |
"object properties and you can use the various Python facilities for " |
| 537 |
"introspection, such as :func:`dir`, :func:`type`, :func:`repr`, etc." |
| 538 |
msgstr "" |
| 539 |
|
| 540 |
#: ../../__w/calibre/calibre/manual/develop.rst:323 |
| 541 |
msgid "Using the Python debugger as a remote debugger" |
| 542 |
msgstr "" |
| 543 |
|
| 544 |
#: ../../__w/calibre/calibre/manual/develop.rst:325 |
| 545 |
msgid "" |
| 546 |
"You can use the builtin Python debugger (pdb) as a remote debugger from the " |
| 547 |
"command line. First, start the remote debugger at the point in the calibre " |
| 548 |
"code you are interested in, like this::" |
| 549 |
msgstr "" |
| 550 |
|
| 551 |
#: ../../__w/calibre/calibre/manual/develop.rst:332 |
| 552 |
msgid "" |
| 553 |
"Then run calibre, either as normal, or using one of the calibre-debug " |
| 554 |
"commands described in the previous section. Once the above point in the code" |
| 555 |
" is reached, calibre will freeze, waiting for the debugger to connect." |
| 556 |
msgstr "Ardından calibre'yi normal ya da önceki kısımda açıklanan calibre hata ayıklama komutlarından birini kullanarak çalıştırın. Kodda yukardaki noktaya erişildiğinde calibre donacak ve hata ayıklayıcının bağlanmasını bekleyecektir." |
| 557 |
|
| 558 |
#: ../../__w/calibre/calibre/manual/develop.rst:336 |
| 559 |
msgid "" |
| 560 |
"Now open a terminal or command prompt and use the following command to start" |
| 561 |
" the debugging session::" |
| 562 |
msgstr "Şimdi bir uç birim açın ve hata ayıklama oturumunu başlatmak için aşağıdaki komutu kullanın::" |
| 563 |
|
| 564 |
#: ../../__w/calibre/calibre/manual/develop.rst:341 |
| 565 |
msgid "" |
| 566 |
"You can read about how to use the Python debugger in the `Python stdlib docs" |
| 567 |
" for the pdb module <https://docs.python.org/library/pdb.html#debugger-" |
| 568 |
"commands>`_." |
| 569 |
msgstr "" |
| 570 |
|
| 571 |
#: ../../__w/calibre/calibre/manual/develop.rst:345 |
| 572 |
msgid "" |
| 573 |
"By default, the remote debugger will try to connect on port 4444. You can " |
| 574 |
"change it, by passing the port parameter to both the set_trace() and the " |
| 575 |
"cli() functions above, like this: ``set_trace(port=1234)`` and " |
| 576 |
"``cli(port=1234)``." |
| 577 |
msgstr "Varsayılan olarak, uzak hata ayıklayıcı port 4444'den bağlanmaya çalışacaktır. Yukardaki set_trace() ve cli() fonksiyonlarına port parametresini ``set_trace(port=1234)`` ve ``cli(port=1234)`` şeklinde geçirerek değiştirebilirsiniz." |
| 578 |
|
| 579 |
#: ../../__w/calibre/calibre/manual/develop.rst:351 |
| 580 |
msgid "" |
| 581 |
"The Python debugger cannot handle multiple threads, so you have to call " |
| 582 |
"set_trace once per thread, each time with a different port number." |
| 583 |
msgstr "" |
| 584 |
|
| 585 |
#: ../../__w/calibre/calibre/manual/develop.rst:355 |
| 586 |
msgid "Using the debugger in your favorite Python IDE" |
| 587 |
msgstr "" |
| 588 |
|
| 589 |
#: ../../__w/calibre/calibre/manual/develop.rst:357 |
| 590 |
msgid "" |
| 591 |
"It is possible to use the builtin debugger in your favorite Python IDE, if " |
| 592 |
"it supports remote debugging. The first step is to add the calibre src " |
| 593 |
"checkout to the ``PYTHONPATH`` in your IDE. In other words, the folder you " |
| 594 |
"set as ``CALIBRE_DEVELOP_FROM`` above, must also be in the ``PYTHONPATH`` of" |
| 595 |
" your IDE." |
| 596 |
msgstr "" |
| 597 |
|
| 598 |
#: ../../__w/calibre/calibre/manual/develop.rst:362 |
| 599 |
msgid "" |
| 600 |
"Then place the IDE's remote debugger module into the :file:`src` sub-folder " |
| 601 |
"of the calibre source code checkout. Add whatever code is needed to launch " |
| 602 |
"the remote debugger to calibre at the point of interest, for example in the " |
| 603 |
"main function. Then run calibre as normal. Your IDE should now be able to " |
| 604 |
"connect to the remote debugger running inside calibre." |
| 605 |
msgstr "" |
| 606 |
|
| 607 |
#: ../../__w/calibre/calibre/manual/develop.rst:369 |
| 608 |
msgid "Executing arbitrary scripts in the calibre Python environment" |
| 609 |
msgstr "" |
| 610 |
|
| 611 |
#: ../../__w/calibre/calibre/manual/develop.rst:371 |
| 612 |
msgid "" |
| 613 |
"The :command:`calibre-debug` command provides a couple of handy switches to " |
| 614 |
"execute your own code, with access to the calibre modules::" |
| 615 |
msgstr ":command:`calibre-debug` komutu calibre modüllerine erişimi olan kodunuzun çalışmasını sağlayan bir kaç pratik anahtar içerir::" |
| 616 |
|
| 617 |
#: ../../__w/calibre/calibre/manual/develop.rst:376 |
| 618 |
msgid "" |
| 619 |
"is great for testing a little snippet of code on the command line. It works " |
| 620 |
"in the same way as the -c switch to the Python interpreter::" |
| 621 |
msgstr "" |
| 622 |
|
| 623 |
#: ../../__w/calibre/calibre/manual/develop.rst:380 |
| 624 |
msgid "" |
| 625 |
"can be used to execute your own Python script. It works in the same way as " |
| 626 |
"passing the script to the Python interpreter, except that the calibre " |
| 627 |
"environment is fully initialized, so you can use all the calibre code in " |
| 628 |
"your script. To use command line arguments with your script, use the form::" |
| 629 |
msgstr "kendi Python betiğinizi çalıştırmak için kullanılabilir. Betiğin Python yorumlayıcısına verilmesiyle aynı şekilde çalışır, tek fark calibre ortamının tamamen başlatılmış olması, yani betiğinizde tüm calibre kodunu kullanabilecek olmanızdır. Betiğinizle komut satırı bağımsız değişkenlerini kullanmak için şu biçimi kullanın::" |
| 630 |
|
| 631 |
#: ../../__w/calibre/calibre/manual/develop.rst:385 |
| 632 |
msgid "" |
| 633 |
"The ``--`` causes all subsequent arguments to be passed to your script." |
| 634 |
msgstr "``--`` takip eden tüm değişkenlerin betiğinize geçirilmesine sebep olur." |
| 635 |
|
| 636 |
#: ../../__w/calibre/calibre/manual/develop.rst:389 |
| 637 |
msgid "Using calibre in your projects" |
| 638 |
msgstr "Projelerinizde calibre kullanmak" |
| 639 |
|
| 640 |
#: ../../__w/calibre/calibre/manual/develop.rst:391 |
| 641 |
msgid "" |
| 642 |
"It is possible to directly use calibre functions/code in your Python " |
| 643 |
"project. Two ways exist to do this:" |
| 644 |
msgstr "Python projenizde calibre fonksiyonlarını/kodunu doğrudan kullanmak mümkündür. Bunu yapmanın iki yolu vardır:" |
| 645 |
|
| 646 |
#: ../../__w/calibre/calibre/manual/develop.rst:394 |
| 647 |
msgid "Binary install of calibre" |
| 648 |
msgstr "Calibre'nin ikilik kurulumu" |
| 649 |
|
| 650 |
#: ../../__w/calibre/calibre/manual/develop.rst:396 |
| 651 |
msgid "" |
| 652 |
"If you have a binary install of calibre, you can use the Python interpreter " |
| 653 |
"bundled with calibre, like this::" |
| 654 |
msgstr "Eğer calibre'nin ikilik kurulumuna sahipseniz, calibre ile gelen Python yorumlayıcısını şu şekilde kullanabilirsiniz::" |
| 655 |
|
| 656 |
#: ../../__w/calibre/calibre/manual/develop.rst:401 |
| 657 |
msgid "Source install on Linux" |
| 658 |
msgstr "Linux üstünde kaynak kurulum" |
| 659 |
|
| 660 |
#: ../../__w/calibre/calibre/manual/develop.rst:403 |
| 661 |
msgid "" |
| 662 |
"In addition to using the above technique, if you do a source install on " |
| 663 |
"Linux, you can also directly import calibre, as follows::" |
| 664 |
msgstr "Yukardaki yöntemin yanında, Linux üstünde kaynaktan kurulum yaparsanız, calibre'yi doğrudan şu şekilde içe aktarabilirsiniz::" |
| 665 |
|
| 666 |
#: ../../__w/calibre/calibre/manual/develop.rst:411 |
| 667 |
msgid "" |
| 668 |
"It is essential that you import the init_calibre module before any other " |
| 669 |
"calibre modules/packages as it sets up the interpreter to run calibre code." |
| 670 |
msgstr "Calibre kodunu çalıştırmak için yorumlayıcıyı ayarladığından, herhangi başka calibre modülünden/paketinden önce init_calibre modülünü içe aktarmanız önemlidir." |
| 671 |
|
| 672 |
#: ../../__w/calibre/calibre/manual/develop.rst:415 |
| 673 |
msgid "API documentation for various parts of calibre" |
| 674 |
msgstr "Calibre'nin çeşitli kısımları için API belgelendirmesi" |