Update userguide from i18n.haiku-os.org

This commit is contained in:
Niels Sascha Reedijk
2012-01-31 11:50:22 +01:00
parent d58a7e12af
commit 4ac8d3e9e4
273 changed files with 3064 additions and 2609 deletions
+51 -50
View File
@@ -11,6 +11,7 @@
* Humdinger <[email protected]>
* Translators:
* thebowseat
* mt
*
-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
@@ -22,7 +23,7 @@
<body>
<div id="banner">
<div><span>ユーザーガイド</span></div>
<div><span>User guide</span></div>
</div>
<div class="nav">
@@ -44,14 +45,13 @@
</ul>
<span>
« <a href="index.html">インデックス</a>
:: <a href="contents.html" class="uplink">目次</a>
:: <a href="workshop-filetypes+attributes.html">ワークショップ</a> »
:: <a href="contents.html" class="uplink">Contents</a>
:: <a href="workshop-filetypes+attributes.html">Workshop</a> »
</span></div>
</div>
<div id="content">
<div>
<div class="box-info">このページの翻訳はまだ完全ではありません。完成するまでは、未完成の部分はオリジナルの英文を使用します。</div>
<table class="index" id="index" summary="index">
@@ -68,96 +68,97 @@
<h1>クエリ</h1>
<p>A query is a file search based on file attributes and can be performed within Tracker or in Terminal. Queries are saved in <span class="path">/boot/home/queries/</span> and by default last seven days before being purged. Note, these aren't static result lists of your search, but are the query formulas which trigger a new search whenever you open them.<br />
Even better, you don't have to double-click to re-do a query. You can <a href="tracker.html#navigating">drill down</a> a saved query just like any folder by right-clicking on it and navigating through the submenus.</p>
<p>クエリ (Query) はファイル属性に基づいたファイル検索で、Tracker 内やターミナル内で実行できます。クエリは、<span class="path">/boot/home/queries/</span> に、デフォルトでは消去されるまで最新 7 日間保存されます。これらが静的な探索結果のリストではなく、開くたびに常に新しい探索を引き起こすクエリ式であることに注意してください。<br />
さらによいことに、再クエリのためにダブルクリックの必要はありません。ほかのフォルダーのように、保存したクエリを右クリックで<a href="tracker.html#navigating">ドリルダウン</a>して、サブメニューで移動してください。 </p>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="find-window" name="find-window">検索ウィンドウ</a></h2>
<p>You start a query by invoking the <span class="menu">Find...</span> menu either from the Deskbar menu or any Tracker window or the Desktop (which is actually a fullscreen Tracker window). The shortcut is <span class="key">ALT</span> <span class="key">F</span>. You're presented with the Find window:</p>
<p>Deskbar メニュー、任意の Tracker ウィンドウ、またはデスクトップ (それは実際にフルスクリーン Tracker ウィンドウです) のいずれかから、<span class="menu">検索… (Find...)</span> メニューを実行することでクエリを開始します。ショートカットは、<span class="key">ALT</span> <span class="key">F</span> です。以下の検索ウィンドウが表示されます。</p>
<img src="images/queries-images/basic-query.png" alt="basic-query.png" />
<ol>
<li><p>Select recent or saved queries or save the current search parameters as <a href="#query-template">Query Template</a>.</p></li>
<li><p>Narrow down your search from <span class="menu">All files and folders</span> to specific file types.</p></li>
<li>Define the search method:<ul>
<li><span class="menu">by Name</span> - a basic search by file or folder name</li>
<li><span class="menu">by Attribute</span> - an advanced search, you specify search terms for one or more attributes</li>
<li><span class="menu">by Formula</span> - an even more advanced search, you can fine-tune a complex query term</li></ul></li>
<li><p>Select which drives to search on.</p></li>
<li><p>Enter the search term.</p></li>
<li><p>The expander hides/unhides the additional options.</p></li>
<li><p>Uncheck the <span class="menu">Temporary</span> checkbox if you don't want this query self-destruct after 7 days.</p></li>
<li><p>Check if your query is supposed to <span class="menu">Include trash</span>.</p></li>
<li><p>Optionally, enter a name for this query if you want to save it.</p></li>
<li><p>You can drag&amp;drop the icon anywhere to save a query. Doing that with the right mouse button, offers the option to save as template.</p></li>
<li><p>以前のクエリ、または保存済クエリを選択するか、または現在のクエリを<a href="#query-template">クエリテンプレート (Query Template)</a> として保存します。</p></li>
<li><p><span class="menu">すべてのファイルとフォルダー (All files and folders)</span> から特定のファイルタイプまで検索範囲を絞り込みます。</p></li>
<li>検索方法を決定します。<ul>
<li><span class="menu">名前で検索 (by Name)</span> - ファイル名による基本的な検索</li>
<li><span class="menu">属性で検索 (by Attribute)</span> - 進んだ検索。1 つ以上の属性に対して検索語を決めます。</li>
<li><span class="menu">式で検索 (by Formula)</span> - さらに進んだ検索。複雑なクエリを微調整できます。</li></ul></li>
<li><p>検索を行うドライブを指定します。</p></li>
<li><p>検索語を入力します。</p></li>
<li><p>三角のアイコン (expander) は追加オプションの表示/非表示を行います。</p></li>
<li><p>クエリを7日後に自動消去したくない場合は、<span class="menu">一時的なクエリ (Temporary)</span> チェックボックスのチェックを外します。</p></li>
<li><p>クエリが <span class="menu">ごみ箱を含む (Include trash)</span>と考えられる場合はチェックします。</p></li>
<li><p>オプションとして、クエリを保存したい場合名前を入力します。</p></li>
<li><p>このアイコンをどこにでもドラッグ&ドロップして、クエリを保存できます。右クリックで行うと、テンプレートとして保存のオプションが現れます。</p></li>
</ol>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="basic-query" name="basic-query">基本クエリ - "名前"</a></h2>
<p>If you simply want to find all files and folders on your mounted disks that match a certain pattern, simply leave the search method at <span class="menu">by Name</span>, enter the search term into the text box and press <span class="key">ENTER</span>.</p>
<a id="basic-query" name="basic-query">基本クエリ - "名前で検索"</a></h2>
<p>マウントされたディスク上で、あるパターンと一致するすべてのファイルを簡単に見つけたい場合は、検索方法を <span class="menu">名前で検索 (by Name)</span> のままにしておきます。テキストボックスへ検索語を入力し、<span class="key">ENTER</span> キーを押してください。</p>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="adv-query" name="adv-query">高度なクエリ - "属性"</a></h2>
<p>You can create more advanced queries by searching within the attributes of specific file types. For that to work, these attributes have to be <a href="index.html">indexed</a>.</p>
<a id="adv-query" name="adv-query">高度なクエリ - "属性で検索"</a></h2>
<p>特定のファイルタイプの属性を検索する、より高度なクエリを作成できます。それが動作するためには、これらの属性は<a href="index.html">インデックス</a>づけがされている必要があります。</p>
<img src="images/queries-images/query-window.png" alt="query-window.png" />
<p>You start by setting the filetype from <span class="menu">All files and folders</span> to, for example, <span class="menu">Text | E-mail</span> and change the search method to <span class="menu">by Attribute</span>.</p>
<p>This adds a pop-up menu to the left of the textbox and the buttons <span class="button">Add</span> and <span class="button">Remove</span> under that. From the menu you choose which attribute to query. With <span class="button">Add</span> and <span class="button">Remove</span> you can query additional attributes or remove them again. These attributes can be logically linked with AND/OR.</p>
<p>Let's do an email query as an example:</p>
<p>例として、ファイルタイプを <span class="menu">すべてのファイルとフォルダー (All files and folders)</span> から <span class="menu">Text | E-mail</span> に設定することから始め、検索方法を <span class="menu">属性で検索 (by Attribute)</span> に変更します。</p>
<p>これにより、テキストボックスの左側にポップアップメニューを、また下側に<span class="button">追加 (Add)</span> <span class="button">削除 (Remove)</span> ボタンを追加します。メニューから、どの属性をクエリするか決めます。<span class="button">追加 (Add)</span> および<span class="button">削除 (Remove)</span> ボタンで追加の属性をクエリしたり、それらを再び削除できます。これらの属性は、AND/ORで論理的にリンクできます。</p>
<p>例として、電子メールのクエリを行いましょう。</p>
<img src="images/queries-images/query-window-filled.png" alt="query-window-filled.png" />
<p>This is your Find window when you're looking for all emails Clara Botters has sent to you in the last two months that had in the subject "vibraphone" or "skepticality".<br />
As you see, searching through time-based attributes supports some useful phrases: besides for the "last 2 months", you could also use "today", "yesterday", "Monday" or "last Monday" (which would be the Monday last week), or "last 2 minutes/hours/days/weeks".<br />
A good way to cut down the number of search results.</p>
<p>件名が "vibraphone" あるいは "skepticality" である、過去 2 か月に Clara Botter が送信したすべての電子メールを捜している場合、検索ウィンドウはこのようになります。<br />ごらんのように、時間ベースの属性を介した検索は、いくつかの便利なフレーズをサポートしています。"last 2 months (最後の 2 ヶ月)" に加えて、"today (今日)"、"yesterday (昨日)"、"Monday (月曜日)"、"last Monday" (先週の月曜日になるでしょう)、または "last 2 minutes/hours/days/weeks (最後の 2 分間/時間/日/週)" も使えます。<br />
検索結果の数を減らすのに良い方法です。</p>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="more-adv-query" name="more-adv-query">さらに高度なクエリ - "フォーミュラ順"</a></h2>
<p>Typing in a formula query by hand is daunting and really quite unpractical. It still has its uses.</p>
<p>Take the above query by attribute of Clara's mails concerning vibraphones etc. If you have all the attributes and their search terms set, try switching to <span class="menu">by Formula</span> mode and be overwhelmed by this one line query string:</p>
<a id="more-adv-query" name="more-adv-query">さらに高度なクエリ - "式で検索"</a></h2>
<p>式クエリを手入力することはとっつきにくく、かつ、まったく非実用的です。にもかかわらず、それには用途があります。
</p>
<p>上記の、vibraphone などに関する Clara のメールの属性によるクエリを例にとります。すべての属性があり、検索語がセットされた場合に、<span class="menu">式で検索 (by Formula)</span> モードへの変更を試みると、この 1 行のクエリ文字列に圧倒されるでしょう。</p>
<img src="images/queries-images/formula-query.png" alt="formula-query.png" />
<p>Once more as text, edited for readability:</p>
<p>読みやすく編集されたテキストとしてもう一度。</p>
<pre>(((((MAIL:from=="*[cC][lL][aA][rR][aA] [bB][oO][tT][tT][eE][rR][sS]*")
&amp;&amp;(MAIL:when&gt;=%2 months%))
&amp;&amp;(MAIL:subject=="*[vV][iI][bB][rR][aA][pP][hH][oO][nN][eE]*"))
||(MAIL:subject=="*[sS][kK][eE][pP][tT][iI][cC][aA][lL][iI][tT][yY]*"))
&amp;&amp;(BEOS:TYPE=="text/x-email"))</pre>
<p>What's the use?</p>
<p>何に使えるでしょう。</p>
<ul>
<li><p>You could copy and paste the string into an email, forum or IRC for others to use or debug.</p></li>
<li><p>You can use this method to construct a query in <span class="menu">Attribute</span> mode and then switch to <span class="menu">Formula</span> mode, to comfortably generate a search string to use for a query in Terminal or a script.</p></li>
<li><p>You can fine tune your query by inserting parenthesis where needed, make parts case-sensitive or negate logical combinations by changing. e.g. "<tt>==</tt>" to "<tt>!=</tt>" for a NOT AND. All you need is a basic understanding of <a href="http://en.wikipedia.org/wiki/Regular_expression" class="external free" title="Wikipedia: Regular expression">regular expressions</a> and maybe some scripting basics.</p></li>
<li><p>電子メール、フォーラム、あるいは IRC に、文字列をコピーし貼り付けることで、ほかの人が使ったり、デバッグできたりするかもしれません。</p></li>
<li><p>ターミナルのクエリあるいはスクリプトに使用する検索文字列を簡単に生成するために、この方法を使うことができます (<span class="menu">Attribute</span> モードでクエリを構築した後で、<span class="menu">Formula</span> モードへ変更)。</p></li>
<li><p>必要なところにかっこを挿入したり、部分的に大文字小文字を区別するようにしたり、修正により論理結合を否定 (例:NOT AND のために "<tt>==</tt>" "<tt>!=</tt> に変える) したりすることでクエリを微調整できます。必要とするのは、<a href="http://ja.wikipedia.org/wiki/%E6%AD%A3%E8%A6%8F%E8%A1%A8%E7%8F%BE" class="external free" title="Wikipedia: Regular expression">正規表現</a> に対する基本的な理解と、たぶんいくつかのスクリプトの基本だけです。</p></li>
</ul>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="result-window" name="result-window">結果ウィンドウ</a></h2>
<p>After you start a search, the Find window will be replaced by a result window. Here is an example that queried for "server":</p>
<p>検索を始めたら、検索ウィンドウは結果ウィンドウと入れ替わるでしょう。ここに、"server" をクエリした例があります。</p>
<img src="images/queries-images/result-window.png" alt="result-window.png" />
<p>Besides the gray background, result windows work exactly like any other Tracker window. Some things are worth noting:</p>
<p>灰色の背景に加えて、結果ウィンドウは、ほかのTracker ウィンドウとまさしく同様に動作します。いくつかのものには、注目すべき価値があります。</p>
<ul>
<li><p>You can open the location of a file or folder by double clicking on its path attribute.</p></li>
<li><p>With <span class="menu">File | Edit query</span> or <span class="key">ALT</span> <span class="key">G</span> you get back to your Find window to refine your query.</p></li>
<li><p>A query is live, i.e. if a file that matches your search criteria appears or disappears from your system, this change is reflected in your results in real-time.</p></li>
<li><p>Path 属性上をダブルクリックすることにより、ファイルが存在する場所、つまりフォルダーを開くことができます。</p></li>
<li><p><span class="menu">ファイル (File) | クエリを編集 (Edit query)</span> または <span class="key">ALT</span> <span class="key">G</span> によって、クエリを改良するために検索ウインドウを呼び戻します。</p></li>
<li><p>クエリはライブです、つまり、検索基準と一致するファイルがシステム上に現れるか、またはシステム上から消える場合、この変更は検索結果にリアルタイムで反映されます。</p></li>
</ul>
<p>You can assign a sensible attribute layout for query results of a specific filetype. Open a folder containing files of the filetype you'd like to create a template for and arrange the attributes how you'd like to have query results presented. Copy this layout with <span class="menu">Attributes | Copy layout</span>.</p>
<p>Open <span class="path">/boot/home/config/settings/Tracker/DefaultQueryTemplates</span>, create a new folder named <i>group/filetype</i>, replacing the slash with an underscore, e.g. "audio_x-mp3". Open the new folder and paste in the previously copied layout with <span class="menu">Attributes | Paste layout</span>.</p>
<p>特定のファイルタイプのクエリ結果のためにふさわしい属性レイアウトを割り当てることができます。テンプレートを作成したいファイルタイプのファイルを含んでいるフォルダーを開き、クエリ結果を示したいものになるように属性を配置します。<span class="menu">属性 (Attributes) | レイアウトをコピー (Copy layout)</span> で、このレイアウトをコピーします。</p>
<p><span class="path">/boot/home/config/settings/Tracker/DefaultQueryTemplates</span> を開き、新しいフォルダーを作成し、それを <i>group/filetype</i> にリネームします。ここで、/ は _ に置き換えてください (例: "audio_x-mp3")。新しいフォルダーを開き、Attributes | Paste Layoutでレイアウトを貼り付けます。</p>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="query-template" name="query-template">クエリテンプレート</a></h2>
<p>If you double click a saved query, the file search is at once started and the result window opens immediately. However, you may not want to search with these <i>exact</i> search parameters, but use it as starting point to only slightly tweak the formula.<br />
By using the <span class="menu">Save query as template</span> menu item (see <a href="#find-window">(1) in screenshot</a> at the top) or drag&amp;dropping the icon (10) anywhere with the right mouse button, you can create just such a template. Double clicking it won't open a result window, but the Find panel, giving you the opportunity to quickly change search strings or add/remove attributes.</p>
<p>Wherever you choose to save query templates, they'll be listed in the Find panel's menu of recent queries.</p>
<p>保存済のクエリをダブルクリックすると、すぐにファイル検索が始まり、直ちに結果ウィンドウが開きます。しかし、これらの<i>正確な</i>パラメータで検索したくなく、それらを少しだけ式を調整するための始点として使いたいかもしれません。<br />
<span class="menu">クエリをテンプレートとして保存 (Save query as template)</span> メニュー項目を使うことで (一番上の <a href="#find-window">スクリーンショットの (1) </a> を見てください)、または、右クリックしながら (10) のアイコンをどこにでもドラッグ&ドロップすることで、そのようなテンプレートを作成できます。テンプレートをダブルクリックしても結果ウィンドウは開かず、検索パネルが開きます。そこですばやく検索文字列の変更、または属性の追加 / 削除ができるチャンスが与えられます。</p>
<p>クエリテンプレートを保存することを選択すれば、それらは検索パネルの最近使ったクエリメニューに表示されるでしょう。</p>
</div>
</div>
<div class="nav">
<div class="inner"><span>
« <a href="index.html">インデックス</a>
:: <a href="contents.html" class="uplink">目次</a>
:: <a href="workshop-filetypes+attributes.html">ワークショップ</a> »
:: <a href="contents.html" class="uplink">Contents</a>
:: <a href="workshop-filetypes+attributes.html">Workshop</a> »
</span></div>
</div>