| 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 |
# akihiko tanae (tanaeakihiko), 2025-2026 |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: calibre\n" |
| 10 |
"Report-Msgid-Bugs-To: \n" |
| 11 |
"POT-Creation-Date: 2026-09-16 15:05+0000\n" |
| 12 |
"PO-Revision-Date: 2014-07-05 16:49+0000\n" |
| 13 |
"Last-Translator: akihiko tanae (tanaeakihiko), 2025-2026\n" |
| 14 |
"Language-Team: Japanese (http://app.transifex.com/calibre/calibre/language/ja/)\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"Language: ja\n" |
| 19 |
"Plural-Forms: nplurals=1; plural=0;\n" |
| 20 |
|
| 21 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:4 |
| 22 |
msgid "API documentation for the database interface" |
| 23 |
msgstr "データベースの API 説明書" |
| 24 |
|
| 25 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:9 |
| 26 |
msgid "" |
| 27 |
"This API is thread safe (it uses a multiple reader, single writer locking " |
| 28 |
"scheme). You can access this API like this::" |
| 29 |
msgstr "この API はスレッドセーフです。(複数のリーダ、単一のライタのロック機構を使用) この API には次のようにしてアクセスできます::" |
| 30 |
|
| 31 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:14 |
| 32 |
msgid "" |
| 33 |
"If you are in a calibre plugin that is part of the main calibre GUI, you get" |
| 34 |
" access to it like this instead::" |
| 35 |
msgstr "メインの calibre GUI の一部である calibre プラグインにいるなら、代わりに次のようにしてアクセスします::" |
| 36 |
|
| 37 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 38 |
#: calibre.db.cache.Cache:1 |
| 39 |
msgid "" |
| 40 |
"An in-memory cache of the metadata.db file from a calibre library. This " |
| 41 |
"class also serves as a threadsafe API for accessing the database. The in-" |
| 42 |
"memory cache is maintained in normal form for maximum performance." |
| 43 |
msgstr "calibre ライブラリの metadata.db ファイルのメモリ内キャッシュ。このクラスはデータベースにアクセスするためのスレッドセーフな API としても機能します。メモリ内キャッシュは、性能を最大化するために通常の形式で維持されます。" |
| 44 |
|
| 45 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 46 |
#: calibre.db.cache.Cache:5 |
| 47 |
msgid "" |
| 48 |
"SQLITE is simply used as a way to read and write from metadata.db robustly. " |
| 49 |
"All table reading/sorting/searching/caching logic is re-implemented. This " |
| 50 |
"was necessary for maximum performance and flexibility." |
| 51 |
msgstr "SQLITE は metadata.db に安全に読み書きするための手段として使用されます。テーブルの読取り/並べ替え/検索/キャッシュのロジックが再実装されます。これは性能の最大化と柔軟性のために必要です。" |
| 52 |
|
| 53 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 54 |
#: calibre.db.cache.Cache.EventType.book_created:1 |
| 55 |
msgid "" |
| 56 |
"When a new book record is created in the database, with the book id as the " |
| 57 |
"only argument" |
| 58 |
msgstr "本の ID を唯一の引数として新しい本のレコードをデータベースに作成するとき" |
| 59 |
|
| 60 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 61 |
#: calibre.db.cache.Cache.EventType.book_edited:1 |
| 62 |
msgid "When a book format is edited, with arguments: (book_id, fmt)" |
| 63 |
msgstr "次の引数とともに本の形式を編集するとき: (book_id, fmt)" |
| 64 |
|
| 65 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 66 |
#: calibre.db.cache.Cache.EventType.books_removed:1 |
| 67 |
msgid "" |
| 68 |
"When books are removed from the database with the list of book ids as the " |
| 69 |
"only argument" |
| 70 |
msgstr "本の ID を唯一の引数としてデータベースから本を削除するとき" |
| 71 |
|
| 72 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 73 |
#: calibre.db.cache.Cache.EventType.format_added:1 |
| 74 |
msgid "When a format is added to a book, with arguments: (book_id, format)" |
| 75 |
msgstr "次の引数とともに本に形式を追加するとき: (book_id, format)" |
| 76 |
|
| 77 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 78 |
#: calibre.db.cache.Cache.EventType.formats_removed:1 |
| 79 |
msgid "" |
| 80 |
"When formats are removed from a book, with arguments: (mapping of book id to" |
| 81 |
" set of formats removed from the book)" |
| 82 |
msgstr "次の引数とともに本から形式が削除されるとき: (book_id から、削除される本の形式のリストへのマッピング)" |
| 83 |
|
| 84 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 85 |
#: calibre.db.cache.Cache.EventType.indexing_progress_changed:1 |
| 86 |
msgid "When the indexing progress changes" |
| 87 |
msgstr "インデックス処理の進行状況が変わったとき" |
| 88 |
|
| 89 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 90 |
#: calibre.db.cache.Cache.EventType.items_removed:1 |
| 91 |
msgid "" |
| 92 |
"When items such as tags or authors are removed from some books. Arguments: " |
| 93 |
"(field_name, affected book ids, ids of removed items)" |
| 94 |
msgstr "タグや著者などの項目を一部の本から削除するとき。引数: (field_name, affected book ids, ids of removed items)" |
| 95 |
|
| 96 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 97 |
#: calibre.db.cache.Cache.EventType.items_renamed:1 |
| 98 |
msgid "" |
| 99 |
"When items such as tags or authors are renamed in some or all books. " |
| 100 |
"Arguments: (field_name, affected book ids, map of old item id to new item " |
| 101 |
"id)" |
| 102 |
msgstr "タグや著者などの項目の名前を一部またはすべての本で変更するとき。引数: (field_name, affected book ids, map of old item id to new item id)" |
| 103 |
|
| 104 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 105 |
#: calibre.db.cache.Cache.EventType.links_changed:1 |
| 106 |
msgid "" |
| 107 |
"When the links associated with items(s) are changed, with arguments: " |
| 108 |
"(field_name, item_ids)" |
| 109 |
msgstr "要素に関連するリンクを変更したとき。引数: (field_name, item_ids)" |
| 110 |
|
| 111 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 112 |
#: calibre.db.cache.Cache.EventType.metadata_changed:1 |
| 113 |
msgid "" |
| 114 |
"When some metadata is changed for some books, with arguments: (name of " |
| 115 |
"changed field, set of affected book ids)" |
| 116 |
msgstr "次の引数とともに一部の本で一部の書誌を変更するとき: (変更したフィールド名, 影響する本の ID のセット)" |
| 117 |
|
| 118 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 119 |
#: calibre.db.cache.Cache.EventType.notes_changed:1 |
| 120 |
msgid "" |
| 121 |
"When the notes associated with item(s) are changed, with arguments: " |
| 122 |
"(field_name, item_ids)" |
| 123 |
msgstr "要素に関連するノートを変更したとき。引数: (field_name, item_ids)" |
| 124 |
|
| 125 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 126 |
#: calibre.db.cache.Cache.add_books:1 |
| 127 |
msgid "" |
| 128 |
"Add the specified books to the library. Books should be an iterable of " |
| 129 |
"2-tuples, each 2-tuple of the form :code:`(mi, format_map)` where mi is a " |
| 130 |
"Metadata object and format_map is a dictionary of the form :code:`{fmt: " |
| 131 |
"path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`." |
| 132 |
msgstr "指定した本をライブラリに追加。本は 2 タプルの繰り返し可能なもので、各 2 タプルは :code:`(mi, format_map)` のフォームです。mi は Metadata オブジェクトで、format_map はフォーム :code:`{fmt: path_or_stream}` の辞書です。例: :code:`{'EPUB': '/path/to/file.epub'}`" |
| 133 |
|
| 134 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 135 |
#: calibre.db.cache.Cache.add_books:6 |
| 136 |
msgid "" |
| 137 |
"Returns a pair of lists: :code:`ids, duplicates`. ``ids`` contains the book " |
| 138 |
"ids for all newly created books in the database. ``duplicates`` contains the" |
| 139 |
" :code:`(mi, format_map)` for all books that already exist in the database " |
| 140 |
"as per the simple duplicate detection heuristic used by :meth:`has_book`." |
| 141 |
msgstr "リストのペア (:code:`ids, duplicates`) を返します。``ids`` にはデータベースに新しく作成されたすべての本の ID が含まれます。``duplicates`` には、:meth:`has_book` が使用する簡単な重複検出ヒューリスティックに従って、データベースにすでにある本の :code:`(mi, format_map)` が含まれます。" |
| 142 |
|
| 143 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 144 |
#: calibre.db.cache.Cache.add_custom_book_data:1 |
| 145 |
msgid "" |
| 146 |
"Add data for name where val_map is a map of book_ids to values. If " |
| 147 |
"delete_first is True, all previously stored data for name will be removed." |
| 148 |
msgstr "name のデータを追加。val_map は book_ids の値へのマップです。delete_first が True のとき、以前格納していた name のデータはすべて削除されます。" |
| 149 |
|
| 150 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 151 |
#: calibre.db.cache.Cache.add_extra_files:1 |
| 152 |
msgid "Add extra data files" |
| 153 |
msgstr "追加データファイルを追加" |
| 154 |
|
| 155 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 156 |
#: calibre.db.cache.Cache.add_format:1 |
| 157 |
msgid "" |
| 158 |
"Add a format to the specified book. Return True if the format was added " |
| 159 |
"successfully." |
| 160 |
msgstr "指定した本に形式を追加します。形式が正常に追加された場合は True を返します。" |
| 161 |
|
| 162 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:0 |
| 163 |
msgid "Parameters" |
| 164 |
msgstr "パラメータ" |
| 165 |
|
| 166 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 167 |
#: calibre.db.cache.Cache.add_format:3 |
| 168 |
msgid "" |
| 169 |
"If True replace existing format, otherwise if the format already exists, " |
| 170 |
"return False." |
| 171 |
msgstr "True のとき既存の形式を置き換え、そうでなければ形式がすでに存在しているときに False を返します。" |
| 172 |
|
| 173 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 174 |
#: calibre.db.cache.Cache.add_format:4 |
| 175 |
msgid "" |
| 176 |
"If True, file type plugins are run on the format before and after being " |
| 177 |
"added." |
| 178 |
msgstr "True のとき、追加の前後でファイルタイプのプラグインを形式に実行します。" |
| 179 |
|
| 180 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 181 |
#: calibre.db.cache.Cache.add_format:5 |
| 182 |
msgid "Internal use only." |
| 183 |
msgstr "内部利用のみ。" |
| 184 |
|
| 185 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 186 |
#: calibre.db.cache.Cache.add_listener:1 |
| 187 |
msgid "" |
| 188 |
"Register a callback function that will be called after certain actions are " |
| 189 |
"taken on this database. The function must take three arguments: " |
| 190 |
"(:class:`EventType`, library_id, event_type_specific_data)" |
| 191 |
msgstr "このデータベースで特定のアクションが実行された後に呼び出されるコールバック関数を登録します。関数は 3 つの引数が必要です: (:class:`EventType`, library_id, event_type_specific_data)" |
| 192 |
|
| 193 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 194 |
#: calibre.db.cache.Cache.add_notes_resource:1 |
| 195 |
msgid "" |
| 196 |
"Add the specified resource so it can be referenced by notes and return its " |
| 197 |
"content hash" |
| 198 |
msgstr "ノートを参照できるリソースを追加して、コンテンツハッシュを返します。" |
| 199 |
|
| 200 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 201 |
#: calibre.db.cache.Cache.all_annotation_styles:1 |
| 202 |
msgid "Return a tuple of all built-in annotation styles." |
| 203 |
msgstr "データベース中のすべての組み込み注釈をタプルで返します。" |
| 204 |
|
| 205 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 206 |
#: calibre.db.cache.Cache.all_annotation_types:1 |
| 207 |
msgid "Return a tuple of all annotation types in the database." |
| 208 |
msgstr "データベース中のすべての注釈をタプルで返します。" |
| 209 |
|
| 210 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 211 |
#: calibre.db.cache.Cache.all_annotation_users:1 |
| 212 |
msgid "Return a tuple of all (user_type, user name) that have annotations." |
| 213 |
msgstr "注釈を持つすべての(user_type, user name)をタプルで返します。" |
| 214 |
|
| 215 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 216 |
#: calibre.db.cache.Cache.all_annotations:1 |
| 217 |
msgid "" |
| 218 |
"Return a tuple of all annotations matching the specified criteria. " |
| 219 |
"`ignore_removed` controls whether removed (deleted) annotations are also " |
| 220 |
"returned. Removed annotations are just a skeleton used for merging of " |
| 221 |
"annotations." |
| 222 |
msgstr "基準に一致するすべての注釈をタプルで返します。`ignore_removed` で移動(または削除)済の注釈を対象とするかどうかを制御します。移動済の注釈は注釈マージの枠としてだけ使用されます。" |
| 223 |
|
| 224 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 225 |
#: calibre.db.cache.Cache.all_annotations_for_book:1 |
| 226 |
msgid "" |
| 227 |
"Return a tuple containing all annotations for the specified book_id as a " |
| 228 |
"dict with keys: `format`, `user_type`, `user`, `annotation`. Here, " |
| 229 |
"annotation is the annotation data." |
| 230 |
msgstr "指定のbook_idですべての注釈を含むタプルを返します。辞書のKEYは: `format`, `user_type`, `user`, `annotation` ここのannotaionは注釈データです。" |
| 231 |
|
| 232 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 233 |
#: calibre.db.cache.Cache.all_book_ids:1 |
| 234 |
msgid "Frozen set of all known book ids." |
| 235 |
msgstr "すべての既知の本の ID の凍結セット。" |
| 236 |
|
| 237 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 238 |
#: calibre.db.cache.Cache.all_field_for:1 |
| 239 |
msgid "Same as field_for, except that it operates on multiple books at once" |
| 240 |
msgstr "field_for と同じですが、一度に複数の本を操作します" |
| 241 |
|
| 242 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 243 |
#: calibre.db.cache.Cache.all_field_ids:1 |
| 244 |
msgid "Frozen set of ids for all values in the field ``name``." |
| 245 |
msgstr "フィールド ``name`` のすべての値の frozenset 。" |
| 246 |
|
| 247 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 248 |
#: calibre.db.cache.Cache.all_field_names:1 |
| 249 |
msgid "" |
| 250 |
"Frozen set of all fields names (should only be used for many-one and many-" |
| 251 |
"many fields)" |
| 252 |
msgstr "すべてのフィールド名の凍結セット (多対 1 と多対多のフィールドにのみ使用)" |
| 253 |
|
| 254 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 255 |
#: calibre.db.cache.Cache.annotation_count_for_book:1 |
| 256 |
msgid "" |
| 257 |
"Return the number of annotations for the specified book available in the " |
| 258 |
"database." |
| 259 |
msgstr "データベース中の指定bookの注釈の個数を返します。" |
| 260 |
|
| 261 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 262 |
#: calibre.db.cache.Cache.annotations_map_for_book:1 |
| 263 |
msgid "" |
| 264 |
"Return a map of annotation type -> annotation data for the specified " |
| 265 |
"book_id, format, user and user_type." |
| 266 |
msgstr "book_id, format, user, user_typeを指定して、annotation type -> annotation dataのmapを返します。" |
| 267 |
|
| 268 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 269 |
#: calibre.db.cache.Cache.author_data:1 |
| 270 |
msgid "Return author data as a dictionary with keys: name, sort, link" |
| 271 |
msgstr "著者データをキー付きの辞書として返します: name, sort, link" |
| 272 |
|
| 273 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 274 |
#: calibre.db.cache.Cache.author_data:3 |
| 275 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 276 |
#: calibre.db.cache.Cache.author_sorts:3 |
| 277 |
msgid "" |
| 278 |
"If no authors with the specified ids are found an empty dictionary is " |
| 279 |
"returned. If author_ids is None, data for all authors is returned." |
| 280 |
msgstr "指定された ID を持つ著者が見つからない場合は、空の辞書が返されます。 a uthor_ids が None の場合、すべての著者のデータが返されます。" |
| 281 |
|
| 282 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 283 |
#: calibre.db.cache.Cache.author_sort_from_authors:1 |
| 284 |
msgid "" |
| 285 |
"Given a list of authors, return the author_sort string for the authors, " |
| 286 |
"preferring the author sort associated with the author over the computed " |
| 287 |
"string." |
| 288 |
msgstr "著者のリストを指定して、著者の author_sort 文字列を返します。計算された文字列よりも、著者読みに関連付けられた著者の並べ替えを優先します。" |
| 289 |
|
| 290 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 291 |
#: calibre.db.cache.Cache.author_sorts:1 |
| 292 |
msgid "Return author sorts for specified authors." |
| 293 |
msgstr "著者IDを指定してauthor sorts文字列を返します。" |
| 294 |
|
| 295 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 296 |
#: calibre.db.cache.Cache.books_for_field:1 |
| 297 |
msgid "" |
| 298 |
"Return all the books associated with the item identified by ``item_id``, " |
| 299 |
"where the item belongs to the field ``name``." |
| 300 |
msgstr "``item_id`` で指定される項目に関連付けられた本をすべて返します。ここで、項目はフィールド ``name`` に属しています。" |
| 301 |
|
| 302 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 303 |
#: calibre.db.cache.Cache.books_for_field:4 |
| 304 |
msgid "" |
| 305 |
"Returned value is a set of book ids, or the empty set if the item or the " |
| 306 |
"field does not exist." |
| 307 |
msgstr "戻り値は本の ID のセット、または項目かフィールドが存在しなければ空のセットです。" |
| 308 |
|
| 309 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 310 |
#: calibre.db.cache.Cache.books_in_virtual_library:1 |
| 311 |
msgid "Return the set of books in the specified virtual library" |
| 312 |
msgstr "指定された仮想ライブラリ内の本のセットを返します" |
| 313 |
|
| 314 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 315 |
#: calibre.db.cache.Cache.compress_covers:1 |
| 316 |
msgid "" |
| 317 |
"Compress the cover images for the specified books. A compression quality of " |
| 318 |
"100 will perform lossless compression, otherwise lossy compression." |
| 319 |
msgstr "指定した本の表紙画像を圧縮します。圧縮品質が 100 なら、可逆圧縮を実行します。それ以外は、不可逆圧縮を実行します。" |
| 320 |
|
| 321 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 322 |
#: calibre.db.cache.Cache.compress_covers:4 |
| 323 |
msgid "" |
| 324 |
"The progress callback will be called with the book_id and the old and new " |
| 325 |
"sizes for each book that has been processed. If an error occurs, the new " |
| 326 |
"size will be a string with the error details." |
| 327 |
msgstr "進行状況のコールバックは、book_id と、処理されたそれぞれの本の新旧のサイズとともに呼び出されます。エラーが発生すると、新しいサイズはエラーの詳細を含む文字列になります。" |
| 328 |
|
| 329 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 330 |
#: calibre.db.cache.Cache.copy_cover_to:1 |
| 331 |
msgid "" |
| 332 |
"Copy the cover to the file like object ``dest``. Returns False if no cover " |
| 333 |
"exists or dest is the same file as the current cover. dest can also be a " |
| 334 |
"path in which case the cover is copied to it if and only if the path is " |
| 335 |
"different from the current path (taking case sensitivity into account)." |
| 336 |
msgstr "オブジェクト ``dest`` のようなファイルに表紙をコピーします。表紙が存在しない場合、または dest が現在の表紙と同じファイルである場合には、False を返します。 dest にはパスを指定することも可能です。その場合、パスが現在のパスと異なる場合にのみ、表紙をコピーします (大文字と小文字は区別されます)。" |
| 337 |
|
| 338 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 339 |
#: calibre.db.cache.Cache.copy_format_to:1 |
| 340 |
msgid "" |
| 341 |
"Copy the format ``fmt`` to the file like object ``dest``. If the specified " |
| 342 |
"format does not exist, raises :class:`NoSuchFormat` error. dest can also be " |
| 343 |
"a path (to a file), in which case the format is copied to it, iff the path " |
| 344 |
"is different from the current path (taking case sensitivity into account)." |
| 345 |
msgstr "形式` `fmt`` をオブジェクト ``dest`` のようなファイルにコピーします。指定された形式が存在しない場合には、:class:`NoSuchFormat` エラーを発生させます。 destには (ファイルへの) パスを指定することも可能です。その場合、パスが現在のパスと異なる場合にのみ、形式をコピーします (大文字と小文字は区別されます)。" |
| 346 |
|
| 347 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 348 |
#: calibre.db.cache.Cache.cover:1 |
| 349 |
msgid "" |
| 350 |
"Return the cover image or None. By default, returns the cover as a " |
| 351 |
"bytestring." |
| 352 |
msgstr "表紙画像または None を返します。デフォルトでは表紙をバイト列で返します。" |
| 353 |
|
| 354 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 355 |
#: calibre.db.cache.Cache.cover:4 |
| 356 |
msgid "" |
| 357 |
"WARNING: Using as_path will copy the cover to a temp file and return the " |
| 358 |
"path to the temp file. You should delete the temp file when you are done " |
| 359 |
"with it." |
| 360 |
msgstr "警告: as_path を使用すると、表紙が一時ファイルにコピーされ、一時ファイルへのパスが返されます。使い終わったら、一時ファイルを削除する必要があります。" |
| 361 |
|
| 362 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 363 |
#: calibre.db.cache.Cache.cover:8 |
| 364 |
msgid "" |
| 365 |
"If True return the image as an open file object (a SpooledTemporaryFile)" |
| 366 |
msgstr "True のとき、開いているファイルオブジェクト(SpooledTemporaryFile) として画像を返します " |
| 367 |
|
| 368 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 369 |
#: calibre.db.cache.Cache.cover:9 |
| 370 |
msgid "If True return the image as a QImage object" |
| 371 |
msgstr "True のとき、QImage オブジェクトとして画像を返します" |
| 372 |
|
| 373 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 374 |
#: calibre.db.cache.Cache.cover:10 |
| 375 |
msgid "If True return the image as a QPixmap object" |
| 376 |
msgstr "Trueのとき、QPixmapオブジェクトでイメージを返します。" |
| 377 |
|
| 378 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 379 |
#: calibre.db.cache.Cache.cover:11 |
| 380 |
msgid "If True return the image as a path pointing to a temporary file" |
| 381 |
msgstr "True のとき、一時ファイルを指すパスとして画像を返します" |
| 382 |
|
| 383 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 384 |
#: calibre.db.cache.Cache.data_for_find_identical_books:1 |
| 385 |
msgid "" |
| 386 |
"Return data that can be used to implement :meth:`find_identical_books` in a " |
| 387 |
"worker process without access to the db. See db.utils for an implementation." |
| 388 |
msgstr "データベースにアクセスすることなくワーカープロセスで :meth:`find_identical_books` を実装するのに使えるデータを返します。実装については db.utils を参照してください。" |
| 389 |
|
| 390 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 391 |
#: calibre.db.cache.Cache.data_for_has_book:1 |
| 392 |
msgid "" |
| 393 |
"Return data suitable for use in :meth:`has_book`. This can be used for an " |
| 394 |
"implementation of :meth:`has_book` in a worker process without access to the" |
| 395 |
" db." |
| 396 |
msgstr ":meth:`has_book` での使用に適したデータを返します。これは、db にアクセスすることなくワーカープロセスで :meth:`has_book` を実装するために使用できます。" |
| 397 |
|
| 398 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 399 |
#: calibre.db.cache.Cache.delete_annotations:1 |
| 400 |
msgid "Delete annotations with the specified ids." |
| 401 |
msgstr "指定のIDで注釈を削除します。" |
| 402 |
|
| 403 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 404 |
#: calibre.db.cache.Cache.delete_custom_book_data:1 |
| 405 |
msgid "" |
| 406 |
"Delete data for name. By default deletes all data, if you only want to " |
| 407 |
"delete data for some book ids, pass in a list of book ids." |
| 408 |
msgstr "name で指定されたデータを削除します。デフォルトではすべてのデータを削除します。一部の本の ID のデータのみ削除したい場合には、本の ID のリストを渡します。" |
| 409 |
|
| 410 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 411 |
#: calibre.db.cache.Cache.delete_trash_entry:1 |
| 412 |
msgid "" |
| 413 |
"Delete an entry from the trash. Here category is 'b' for books and 'f' for " |
| 414 |
"formats." |
| 415 |
msgstr "ごみ箱のエントリを削除します。ここで、'b' は本、'f' はフォーマットです。." |
| 416 |
|
| 417 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 418 |
#: calibre.db.cache.Cache.embed_metadata:1 |
| 419 |
msgid "" |
| 420 |
"Update metadata in all formats of the specified book_ids to current metadata" |
| 421 |
" in the database." |
| 422 |
msgstr "指定された book_ids のすべての形式の書誌を、データベース内の現在の書誌に更新します。" |
| 423 |
|
| 424 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 425 |
#: calibre.db.cache.Cache.expire_old_trash:1 |
| 426 |
msgid "Expire entries from the trash that are too old" |
| 427 |
msgstr "ゴミ箱の古いエントリを期限切れとします。" |
| 428 |
|
| 429 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 430 |
#: calibre.db.cache.Cache.export_note:1 |
| 431 |
msgid "" |
| 432 |
"Export the note as a single HTML document with embedded images as data: URLs" |
| 433 |
msgstr "埋め込み画像はdata: URLs として、ノートを単一HTMLドキュメントにエクスポートします。" |
| 434 |
|
| 435 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 436 |
#: calibre.db.cache.Cache.fast_field_for:1 |
| 437 |
msgid "" |
| 438 |
"Same as field_for, except that it avoids the extra lookup to get the field " |
| 439 |
"object" |
| 440 |
msgstr "field_for と同じですが、フィールドオブジェクトを取得するために余分なルックアップ/検索を回避します" |
| 441 |
|
| 442 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 443 |
#: calibre.db.cache.Cache.field_for:1 |
| 444 |
msgid "" |
| 445 |
"Return the value of the field ``name`` for the book identified by " |
| 446 |
"``book_id``. If no such book exists or it has no defined value for the field" |
| 447 |
" ``name`` or no such field exists, then ``default_value`` is returned." |
| 448 |
msgstr "book_id で指定された本のフィールド ``name`` の値を返します。そのような本が存在しない、またはフィールド名に定義された値がない、またはそのようなフィールドが存在しない場合、``default_value`` が返されます。" |
| 449 |
|
| 450 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 451 |
#: calibre.db.cache.Cache.field_for:6 |
| 452 |
msgid "" |
| 453 |
"``default_value`` is not used for title, title_sort, authors, author_sort " |
| 454 |
"and series_index. This is because these always have values in the db. " |
| 455 |
"``default_value`` is used for all custom columns." |
| 456 |
msgstr "``default_value`` は、title、title_sort、authors、author_sort、series_indexには使用されません。これらは常にデータベースに値を持っているためです。 default_valueは、すべてのカスタム列に使用されます。" |
| 457 |
|
| 458 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 459 |
#: calibre.db.cache.Cache.field_for:10 |
| 460 |
msgid "" |
| 461 |
"The returned value for is_multiple fields are always tuples, even when no " |
| 462 |
"values are found (in other words, default_value is ignored). The exception " |
| 463 |
"is identifiers for which the returned value is always a dictionary. The " |
| 464 |
"returned tuples are always in link order, that is, the order in which they " |
| 465 |
"were created." |
| 466 |
msgstr "is_multiple フィールドの戻り値は、値が見つからない場合でも常にタプルです(つまり、default_value は無視されます)。例外は識別子で、その戻り値は常に辞書です。戻り値のタプルは常にリンク順、つまり作成順になります。" |
| 467 |
|
| 468 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 469 |
#: calibre.db.cache.Cache.field_ids_for:1 |
| 470 |
msgid "" |
| 471 |
"Return the ids (as a tuple) for the values that the field ``name`` has on " |
| 472 |
"the book identified by ``book_id``. If there are no values, or no such book," |
| 473 |
" or no such field, an empty tuple is returned." |
| 474 |
msgstr "book_id で識別されるブックのフィールド名の値の ID を (タプルとして) 返します。値がない、またはそのような本がない、またはそのようなフィールドがない場合は、空のタプルが返されます。" |
| 475 |
|
| 476 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 477 |
#: calibre.db.cache.Cache.field_supports_notes:1 |
| 478 |
msgid "" |
| 479 |
"Return True iff the specified field supports notes. If field is None return " |
| 480 |
"frozenset of all fields that support notes." |
| 481 |
msgstr "指定されたフィールドがノートをサポートしている場合、Trueを返します。フィールドがNoneの場合、ノートをサポートするすべてのフィールドのfrozensetを返します。" |
| 482 |
|
| 483 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 484 |
#: calibre.db.cache.Cache.find_identical_books:1 |
| 485 |
msgid "" |
| 486 |
"Finds books that have a superset of the authors in mi and the same title " |
| 487 |
"(title is fuzzy matched). See also :meth:`data_for_find_identical_books`." |
| 488 |
msgstr "mi に著者のスーパーセットがあり、タイトルが同じ本を検索します (タイトルはあいまい検索)。 :meth:`data_for_find_identical_books` も参照のこと。" |
| 489 |
|
| 490 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 491 |
#: calibre.db.cache.Cache.format:1 |
| 492 |
msgid "" |
| 493 |
"Return the e-book format as a bytestring or `None` if the format doesn't " |
| 494 |
"exist, or we don't have permission to write to the e-book file." |
| 495 |
msgstr "電子書籍の形式をバイト列として返します。形式が存在しない場合、または電子書籍ファイルに書き込む権限がない場合は、None を返します。" |
| 496 |
|
| 497 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 498 |
#: calibre.db.cache.Cache.format:4 |
| 499 |
msgid "" |
| 500 |
"If True the e-book format is returned as a file object. Note that the file " |
| 501 |
"object is a SpooledTemporaryFile, so if what you want to do is copy the " |
| 502 |
"format to another file, use :meth:`copy_format_to` instead for performance." |
| 503 |
msgstr "True のとき、電子書籍の形式がファイルオブジェクトとして返されます。ただしファイルオブジェクトは SpooledTemporaryFile のため、形式を別のファイルにコピーする場合には、性能上の理由により、代わりに :meth:`copy_format_to` を使用してください。" |
| 504 |
|
| 505 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 506 |
#: calibre.db.cache.Cache.format:8 |
| 507 |
msgid "" |
| 508 |
"Copies the format file to a temp file and returns the path to the temp file" |
| 509 |
msgstr "形式ファイルを一時ファイルにコピーし、一時ファイルへのパスを返します" |
| 510 |
|
| 511 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 512 |
#: calibre.db.cache.Cache.format:10 |
| 513 |
msgid "" |
| 514 |
"If True and returning a path the filename is the same as that used in the " |
| 515 |
"library. Note that using this means that repeated calls yield the same temp " |
| 516 |
"file (which is re-created each time)" |
| 517 |
msgstr "True かつパスを返すとき、ファイル名はライブラリで使用されているものと同じです。ただしこれを使用すると、呼び出すたびに同じ一時ファイルを作成します (毎回作り直します)" |
| 518 |
|
| 519 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 520 |
#: calibre.db.cache.Cache.format_abspath:1 |
| 521 |
msgid "" |
| 522 |
"Return absolute path to the e-book file of format `format`. You should " |
| 523 |
"almost never use this, as it breaks the threadsafe promise of this API. " |
| 524 |
"Instead use, :meth:`copy_format_to`." |
| 525 |
msgstr "`format` 形式の電子書籍ファイルへの絶対パスを返します。これはこのAPIのスレッドセーフの約束を破るため、原則的に使用すべきではありません。代わりに :meth:`copy_format_to` を使用してください。" |
| 526 |
|
| 527 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 528 |
#: calibre.db.cache.Cache.format_abspath:5 |
| 529 |
msgid "" |
| 530 |
"Currently used only in calibredb list, the viewer, edit book, compare_format" |
| 531 |
" to original format, open with, bulk metadata edit and the catalogs (via " |
| 532 |
"get_data_as_dict())." |
| 533 |
msgstr "現在これを使用しているのは、calibredbリスト、ビューア、編集ブック、元の形式とのcompare_format、アプリケーションを指定して開く、一括書誌編集、およびカタログ (get_data_as_dict() 経由で) のみです。" |
| 534 |
|
| 535 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 536 |
#: calibre.db.cache.Cache.format_abspath:9 |
| 537 |
msgid "" |
| 538 |
"Apart from the viewer, open with and edit book, I don't believe any of the " |
| 539 |
"others do any file write I/O with the results of this call." |
| 540 |
msgstr "ビューア、アプリケーションを指定して本を開く、本の編集を除き、この呼び出しの結果を使用してファイル書き込み I/O を実行する人はいないと思います。" |
| 541 |
|
| 542 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 543 |
#: calibre.db.cache.Cache.format_hash:1 |
| 544 |
msgid "" |
| 545 |
"Return the hash of the specified format for the specified book. The kind of " |
| 546 |
"hash is backend dependent, but is usually SHA-256." |
| 547 |
msgstr "指定された本の指定された形式のハッシュを返します。ハッシュの種類はバックエンドに依存しますが、通常はSHA-256です。" |
| 548 |
|
| 549 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 550 |
#: calibre.db.cache.Cache.format_metadata:1 |
| 551 |
msgid "" |
| 552 |
"Return the path, size and mtime for the specified format for the specified " |
| 553 |
"book. You should not use path unless you absolutely have to, since accessing" |
| 554 |
" it directly breaks the threadsafe guarantees of this API. Instead use the " |
| 555 |
":meth:`copy_format_to` method." |
| 556 |
msgstr "指定した本の指定した形式のパス、サイズ、および mtime を返します。パスに直接アクセスするとこのAPIのスレッドセーフの保証が破られるため、絶対に必要な場合を除いてはパスを使用しないでください。代わりに、:meth:`copy_format_to` メソッドを使用してください。" |
| 557 |
|
| 558 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 559 |
#: calibre.db.cache.Cache.format_metadata:6 |
| 560 |
msgid "" |
| 561 |
"If ``True`` cached values are used, otherwise a slow filesystem access is " |
| 562 |
"done. The cache values could be out of date if access was performed to the " |
| 563 |
"filesystem outside of this API." |
| 564 |
msgstr "``True`` のとき、キャッシュした値を使用します。そうでなければ遅いファイルアクセスが行われます。この API 以外からアクセスした場合、キャッシュ値が古い可能性があります。" |
| 565 |
|
| 566 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 567 |
#: calibre.db.cache.Cache.format_metadata:10 |
| 568 |
msgid "" |
| 569 |
"If ``True`` The max_size field of the database is updated for this book." |
| 570 |
msgstr "`True`` のとき、この本の max_size フィールドをデータベースで更新します" |
| 571 |
|
| 572 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 573 |
#: calibre.db.cache.Cache.formats:1 |
| 574 |
msgid "" |
| 575 |
"Return tuple of all formats for the specified book. If verify_formats is " |
| 576 |
"True, verifies that the files exist on disk." |
| 577 |
msgstr "指定された本のすべての形式のタプルを返します。 verify_formats が True の場合、ファイルがディスク上に存在することを検証します。" |
| 578 |
|
| 579 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 580 |
#: calibre.db.cache.Cache.get_all_items_that_have_notes:1 |
| 581 |
msgid "" |
| 582 |
"Return all item_ids for items that have notes in the specified field or all " |
| 583 |
"fields if field_name is None" |
| 584 |
msgstr "指定されたフィールドにノートがあるアイテムのすべてのID一覧 を返します。field_name が None の場合はすべてのフィールドを返します。" |
| 585 |
|
| 586 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 587 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:1 |
| 588 |
msgid "" |
| 589 |
"Returns all links for all fields referenced by book identified by book_id. " |
| 590 |
"If book_id doesn't exist then the method returns {}." |
| 591 |
msgstr "book_idで識別される本が参照するすべてのフィールドのリンクをすべて返します。book_idが存在しない場合は、このメソッドは {} を返します。" |
| 592 |
|
| 593 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 594 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:4 |
| 595 |
msgid "" |
| 596 |
"Example: Assume author A has link X, author B has link Y, tag S has link F, " |
| 597 |
"and tag T has link G. If book 1 has author A and tag T, this method returns " |
| 598 |
"{'authors':{'A':'X'}, 'tags':{'T', 'G'}}. If book 2's author is neither A " |
| 599 |
"nor B and has no tags, this method returns {}." |
| 600 |
msgstr "例: 著者AにリンクX、著者BにリンクY、タグSにリンクF、タグTにリンクGがあるとします。本1に著者AとタグTがある場合、このメソッドは {'authors':{'A':'X'}, 'tags':{'T', 'G'}} を返します。本2の著者が著者Aでも著者Bでもなく、タグもない場合、このメソッドは {} を返します。" |
| 601 |
|
| 602 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 603 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:9 |
| 604 |
msgid "the book id in question." |
| 605 |
msgstr "問い合わせるbook ID" |
| 606 |
|
| 607 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:0 |
| 608 |
msgid "Returns" |
| 609 |
msgstr "返り値" |
| 610 |
|
| 611 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 612 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:11 |
| 613 |
msgid "" |
| 614 |
"{field: {field_value, link_value}, ... for all fields with a field_value " |
| 615 |
"having a non-empty link value for that book" |
| 616 |
msgstr "{field: {field_value, link_value}, ... 空でないリンク値を持つ field_value を持つすべてのフィールドについて" |
| 617 |
|
| 618 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 619 |
#: calibre.db.cache.Cache.get_book_path:1 |
| 620 |
msgid "" |
| 621 |
"Return the relative book path for the given id. Prefer this because you can " |
| 622 |
"choose the directory separator, default use the OS one. If unsafe is True, " |
| 623 |
"allow to return None if the book_id is not in the library." |
| 624 |
msgstr "指定されたIDに対応する本の相対パスを返します。ディレクトリ区切り文字を選択できるため、こちらの方が望ましいでしょう(デフォルトではOSの区切り文字が使用されます)。unsafeがTrueの場合、book_idがライブラリに存在しない場合はNoneを返します。" |
| 625 |
|
| 626 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 627 |
#: calibre.db.cache.Cache.get_categories:1 |
| 628 |
msgid "Used internally to implement the Tag Browser" |
| 629 |
msgstr "タグブラウザの実装のために内部的に使用。" |
| 630 |
|
| 631 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 632 |
#: calibre.db.cache.Cache.get_custom_book_data:1 |
| 633 |
msgid "" |
| 634 |
"Get data for name. By default returns data for all book_ids, pass in a list " |
| 635 |
"of book ids if you only want some data. Returns a map of book_id to values. " |
| 636 |
"If a particular value could not be decoded, uses default for it." |
| 637 |
msgstr "name のデータを取得します。デフォルトでは、すべての book_id のデータが返されます。一部のデータのみが必要な場合は、本の ID のリストを渡します。 book_id から値へのマップを返します。特定の値をデコードできなかった場合は、デフォルトを使用します。" |
| 638 |
|
| 639 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 640 |
#: calibre.db.cache.Cache.get_id_map:1 |
| 641 |
msgid "" |
| 642 |
"Return a mapping of id numbers to values for the specified field. The field " |
| 643 |
"must be a many-one or many-many field, otherwise a ValueError is raised." |
| 644 |
msgstr "指定したフィールドの ID 番号から値へのマッピングを返します。フィールドは多対1または多対多のフィールドである必要があります。そうでない場合、ValueErrorが発生します。" |
| 645 |
|
| 646 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 647 |
#: calibre.db.cache.Cache.get_ids_for_custom_book_data:1 |
| 648 |
msgid "Return the set of book ids for which name has data." |
| 649 |
msgstr "name がデータを持つ本の ID のセットを返します。" |
| 650 |
|
| 651 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 652 |
#: calibre.db.cache.Cache.get_item_id:1 |
| 653 |
msgid "" |
| 654 |
"Return the item id for item_name or None if not found. This function is very" |
| 655 |
" slow if doing lookups for multiple names use either get_item_ids() or " |
| 656 |
"get_item_name_map(). Similarly, case sensitive lookups are faster than case " |
| 657 |
"insensitive ones." |
| 658 |
msgstr "item_name のアイテムIDを返します。見つからない場合はNoneを返します。get_item_ids()またはget_item_name_map()を使用して複数の名前を検索する場合、この関数は非常に遅くなります。同様に、大文字と小文字を区別する検索は、大文字と小文字を区別しない検索より高速です。" |
| 659 |
|
| 660 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 661 |
#: calibre.db.cache.Cache.get_item_ids:1 |
| 662 |
msgid "Return a dict mapping item_name to the item id or None" |
| 663 |
msgstr "item_name をアイテム ID にマッピングする辞書または None を返します。" |
| 664 |
|
| 665 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 666 |
#: calibre.db.cache.Cache.get_item_name:1 |
| 667 |
msgid "" |
| 668 |
"Return the item name for the item specified by item_id in the specified " |
| 669 |
"field. See also :meth:`get_id_map`." |
| 670 |
msgstr "指定したフィールドの item_id で指定された項目の項目名を返します。:meth:`get_id_map` も参照のこと。" |
| 671 |
|
| 672 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 673 |
#: calibre.db.cache.Cache.get_item_name_map:1 |
| 674 |
msgid "Return mapping of item values to ids" |
| 675 |
msgstr "アイテム値とIDのマッピングを返します。" |
| 676 |
|
| 677 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 678 |
#: calibre.db.cache.Cache.get_link_map:1 |
| 679 |
msgid "Return a dictionary of links for the supplied field." |
| 680 |
msgstr "指定されたフィールドのリンクの辞書を返します。" |
| 681 |
|
| 682 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 683 |
#: calibre.db.cache.Cache.get_link_map:3 |
| 684 |
msgid "the lookup name of the field for which the link map is desired" |
| 685 |
msgstr "リンクマップが必要なフィールドのルックアップ名" |
| 686 |
|
| 687 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 688 |
#: calibre.db.cache.Cache.get_link_map:5 |
| 689 |
msgid "{field_value:link_value, ...} for non-empty links" |
| 690 |
msgstr "空でないリンクについて {field_value:link_value, ...}" |
| 691 |
|
| 692 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 693 |
#: calibre.db.cache.Cache.get_metadata:1 |
| 694 |
msgid "" |
| 695 |
"Return metadata for the book identified by book_id as a " |
| 696 |
":class:`calibre.ebooks.metadata.book.base.Metadata` object. Note that the " |
| 697 |
"list of formats is not verified. If get_cover is True, the cover is " |
| 698 |
"returned, either a path to temp file as mi.cover or if cover_as_data is True" |
| 699 |
" then as mi.cover_data." |
| 700 |
msgstr ":class:`calibre.ebooks.metadata.book.base.Metadata` オブジェクトとして book_id が指定する本の書誌を返します。ただし形式のリストは検証されません。 get_cover が True のとき、表紙が返されます。mi.coverとして一時ファイルへのパス、または cover_as_data が True であれば mi.cover_data として返されます。" |
| 701 |
|
| 702 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 703 |
#: calibre.db.cache.Cache.get_next_series_num_for:1 |
| 704 |
msgid "" |
| 705 |
"Return the next series index for the specified series, taking into account " |
| 706 |
"the various preferences that control next series number generation." |
| 707 |
msgstr "指定されたシリーズの次のシリーズインデックスを返します。このとき、次のシリーズ番号の生成を制御するさまざまな設定が考慮されます。" |
| 708 |
|
| 709 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 710 |
#: calibre.db.cache.Cache.get_next_series_num_for:4 |
| 711 |
msgid "The series-like field (defaults to the builtin series column)" |
| 712 |
msgstr "シリーズのようなフィールド (デフォルトはビルトインのシリーズ列)" |
| 713 |
|
| 714 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 715 |
#: calibre.db.cache.Cache.get_next_series_num_for:5 |
| 716 |
msgid "" |
| 717 |
"If True, returns a mapping of book_id to current series_index value instead." |
| 718 |
msgstr "True のとき、代わりに book_id から現在の series_index 値へのマッピングを返します。" |
| 719 |
|
| 720 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 721 |
#: calibre.db.cache.Cache.get_notes_resource:1 |
| 722 |
msgid "" |
| 723 |
"Return a dict containing the resource data and name or None if no resource " |
| 724 |
"with the specified hash is found" |
| 725 |
msgstr "リソースデータと名前を含む辞書を返すか、指定されたハッシュを持つリソースが見つからない場合はNoneを返します。" |
| 726 |
|
| 727 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 728 |
#: calibre.db.cache.Cache.get_pages:1 |
| 729 |
msgid "Return page count information for the specified book" |
| 730 |
msgstr "特定の本のページ数情報を返す" |
| 731 |
|
| 732 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 733 |
#: calibre.db.cache.Cache.get_proxy_metadata:1 |
| 734 |
msgid "" |
| 735 |
"Like :meth:`get_metadata` except that it returns a ProxyMetadata object that" |
| 736 |
" only reads values from the database on demand. This is much faster than " |
| 737 |
"get_metadata when only a small number of fields need to be accessed from the" |
| 738 |
" returned metadata object." |
| 739 |
msgstr ":meth:`get_metadata` と同様ですが、オンデマンドでデータベースから値を読み取るだけの ProxyMetadata オブジェクトを返す点が異なります。これは、返された書誌オブジェクトから少数のフィールドにアクセスするだけでよい場合、 get_metadata よりもはるかに高速です。" |
| 740 |
|
| 741 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 742 |
#: calibre.db.cache.Cache.get_usage_count_by_id:1 |
| 743 |
msgid "" |
| 744 |
"Return a mapping of id to usage count for all values of the specified field," |
| 745 |
" which must be a many-one or many-many field." |
| 746 |
msgstr "IDから、指定したフィールドのすべての値の使用回数へのマッピングを返します。これは、多対1または多対多のフィールドである必要があります。" |
| 747 |
|
| 748 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 749 |
#: calibre.db.cache.Cache.has_book:1 |
| 750 |
msgid "" |
| 751 |
"Return True iff the database contains an entry with the same title as the " |
| 752 |
"passed in Metadata object. The comparison is case-insensitive. See also " |
| 753 |
":meth:`data_for_has_book`." |
| 754 |
msgstr "渡された Metadata オブジェクトと同じタイトルのエントリがデータベースに含まれていれば True を返します。比較で大文字と小文字は区別されません。:meth:`data_for_has_book` も参照のこと。" |
| 755 |
|
| 756 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 757 |
#: calibre.db.cache.Cache.has_format:1 |
| 758 |
msgid "Return True iff the format exists on disk" |
| 759 |
msgstr "ディスク上に形式が存在すれば True を返します。" |
| 760 |
|
| 761 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 762 |
#: calibre.db.cache.Cache.has_id:1 |
| 763 |
msgid "Return True iff the specified book_id exists in the db" |
| 764 |
msgstr "指定した book_id が db に存在すれば True を返します" |
| 765 |
|
| 766 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 767 |
#: calibre.db.cache.Cache.import_note:1 |
| 768 |
msgid "" |
| 769 |
"Import a previously exported note or an arbitrary HTML file as the note for " |
| 770 |
"the specified item" |
| 771 |
msgstr "以前にエクスポートしたノートまたは任意の HTML ファイルを、指定したアイテムのノートとしてインポートします。" |
| 772 |
|
| 773 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 774 |
#: calibre.db.cache.Cache.init:1 |
| 775 |
msgid "Initialize this cache with data from the backend." |
| 776 |
msgstr "バックエンドからのデータでこのキャッシュを初期化します。" |
| 777 |
|
| 778 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 779 |
#: calibre.db.cache.Cache.items_with_notes_in_book:1 |
| 780 |
msgid "" |
| 781 |
"Return a dict of field to items that have associated notes for that field " |
| 782 |
"for the specified book" |
| 783 |
msgstr "指定された本のそのフィールドに関連付けられたノートを持つ、フィールドの辞書を返します。" |
| 784 |
|
| 785 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 786 |
#: calibre.db.cache.Cache.link_for:1 |
| 787 |
msgid "" |
| 788 |
"Return the link, if any, for the specified item or None if no link is found" |
| 789 |
msgstr "存在すれば指定されたアイテムのリンクを返します。存在しない場合は None を返します。" |
| 790 |
|
| 791 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 792 |
#: calibre.db.cache.Cache.list_extra_files:1 |
| 793 |
msgid "Get information about extra files in the book's directory." |
| 794 |
msgstr "本のディレクトリ内に存在する追加ファイルの情報を取得します。" |
| 795 |
|
| 796 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 797 |
#: calibre.db.cache.Cache.list_extra_files:3 |
| 798 |
msgid "the database book id for the book" |
| 799 |
msgstr "データベースの本のID" |
| 800 |
|
| 801 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 802 |
#: calibre.db.cache.Cache.list_extra_files:4 |
| 803 |
msgid "" |
| 804 |
"the pattern of filenames to search for. Empty pattern matches all extra " |
| 805 |
"files. Patterns must use / as separator. Use the DATA_FILE_PATTERN constant " |
| 806 |
"to match files inside the data directory." |
| 807 |
msgstr "検索するファイル名のパターン。空のパターンは、すべての追加ファイルに一致します。パターンは/を区切り文字として使用します。データディレクトリ内のファイルに一致させるには、DATA_FILE_PATTERN 定数を使用してください。" |
| 808 |
|
| 809 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 810 |
#: calibre.db.cache.Cache.list_extra_files:7 |
| 811 |
msgid "" |
| 812 |
"A tuple of all extra files matching the specified pattern. Each element of " |
| 813 |
"the tuple is ExtraFile(relpath, file_path, stat_result). Where relpath is " |
| 814 |
"the relative path of the file to the book directory using / as a separator. " |
| 815 |
"stat_result is the result of calling os.stat() on the file." |
| 816 |
msgstr "指定されたパターンに一致するすべての追加ファイルのタプル。タプルの各要素は ExtraFile(relpath, file_path, stat_result) です。relpathは、/を区切り文字として使用した、本ディレクトリへのファイルの相対パスです。stat_resultは、ファイルに対して os.stat() を呼び出した結果です。" |
| 817 |
|
| 818 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 819 |
#: calibre.db.cache.Cache.mark_for_pages_recount:1 |
| 820 |
msgid "Mark all books for recount of pages" |
| 821 |
msgstr "ページ数を再カウントするすべての本をマーク" |
| 822 |
|
| 823 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 824 |
#: calibre.db.cache.Cache.merge_annotations_for_book:1 |
| 825 |
msgid "" |
| 826 |
"Merge the specified annotations into the existing annotations for book_id, " |
| 827 |
"fm, user_type, and user." |
| 828 |
msgstr "指定された注釈を、book_id、fm、user_type、および user の既存の注釈にマージします。" |
| 829 |
|
| 830 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 831 |
#: calibre.db.cache.Cache.merge_extra_files:1 |
| 832 |
msgid "" |
| 833 |
"Merge the extra files from src_ids into dest_id. Conflicting files are auto-" |
| 834 |
"renamed unless replace=True in which case they are replaced." |
| 835 |
msgstr "src_ids から dest_id へ追加ファイルをマージします。ファイル名が衝突する時は、replace=True が指定されていない場合は自動的にファイル名を変更し、指定されている場合はファイルを置換します。" |
| 836 |
|
| 837 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 838 |
#: calibre.db.cache.Cache.move_book_from_trash:1 |
| 839 |
msgid "Undelete a book from the trash directory" |
| 840 |
msgstr "ゴミ箱フォルダから本を復元します。" |
| 841 |
|
| 842 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 843 |
#: calibre.db.cache.Cache.move_format_from_trash:1 |
| 844 |
msgid "Undelete a format from the trash directory" |
| 845 |
msgstr "ゴミ箱フォルダから形式を復元します。" |
| 846 |
|
| 847 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 848 |
#: calibre.db.cache.Cache.multisort:1 |
| 849 |
msgid "" |
| 850 |
"Return a list of sorted book ids. If ids_to_sort is None, all book ids are " |
| 851 |
"returned." |
| 852 |
msgstr "並べ替えられた本の ID のリストを返します。ids_to_sort が None のとき、すべての ID を返します。" |
| 853 |
|
| 854 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 855 |
#: calibre.db.cache.Cache.multisort:4 |
| 856 |
msgid "" |
| 857 |
"fields must be a list of 2-tuples of the form (field_name, ascending=True or" |
| 858 |
" False). The most significant field is the first 2-tuple." |
| 859 |
msgstr "fields は、そのフォームの2 タプルのリストである必要があります (field_name、ascending=TrueまたはFalse)。最も重要なフィールドは最初の 2 タプルです。" |
| 860 |
|
| 861 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 862 |
#: calibre.db.cache.Cache.notes_data_for:1 |
| 863 |
msgid "Return all notes data as a dict or None if note does not exist" |
| 864 |
msgstr "すべてのノートデータを辞書として返します。ノートが存在しない場合はNoneを返します。" |
| 865 |
|
| 866 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 867 |
#: calibre.db.cache.Cache.notes_for:1 |
| 868 |
msgid "Return the notes document or an empty string if not found" |
| 869 |
msgstr "ノートドキュメントを返します。存在しない場合は空文字列を返します。" |
| 870 |
|
| 871 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 872 |
#: calibre.db.cache.Cache.notes_resources_used_by:1 |
| 873 |
msgid "" |
| 874 |
"Return the set of resource hashes of all resources used by the note for the " |
| 875 |
"specified item" |
| 876 |
msgstr "指定されたアイテムのノートで使用されるすべてのリソースのハッシュのセットを返します。" |
| 877 |
|
| 878 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 879 |
#: calibre.db.cache.Cache.pages_needs_scan:1 |
| 880 |
msgid "" |
| 881 |
"Return the subset of books (or all books if empty) that are marked as " |
| 882 |
"needing a scan to update page count" |
| 883 |
msgstr "本のページ数を更新するのにスキャンが必要とマークされた本のサブセットを返します。もし存在しない時はすべての本となります。" |
| 884 |
|
| 885 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 886 |
#: calibre.db.cache.Cache.pref:1 |
| 887 |
msgid "" |
| 888 |
"Return the value for the specified preference or the value specified as " |
| 889 |
"``default`` if the preference is not set." |
| 890 |
msgstr "指定した環境設定の値、または環境設定に指定がなければデフォルト値を返します。" |
| 891 |
|
| 892 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 893 |
#: calibre.db.cache.Cache.queue_pages_scan:1 |
| 894 |
msgid "" |
| 895 |
"Start a scan updating page counts for all books that need a scan. If book_id" |
| 896 |
" is specified, then only that book is scanned and it is always scanned. When" |
| 897 |
" `force` is True, the existing pages value, if any, is discarded so that the" |
| 898 |
" book is forcibly rescanned even if the existing value was up-to-date." |
| 899 |
msgstr "スキャンが必要なすべての本のページ数を更新しながらスキャンを開始します。book_id が指定されている場合は、その本のみを対象にして常にスキャンされます。`force` が True の場合、既存のページ値(存在する場合)は破棄されます。そのため、既存の値が最新であっても、本は強制的に再スキャンされます。" |
| 900 |
|
| 901 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 902 |
#: calibre.db.cache.Cache.read_backup:1 |
| 903 |
msgid "" |
| 904 |
"Return the OPF metadata backup for the book as a bytestring or None if no " |
| 905 |
"such backup exists." |
| 906 |
msgstr "本の OPF 書誌バックアップをバイト列として返します。バックアップが存在しない場合は None を返します。" |
| 907 |
|
| 908 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 909 |
#: calibre.db.cache.Cache.refresh_format_sizes:1 |
| 910 |
msgid "" |
| 911 |
"Update the database with the on-disk sizes of the specified format files. " |
| 912 |
"``size_map`` maps ``(book_id, fmt)`` to the size of the format file. Used to" |
| 913 |
" fix stored sizes that have gone stale because format files were changed " |
| 914 |
"outside of calibre. Returns the ids of the books whose stored sizes were " |
| 915 |
"changed." |
| 916 |
msgstr "指定されたフォーマットのディスク上のファイルサイズでデータベースを更新します。``size_map`` は ``(book_id, fmt)`` をそのフォーマットのファイルサイズに対応付けます。これは、calibre の外部でファイルが変更されたことによって異なってしまった保存済みサイズを修正するために使用されます。保存済みサイズが変更された本の ID を返します。" |
| 917 |
|
| 918 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 919 |
#: calibre.db.cache.Cache.remove_books:1 |
| 920 |
msgid "" |
| 921 |
"Remove the books specified by the book_ids from the database and delete " |
| 922 |
"their format files. If ``permanent`` is False, then the format files are " |
| 923 |
"placed in the per-library trash directory." |
| 924 |
msgstr "book_ids で指定された本をデータベースから削除し、その形式ファイルも削除します。``permanent`` がFalseの場合、形式ファイルはライブラリごとのゴミ箱ディレクトリに配置されます。" |
| 925 |
|
| 926 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 927 |
#: calibre.db.cache.Cache.remove_extra_files:1 |
| 928 |
msgid "" |
| 929 |
"Delete the specified extra files, either to Recycle Bin or permanently." |
| 930 |
msgstr "指定された追加ファイルをゴミ箱または完全に削除します。" |
| 931 |
|
| 932 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 933 |
#: calibre.db.cache.Cache.remove_formats:1 |
| 934 |
msgid "Remove the specified formats from the specified books." |
| 935 |
msgstr "指定した本から指定した形式を削除します。" |
| 936 |
|
| 937 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 938 |
#: calibre.db.cache.Cache.remove_formats:3 |
| 939 |
msgid "A mapping of book_id to a list of formats to be removed from the book." |
| 940 |
msgstr "book_id から、削除される本の形式のリストへのマッピング。" |
| 941 |
|
| 942 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 943 |
#: calibre.db.cache.Cache.remove_formats:4 |
| 944 |
msgid "" |
| 945 |
"If True, only remove the record for the format from the db, do not delete " |
| 946 |
"the actual format file from the filesystem." |
| 947 |
msgstr "True のとき、その形式のレコードを db からだけ削除し、ファイルシステムにある実際の形式ファイルは削除しません。" |
| 948 |
|
| 949 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 950 |
#: calibre.db.cache.Cache.remove_formats:5 |
| 951 |
msgid "" |
| 952 |
"A map of book id to set of formats actually deleted from the filesystem for " |
| 953 |
"that book" |
| 954 |
msgstr "本IDと、その本のファイルシステムから実際に削除された形式とのマップ" |
| 955 |
|
| 956 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 957 |
#: calibre.db.cache.Cache.remove_items:1 |
| 958 |
msgid "" |
| 959 |
"Delete all items in the specified field with the specified ids. Returns the " |
| 960 |
"set of affected book ids. ``restrict_to_book_ids`` is an optional set of " |
| 961 |
"books ids. If specified the items will only be removed from those books." |
| 962 |
msgstr "指定した ID を持つ指定したフィールドのすべてのアイテムを削除します。影響を受ける本の ID のセットを返します。 ``restrict_to_book_ids`` は、オプションの本の ID のセットです。指定すると、項目はそれらの本からのみ削除されます。" |
| 963 |
|
| 964 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 965 |
#: calibre.db.cache.Cache.rename_extra_files:1 |
| 966 |
msgid "Rename extra data files" |
| 967 |
msgstr "追加データファイルを名称変更" |
| 968 |
|
| 969 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 970 |
#: calibre.db.cache.Cache.rename_items:1 |
| 971 |
msgid "" |
| 972 |
"Rename items from a many-one or many-many field such as tags or series." |
| 973 |
msgstr "タグやシリーズのような、多対多のフィールドから項目の名前を変更します。" |
| 974 |
|
| 975 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 976 |
#: calibre.db.cache.Cache.rename_items:3 |
| 977 |
msgid "" |
| 978 |
"When renaming in a series-like field also change the series_index values." |
| 979 |
msgstr "シリーズのようなフィールドで名前を変更する場合は、series_index の値も変更します。" |
| 980 |
|
| 981 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 982 |
#: calibre.db.cache.Cache.rename_items:4 |
| 983 |
msgid "" |
| 984 |
"An optional set of book ids for which the rename is to be performed, " |
| 985 |
"defaults to all books." |
| 986 |
msgstr "名前の変更を実施しようとしている本の ID のセット。デフォルトではすべての本。" |
| 987 |
|
| 988 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 989 |
#: calibre.db.cache.Cache.restore_book:1 |
| 990 |
msgid "" |
| 991 |
"Restore the book entry in the database for a book that already exists on the" |
| 992 |
" filesystem" |
| 993 |
msgstr "ファイルシステムにすでに存在する本の、データベース内のエントリを復元します" |
| 994 |
|
| 995 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 996 |
#: calibre.db.cache.Cache.restore_original_format:1 |
| 997 |
msgid "" |
| 998 |
"Restore the specified format from the previously saved ORIGINAL_FORMAT, if " |
| 999 |
"any. Return True on success. The ORIGINAL_FORMAT is deleted after a " |
| 1000 |
"successful restore." |
| 1001 |
msgstr "以前に保存した ORIGINAL_FORMAT に指定した形式があれば、復元します。成功時に True を返します。復元が成功すると ORIGINAL_FORMAT は削除されます。" |
| 1002 |
|
| 1003 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1004 |
#: calibre.db.cache.Cache.safe_read_lock:1 |
| 1005 |
msgid "" |
| 1006 |
"A safe read lock is a lock that does nothing if the thread already has a " |
| 1007 |
"write lock, otherwise it acquires a read lock. This is necessary to prevent " |
| 1008 |
"DowngradeLockErrors, which can happen when updating the search cache in the " |
| 1009 |
"presence of composite columns. Updating the search cache holds an exclusive " |
| 1010 |
"lock, but searching a composite column involves reading field values via " |
| 1011 |
"ProxyMetadata which tries to get a shared lock. There may be other scenarios" |
| 1012 |
" that trigger this as well." |
| 1013 |
msgstr "安全な読み取りロックは、スレッドがすでに書き込みロックを持っている場合は何もせず、そうでない場合に読み取りロックを取得するロックです。これは、複合列が存在するときに検索キャッシュを更新すると発生する可能性がある DowngradeLockErrors を防ぐために必要です。検索キャッシュを更新すると排他ロックが保持されますが、複合列を検索するには、共有ロックを取得しようとする ProxyMetadata を介してフィールド値を読み取る必要があります。これのトリガーとなる別のシナリオもあるかもしれません。" |
| 1014 |
|
| 1015 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1016 |
#: calibre.db.cache.Cache.safe_read_lock:9 |
| 1017 |
msgid "" |
| 1018 |
"This property returns a new lock object on every access. This lock object is" |
| 1019 |
" not recursive (for performance) and must only be used in a with statement " |
| 1020 |
"as ``with cache.safe_read_lock:`` otherwise bad things will happen." |
| 1021 |
msgstr "このプロパティは、アクセスごとに新しいロックオブジェクトを返します。このロックオブジェクトは (性能上の理由で) 再帰的ではなく、必ず ``with cache.safe_read_lock:`` として with 文とともに使用する必要があります。そうしないと、よくないことが起こります。" |
| 1022 |
|
| 1023 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1024 |
#: calibre.db.cache.Cache.save_original_format:1 |
| 1025 |
msgid "" |
| 1026 |
"Save a copy of the specified format as ORIGINAL_FORMAT, overwriting any " |
| 1027 |
"existing ORIGINAL_FORMAT." |
| 1028 |
msgstr "指定した形式のコピーを ORIGINAL_FORMAT として保存し、既存の ORIGINAL_FORMAT を上書きします。" |
| 1029 |
|
| 1030 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1031 |
#: calibre.db.cache.Cache.search:1 |
| 1032 |
msgid "" |
| 1033 |
"Search the database for the specified query, returning a set of matched book" |
| 1034 |
" ids." |
| 1035 |
msgstr "指定したクエリをデータベースで検索し、マッチした本のIDのセットを返します。" |
| 1036 |
|
| 1037 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1038 |
#: calibre.db.cache.Cache.search:3 |
| 1039 |
msgid "" |
| 1040 |
"A restriction that is ANDed to the specified query. Note that restrictions " |
| 1041 |
"are cached, therefore the search for a AND b will be slower than a with " |
| 1042 |
"restriction b." |
| 1043 |
msgstr "指定したクエリに AND される制限。ただし制限がキャッシュされるため、AND bの 検索は、制限 b よりも遅くなります。" |
| 1044 |
|
| 1045 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1046 |
#: calibre.db.cache.Cache.search:6 |
| 1047 |
msgid "Used internally (virtual fields such as on_device to search over)." |
| 1048 |
msgstr "内部使用 (検索する on_device のような仮想フィールド)" |
| 1049 |
|
| 1050 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1051 |
#: calibre.db.cache.Cache.search:8 |
| 1052 |
msgid "" |
| 1053 |
"If not None, a set of book ids for which books will be searched instead of " |
| 1054 |
"searching all books." |
| 1055 |
msgstr "None でないとき、すべての本を検索するのではなく、検索される本の ID のセット。" |
| 1056 |
|
| 1057 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1058 |
#: calibre.db.cache.Cache.search_annotations:1 |
| 1059 |
msgid "" |
| 1060 |
"Return of a tuple of annotations matching the specified Full-text query." |
| 1061 |
msgstr "指定された全文検索クエリに一致する注釈をタプルで返します。" |
| 1062 |
|
| 1063 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1064 |
#: calibre.db.cache.Cache.search_notes:1 |
| 1065 |
msgid "" |
| 1066 |
"Search the text of notes using an FTS index. If the query is empty return " |
| 1067 |
"all notes." |
| 1068 |
msgstr "FTSインデックスを使用して注釈のテキストを検索します。クエリが空の場合は、すべてのノートを返します。" |
| 1069 |
|
| 1070 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1071 |
#: calibre.db.cache.Cache.set_annotations_for_book:1 |
| 1072 |
msgid "" |
| 1073 |
"Set all annotations for the specified book_id, fmt, user_type and user." |
| 1074 |
msgstr "指定された book_id、fmt、user_type、および user のすべての注釈を設定します。" |
| 1075 |
|
| 1076 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1077 |
#: calibre.db.cache.Cache.set_conversion_options:1 |
| 1078 |
msgid "options must be a map of the form {book_id:conversion_options}" |
| 1079 |
msgstr "options は、{book_id:conversion_options} 形式のマップでなくてはなりません" |
| 1080 |
|
| 1081 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1082 |
#: calibre.db.cache.Cache.set_cover:1 |
| 1083 |
msgid "" |
| 1084 |
"Set the cover for this book. The data can be either a QImage, QPixmap, file " |
| 1085 |
"object or bytestring. It can also be None, in which case any existing cover " |
| 1086 |
"is removed." |
| 1087 |
msgstr "この本の表紙を設定します。データは、QImage、QPixmap、ファイルオブジェクト、またはバイト列のいずれかです。 None にすることも可能で、その場合、既存の表紙はすべて削除されます。" |
| 1088 |
|
| 1089 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1090 |
#: calibre.db.cache.Cache.set_field:1 |
| 1091 |
msgid "" |
| 1092 |
"Set the values of the field specified by ``name``. Returns the set of all " |
| 1093 |
"book ids that were affected by the change." |
| 1094 |
msgstr "``name`` で指定したフィールドの値を設定します。変更の影響を受けたすべての本 の IDのセットを返します。" |
| 1095 |
|
| 1096 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1097 |
#: calibre.db.cache.Cache.set_field:3 |
| 1098 |
msgid "Mapping of book_ids to values that should be applied." |
| 1099 |
msgstr "book_id から、適用すべき値へのマッピング。" |
| 1100 |
|
| 1101 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1102 |
#: calibre.db.cache.Cache.set_field:4 |
| 1103 |
msgid "" |
| 1104 |
"If True, the case of many-one or many-many fields will be changed. For " |
| 1105 |
"example, if a book has the tag ``tag1`` and you set the tag for another " |
| 1106 |
"book to ``Tag1`` then the both books will have the tag ``Tag1`` if " |
| 1107 |
"allow_case_change is True, otherwise they will both have the tag ``tag1``." |
| 1108 |
msgstr "True のとき、多対1または多対多フィールドの大文字と小文字が変更されます。たとえば、本にタグ ``tag1`` があり、別の本のタグを ``Tag1`` に設定した場合、allow_case_change が True であれば両方の本にタグ ``Tag1`` が付けられ、そうでなければ両方にタグ ``tag1`` が付けられます。" |
| 1109 |
|
| 1110 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1111 |
#: calibre.db.cache.Cache.set_field:8 |
| 1112 |
msgid "Used internally, you should never change it." |
| 1113 |
msgstr "内部利用。決して変更しないこと。" |
| 1114 |
|
| 1115 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1116 |
#: calibre.db.cache.Cache.set_link_map:1 |
| 1117 |
msgid "" |
| 1118 |
"Sets links for item values in field. Note: this method doesn't change values" |
| 1119 |
" not in the value_to_link_map" |
| 1120 |
msgstr "フィールド内のアイテム値のリンクを設定します。注意: このメソッドは value_to_link_map にない値は変更しません。" |
| 1121 |
|
| 1122 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1123 |
#: calibre.db.cache.Cache.set_link_map:4 |
| 1124 |
msgid "the lookup name" |
| 1125 |
msgstr "ルックアップ名" |
| 1126 |
|
| 1127 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1128 |
#: calibre.db.cache.Cache.set_link_map:5 |
| 1129 |
msgid "" |
| 1130 |
"dict(field_value:link, ...). Note that these are values, not field ids." |
| 1131 |
msgstr "dict(field_value:link, ...) 引数はフィールドIDでなく、値であることに注意してください" |
| 1132 |
|
| 1133 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1134 |
#: calibre.db.cache.Cache.set_link_map:7 |
| 1135 |
msgid "books changed by setting the link" |
| 1136 |
msgstr "リンクを設定することで変更された本" |
| 1137 |
|
| 1138 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1139 |
#: calibre.db.cache.Cache.set_metadata:1 |
| 1140 |
msgid "Set metadata for the book `id` from the `Metadata` object `mi`" |
| 1141 |
msgstr "`Metadata` オブジェクト `mi` からの本 `id` の本に書誌を設定します" |
| 1142 |
|
| 1143 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1144 |
#: calibre.db.cache.Cache.set_metadata:3 |
| 1145 |
msgid "" |
| 1146 |
"Setting force_changes=True will force set_metadata to update fields even if " |
| 1147 |
"mi contains empty values. In this case, 'None' is distinguished from " |
| 1148 |
"'empty'. If mi.XXX is None, the XXX is not replaced, otherwise it is. The " |
| 1149 |
"tags, identifiers, and cover attributes are special cases. Tags and " |
| 1150 |
"identifiers cannot be set to None so they will always be replaced if " |
| 1151 |
"force_changes is true. You must ensure that mi contains the values you want " |
| 1152 |
"the book to have. Covers are always changed if a new cover is provided, but " |
| 1153 |
"are never deleted. Also note that force_changes has no effect on setting " |
| 1154 |
"title or authors." |
| 1155 |
msgstr "force_changes= True を設定すると、miに空の値が含まれていても、強制的に set_metadata を更新します。この場合、'None' と 'empty' は区別されます。 mi.XXX が None のとき XXX は置き換えられませんが、そうでなければ置き換えられます。タグ、識別子、および表紙属性は特殊なケースです。タグと識別子は None に設定できないため、force_changes が true の場合は常に置き換えられます。mi には本に持たせたい値が必ず含まれるようにしてください。新しい表紙が提供されると表紙は常に変更されますが、削除されることはありません。なお、force_changes はタイトルや著者の設定には影響しません。" |
| 1156 |
|
| 1157 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1158 |
#: calibre.db.cache.Cache.set_notes_for:1 |
| 1159 |
msgid "" |
| 1160 |
"Set the notes document. If the searchable text is different from the " |
| 1161 |
"document, specify it as searchable_text. If the document references " |
| 1162 |
"resources their hashes must be present in resource_hashes. Set " |
| 1163 |
"remove_unused_resources to True to cleanup unused resources, note that " |
| 1164 |
"updating a note automatically cleans up resources pertaining to that note " |
| 1165 |
"anyway." |
| 1166 |
msgstr "ノートのドキュメントを設定します。検索可能なテキストがドキュメントと異なる場合は、searchable_text で指定してください。ドキュメントがリソースを参照している場合は、そのハッシュを resource_hashes に設定する必要があります。未使用のリソースをクリーンアップするには、remove_unused_resources を True に設定します。ノートを更新すると、そのノートに関連するリソースも自動的にクリーンアップされることに注意してください。" |
| 1167 |
|
| 1168 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1169 |
#: calibre.db.cache.Cache.set_pages:1 |
| 1170 |
msgid "Set page count information for the specified book" |
| 1171 |
msgstr "特定の本のページ数情報を設定する" |
| 1172 |
|
| 1173 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1174 |
#: calibre.db.cache.Cache.set_pref:1 |
| 1175 |
msgid "" |
| 1176 |
"Set the specified preference to the specified value. See also :meth:`pref`." |
| 1177 |
msgstr "指定した環境設定に指定した値を設定します。:meth:`pref` も参照のこと。" |
| 1178 |
|
| 1179 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1180 |
#: calibre.db.cache.Cache.split_if_is_multiple_composite:1 |
| 1181 |
msgid "" |
| 1182 |
"If f is a composite column lookup key and the column is is_multiple then " |
| 1183 |
"split v into unique non-empty values. The comparison is case sensitive. " |
| 1184 |
"Order is not preserved. Return a list() for compatibility with proxy " |
| 1185 |
"metadata field getters, for example tags." |
| 1186 |
msgstr "f が複合列のルックアップキーであり、列が is_multiple の場合、v を一意の空でない値に分割します。比較では大文字と小文字が区別されます。順序は保持されません。proxy metadata field getters(例:tags)との互換性のため、list() を返します。" |
| 1187 |
|
| 1188 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1189 |
#: calibre.db.cache.Cache.tags_older_than:1 |
| 1190 |
msgid "" |
| 1191 |
"Return the ids of all books having the tag ``tag`` that are older than the " |
| 1192 |
"specified time. tag comparison is case insensitive." |
| 1193 |
msgstr "指定した時間より古いタグ ``tag`` を持つすべての本の ID を返します。tag の比較で大文字と小文字は区別されません。" |
| 1194 |
|
| 1195 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1196 |
#: calibre.db.cache.Cache.tags_older_than:4 |
| 1197 |
msgid "" |
| 1198 |
"A timedelta object or None. If None, then all ids with the tag are returned." |
| 1199 |
msgstr "timedelta オブジェクト、または None。None のときにはそのタグの ID がすべて返されます。" |
| 1200 |
|
| 1201 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1202 |
#: calibre.db.cache.Cache.tags_older_than:7 |
| 1203 |
msgid "" |
| 1204 |
"If not None the list of matches will be restricted to books that have this " |
| 1205 |
"tag" |
| 1206 |
msgstr "None でないとき、マッチするリストはこのタグが付いた本に制限されます" |
| 1207 |
|
| 1208 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1209 |
#: calibre.db.cache.Cache.tags_older_than:10 |
| 1210 |
msgid "" |
| 1211 |
"A list of authors. If not None the list of matches will be restricted to " |
| 1212 |
"books that have these authors (case insensitive)." |
| 1213 |
msgstr "著者のリスト。 None でないとき、マッチするリストは指定された著者の本に制限されます (大文字と小文字は区別されません)。" |
| 1214 |
|
| 1215 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1216 |
#: calibre.db.cache.Cache.unretire_note_for:1 |
| 1217 |
msgid "" |
| 1218 |
"Unretire a previously retired note for the specified item. Notes are retired" |
| 1219 |
" when an item is removed from the database" |
| 1220 |
msgstr "指定されたアイテムの、以前に廃止されたノートを復元します。ノートは、アイテムがデータベースから削除された時に削除されます。" |
| 1221 |
|
| 1222 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1223 |
#: calibre.db.cache.Cache.update_annotations:1 |
| 1224 |
msgid "Update annotations." |
| 1225 |
msgstr "注釈の更新" |
| 1226 |
|
| 1227 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1228 |
#: calibre.db.cache.Cache.user_categories_for_books:1 |
| 1229 |
msgid "" |
| 1230 |
"Return the user categories for the specified books. proxy_metadata_map is " |
| 1231 |
"optional and is useful for a performance boost, in contexts where a " |
| 1232 |
"ProxyMetadata object for the books already exists. It should be a mapping of" |
| 1233 |
" book_ids to their corresponding ProxyMetadata objects." |
| 1234 |
msgstr "指定した本のユーザカテゴリを返します。 proxy_metadata_map はオプションで、本の ProxyMetadata オブジェクトがすでに存在するコンテキストでパフォーマンスを向上させるのに役立ちます。これは、book_idsから対応するProxyMetadataオブジェクトへのマッピングでないといけません。" |