FreeTrainの進化系を目指す
Make type="string" optional and default for property element.
| @@ -1,22 +1,22 @@ | ||
| 1 | 1 | <?xml version="1.0" encoding="utf-8" ?> |
| 2 | 2 | <properties name="core"> |
| 3 | 3 | <properties name="Direction"> |
| 4 | - <property name="N,E,S,W,NE,SE,SW,NW,NNE,ESE,SSW,WNW,ENE,SSE,WSW,NNW" type="string" readonly="true">北,東,南,西,北東,南東,南西,北西,北北東,東南東,南南西,西北西,東北東,南南東,西南西,北北西</property> | |
| 4 | + <property name="N,E,S,W,NE,SE,SW,NW,NNE,ESE,SSW,WNW,ENE,SSE,WSW,NNW">北,東,南,西,北東,南東,南西,北西,北北東,東南東,南南西,西北西,東北東,南南東,西南西,北北西</property> | |
| 5 | 5 | </properties> |
| 6 | 6 | <properties name="World"> |
| 7 | - <property name="Are you sure to over write the district '{0}'? (Current data will be lost.)" type="string" readonly="true">置き換えによって、地域マップ『{0}』のデータは破棄されます。 | |
| 7 | + <property name="Are you sure to over write the district '{0}'? (Current data will be lost.)">置き換えによって、地域マップ『{0}』のデータは破棄されます。 | |
| 8 | 8 | よろしいですか?</property> |
| 9 | - <property name="Are you sure to clear and replace all existing map data?" type="string" readonly="true">今までのマップは全て破棄します。 | |
| 9 | + <property name="Are you sure to clear and replace all existing map data?">今までのマップは全て破棄します。 | |
| 10 | 10 | よろしいですか?</property> |
| 11 | 11 | </properties> |
| 12 | 12 | <properties name="GameManager"> |
| 13 | - <property name="Unsaved game data will be lost. Are you sure?" type="string" readonly="true"> | |
| 13 | + <property name="Unsaved game data will be lost. Are you sure?"> | |
| 14 | 14 | セーブしていないゲームデータは破棄されます。 |
| 15 | 15 | よろしいですか? |
| 16 | 16 | </property> |
| 17 | - <property name="NewGame" type="string" readonly="true">新規ゲーム</property> | |
| 18 | - <property name="Faild to load a game from the file '{0}'." type="string" readonly="true">ファイル{0}からのゲームのロードに失敗しました。</property> | |
| 19 | - <property name="game_create_error" type="string" readonly="true">新規ゲームの作成に失敗しました。</property> | |
| 20 | - <property name="Game data (*.ftgd)|*.ftgd|Game data[full packaged] (*.ftgt)|*.ftgt" type="string" readonly="true">ゲームデータ (*.ftgd)|*.ftgd|ゲームデータ(互換形式) (*.ftgt)|*.ftgt</property> | |
| 17 | + <property name="NewGame">新規ゲーム</property> | |
| 18 | + <property name="Faild to load a game from the file '{0}'.">ファイル{0}からのゲームのロードに失敗しました。</property> | |
| 19 | + <property name="game_create_error">新規ゲームの作成に失敗しました。</property> | |
| 20 | + <property name="Game data (*.ftgd)|*.ftgd|Game data[full packaged] (*.ftgt)|*.ftgt">ゲームデータ (*.ftgd)|*.ftgd|ゲームデータ(互換形式) (*.ftgt)|*.ftgt</property> | |
| 21 | 21 | </properties> |
| 22 | 22 | </properties> |
| \ No newline at end of file |
| @@ -2,74 +2,74 @@ | ||
| 2 | 2 | <!--エラーメッセージは、改行やタブがそのまま使用されるので、ご注意ください。--> |
| 3 | 3 | <properties name="framework"> |
| 4 | 4 | <properties name="Directories"> |
| 5 | - <property type="string" name="Directory '{0}' is not exist. Do you want to create?">{0}は存在しません。 | |
| 5 | + <property name="Directory '{0}' is not exist. Do you want to create?">{0}は存在しません。 | |
| 6 | 6 | 作成しますか?</property> |
| 7 | - <property type="string" name="Failed to create a directory '{0}'. Use default path instead.">{0}は作成できませんでした。 | |
| 7 | + <property name="Failed to create a directory '{0}'. Use default path instead.">{0}は作成できませんでした。 | |
| 8 | 8 | 標準の設定を使用します。</property> |
| 9 | 9 | </properties> |
| 10 | 10 | <properties name="PluginListDialog"> |
| 11 | - <property type="string" name="Uncheck to forbid cpu using this plug-in.">コンピューターに使わせたくないプラグインは、 | |
| 11 | + <property name="Uncheck to forbid cpu using this plug-in.">コンピューターに使わせたくないプラグインは、 | |
| 12 | 12 | チェックを外して下さい。</property> |
| 13 | - <property type="string" name="This contribution cannot invalidate.">このコントリビューションは無効化できません。</property> | |
| 13 | + <property name="This contribution cannot invalidate.">このコントリビューションは無効化できません。</property> | |
| 14 | 14 | </properties> |
| 15 | 15 | <properties name="nft.framework.plugin"> |
| 16 | - <property type="string" name="Too many plug-in load errors! Check out remaining errors in the 'Plug-in List'."> | |
| 16 | + <property name="Too many plug-in load errors! Check out remaining errors in the 'Plug-in List'."> | |
| 17 | 17 | プラグインロードエラーが多すぎます。以降のエラーは省略します。 |
| 18 | 18 | エラーの発生したプラグインを確認するには、プラグイン一覧をご覧下さい。 |
| 19 | 19 | </property> |
| 20 | - <property type="string" name="Dependent plug-in:{1} (required for the plug-in:{0}) is not found."> | |
| 20 | + <property name="Dependent plug-in:{1} (required for the plug-in:{0}) is not found."> | |
| 21 | 21 | プラグイン{0}に必要な |
| 22 | 22 | プラグイン{1}が見つかりません。 |
| 23 | 23 | </property> |
| 24 | - <property type="string" name="Failed to load contribution[{1}] (ID={2}) from the file '{0}'."> | |
| 24 | + <property name="Failed to load contribution[{1}] (ID={2}) from the file '{0}'."> | |
| 25 | 25 | ファイル{0} |
| 26 | 26 | からのコントリビューション[{1}]のロードに失敗しました。 |
| 27 | 27 | ID={2} |
| 28 | 28 | </property> |
| 29 | - <property type="string" name="Failed to load plug-in:{0}.">プラグイン{0}がロードできませんでした。</property> | |
| 30 | - <property type="string" name="Failed to initialize contribution[{1}] in the plug-in:{0}."> | |
| 29 | + <property name="Failed to load plug-in:{0}.">プラグイン{0}がロードできませんでした。</property> | |
| 30 | + <property name="Failed to initialize contribution[{1}] in the plug-in:{0}."> | |
| 31 | 31 | プラグイン{0}内のコントリビューション[{1}]が初期化できませんでした。 |
| 32 | 32 | ID={2} |
| 33 | 33 | </property> |
| 34 | - <property type="string" name="Failed to create CommandEntity[type={0}, class={1}, method={2}]."> | |
| 34 | + <property name="Failed to create CommandEntity[type={0}, class={1}, method={2}]."> | |
| 35 | 35 | コマンドコントリビューションを初期化できません。 |
| 36 | 36 | Type={0} |
| 37 | 37 | Class={1} |
| 38 | 38 | Method={2} |
| 39 | 39 | </property> |
| 40 | - <property type="string" name="An attribute '{1}' is required for the node '{0}'.">XMLノード[{0}]には[{1}]属性が必要です。 | |
| 40 | + <property name="An attribute '{1}' is required for the node '{0}'.">XMLノード[{0}]には[{1}]属性が必要です。 | |
| 41 | 41 | ソース:{2}</property> |
| 42 | - <property type="string" name="Failed to create an instance of the class '{0}'.">指定されたクラス[{0}]のインスタンス作成に失敗しました。 | |
| 42 | + <property name="Failed to create an instance of the class '{0}'.">指定されたクラス[{0}]のインスタンス作成に失敗しました。 | |
| 43 | 43 | ソース:{1}</property> |
| 44 | - <property type="string" name="Cannot cast the class'{0}' to the class'{1}'.">クラス[{0}]を[{1}]にキャストできません。 | |
| 44 | + <property name="Cannot cast the class'{0}' to the class'{1}'.">クラス[{0}]を[{1}]にキャストできません。 | |
| 45 | 45 | ソース:{2}</property> |
| 46 | 46 | </properties> |
| 47 | 47 | <properties name="GlobalModules"> |
| 48 | - <property type="string" name="ERROR while loading a core module.">コア・モジュール読み込みエラー</property> | |
| 48 | + <property name="ERROR while loading a core module.">コア・モジュール読み込みエラー</property> | |
| 49 | 49 | </properties> |
| 50 | 50 | <properties name="WebLoader"> |
| 51 | - <property type="string" name="Web Exception: {0}(state={1}, url={2} ).">ファイルのダウンロードに失敗しました。 | |
| 51 | + <property name="Web Exception: {0}(state={1}, url={2} ).">ファイルのダウンロードに失敗しました。 | |
| 52 | 52 | URL:{0} |
| 53 | 53 | {1} state={2}</property> |
| 54 | - <property type="string" name="Exception raised while downloading url={0} .">ダウンロード中に例外が発生しました。 | |
| 54 | + <property name="Exception raised while downloading url={0} .">ダウンロード中に例外が発生しました。 | |
| 55 | 55 | URL:{0}</property> |
| 56 | 56 | </properties> |
| 57 | 57 | <properties name="nft.ui.command"> |
| 58 | - <property type="string" name="Exception raised while executing the command[ID={0}].">コマンド[ID={0}]の実行中に例外が発生しました。</property> | |
| 58 | + <property name="Exception raised while executing the command[ID={0}].">コマンド[ID={0}]の実行中に例外が発生しました。</property> | |
| 59 | 59 | </properties> |
| 60 | 60 | <properties name="ImageUtil"> |
| 61 | - <property type="string" name="{0}bit RGB">{0}bit RGB</property> | |
| 62 | - <property type="string" name="{0}bit ARGB">{0}bit ARGB</property> | |
| 63 | - <property type="string" name="Indexed {1} Colors">{1}色パレット</property> | |
| 64 | - <property type="string" name="Indexed {1} Gray scales">{1}色グレー</property> | |
| 65 | - <property type="string" name="{0}bit Gray scales">{0}bit グレー</property> | |
| 61 | + <property name="{0}bit RGB">{0}bit RGB</property> | |
| 62 | + <property name="{0}bit ARGB">{0}bit ARGB</property> | |
| 63 | + <property name="Indexed {1} Colors">{1}色パレット</property> | |
| 64 | + <property name="Indexed {1} Gray scales">{1}色グレー</property> | |
| 65 | + <property name="{0}bit Gray scales">{0}bit グレー</property> | |
| 66 | 66 | </properties> |
| 67 | 67 | <properties name="UiUtil"> |
| 68 | - <property type="string" name="Are you sure to exit 'NeoFT'?">NeoFTを終了してよろしいですか?</property> | |
| 68 | + <property name="Are you sure to exit 'NeoFT'?">NeoFTを終了してよろしいですか?</property> | |
| 69 | 69 | </properties> |
| 70 | 70 | <properties name="MainFrame"> |
| 71 | - <property type="string" name="long_title">Neo Free Train</property> | |
| 72 | - <property type="string" name="short_title">NeoFT</property> | |
| 71 | + <property name="long_title">Neo Free Train</property> | |
| 72 | + <property name="short_title">NeoFT</property> | |
| 73 | 73 | </properties> |
| 74 | 74 | |
| 75 | 75 | </properties> |
| \ No newline at end of file |
| @@ -13,7 +13,7 @@ | ||
| 13 | 13 | <xs:simpleContent> |
| 14 | 14 | <xs:extension base="xs:string"> |
| 15 | 15 | <xs:attribute name="name" type="xs:string" use="required" /> |
| 16 | - <xs:attribute name="type" type="proptype" use="required" /> | |
| 16 | + <xs:attribute name="type" type="proptype" use="optional" default="string"/> | |
| 17 | 17 | <xs:attribute name="readonly" type="xs:boolean" use="optional" default="false" /> |
| 18 | 18 | </xs:extension> |
| 19 | 19 | </xs:simpleContent> |