IT翻訳 Nobuyuki の仕事部屋

ボランティアでソフトウエアーローカライズのために翻訳をしている。

Gecko Runtime Environment(GRE) を和訳する -6

2005-05-08 07:19:30 | InTranslated
昨日の続きです。

/*翻訳作業につきましては、本日の作業対象部分のみを以下に表示しておりますが、全体の原文と翻訳文(翻訳作業が完了している部分まで)は、直下のリンクをご参照ください。*/

原題: Gecko Runtime Environment(GRE)
訳題: Gecko ランタイム環境 (GRE)

Deploying a GRE based application
Once a GRE based application has been developed and tested you can deploy it using existing Windows based installer technology or Mozilla's XPI technology. In addition to copying the application's executable you must also copy the following "resources" into appropriate directories under the application install directory:


GRE をベースとしたアプリケーションを配置する
GRE ベースのアプリケーションの開発とテストが完了すると、Windows ベースのインストラーや Mozilla の XPI などの現行技術を使って配置できます。アプリケーション・インストール・ディレクトリ下の正しいディレクトリに、アプリケーションの executable だけでなく、以下の「リソース」もコピーしなければいけません:


# chrome - Default chrome required for any embedding application
# components - Place any app specific XPCOM components under this directory. If there are no custom XPCOM components that you have written, create an empty directory named "components"
# default prefs - Create the default pref directory hierarchy with the appropriate files in them.
# plugins - Place any plugins your application requires under the "plugins" directory. Create an empty "plugins" directory if there are no plugins which the application uses
# Other resources - Create a "res" directory which will have the appropriate .css, .properties, .gif files, entity tables, dtds etc.


# chrome - 埋め込みアプリケーションに必要なデフォルトの chrome
# コンポーネント - このディレクトリ下にアプリケーション本体の XPCOM コンポーネントを置く。カスタムな XPCOM コンポーネント が作られていないなら、"components" と言う名前の空ディレクトリを設定する。
# デフォルトの環境設定 - 適当なファイルによってディレクトリに、デフォルトの環境設定ディレクトリ階層を作成する。
# プラグイン - アプリケーションが必要とするすべてのプラグインを "plugins" ディレクトリ下に設置する。アプリケーションがプラグインを使用しなければ、空の "plugins" ディレクトリを作成する。
# その他のリソース - .css、.properties、.gif ファイル、エンティティ表、dtds 等を保持する "res" ディレクトリを作成する。


How do I make an XPCOM component available only to my GRE application?

The components that are part of a GRE installation are accesible to all GRE based applications, for ex, the HTML parser, image decoders etc. are common components that every GRE based application on the same machine can share. However, there are instances when you want to create and use an XPCOM component which is relevant to (and accessible only from) your GRE based application. You can achieve this by placing your application specific XPCOM component in the *application's* "components" directory.


自分の GRE に対してのみ有効な XPCOM 部品の作り方

GRE の設定の一部を構成する部品群は、GREベースのアプリケーションすべてにアクセスできます。例えば、HTML パーサー、画像デコーダーなどは、同じマシン上の GRE ベースのアプリケーションすべてが共用する共通部品です。しかし、自分の GRE ベースのアプリケーションに関連する(かつアプリケーションからのみアクセス可能な) XPCOM 部品を作成たり使用したい時、インスタンスが存在します。そこで*1、*アプリケーションの* "components" ディレクトリに自分のアプリケーション本体の XPCOM 部品を設置することで、この事は達成できます。



*1→「そこで」:この語は原文にないが、文意を分かり易くするために補った

本日はここまでとします。
もうじきこの翻訳も完成です。(^◇^)