• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

FreeTrainの進化系を目指す


Commit MetaInfo

Revision25 (tree)
Time2014-07-27 00:09:59
Authorc477

Log Message

Make type="string" optional and default for property element.

Change Summary

Incremental Difference

--- trunk/core/nftcore.resource.xml (revision 24)
+++ trunk/core/nftcore.resource.xml (revision 25)
@@ -1,22 +1,22 @@
11 <?xml version="1.0" encoding="utf-8" ?>
22 <properties name="core">
33 <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>
55 </properties>
66 <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}』のデータは破棄されます。
88 よろしいですか?</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?">今までのマップは全て破棄します。
1010 よろしいですか?</property>
1111 </properties>
1212 <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?">
1414 セーブしていないゲームデータは破棄されます。
1515 よろしいですか?
1616 </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>
2121 </properties>
2222 </properties>
\ No newline at end of file
--- trunk/framework/nftfw.resource.xml (revision 24)
+++ trunk/framework/nftfw.resource.xml (revision 25)
@@ -2,74 +2,74 @@
22 <!--エラーメッセージは、改行やタブがそのまま使用されるので、ご注意ください。-->
33 <properties name="framework">
44 <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}は存在しません。
66 作成しますか?</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}は作成できませんでした。
88 標準の設定を使用します。</property>
99 </properties>
1010 <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.">コンピューターに使わせたくないプラグインは、
1212 チェックを外して下さい。</property>
13- <property type="string" name="This contribution cannot invalidate.">このコントリビューションは無効化できません。</property>
13+ <property name="This contribution cannot invalidate.">このコントリビューションは無効化できません。</property>
1414 </properties>
1515 <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'.">
1717 プラグインロードエラーが多すぎます。以降のエラーは省略します。
1818 エラーの発生したプラグインを確認するには、プラグイン一覧をご覧下さい。
1919 </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.">
2121 プラグイン{0}に必要な
2222 プラグイン{1}が見つかりません。
2323 </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}'.">
2525 ファイル{0}
2626 からのコントリビューション[{1}]のロードに失敗しました。
2727 ID={2}
2828 </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}.">
3131 プラグイン{0}内のコントリビューション[{1}]が初期化できませんでした。
3232 ID={2}
3333 </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}].">
3535 コマンドコントリビューションを初期化できません。
3636 Type={0}
3737 Class={1}
3838 Method={2}
3939 </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}]属性が必要です。
4141 ソース:{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}]のインスタンス作成に失敗しました。
4343 ソース:{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}]にキャストできません。
4545 ソース:{2}</property>
4646 </properties>
4747 <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>
4949 </properties>
5050 <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} ).">ファイルのダウンロードに失敗しました。
5252 URL:{0}
5353 {1} state={2}</property>
54- <property type="string" name="Exception raised while downloading url={0} .">ダウンロード中に例外が発生しました。
54+ <property name="Exception raised while downloading url={0} .">ダウンロード中に例外が発生しました。
5555 URL:{0}</property>
5656 </properties>
5757 <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>
5959 </properties>
6060 <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>
6666 </properties>
6767 <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>
6969 </properties>
7070 <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>
7373 </properties>
7474
7575 </properties>
\ No newline at end of file
--- trunk/xsd/nft_resource.xsd (revision 24)
+++ trunk/xsd/nft_resource.xsd (revision 25)
@@ -13,7 +13,7 @@
1313 <xs:simpleContent>
1414 <xs:extension base="xs:string">
1515 <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"/>
1717 <xs:attribute name="readonly" type="xs:boolean" use="optional" default="false" />
1818 </xs:extension>
1919 </xs:simpleContent>