Debian Codegraph @

translations/manual/ja/polish.po

raw
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) Kovid Goyal
3 # This file is distributed under the same license as the calibre package.
4 #
5 # Translators:
6 # akihiko tanae (tanaeakihiko), 2026
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: calibre\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2026-05-24 03:34+0000\n"
12 "PO-Revision-Date: 2014-07-05 16:50+0000\n"
13 "Last-Translator: akihiko tanae (tanaeakihiko), 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/polish.rst:4
22 msgid "API documentation for the e-book editing tools"
23 msgstr "電子書籍編集ツール API 説明書"
24
25 #: ../../../__w/calibre/calibre/manual/polish.rst:6
26 msgid ""
27 "The e-book editing tools consist of a "
28 ":class:`calibre.ebooks.oeb.polish.container.Container` object that "
29 "represents a book as a collection of HTML + resource files, and various "
30 "tools that can be used to perform operations on the container. All the tools"
31 " are in the form of module level functions in the various "
32 "``calibre.ebooks.oeb.polish.*`` modules."
33 msgstr "電子書籍編集ツールは、HTML +リソースファイルのコレクションとして書籍を表す :class:`calibre.ebooks.oeb.polish.container.Container` オブジェクトと、コンテナで操作を実行するために使用できるさまざまなツールで構成されています。すべてのツールは、さまざまな``calibre.ebooks.oeb.polish.*`` モジュールのモジュールレベルの関数の形式になっています。"
34
35 #: ../../../__w/calibre/calibre/manual/polish.rst:15
36 msgid "You obtain a container object for a book at a path like this::"
37 msgstr "次のようなパスで本のコンテナオブジェクトを取得します。"
38
39 #: ../../../__w/calibre/calibre/manual/polish.rst:20
40 msgid ""
41 "If you are writing a plugin for the E-book editor, you get the current "
42 "container for the book being edited like this::"
43 msgstr "電子書籍エディタのプラグインを作成している場合は、編集中の書籍の現在のコンテナを次のように取得します::"
44
45 #: ../../../__w/calibre/calibre/manual/polish.rst:30
46 msgid "The Container object"
47 msgstr "Container オブジェクト"
48
49 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
50 #: of calibre.ebooks.oeb.polish.container.Container:1
51 msgid ""
52 "A container represents an open e-book as a folder full of files and an OPF "
53 "file. There are two important concepts:"
54 msgstr "コンテナは開いている電子書籍を、OPF ファイルおよびファイルでいっぱいのフォルダとして表します。 2 つの重要な概念があります:"
55
56 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
57 #: of calibre.ebooks.oeb.polish.container.Container:4
58 msgid ""
59 "The root folder. This is the base of the e-book. All the e-books files are "
60 "inside this folder or in its sub-folders."
61 msgstr "ルートフォルダ。これが電子書籍のベースです。すべての電子書籍ファイルは、このフォルダまたはそのサブフォルダ内にあります。"
62
63 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
64 #: of calibre.ebooks.oeb.polish.container.Container:7
65 msgid ""
66 "Names: These are paths to the books' files relative to the root folder. They"
67 " always contain POSIX separators and are unquoted. They can be thought of as"
68 " canonical identifiers for files in the book. Most methods on the container "
69 "object work with names. Names are always in the NFC Unicode normal form."
70 msgstr "名前: ルートフォルダを基準にした書籍のファイルへのパスです。それらは常に POSIX 区切り文字を含み、引用符で囲まれていません。本のファイルの正規の識別子と考えることができます。コンテナオブジェクトのほとんどのメソッドは名前で機能します。名前は常にNFC Unicode の通常の形式です。"
71
72 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
73 #: of calibre.ebooks.oeb.polish.container.Container:13
74 msgid ""
75 "Clones: the container object supports efficient on-disk cloning, which is "
76 "used to implement checkpoints in the e-book editor. In order to make this "
77 "work, you should never access files on the filesystem directly. Instead, use"
78 " :meth:`raw_data` or :meth:`open` to read/write to component files in the "
79 "book."
80 msgstr "クローン: コンテナオブジェクトは、電子書籍エディタでチェックポイントを実装するために使用される効率的なディスク上のクローンをサポートします。これを機能させるために、ファイルシステム上のファイルには直接アクセスしないでください。代わりに、:meth:`raw_data` または :meth:`open` を使用して、本の中のコンポーネントファイルの読み取り/書き込みを行ってください。"
81
82 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
83 #: of calibre.ebooks.oeb.polish.container.Container:18
84 msgid ""
85 "When converting between hrefs and names use the methods provided by this "
86 "class, they assume all hrefs are quoted."
87 msgstr "href と名前を変換するときに、このクラスが提供するメソッドを使用します。このときすべての href が引用符で囲まれていると想定します。"
88
89 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
90 #: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:1
91 msgid "Convert an absolute path to a canonical name relative to :attr:`root`"
92 msgstr "絶対パスを :attr:`ルート` を基準とした正規名に変換します"
93
94 #: ../../../__w/calibre/calibre/manual/polish.rst:0
95 msgid "Parameters"
96 msgstr "パラメータ"
97
98 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
99 #: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:3
100 msgid ""
101 "The base folder. By default the root for this container object is used."
102 msgstr "ベースフォルダ。デフォルトでは、このコンテナオブジェクトのルートが使用されます。"
103
104 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
105 #: of calibre.ebooks.oeb.polish.container.Container.add_file:1
106 msgid ""
107 "Add a file to this container. Entries for the file are automatically created"
108 " in the OPF manifest and spine (if the file is a text document)"
109 msgstr "このコンテナにファイルを追加します。ファイルのエントリは、OPF マニフェストとスパインに自動的に作成されます (ファイルがテキストドキュメントの場合)"
110
111 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
112 #: of calibre.ebooks.oeb.polish.container.Container.add_name_to_manifest:1
113 msgid ""
114 "Add an entry to the manifest for a file with the specified name. Returns the"
115 " manifest id."
116 msgstr "指定した名前のファイルのマニフェストにエントリを追加します。マニフェスト ID を返します。"
117
118 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
119 #: of calibre.ebooks.oeb.polish.container.Container.add_properties:1
120 msgid "Add the specified properties to the manifest item identified by name."
121 msgstr "名前で識別されるマニフェスト項目に、指定したプロパティを追加します。"
122
123 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
124 #: of calibre.ebooks.oeb.polish.container.Container.apply_unique_properties:1
125 msgid ""
126 "Ensure that the specified properties are set on only the manifest item "
127 "identified by name. You can pass None as the name to remove the property "
128 "from all items."
129 msgstr "指定したプロパティを設定するのは、名前で識別されるマニフェスト項目だけにしてください。名前として None を渡すと、すべての項目からプロパティを削除できます。"
130
131 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
132 #: of calibre.ebooks.oeb.polish.container.Container.book_type:1
133 msgid "The type of book (epub for EPUB files and azw3 for AZW3 files)"
134 msgstr "本のタイプ (EPUB ファイルの場合は epub、AZW3 ファイルの場合は azw3)"
135
136 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
137 #: of calibre.ebooks.oeb.polish.container.Container.commit:1
138 msgid ""
139 "Commit all dirtied parsed objects to the filesystem and write out the e-book"
140 " file at outpath."
141 msgstr "汚くなった解析済みオブジェクトをすべてファイルシステムにコミットし、電子書籍ファイルをアウトパスに書き込みます。"
142
143 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
144 #: of calibre.ebooks.oeb.polish.container.Container.commit:3
145 msgid ""
146 "The path to write the saved e-book file to. If None, the path of the "
147 "original book file is used."
148 msgstr "保存した電子書籍ファイルを書き込むパス。 None であれば、元の本ファイルのパスが使用されます。"
149
150 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
151 #: of calibre.ebooks.oeb.polish.container.Container.commit:4
152 msgid ""
153 "If True the parsed representations of committed items are kept in the cache."
154 msgstr "True のとき、コミットされた項目の解析された表現はキャッシュに保持されます。"
155
156 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
157 #: of calibre.ebooks.oeb.polish.container.Container.commit_item:1
158 msgid ""
159 "Commit a parsed object to disk (it is serialized and written to the "
160 "underlying file). If ``keep_parsed`` is True the parsed representation is "
161 "retained in the cache. See also: :meth:`parsed`"
162 msgstr "解析されたオブジェクトをディスクにコミットします (シリアル化され、基になるファイルに書き込まれます)。 ``keep_parsed`` が True なら、解析された表現はキャッシュに保持されます。:meth:`parsed` も参照のこと。"
163
164 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
165 #: of calibre.ebooks.oeb.polish.container.Container.dirty:1
166 msgid ""
167 "Mark the parsed object corresponding to name as dirty. See also: "
168 ":meth:`parsed`."
169 msgstr "name に対応する解析済みオブジェクトを汚いとマークします。:meth:`parsed` も参照のこと。"
170
171 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
172 #: of calibre.ebooks.oeb.polish.container.Container.exists:1
173 msgid ""
174 "True iff a file/folder corresponding to the canonical name exists. Note that"
175 " this function suffers from the limitations of the underlying OS filesystem,"
176 " in particular case (in)sensitivity. So on a case insensitive filesystem "
177 "this will return True even if the case of name is different from the case of"
178 " the underlying filesystem file. See also :meth:`has_name`"
179 msgstr "正規名に対応するファイル/フォルダーが存在すれば True。ただしこの関数は、基盤となる OS ファイルシステムの制限、特に (非) 感度の問題があります。したがって、大文字と小文字を区別しないファイルシステムでは、名前と基になるファイルシステムファイルで大文字と小文字が異なっていても、これは True を返します。:meth:`has_name` も参照のこと。"
180
181 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
182 #: of calibre.ebooks.oeb.polish.container.Container.filesize:1
183 msgid ""
184 "Return the size in bytes of the file represented by the specified canonical "
185 "name. Automatically handles dirtied parsed objects. See also: :meth:`parsed`"
186 msgstr "指定された正規名で表されるファイルのサイズをバイト単位で返します。汚れた解析済みオブジェクトを自動的に処理します。:meth:`parsed` も参照のこと。"
187
188 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
189 #: of calibre.ebooks.oeb.polish.container.Container.generate_item:1
190 msgid ""
191 "Add an item to the manifest with href derived from the given name. Ensures "
192 "uniqueness of href and id automatically. Returns generated item."
193 msgstr "指定された名前から派生した href を使用してマニフェストに項目を追加します。 href と id の一意性を自動的に保証します。生成された項目を返します。"
194
195 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
196 #: of
197 #: calibre.ebooks.oeb.polish.container.Container.get_file_path_for_processing:1
198 msgid ""
199 "Similar to open() except that it returns a file path, instead of an open "
200 "file object."
201 msgstr "open() に似ていますが、開いているファイルオブジェクトの代わりにファイルパスを返す点が異なります。"
202
203 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
204 #: of calibre.ebooks.oeb.polish.container.Container.guide_type_map:1
205 msgid "Mapping of guide type to canonical name"
206 msgstr "ガイドタイプの正規名へのマッピング"
207
208 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
209 #: of calibre.ebooks.oeb.polish.container.Container.has_name:1
210 msgid ""
211 "Return True iff a file with the same canonical name as that specified "
212 "exists. Unlike :meth:`exists` this method is always case-sensitive."
213 msgstr "指定されたものと同じ正規名のファイルが存在する場合は True を返します。 :meth:`exists` とは異なり、このメソッドでは常に大文字と小文字が区別されます。"
214
215 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
216 #: of calibre.ebooks.oeb.polish.container.Container.href_to_name:1
217 msgid ""
218 "Convert an href (relative to base) to a name. base must be a name or None, "
219 "in which case self.root is used."
220 msgstr "(ベースに対して) href を名前に変換します。 base は name または None である必要があり、その場合には self.root が使用されます。"
221
222 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
223 #: of calibre.ebooks.oeb.polish.container.Container.insert_into_xml:1
224 msgid ""
225 "Insert item into parent (or append if index is None), fixing indentation. "
226 "Only works with self closing items."
227 msgstr "item を親に挿入し (インデックスが None であれば追加し)、インデントを修正します。自己終了する item でのみ機能します。"
228
229 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
230 #: of calibre.ebooks.oeb.polish.container.Container.is_dir:1
231 msgid "If this container represents an unzipped book (a directory)"
232 msgstr "このコンテナが解凍された本 (ディレクトリ) を表すかどうか"
233
234 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
235 #: of calibre.ebooks.oeb.polish.container.Container.iterlinks:1
236 msgid ""
237 "Iterate over all links in name. If get_line_numbers is True the yields "
238 "results of the form (link, line_number, offset). Where line_number is the "
239 "line_number at which the link occurs and offset is the number of characters "
240 "from the start of the line. Note that offset could actually encompass "
241 "several lines if not zero."
242 msgstr "名前のすべてのリンクを繰り返します。get_line_numbers が True のとき、結果は (link, line_number, offset) の形式で得られます。line_number はリンクが発生するline_number、offset は行の先頭からの文字数です。ただし offset は、ゼロでない場合でも実際には複数の線を含む可能性があります。"
243
244 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
245 #: of calibre.ebooks.oeb.polish.container.Container.make_name_unique:1
246 msgid ""
247 "Ensure that `name` does not already exist in this book. If it does, return a"
248 " modified version that does not exist."
249 msgstr "`name` には必ずこの本に存在していないものを指定してください。すでに存在する場合は、変更された存在しないバージョンを返します。"
250
251 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
252 #: of calibre.ebooks.oeb.polish.container.Container.manifest_has_name:1
253 msgid "Return True if the manifest has an entry corresponding to name"
254 msgstr "マニフェストに名前に対応するエントリがあれば True を返します"
255
256 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
257 #: of calibre.ebooks.oeb.polish.container.Container.manifest_id_map:1
258 msgid "Mapping of manifest id to canonical names"
259 msgstr "マニフェストIDの正規名へのマッピング"
260
261 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
262 #: of calibre.ebooks.oeb.polish.container.Container.manifest_items_of_type:1
263 msgid ""
264 "The names of all manifest items whose media-type matches predicate. "
265 "`predicate` can be a set, a list, a string or a function taking a single "
266 "argument, which will be called with the media-type."
267 msgstr "メディアタイプが predicate とマッチするすべてのマニフェスト項目の名前。`predicate` は、セット、リスト、文字列、または単一の引数を取る関数であり、メディアタイプで呼び出されます。"
268
269 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
270 #: of
271 #: calibre.ebooks.oeb.polish.container.Container.manifest_items_with_property:1
272 msgid "All manifest items that have the specified property"
273 msgstr "指定したプロパティを持つすべてのマニフェスト項目"
274
275 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
276 #: of calibre.ebooks.oeb.polish.container.Container.manifest_type_map:1
277 msgid ""
278 "Mapping of manifest media-type to list of canonical names of that media-type"
279 msgstr "マニフェストメディアタイプの、そのメディアタイプの正規名のリストへのマッピング"
280
281 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
282 #: of calibre.ebooks.oeb.polish.container.Container.mi:1
283 msgid ""
284 "The metadata of this book as a Metadata object. Note that this object is "
285 "constructed on the fly every time this property is requested, so use it "
286 "sparingly."
287 msgstr "Metadata オブジェクトとしてこの本の書誌。ただしこのオブジェクトは、このプロパティが要求されるたびにオンザフライで構築されるため、慎重に使用してください。"
288
289 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
290 #: of calibre.ebooks.oeb.polish.container.Container.name_to_abspath:1
291 msgid "Convert a canonical name to an absolute OS dependent path"
292 msgstr "正規名を OS に依存する絶対パスに変換します"
293
294 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
295 #: of calibre.ebooks.oeb.polish.container.Container.name_to_href:1
296 msgid ""
297 "Convert a name to a href relative to base, which must be a name or None in "
298 "which case self.root is used as the base"
299 msgstr "名前をベースを基準にした href に変換します。これは、名前または None である必要があり、self.root がベースとして使用されます。"
300
301 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
302 #: of
303 #: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_changed:1
304 msgid ""
305 "Set of names that must never be renamed. Depends on the e-book file format."
306 msgstr "名前を変更してはならない名前のセット。電子書籍のファイル形式によって異なります。"
307
308 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
309 #: of
310 #: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_removed:1
311 msgid ""
312 "Set of names that must never be deleted from the container. Depends on the "
313 "e-book file format."
314 msgstr "コンテナから削除してはならない名前のセット。電子書籍のファイル形式によって異なります。"
315
316 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
317 #: of
318 #: calibre.ebooks.oeb.polish.container.Container.names_that_need_not_be_manifested:1
319 msgid ""
320 "Set of names that are allowed to be missing from the manifest. Depends on "
321 "the e-book file format."
322 msgstr "マニフェストから欠落することが許可されている名前のセット。電子書籍のファイル形式によって異なります。"
323
324 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
325 #: of calibre.ebooks.oeb.polish.container.Container.open:1
326 msgid ""
327 "Open the file pointed to by name for direct read/write. Note that this will "
328 "commit the file if it is dirtied and remove it from the parse cache. You "
329 "must finish with this file before accessing the parsed version of it again, "
330 "or bad things will happen."
331 msgstr "直接読み取り/書き込み用に name で指定されたファイルを開きます。ただしファイルが汚いときには、ファイルがコミットされて解析キャッシュから削除されます。このファイルは、解析されたバージョンのファイルに再度アクセスする前に終了する必要があります。そうしないと、問題が発生します。"
332
333 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
334 #: of calibre.ebooks.oeb.polish.container.Container.opf:1
335 msgid "The parsed OPF file"
336 msgstr "解析された OPF ファイル"
337
338 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
339 #: of calibre.ebooks.oeb.polish.container.Container.opf_get_or_create:1
340 msgid ""
341 "Convenience method to either return the first XML element with the specified"
342 " name or create it under the opf:package element and then return it, if it "
343 "does not already exist."
344 msgstr "指定した name の最初の XML 要素を返すか、まだ存在しなければ opf:package 要素の下に作成して、それを返す便利なメソッド。"
345
346 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
347 #: of calibre.ebooks.oeb.polish.container.Container.opf_version:1
348 msgid "The version set on the OPF's <package> element"
349 msgstr "OPF の <package> 要素に設定されているバージョン"
350
351 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
352 #: of calibre.ebooks.oeb.polish.container.Container.opf_version_parsed:1
353 msgid "The version set on the OPF's <package> element as a tuple of integers"
354 msgstr "OPF の <package> 要素に整数のタプルとして設定されたバージョン"
355
356 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
357 #: of calibre.ebooks.oeb.polish.container.Container.opf_xpath:1
358 msgid ""
359 "Convenience method to evaluate an XPath expression on the OPF file, has the "
360 "opf: and dc: namespace prefixes pre-defined."
361 msgstr "OPF ファイルで XPath 式を評価するための便利なメソッドで、opf: および dc: 名前空間プレフィックスが事前定義されています。"
362
363 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
364 #: of calibre.ebooks.oeb.polish.container.Container.parsed:1
365 msgid ""
366 "Return a parsed representation of the file specified by name. For HTML and "
367 "XML files an lxml tree is returned. For CSS files a css_parser stylesheet is"
368 " returned. Note that parsed objects are cached for performance. If you make "
369 "any changes to the parsed object, you must call :meth:`dirty` so that the "
370 "container knows to update the cache. See also :meth:`replace`."
371 msgstr "name で指定されたファイルの解析済み表現を返します。HTML および XML ファイルの場合、lxml ツリーが返されます。CSS ファイルの場合、css_parser スタイルシートが返されます。ただし解析されたオブジェクトは、性能上の理由からキャッシュされます。解析されたオブジェクトに変更を加える場合は、:meth:`dirty` を呼び出して、コンテナがキャッシュを更新することを認識できるようにする必要があります。:meth:`replace` も参照のこと。"
372
373 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
374 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:1
375 msgid "Return the raw data corresponding to the file specified by name"
376 msgstr "name で指定したファイルに対応する生データを返します"
377
378 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
379 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:3
380 msgid ""
381 "If True and the file has a text based MIME type, decode it and return a "
382 "unicode object instead of raw bytes."
383 msgstr "True かつ、ファイルにテキストベースの MIME タイプがあるときは、それをデコードして、raw バイトの代わりに Unicode オブジェクトを返します。"
384
385 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
386 #: of calibre.ebooks.oeb.polish.container.Container.raw_data:4
387 msgid ""
388 "If True the returned unicode object is normalized to the NFC normal form as "
389 "is required for the EPUB and AZW3 file formats."
390 msgstr "True のとき、返される Unicode オブジェクトは、EPUB および AZW3 ファイル形式で必要とされる NFC 正規形に規格化されます。"
391
392 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
393 #: of calibre.ebooks.oeb.polish.container.Container.relpath:1
394 msgid ""
395 "Convert an absolute path (with OS separators) to a path relative to base "
396 "(defaults to self.root). The relative path is *not* a name. Use "
397 ":meth:`abspath_to_name` for that."
398 msgstr "絶対パス(OS区切り文字を含む)をベースパス(デフォルトはself.root)からの相対パスに変換します。相対パスは名前では *ありません* 。名前として使用する場合は、 :meth:`abspath_to_name` を使用してください。"
399
400 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
401 #: of calibre.ebooks.oeb.polish.container.Container.remove_from_spine:1
402 msgid ""
403 "Remove the specified items (by canonical name) from the spine. If "
404 "``remove_if_no_longer_in_spine`` is True, the items are also deleted from "
405 "the book, not just from the spine."
406 msgstr "指定された項目 (正規名) をスパインから削除します。`remove_if_no_longer_in_spine`` が True のとき、スパインからだけでなく、本からも項目が削除されます。"
407
408 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
409 #: of calibre.ebooks.oeb.polish.container.Container.remove_from_xml:1
410 msgid ""
411 "Removes item from parent, fixing indentation (works only with self closing "
412 "items)"
413 msgstr "親から item を削除し、インデントを修正します (自己終了する item でのみ機能します)"
414
415 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
416 #: of calibre.ebooks.oeb.polish.container.Container.remove_item:1
417 msgid ""
418 "Remove the item identified by name from this container. This removes all "
419 "references to the item in the OPF manifest, guide and spine as well as from "
420 "any internal caches."
421 msgstr "このコンテナから name で識別される項目を削除します。これにより、OPF マニフェスト、ガイド、スパイン、および内部キャッシュ内の項目へのすべての参照が削除されます。"
422
423 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
424 #: of calibre.ebooks.oeb.polish.container.Container.rename:1
425 msgid ""
426 "Renames a file from current_name to new_name. It automatically rebases all "
427 "links inside the file if the folder the file is in changes. Note however, "
428 "that links are not updated in the other files that could reference this "
429 "file. This is for performance, such updates should be done once, in bulk."
430 msgstr "ファイル名を current_name から new_name に変更します。ファイルが含まれているフォルダが変更された場合、ファイル内のすべてのリンクが自動的にリベースされます。ただし、このファイルを参照する可能性のある他のファイルでは、リンクは更新されません。性能上の理由から、このような更新は一括して実行する必要があります。"
431
432 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
433 #: of calibre.ebooks.oeb.polish.container.Container.replace:1
434 msgid ""
435 "Replace the parsed object corresponding to name with obj, which must be a "
436 "similar object, i.e. an lxml tree for HTML/XML or a css_parser stylesheet "
437 "for a CSS file."
438 msgstr "name に対応する解析済みオブジェクトを obj に置き換えます。これは類似したオブジェクト、つまりHTML / XML ならば lxml ツリー、CSSファイルならば css_parser スタイルシートである必要があります"
439
440 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
441 #: of calibre.ebooks.oeb.polish.container.Container.replace_links:1
442 msgid ""
443 "Replace all links in name using replace_func, which must be a callable that "
444 "accepts a URL and returns the replaced URL. It must also have a 'replaced' "
445 "attribute that is set to True if any actual replacement is done. Convenient "
446 "ways of creating such callables are using the :class:`LinkReplacer` and "
447 ":class:`LinkRebaser` classes."
448 msgstr "replace_func を使用して、name のすべてのリンクを置き換えます。replace_func は URL を受け入れ、置き換えられた URL を返す呼び出し可能である必要があります。また、実際の置換が行われた場合に True に設定される 'replaced' 属性が必要です。このような呼び出し可能オブジェクトは作成するには、:class:`LinkReplacer` および :class:`LinkRebaser` classes を使用すると便利です。"
449
450 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
451 #: of calibre.ebooks.oeb.polish.container.Container.serialize_item:1
452 msgid ""
453 "Convert a parsed object (identified by canonical name) into a bytestring. "
454 "See :meth:`parsed`."
455 msgstr "解析されたオブジェクト (正規名で識別される) をバイト文字列に変換します。:meth:`parsed` も参照のこと。"
456
457 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
458 #: of calibre.ebooks.oeb.polish.container.Container.set_spine:1
459 msgid ""
460 "Set the spine to be spine_items where spine_items is an iterable of the form"
461 " (name, linear). Will raise an error if one of the names is not present in "
462 "the manifest."
463 msgstr "スパインを spine_items に設定します。ここで、spine_itemsは (name, linear) の形式のイテラブルです。名前の中にマニフェストに存在しないものがあれば、エラーが発生します。"
464
465 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
466 #: of calibre.ebooks.oeb.polish.container.Container.spine_items:1
467 msgid ""
468 "An iterator yielding the path for every item in the books' spine. See also: "
469 ":attr:`spine_iter` and :attr:`spine_items`."
470 msgstr "本のスパインのすべての項目のパスを生成するイテレータ。:attr:`spine_iter` および :attr:`spine_items` も参照のこと。"
471
472 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
473 #: of calibre.ebooks.oeb.polish.container.Container.spine_iter:1
474 msgid ""
475 "An iterator that yields item, name is_linear for every item in the books' "
476 "spine. item is the lxml element, name is the canonical file name and "
477 "is_linear is True if the item is linear. See also: :attr:`spine_names` and "
478 ":attr:`spine_items`."
479 msgstr "本の背表紙のすべての項目に対してitem, name, is_linear をもたらすイテレータ。 item は lxml 要素、name は正規ファイル名、is_linear は項目が線形の場合は True です。:attr:`spine_names` および :attr:`spine_items` も参照のこと。"
480
481 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring
482 #: of calibre.ebooks.oeb.polish.container.Container.spine_names:1
483 msgid ""
484 "An iterator yielding name and is_linear for every item in the books' spine. "
485 "See also: :attr:`spine_iter` and :attr:`spine_items`."
486 msgstr "本の背表紙のすべての item に name と is_linear を生成するイテレータ。:attr:`spine_iter` および :attr:`spine_items` も参照のこと。"
487
488 #: ../../../__w/calibre/calibre/manual/polish.rst:36
489 msgid "Managing component files in a container"
490 msgstr "コンテナ内のコンポーネントファイルの管理"
491
492 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
493 #: of calibre.ebooks.oeb.polish.replace.replace_links:1
494 msgid ""
495 "Replace links to files in the container. Will iterate over all files in the "
496 "container and change the specified links in them."
497 msgstr "コンテナ内のファイルへのリンクを置き換えます。コンテナ内のすべてのファイルを反復処理し、それらの中で指定されたリンクを変更します。"
498
499 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
500 #: of calibre.ebooks.oeb.polish.replace.replace_links:3
501 msgid ""
502 "A mapping of old canonical name to new canonical name. For example: "
503 ":code:`{'images/old.png': 'images/new.png'}`"
504 msgstr "古い正規名から新しい正規名へのマッピング。例: {'images/old.png': 'images/new.png'}"
505
506 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
507 #: of calibre.ebooks.oeb.polish.replace.replace_links:4
508 msgid ""
509 "A callable that takes two arguments ``(name, anchor)`` and returns a new "
510 "anchor. This is useful if you need to change the anchors in HTML files. By "
511 "default, it does nothing."
512 msgstr "2 つの引数 ``(name, anchor)`` を取り、新しいアンカーを返す呼び出し可能オブジェクト。これは HTML ファイルのアンカーを変更する必要がある場合に役立ちます。デフォルトでは、何もしません。"
513
514 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
515 #: of calibre.ebooks.oeb.polish.replace.replace_links:7
516 msgid "If False, links are not replaced in the OPF file."
517 msgstr "False のとき、リンクは OPF ファイルで置き換えられません。"
518
519 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
520 #: of calibre.ebooks.oeb.polish.replace.rename_files:1
521 msgid ""
522 "Rename files in the container, automatically updating all links to them."
523 msgstr "コンテナ内のファイルの名前を変更し、それらへのすべてのリンクを自動的に更新します。"
524
525 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
526 #: of calibre.ebooks.oeb.polish.replace.rename_files:3
527 msgid ""
528 "A mapping of old canonical name to new canonical name, for example: "
529 ":code:`{'text/chapter1.html': 'chapter1.html'}`."
530 msgstr "古い正規名から新しい正規名へのマッピング。例: :code:`{'text/chapter1.html': 'chapter1.html'}`."
531
532 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring
533 #: of calibre.ebooks.oeb.polish.replace.get_recommended_folders:1
534 msgid ""
535 "Return the folders that are recommended for the given filenames. The "
536 "recommendation is based on where the majority of files of the same type are "
537 "located in the container. If no files of a particular type are present, the "
538 "recommended folder is assumed to be the folder containing the OPF file."
539 msgstr "指定したファイル名に推奨されるフォルダを返します。推奨内容は、同じタイプのファイルの大部分がコンテナ内のどこにあるかに基づいています。特定の種類のファイルが存在しない場合、推奨フォルダーは OPF ファイルを含むフォルダであると見なされます。"
540
541 #: ../../../__w/calibre/calibre/manual/polish.rst:47
542 msgid "Pretty printing and auto fixing parse errors"
543 msgstr "きれいな印刷と解析エラーの自動修正"
544
545 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
546 #: of calibre.ebooks.oeb.polish.pretty.fix_html:1
547 msgid ""
548 "Fix any parsing errors in the HTML represented as a string in raw. Fixing is"
549 " done using the HTML5 parsing algorithm."
550 msgstr "コンテナ内のすべての HTML ファイルの解析エラーを修正します。修正は、HTML5 解析アルゴリズムを使用して行われます。"
551
552 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
553 #: of calibre.ebooks.oeb.polish.pretty.fix_all_html:1
554 msgid ""
555 "Fix any parsing errors in all HTML files in the container. Fixing is done "
556 "using the HTML5 parsing algorithm."
557 msgstr "raw で文字列として表される HTML の解析エラーを修正します。修正は、HTML5 解析アルゴリズムを使用して行われます。"
558
559 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
560 #: of calibre.ebooks.oeb.polish.pretty.pretty_html:1
561 msgid "Pretty print the HTML represented as a string in raw"
562 msgstr "raw に文字列として表された HTML をきれいに印刷します"
563
564 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
565 #: of calibre.ebooks.oeb.polish.pretty.pretty_css:1
566 msgid "Pretty print the CSS represented as a string in raw"
567 msgstr "raw に文字列として表された CSS をきれいに印刷します"
568
569 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
570 #: of calibre.ebooks.oeb.polish.pretty.pretty_xml:1
571 msgid ""
572 "Pretty print the XML represented as a string in raw. If ``name`` is the name"
573 " of the OPF, extra OPF-specific prettying is performed."
574 msgstr "raw に文字列として表されたXMLをきれいに印刷します。name が OPF の名前のとき、追加の OPF 固有の美化が実行されます。"
575
576 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring
577 #: of calibre.ebooks.oeb.polish.pretty.pretty_all:1
578 msgid "Pretty print all HTML/CSS/XML files in the container"
579 msgstr "raw に文字列として表された HTML/CSS/XML をきれいに印刷します"
580
581 #: ../../../__w/calibre/calibre/manual/polish.rst:65
582 msgid "Managing book jackets"
583 msgstr "本のジャケットの管理"
584
585 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring
586 #: of calibre.ebooks.oeb.polish.jacket.remove_jacket:1
587 msgid ""
588 "Remove an existing jacket, if any. Returns False if no existing jacket was "
589 "found."
590 msgstr "既存のジャケットがあれば、削除します。既存のジャケットが見つからなければ False を返します。"
591
592 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring
593 #: of calibre.ebooks.oeb.polish.jacket.add_or_replace_jacket:1
594 msgid ""
595 "Either create a new jacket from the book's metadata or replace an existing "
596 "jacket. Returns True if an existing jacket was replaced."
597 msgstr "本の書誌から新しいジャケットを作成するか、既存のジャケットを交換します。既存のジャケットが交換された場合は True を返します。"
598
599 #: ../../../__w/calibre/calibre/manual/polish.rst:74
600 msgid "Splitting and merging of files"
601 msgstr "ファイルの分割とマージ"
602
603 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
604 #: of calibre.ebooks.oeb.polish.split.split:1
605 msgid ""
606 "Split the file specified by name at the position specified by loc_or_xpath. "
607 "Splitting automatically migrates all links and references to the affected "
608 "files."
609 msgstr "名前で指定されたファイルを loc_or_xpath で指定された位置で分割します。分割すると、影響を受けるファイルへのすべてのリンクと参照が自動的に移行されます。"
610
611 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
612 #: of calibre.ebooks.oeb.polish.split.split:5
613 msgid ""
614 "Should be an XPath expression such as //h:div[@id=\"split_here\"]. Can also "
615 "be a *loc* which is used internally to implement splitting in the preview "
616 "panel."
617 msgstr "//h:div[@id=\"split_here\"] などの XPath 式である必要があります。プレビューパネルで分割を実装するために内部的に使用される *loc* にすることもできます。"
618
619 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
620 #: of calibre.ebooks.oeb.polish.split.split:8
621 msgid ""
622 "If True the split occurs before the identified element otherwise after it."
623 msgstr "True のとき、分割は識別された要素の前に発生し、そうでなければその後に発生します。"
624
625 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
626 #: of calibre.ebooks.oeb.polish.split.split:9
627 msgid "Used internally"
628 msgstr "内部で使用"
629
630 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
631 #: of calibre.ebooks.oeb.polish.split.multisplit:1
632 msgid ""
633 "Split the specified file at multiple locations (all tags that match the "
634 "specified XPath expression). See also: :func:`split`. Splitting "
635 "automatically migrates all links and references to the affected files."
636 msgstr "指定されたファイルを複数の場所 (指定された XPath 式に一致するすべてのタグ) で分割します。:func:`split` も参照のこと。分割すると、影響を受けるファイルへのすべてのリンクと参照が自動的に移行されます。"
637
638 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
639 #: of calibre.ebooks.oeb.polish.split.multisplit:5
640 msgid ""
641 "If True the splits occur before the identified element otherwise after it."
642 msgstr "True のとき、分割は識別された要素の前に発生し、そうでなければその後に発生します。"
643
644 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
645 #: of calibre.ebooks.oeb.polish.split.merge:1
646 msgid ""
647 "Merge the specified files into a single file, automatically migrating all "
648 "links and references to the affected files. The file must all either be HTML"
649 " or CSS files."
650 msgstr "指定したファイルをひとつのファイルにマージし、影響を受けるファイルへのすべてのリンクと参照を自動的に移行します。ファイルはすべて HTML または CSS ファイルである必要があります。"
651
652 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
653 #: of calibre.ebooks.oeb.polish.split.merge:4
654 msgid "Must be either ``'text'`` for HTML files or ``'styles'`` for CSS files"
655 msgstr "HTML ファイルなら ``'text'``、CSS ファイルなら ``'styles'`` のいずれか。"
656
657 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
658 #: of calibre.ebooks.oeb.polish.split.merge:5
659 msgid "The list of files to be merged"
660 msgstr "マージするファイルのリスト"
661
662 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring
663 #: of calibre.ebooks.oeb.polish.split.merge:6
664 msgid ""
665 "Which of the merged files is the *master* file, that is, the file that will "
666 "remain after merging."
667 msgstr "マージされたファイルのどれが*マスター*ファイルか。つまり、マージ後に残るファイルです。"
668
669 #: ../../../__w/calibre/calibre/manual/polish.rst:85
670 msgid "Managing covers"
671 msgstr "表紙の管理"
672
673 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
674 #: of calibre.ebooks.oeb.polish.cover.set_cover:1
675 msgid "Set the cover of the book to the image pointed to by cover_path."
676 msgstr "本の表紙を cover_path が指す画像に設定します。"
677
678 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
679 #: of calibre.ebooks.oeb.polish.cover.set_cover:3
680 msgid ""
681 "Either the absolute path to an image file or the canonical name of an image "
682 "in the book. When using an image in the book, you must also set options, see"
683 " below."
684 msgstr "画像ファイルへの絶対パスまたは本の画像の正規名。本で画像を使用する場合は、オプションも設定する必要があります。以下を参照してください。"
685
686 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
687 #: of calibre.ebooks.oeb.polish.cover.set_cover:6
688 msgid ""
689 "An optional callable that takes a single argument. It will be called with "
690 "information about the tasks being processed."
691 msgstr "単一の引数を取るオプションの呼び出し可能オブジェクト。実行中の操作に関する情報とともに呼び出されます。"
692
693 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
694 #: of calibre.ebooks.oeb.polish.cover.set_cover:8
695 msgid ""
696 "None or a dictionary that controls how the cover is set. The dictionary can "
697 "have entries: **keep_aspect**: True or False (Preserve aspect ratio of "
698 "covers in EPUB) **no_svg**: True or False (Use an SVG cover wrapper in the "
699 "EPUB titlepage) **existing**: True or False (``cover_path`` refers to an "
700 "existing image in the book)"
701 msgstr "None、または表紙の設定方法を制御する辞書。辞書には次のエントリを含めることができます。**keep_aspect**: True または False (EPUBで表紙の縦横比を保持)**no_svg**: True または False (EPUB タイトルページで SVG 表紙ラッパーを使用)"
702
703 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
704 #: of calibre.ebooks.oeb.polish.cover.mark_as_cover:1
705 msgid "Mark the specified image as the cover image."
706 msgstr "指定した画像を表紙画像としてマークします。"
707
708 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
709 #: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:1
710 msgid "Mark the specified HTML file as the titlepage of the EPUB."
711 msgstr "指定した HTML ファイルを EPUB のタイトルページとしてマークします。"
712
713 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring
714 #: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:3
715 msgid "If True the HTML file is moved to the start of the spine"
716 msgstr "True のとき、HTML ファイルはスパインの先頭に移動されます。"
717
718 #: ../../../__w/calibre/calibre/manual/polish.rst:96
719 msgid "Working with CSS"
720 msgstr "CSS の処理"
721
722 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/fonts.pydocstring
723 #: of calibre.ebooks.oeb.polish.fonts.change_font:1
724 msgid ""
725 "Change a font family from old_name to new_name. Changes all occurrences of "
726 "the font family in stylesheets, style tags and style attributes. If the "
727 "old_name refers to an embedded font, it is removed. You can set new_name to "
728 "None to remove the font family instead of changing it."
729 msgstr "フォントファミリを old_name から new_name に変更します。スタイルシート、スタイルタグ、およびスタイル属性のフォントファミリのすべての出現箇所を変更します。old_name が埋め込みフォントを参照している場合、それは削除されます。new_name を None に設定すると、フォントファミリを変更する代わりに削除できます。"
730
731 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
732 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:1
733 msgid ""
734 "Remove all unused CSS rules from the book. An unused CSS rule is one that "
735 "does not match any actual content."
736 msgstr "使用されていない CSS 規則をすべて本から削除します。使用されていない CSS 規則とは、実際のコンテンツと一致しない規則です。"
737
738 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
739 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:3
740 msgid ""
741 "An optional callable that takes a single argument. It is called with "
742 "information about the operations being performed."
743 msgstr "単一の引数を取るオプションの呼び出し可能オブジェクト。処理中のタスクに関する情報とともに呼び出されます。"
744
745 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
746 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:4
747 msgid ""
748 "If True, class attributes in the HTML that do not match any CSS rules are "
749 "also removed."
750 msgstr "True の場合、CSS 規則に一致しない HTML のクラス属性も削除されます。"
751
752 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
753 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:5
754 msgid "If True, rules with identical selectors are merged."
755 msgstr "True のとき、同一のセレクタを持つ規則がマージされます。"
756
757 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
758 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:6
759 msgid "If True, rules with identical properties are merged."
760 msgstr "True のとき、同一のプロパティを持つ規則がマージされます。"
761
762 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
763 #: of calibre.ebooks.oeb.polish.css.remove_unused_css:7
764 msgid ""
765 "If True, stylesheets that are not referenced by any content are removed"
766 msgstr "True のとき、どのコンテンツからも参照されていないスタイルシートは削除されます"
767
768 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
769 #: of calibre.ebooks.oeb.polish.css.filter_css:1
770 msgid "Remove the specified CSS properties from all CSS rules in the book."
771 msgstr "本の中のすべての CSS 規則から指定された CSS プロパティを削除します。"
772
773 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
774 #: of calibre.ebooks.oeb.polish.css.filter_css:3
775 msgid ""
776 "Set of properties to remove. For example: :code:`{'font-family', 'color'}`."
777 msgstr "削除するプロパティのセット。例: :code:`{'font-family', 'color'}`."
778
779 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring
780 #: of calibre.ebooks.oeb.polish.css.filter_css:4
781 msgid ""
782 "The files from which to remove the properties. Defaults to all HTML and CSS "
783 "files in the book."
784 msgstr "プロパティを削除するファイル。デフォルトでは、本の中のすべての HTML ファイルと CSS ファイルになります。"
785
786 #: ../../../__w/calibre/calibre/manual/polish.rst:108
787 msgid "Working with the Table of Contents"
788 msgstr "目次の処理"
789
790 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
791 #: of calibre.ebooks.oeb.polish.toc.from_xpaths:1
792 msgid ""
793 "Generate a Table of Contents from a list of XPath expressions. Each "
794 "expression in the list corresponds to a level of the generate ToC. For "
795 "example: :code:`['//h:h1', '//h:h2', '//h:h3']` will generate a three level "
796 "Table of Contents from the ``<h1>``, ``<h2>`` and ``<h3>`` tags."
797 msgstr "XPath 式のリストから目次を生成します。リスト内の式はそれぞれ、生成する目次のレベルに対応しています。例: :code:`['//h:h1', '//h:h2', '//h:h3']` は ``<h1>``, ``<h2>`` および ``<h3>`` タグから 3 階層の目次を作成します。"
798
799 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
800 #: of calibre.ebooks.oeb.polish.toc.from_links:1
801 msgid "Generate a Table of Contents from links in the book."
802 msgstr "本の中にあるリンクから目次を生成します。"
803
804 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
805 #: of calibre.ebooks.oeb.polish.toc.from_files:1
806 msgid "Generate a Table of Contents from files in the book."
807 msgstr "本の中にあるファイルから目次を生成します。"
808
809 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
810 #: of calibre.ebooks.oeb.polish.toc.create_inline_toc:1
811 msgid ""
812 "Create an inline (HTML) Table of Contents from an existing NCX Table of "
813 "Contents."
814 msgstr "既存の NCX 目次からインライン (HTML) 目次を作成します。"
815
816 #: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring
817 #: of calibre.ebooks.oeb.polish.toc.create_inline_toc:3
818 msgid "The title for this table of contents."
819 msgstr "この目次のタイトル。"
820
821 #: ../../../__w/calibre/calibre/manual/polish.rst:122
822 msgid "Edit book tool"
823 msgstr "書籍編集ツール"
824
825 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
826 #: of calibre.gui2.tweak_book.plugin.Tool:1
827 msgid ""
828 "The base class for individual tools in an Edit Book plugin. Useful members "
829 "include:"
830 msgstr "EditBook プラグインの個々のツールの基本クラス。便利なメンバーには次のものがあります:"
831
832 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
833 #: of calibre.gui2.tweak_book.plugin.Tool:3
834 msgid ""
835 "``self.plugin``: A reference to the :class:`calibre.customize.Plugin` object"
836 " to which this tool belongs."
837 msgstr "``self.plugin``: このツールが属する :class:`calibre.customize.Plugin` オブジェクトへの参照。"
838
839 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
840 #: of calibre.gui2.tweak_book.plugin.Tool:4
841 msgid "self. :attr:`boss`"
842 msgstr "self. :attr:`boss`"
843
844 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
845 #: of calibre.gui2.tweak_book.plugin.Tool:5
846 msgid "self. :attr:`gui`"
847 msgstr "self. :attr:`gui`"
848
849 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
850 #: of calibre.gui2.tweak_book.plugin.Tool:7
851 msgid "Methods that must be overridden in sub classes:"
852 msgstr "サブクラスでオーバーライドする必要があるメソッド:"
853
854 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
855 #: of calibre.gui2.tweak_book.plugin.Tool:9
856 msgid ":meth:`create_action`"
857 msgstr ":meth:`create_action`"
858
859 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
860 #: of calibre.gui2.tweak_book.plugin.Tool:10
861 msgid ":meth:`register_shortcut`"
862 msgstr ":meth:`register_shortcut`"
863
864 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
865 #: of calibre.gui2.tweak_book.plugin.Tool.name:1
866 msgid "Set this to a unique name it will be used as a key"
867 msgstr "これを一意の名前に設定すると、キーとして使用されます"
868
869 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
870 #: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_toolbar:1
871 msgid "If True the user can choose to place this tool in the plugins toolbar"
872 msgstr "True のとき、ユーザはこのツールをプラグインツールバーに配置することを選択できます"
873
874 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
875 #: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_menu:1
876 msgid "If True the user can choose to place this tool in the plugins menu"
877 msgstr "True のとき、ユーザはこのツールをプラグインメニューに配置することを選択できます"
878
879 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
880 #: of calibre.gui2.tweak_book.plugin.Tool.toolbar_button_popup_mode:1
881 msgid ""
882 "The popup mode for the menu (if any) of the toolbar button. Possible values "
883 "are 'delayed', 'instant', 'button'"
884 msgstr "ツールバーボタンのメニュー (あれば) のポップアップモード。可能な値は、'delayed', 'instant', 'button' です。"
885
886 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
887 #: of calibre.gui2.tweak_book.plugin.Tool.boss:1
888 msgid ""
889 "The :class:`calibre.gui2.tweak_book.boss.Boss` object. Used to control the "
890 "user interface."
891 msgstr ":class:`calibre.gui2.tweak_book.boss.Boss` オブジェクト。ユーザインタフェースを制御するために使用されます。"
892
893 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
894 #: of calibre.gui2.tweak_book.plugin.Tool.gui:1
895 msgid "The main window of the user interface"
896 msgstr "ユーザインタフェースのメインウィンドウ"
897
898 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
899 #: of calibre.gui2.tweak_book.plugin.Tool.current_container:1
900 msgid ""
901 "Return the current :class:`calibre.ebooks.oeb.polish.container.Container` "
902 "object that represents the book being edited."
903 msgstr "編集中の本を表す現在の :class:`calibre.ebooks.oeb.polish.container.Container` オブジェクトを返します。"
904
905 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
906 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:1
907 msgid ""
908 "Register a keyboard shortcut that will trigger the specified ``qaction``. "
909 "This keyboard shortcut will become automatically customizable by the user in"
910 " the Keyboard shortcuts section of the editor preferences."
911 msgstr "指定された ``qaction`` をトリガーするキーボードショートカットを登録します。このキーボードショートカットは、自動的にエディタ設定のキーボードショートカットセクションでユーザがカスタマイズできるようになります。"
912
913 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
914 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:4
915 msgid ""
916 "A QAction object, it will be triggered when the configured key combination "
917 "is pressed by the user."
918 msgstr "QAction オブジェクト。ユーザが構成済みのキーの組み合わせを押すとトリガーされます。"
919
920 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
921 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:6
922 msgid ""
923 "A unique name for this shortcut/action. It will be used internally, it must "
924 "not be shared by any other actions in this plugin."
925 msgstr "このショートカット/アクションの一意の名前。内部で使用されます。このプラグインの他のアクションで共有しないでください。"
926
927 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
928 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:9
929 msgid ""
930 "A list of the default keyboard shortcuts. If not specified no default "
931 "shortcuts will be set. If the shortcuts specified here conflict with either "
932 "builtin shortcuts or shortcuts from user configuration/other plugins, they "
933 "will be ignored. In that case, users will have to configure the shortcuts "
934 "manually via Preferences. For example: ``default_keys=('Ctrl+J', 'F9')``."
935 msgstr "デフォルトのキーボードショートカットのリスト。指定しない場合、デフォルトのショートカットは設定されません。ここで指定したショートカットが、組み込みのショートカットまたはユーザ設定/他のプラグインからのショートカットと競合する場合、それらは無視されます。その場合、ユーザは環境設定からショートカットを手動で設定する必要があります。例: ``default_keys=('Ctrl+J', 'F9')``"
936
937 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
938 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:15
939 msgid ""
940 "An optional short description of this action. If not specified the text from"
941 " the QAction will be used."
942 msgstr "このアクションのオプションの短いな説明。指定しない場合、QAction からのテキストが使用されます。"
943
944 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
945 #: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:17
946 msgid ""
947 "An optional longer description of this action, it will be used in the "
948 "preferences entry for this shortcut."
949 msgstr "このアクションのオプションの長めの説明。このショートカットの設定エントリで使用されます。"
950
951 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
952 #: of calibre.gui2.tweak_book.plugin.Tool.create_action:1
953 msgid ""
954 "Create a QAction that will be added to either the plugins toolbar or the "
955 "plugins menu depending on ``for_toolbar``. For example::"
956 msgstr "``for_toolbar`` に応じて、プラグインツールバーまたはプラグインメニューのいずれかに追加される QAction を作成します。例:"
957
958 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring
959 #: of calibre.gui2.tweak_book.plugin.Tool.create_action:19
960 msgid "Method :meth:`register_shortcut`."
961 msgstr "メソッド :meth:`register_shortcut`。"
962
963 #: ../../../__w/calibre/calibre/manual/polish.rst:131
964 msgid "Controlling the editor's user interface"
965 msgstr "エディタのユーザインタフェースを制御"
966
967 #: ../../../__w/calibre/calibre/manual/polish.rst:133
968 msgid ""
969 "The e-book editor's user interface is controlled by a single global *Boss* "
970 "object. This has many useful methods that can be used in plugin code to "
971 "perform common tasks."
972 msgstr "電子書籍エディタのユーザインタフェースは、単一のグローバル *Boss* オブジェクトによって制御されます。これには、プラグインコードで一般的なタスクを実行するために使用できる多くの便利なメソッドがあります。"
973
974 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
975 #: of calibre.gui2.tweak_book.boss.Boss.add_savepoint:1
976 msgid "Create a restore checkpoint with the name specified as ``msg``"
977 msgstr "``msg`` で指定した名前で復元チェックポイントを作成します"
978
979 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
980 #: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:1
981 msgid ""
982 "Update all the components of the user interface to reflect the latest data "
983 "in the current book container."
984 msgstr "現在の本コンテナの最新データを反映するように、ユーザインタフェースのすべてのコンポーネントを更新します。"
985
986 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
987 #: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:3
988 msgid ""
989 "If True, the book will be marked as modified, so the user will be prompted "
990 "to save it when quitting."
991 msgstr "Trueのとき、本は変更済みとしてマークされるため、ユーザは終了時に本を保存するように求められます。"
992
993 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
994 #: of calibre.gui2.tweak_book.boss.Boss.close_editor:1
995 msgid "Close the editor that is editing the file specified by ``name``"
996 msgstr "``name`` で指定されたファイルを編集しているエディタを閉じます"
997
998 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
999 #: of calibre.gui2.tweak_book.boss.Boss.commit_all_editors_to_container:1
1000 msgid ""
1001 "Commit any changes that the user has made to files open in editors to the "
1002 "container. You should call this method before performing any actions on the "
1003 "current container"
1004 msgstr "ユーザがエディタで開いているファイルに加えた変更をコンテナにコミットします。現在のコンテナでアクションを実行する前に、このメソッドを呼び出す必要があります"
1005
1006 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1007 #: of calibre.gui2.tweak_book.boss.Boss.currently_editing:1
1008 msgid ""
1009 "Return the name of the file being edited currently or None if no file is "
1010 "being edited"
1011 msgstr "現在編集中のファイルの名前を返します。編集中のファイルがない場合は None を返します。"
1012
1013 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1014 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:1
1015 msgid "Open the file specified by name in an editor"
1016 msgstr "name で指定したファイルをエディタで開きます"
1017
1018 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1019 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:3
1020 msgid ""
1021 "The media type of the file, for example, ``'text/html'``. If not specified "
1022 "it is guessed from the file extension."
1023 msgstr "ファイルのメディアタイプ、たとえば `'text/html'` など。指定されていない場合は、ファイル拡張子から推測されます。"
1024
1025 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1026 #: of calibre.gui2.tweak_book.boss.Boss.edit_file:4
1027 msgid "A template to initialize the opened editor with"
1028 msgstr "開いたエディタを初期化するためのテンプレート"
1029
1030 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1031 #: of calibre.gui2.tweak_book.boss.Boss.open_book:1
1032 msgid ""
1033 "Open the e-book at ``path`` for editing. Will show an error if the e-book is"
1034 " not in a supported format or the current book has unsaved changes."
1035 msgstr "編集用の ``path`` で電子書籍を開きます。電子書籍がサポートされている形式でない場合、または現在の書籍に未保存の変更がある場合は、エラーが表示されます。"
1036
1037 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1038 #: of calibre.gui2.tweak_book.boss.Boss.open_book:3
1039 msgid ""
1040 "The name of a file inside the newly opened book to start editing. Can also "
1041 "be a list of names."
1042 msgstr "編集を開始するために新しく開いた本の中のファイルの名前。名前のリストにすることもできます。"
1043
1044 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1045 #: of calibre.gui2.tweak_book.boss.Boss.rewind_savepoint:1
1046 msgid ""
1047 "Undo the previous creation of a restore checkpoint, useful if you create a "
1048 "checkpoint, then abort the operation with no changes"
1049 msgstr "復元チェックポイントの以前の作成を元に戻します。チェックポイントを作成してから、変更せずに操作を中止する場合に便利です。"
1050
1051 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1052 #: of calibre.gui2.tweak_book.boss.Boss.save_book:1
1053 msgid "Save the book. Saving is performed in the background"
1054 msgstr "本を保存します。保存はバックグラウンドで実行されます"
1055
1056 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1057 #: of calibre.gui2.tweak_book.boss.Boss.set_modified:1
1058 msgid "Mark the book as having been modified"
1059 msgstr "書籍を変更済みとしてマークします"
1060
1061 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1062 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:1
1063 msgid "Show the changes to the book from its last checkpointed state"
1064 msgstr "最後のチェックポイント状態からの本への変更を表示します"
1065
1066 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1067 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:3
1068 msgid ""
1069 "If True the diff dialog will have a button to allow the user to revert all "
1070 "changes"
1071 msgstr "True のとき、diff ダイアログには、ユーザがすべての変更を元に戻すことができるボタンがつきます。"
1072
1073 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1074 #: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:4
1075 msgid ""
1076 "A container object to compare the current container to. If None, the "
1077 "previously checkpointed container is used"
1078 msgstr "現在のコンテナを比較するコンテナオブジェクト。 None のとき、以前にチェックポイントされたコンテナが使用されます"
1079
1080 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1081 #: of calibre.gui2.tweak_book.boss.Boss.show_editor:1
1082 msgid "Show the editor that is editing the file specified by ``name``"
1083 msgstr "``name`` で指定されたファイルを編集しているエディターを表示します"
1084
1085 #: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring
1086 #: of calibre.gui2.tweak_book.boss.Boss.sync_preview_to_editor:1
1087 msgid ""
1088 "Sync the position of the preview panel to the current cursor position in the"
1089 " current editor"
1090 msgstr "プレビューパネルの位置を現在のエディタの現在のカーソル位置に同期します"