# guides you to learning
@XUL を身につけさせます
:XUL の学習を手引きします
# only the user interface will be created and some limited functionality
@ユーザインターフェイスを作成するだけであり、機能はいくらか制限されるものです。
:機能がいくらか限定されたユーザインターフェイスを作成するだけです。
* 原文 and は with と解釈すべきように思える。
# demonstrate creating a simple find file user interface
@ファイル検索ユーザインターフェイスの作成をしてみます。
:ファイル検索ユーザインターフェイスの作成に挑戦します。
*初めて学習するのだから、「挑戦」というぐらいに強調しても良さそうに思う。
#Java, for example, has portability as a main selling point.
@例えば、Java は主なセールスポイントとしてポータビリティを謳っています([訳註] 近頃はそれを最前面に押し出すことは止めたようですが…)
*例えば、Java は主なセールスポイントとして可搬性を謳っています
すぐ後に、portabe が「可搬性」と訳されているので。
訳注はあまり関係のない記述なので削除した方がよいように思う。
@XUL には他の XML 言語と比べて大き有利があります。
:XUL には他の XML 言語と比べて大きな利点があります。
# In Mozilla, such datasources include a user's mailbox, their bookmarks and search results.
@Mozilla では、データソースからユーザのメールボックスやブックマークおよび検索結果を取り込んでいます。
:Mozilla では、ユーザのメールボックスやブックマークおよびそれらの検索結果もデータソースとして利用されています。
*前の文で「データソースから作ることもできます」と書かれているので。
# can be populated with this data,
@データから移植することができます。
:データから生成することができます。
XUL content is normally loaded from a package installed into Mozilla. These packages allow an application to have additional privileges, such as reading local files and modifying user preferences. The XUL files and associated scripts and images of an application would be packaged into a single file and downloaded and installed by the user. Mozilla provides a means of having these packages installed and registered without having to write a lot of complex code. In addition, these packages may overlay the browser or other applications to add features; this is the way in which Firefox extensions work.
XUL の内容は通常、 Mozilla にインストールされたパッケージから読み込まれます。これらパッケージにより、ローカルファイルを読み込んだりユーザ設定を変更したりといった、追加の特権がアプリケーションに与えられます。アプリケーションの XUL ファイルや関連するスクリプトや画像は一つのファイルにパッケージ化され、ユーザが自分でダウンロードしてインストールします。複雑なコードを大量に書かなくても、 Mozilla はこれらパッケージをインストールし、登録する方法を提供しています。さらに、これらのパッケージはブラウザや他のアプリケーションをオーバーレイして、機能を追加することもできます。これが Firefox の拡張が動作する仕組みです。
Quote:
It is also possible to open XUL files directly from the file system or from a remote web site, however they will be restricted in the kinds of operations they can do, and some aspects of XUL will not work. However, if you do want to load XUL content from a remote site, the Web server must be set up to send XUL files with the content type 'application/vnd.mozilla.xul+xml'. XUL is usually stored in files with a .xul extension. You can open a XUL file with Mozilla as you would any other file, using the Open File command from the File menu or typing the URL into the address bar.
XUL is supported in Mozilla and browsers that are also based upon on the Gecko engine, such as Netscape 6 or later and Mozilla Firefox. Due to various changes in XUL syntax over time, you will want to get the latest version for the examples to work properly. Most examples should work in Mozilla 1.0 or later. XUL is fairly similar in Firefox and to other browsers, although it has some specific differences such as support for customizable toolbars.
XUL は Mozilla および Netscape 6 以降や Mozilla Firefox などの Gecko エンジンベースのブラウザでサポートされています。XUL の文法は時につれて色々と変化してきたため、例が正しく動作するには最新バージョンを利用することをお薦めします。例の多くは Mozilla 1.0 以降で動作します。カスタマイズ可能なツールバーのサポートといった特有の差異はありますが、 XUL は Firefox その他のブラウザでもほぼ同様です。
Quote:
This tutorial attempts to cover much of XUL's functionality, however, not all features are discussed. Once you are familiar with XUL, you can use the XUL Element Reference to find out about other features supported by specific elements.