マスタエディタ:英語版のときのみ提出方法にInternetを追加するようにした。言語切り替えのときにレーティング設定がクリアされてしまう問題を修正。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@200 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2009-03-04 04:37:48 +00:00
parent 16c7d6d3d0
commit 07331ea292
9 changed files with 2788 additions and 905 deletions

View File

@ -280,9 +280,6 @@
<data name="cboxIsInputPerson2.Text" xml:space="preserve">
<value>Enter Contact 2 (optional)</value>
</data>
<data name="gboxPerson2.Text" xml:space="preserve">
<value>Contact 2</value>
</data>
<data name="labArbit4.Size" type="System.Drawing.Size, System.Drawing">
<value>55, 12</value>
</data>
@ -295,8 +292,8 @@
<data name="labArbit3.Text" xml:space="preserve">
<value>(Optional)</value>
</data>
<data name="gboxPerson1.Text" xml:space="preserve">
<value>Contact 1</value>
<data name="gboxPerson2.Text" xml:space="preserve">
<value>Contact 2</value>
</data>
<data name="labArbit2.Size" type="System.Drawing.Size, System.Drawing">
<value>55, 12</value>
@ -310,17 +307,20 @@
<data name="labArbit1.Text" xml:space="preserve">
<value>(Optional)</value>
</data>
<data name="gboxPerson1.Text" xml:space="preserve">
<value>Contact 1</value>
</data>
<data name="gboxUsage.Text" xml:space="preserve">
<value>Usage</value>
</data>
<data name="gboxSubmitWay.Text" xml:space="preserve">
<value>Submission Method</value>
</data>
<data name="rSubmitHand.Size" type="System.Drawing.Size, System.Drawing">
<value>62, 16</value>
<value>67, 16</value>
</data>
<data name="rSubmitHand.Text" xml:space="preserve">
<value>Internet</value>
<value>By Hand</value>
</data>
<data name="gboxSubmitWay.Text" xml:space="preserve">
<value>Submission Method</value>
</data>
<data name="labSubmiteDate.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 143</value>
@ -361,15 +361,15 @@
<data name="labProductCodeForeign.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 74</value>
</data>
<data name="gboxShared2Size.Text" xml:space="preserve">
<value>Shared 2 File Size</value>
</data>
<data name="cboxIsShared2.Size" type="System.Drawing.Size, System.Drawing">
<value>130, 16</value>
</data>
<data name="cboxIsShared2.Text" xml:space="preserve">
<value>Use of Shared 2 File</value>
</data>
<data name="gboxShared2Size.Text" xml:space="preserve">
<value>Shared 2 File Size</value>
</data>
<data name="labLib.Size" type="System.Drawing.Size, System.Drawing">
<value>161, 12</value>
</data>
@ -418,15 +418,15 @@
<data name="cboxIsTmpJump.Text" xml:space="preserve">
<value>Permit Tmp Jump Landing</value>
</data>
<data name="gboxAccess.Text" xml:space="preserve">
<value>Access Control Information</value>
</data>
<data name="labAccessOther.Size" type="System.Drawing.Size, System.Drawing">
<value>33, 12</value>
</data>
<data name="labAccessOther.Text" xml:space="preserve">
<value>Other</value>
</data>
<data name="gboxAccess.Text" xml:space="preserve">
<value>Access Control Information</value>
</data>
<data name="labIsGameCardOn2.Size" type="System.Drawing.Size, System.Drawing">
<value>119, 11</value>
</data>
@ -505,17 +505,11 @@
<data name="stripItemMiddlewareHtml.Text" xml:space="preserve">
<value>Create middleware list only (HTML format)</value>
</data>
<data name="tabRomInfo.Text" xml:space="preserve">
<value>Basic ROM Info</value>
</data>
<data name="tboxGuideRomInfo.Text" xml:space="preserve">
<value>Information on this tab cannot be edited. If data errors exist, review the ROM's build settings.</value>
</data>
<data name="tabTWLInfo.Text" xml:space="preserve">
<value>TWL Extended Info</value>
</data>
<data name="gboxLaunch.Text" xml:space="preserve">
<value>Launch Control on DSi Menu</value>
<data name="tabRomInfo.Text" xml:space="preserve">
<value>Basic ROM Info</value>
</data>
<data name="labConnectIcon.Size" type="System.Drawing.Size, System.Drawing">
<value>198, 12</value>
@ -523,18 +517,18 @@
<data name="labConnectIcon.Text" xml:space="preserve">
<value>Display Connection Icon on DSi Menu</value>
</data>
<data name="gboxLaunch.Text" xml:space="preserve">
<value>Launch Control on DSi Menu</value>
</data>
<data name="tboxGuideTWLInfo.Text" xml:space="preserve">
<value>Information on this tab cannot be edited. If data errors exist, review the ROM's build settings.</value>
</data>
<data name="tabNandSizeInfo.Text" xml:space="preserve">
<value>DSiWare Info</value>
<data name="tabTWLInfo.Text" xml:space="preserve">
<value>TWL Extended Info</value>
</data>
<data name="tboxGuideNandSizeInfo.Text" xml:space="preserve">
<value>Information on this tab is required to confirm the amount of space a given Nintendo DSiWare title (NAND application) uses in the system memory. &lt;newline&gt;If the media of the application is a Game Card, there is no need to check the amount of system memory used.</value>
</data>
<data name="gboxNandSize.Text" xml:space="preserve">
<value>Amount of System NAND Memory Used by DSiWare Application</value>
</data>
<data name="labNandSize.Location" type="System.Drawing.Point, System.Drawing">
<value>154, 23</value>
</data>
@ -598,11 +592,11 @@
<data name="labTmdSize.Text" xml:space="preserve">
<value>Other</value>
</data>
<data name="tabRomEditInfo.Text" xml:space="preserve">
<value>Market and Rating</value>
<data name="gboxNandSize.Text" xml:space="preserve">
<value>Amount of System NAND Memory Used by DSiWare Application</value>
</data>
<data name="gboxOtherSpec.Text" xml:space="preserve">
<value>Other ROM Specifications</value>
<data name="tabNandSizeInfo.Text" xml:space="preserve">
<value>DSiWare Info</value>
</data>
<data name="cboxIsUGC.Size" type="System.Drawing.Size, System.Drawing">
<value>227, 16</value>
@ -610,23 +604,26 @@
<data name="cboxIsUGC.Text" xml:space="preserve">
<value>UGC (User Generated Content) Support</value>
</data>
<data name="gboxOtherSpec.Text" xml:space="preserve">
<value>Other ROM Specifications</value>
</data>
<data name="butSetBack.Text" xml:space="preserve">
<value>Restore Initial Settings</value>
</data>
<data name="tboxGuideRomEditInfo.Text" xml:space="preserve">
<value>You must complete all items on this tab to create a submission checklist and Master ROM. &lt;newline&gt;This information is used as ROM registration data when the Master ROM is created (excluding "Other ROM Specifications").</value>
</data>
<data name="gboxParental.Text" xml:space="preserve">
<value>Market and Rating Information</value>
</data>
<data name="cboxIsUnnecessaryRating.Size" type="System.Drawing.Size, System.Drawing">
<value>195, 16</value>
</data>
<data name="cboxIsUnnecessaryRating.Text" xml:space="preserve">
<value>Rating Not Required (Tools Only)</value>
</data>
<data name="tabSubmitInfo.Text" xml:space="preserve">
<value>Submission Info</value>
<data name="gboxParental.Text" xml:space="preserve">
<value>Market and Rating Information</value>
</data>
<data name="tabRomEditInfo.Text" xml:space="preserve">
<value>Market and Rating</value>
</data>
<data name="labProductNameLimit.Text" xml:space="preserve">
<value>(30 characters or less)</value>
@ -634,9 +631,6 @@
<data name="tboxGuideSubmitInfo.Text" xml:space="preserve">
<value>You must complete all items on this tab to create a submission checklist.</value>
</data>
<data name="gboxForeign.Text" xml:space="preserve">
<value>Foreign Version</value>
</data>
<data name="labProductNameLimitForeign.Text" xml:space="preserve">
<value>(30 characters or less)</value>
</data>
@ -646,27 +640,30 @@
<data name="labMultiForeign2.Text" xml:space="preserve">
<value>(When for &gt;1 market)</value>
</data>
<data name="tabCompanyInfo.Text" xml:space="preserve">
<value>Company Info</value>
<data name="gboxForeign.Text" xml:space="preserve">
<value>Foreign Version</value>
</data>
<data name="tabSubmitInfo.Text" xml:space="preserve">
<value>Submission Info</value>
</data>
<data name="tboxGuideCompanyInfo.Text" xml:space="preserve">
<value>You must complete all items on this tab to create a submission checklist. Enter all information.</value>
</data>
<data name="tabErrorInfo.Text" xml:space="preserve">
<value>Error Info</value>
<data name="tabCompanyInfo.Text" xml:space="preserve">
<value>Company Info</value>
</data>
<data name="tboxGuideErrorInfo.Text" xml:space="preserve">
<value>This tab lists problems in the ROM data file and editing mistakes made when using this program. &lt;newline&gt;Items in red cannot be corrected using this program. You must modify the ROM build settings. &lt;newline&gt;Items in blue indicate problems with the ROM data that can be can corrected using this program. &lt;newline&gt;Items in black indicate errors or omissions in the Submission Info and Company Info tabs.</value>
</data>
<data name="gboxErrorTiming.Text" xml:space="preserve">
<value>Display Information From</value>
</data>
<data name="rErrorCurrent.Size" type="System.Drawing.Size, System.Drawing">
<value>121, 16</value>
</data>
<data name="rErrorCurrent.Text" xml:space="preserve">
<value>Apply current input</value>
</data>
<data name="gboxErrorTiming.Text" xml:space="preserve">
<value>Display Information From</value>
</data>
<data name="labWarn.Size" type="System.Drawing.Size, System.Drawing">
<value>466, 12</value>
</data>
@ -691,4 +688,7 @@
<data name="colErrorBegin.HeaderText" xml:space="preserve">
<value>Start</value>
</data>
<data name="tabErrorInfo.Text" xml:space="preserve">
<value>Error Info</value>
</data>
</root>

View File

@ -694,6 +694,7 @@ private: System::Windows::Forms::TextBox^ tboxPhotoAccess;
private: System::Windows::Forms::Label^ labCountryCodeR;
private: System::Windows::Forms::ComboBox^ combCountryCode;
private: System::Windows::Forms::Label^ labCountryCodeL;
private: System::Windows::Forms::RadioButton^ rSubmitInternet;
@ -846,11 +847,11 @@ private: System::Windows::Forms::Label^ labCountryCodeL;
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle2 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle3 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle4 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle5 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle6 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle7 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle8 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle9 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle10 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
this->tboxFile = (gcnew System::Windows::Forms::TextBox());
this->gboxSrl = (gcnew System::Windows::Forms::GroupBox());
this->tboxRemasterVer = (gcnew System::Windows::Forms::TextBox());
@ -951,6 +952,7 @@ private: System::Windows::Forms::Label^ labCountryCodeL;
this->rUsageSample = (gcnew System::Windows::Forms::RadioButton());
this->rUsageSale = (gcnew System::Windows::Forms::RadioButton());
this->gboxSubmitWay = (gcnew System::Windows::Forms::GroupBox());
this->rSubmitInternet = (gcnew System::Windows::Forms::RadioButton());
this->rSubmitHand = (gcnew System::Windows::Forms::RadioButton());
this->rSubmitPost = (gcnew System::Windows::Forms::RadioButton());
this->labSubmiteDate = (gcnew System::Windows::Forms::Label());
@ -1798,12 +1800,20 @@ private: System::Windows::Forms::Label^ labCountryCodeL;
//
// gboxSubmitWay
//
this->gboxSubmitWay->Controls->Add(this->rSubmitInternet);
this->gboxSubmitWay->Controls->Add(this->rSubmitHand);
this->gboxSubmitWay->Controls->Add(this->rSubmitPost);
resources->ApplyResources(this->gboxSubmitWay, L"gboxSubmitWay");
this->gboxSubmitWay->Name = L"gboxSubmitWay";
this->gboxSubmitWay->TabStop = false;
//
// rSubmitInternet
//
resources->ApplyResources(this->rSubmitInternet, L"rSubmitInternet");
this->rSubmitInternet->Name = L"rSubmitInternet";
this->rSubmitInternet->TabStop = true;
this->rSubmitInternet->UseVisualStyleBackColor = true;
//
// rSubmitHand
//
resources->ApplyResources(this->rSubmitHand, L"rSubmitHand");
@ -2399,15 +2409,15 @@ private: System::Windows::Forms::Label^ labCountryCodeL;
this->gridSDK->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->gridSDK->ColumnHeadersVisible = false;
this->gridSDK->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(1) {this->dataSDKVer});
dataGridViewCellStyle1->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
dataGridViewCellStyle1->BackColor = System::Drawing::SystemColors::Window;
dataGridViewCellStyle1->Font = (gcnew System::Drawing::Font(L"MS UI Gothic", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
dataGridViewCellStyle6->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
dataGridViewCellStyle6->BackColor = System::Drawing::SystemColors::Window;
dataGridViewCellStyle6->Font = (gcnew System::Drawing::Font(L"MS UI Gothic", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(128)));
dataGridViewCellStyle1->ForeColor = System::Drawing::SystemColors::ControlText;
dataGridViewCellStyle1->SelectionBackColor = System::Drawing::SystemColors::Highlight;
dataGridViewCellStyle1->SelectionForeColor = System::Drawing::SystemColors::HighlightText;
dataGridViewCellStyle1->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
this->gridSDK->DefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle6->ForeColor = System::Drawing::SystemColors::ControlText;
dataGridViewCellStyle6->SelectionBackColor = System::Drawing::SystemColors::Highlight;
dataGridViewCellStyle6->SelectionForeColor = System::Drawing::SystemColors::HighlightText;
dataGridViewCellStyle6->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
this->gridSDK->DefaultCellStyle = dataGridViewCellStyle6;
resources->ApplyResources(this->gridSDK, L"gridSDK");
this->gridSDK->Name = L"gridSDK";
this->gridSDK->ReadOnly = true;
@ -2429,15 +2439,15 @@ private: System::Windows::Forms::Label^ labCountryCodeL;
this->gridLibrary->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->gridLibrary->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(2) {this->colLibPublisher,
this->colLibName});
dataGridViewCellStyle2->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
dataGridViewCellStyle2->BackColor = System::Drawing::SystemColors::Window;
dataGridViewCellStyle2->Font = (gcnew System::Drawing::Font(L"MS UI Gothic", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
dataGridViewCellStyle7->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
dataGridViewCellStyle7->BackColor = System::Drawing::SystemColors::Window;
dataGridViewCellStyle7->Font = (gcnew System::Drawing::Font(L"MS UI Gothic", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(128)));
dataGridViewCellStyle2->ForeColor = System::Drawing::SystemColors::ControlText;
dataGridViewCellStyle2->SelectionBackColor = System::Drawing::SystemColors::Highlight;
dataGridViewCellStyle2->SelectionForeColor = System::Drawing::SystemColors::HighlightText;
dataGridViewCellStyle2->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
this->gridLibrary->DefaultCellStyle = dataGridViewCellStyle2;
dataGridViewCellStyle7->ForeColor = System::Drawing::SystemColors::ControlText;
dataGridViewCellStyle7->SelectionBackColor = System::Drawing::SystemColors::Highlight;
dataGridViewCellStyle7->SelectionForeColor = System::Drawing::SystemColors::HighlightText;
dataGridViewCellStyle7->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
this->gridLibrary->DefaultCellStyle = dataGridViewCellStyle7;
resources->ApplyResources(this->gridLibrary, L"gridLibrary");
this->gridLibrary->Name = L"gridLibrary";
this->gridLibrary->ReadOnly = true;
@ -2954,15 +2964,15 @@ private: System::Windows::Forms::Label^ labCountryCodeL;
this->gridWarn->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->gridWarn->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(4) {this->colWarnName,
this->colWarnBegin, this->colWarnEnd, this->colWarnCause});
dataGridViewCellStyle3->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
dataGridViewCellStyle3->BackColor = System::Drawing::SystemColors::Window;
dataGridViewCellStyle3->Font = (gcnew System::Drawing::Font(L"MS UI Gothic", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
dataGridViewCellStyle8->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
dataGridViewCellStyle8->BackColor = System::Drawing::SystemColors::Window;
dataGridViewCellStyle8->Font = (gcnew System::Drawing::Font(L"MS UI Gothic", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(128)));
dataGridViewCellStyle3->ForeColor = System::Drawing::SystemColors::ControlText;
dataGridViewCellStyle3->SelectionBackColor = System::Drawing::SystemColors::Highlight;
dataGridViewCellStyle3->SelectionForeColor = System::Drawing::SystemColors::HighlightText;
dataGridViewCellStyle3->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
this->gridWarn->DefaultCellStyle = dataGridViewCellStyle3;
dataGridViewCellStyle8->ForeColor = System::Drawing::SystemColors::ControlText;
dataGridViewCellStyle8->SelectionBackColor = System::Drawing::SystemColors::Highlight;
dataGridViewCellStyle8->SelectionForeColor = System::Drawing::SystemColors::HighlightText;
dataGridViewCellStyle8->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
this->gridWarn->DefaultCellStyle = dataGridViewCellStyle8;
this->gridWarn->GridColor = System::Drawing::SystemColors::Control;
resources->ApplyResources(this->gridWarn, L"gridWarn");
this->gridWarn->Name = L"gridWarn";
@ -2997,22 +3007,22 @@ private: System::Windows::Forms::Label^ labCountryCodeL;
//
// gridError
//
dataGridViewCellStyle4->BackColor = System::Drawing::Color::White;
this->gridError->AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
dataGridViewCellStyle9->BackColor = System::Drawing::Color::White;
this->gridError->AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
this->gridError->AutoSizeRowsMode = System::Windows::Forms::DataGridViewAutoSizeRowsMode::AllCellsExceptHeaders;
this->gridError->BackgroundColor = System::Drawing::SystemColors::Control;
this->gridError->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->gridError->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(4) {this->colErrorName,
this->colErrorBegin, this->colErrorEnd, this->colErrorCause});
dataGridViewCellStyle5->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
dataGridViewCellStyle5->BackColor = System::Drawing::SystemColors::Window;
dataGridViewCellStyle5->Font = (gcnew System::Drawing::Font(L"MS UI Gothic", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
dataGridViewCellStyle10->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
dataGridViewCellStyle10->BackColor = System::Drawing::SystemColors::Window;
dataGridViewCellStyle10->Font = (gcnew System::Drawing::Font(L"MS UI Gothic", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(128)));
dataGridViewCellStyle5->ForeColor = System::Drawing::SystemColors::ControlText;
dataGridViewCellStyle5->SelectionBackColor = System::Drawing::SystemColors::Highlight;
dataGridViewCellStyle5->SelectionForeColor = System::Drawing::SystemColors::HighlightText;
dataGridViewCellStyle5->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
this->gridError->DefaultCellStyle = dataGridViewCellStyle5;
dataGridViewCellStyle10->ForeColor = System::Drawing::SystemColors::ControlText;
dataGridViewCellStyle10->SelectionBackColor = System::Drawing::SystemColors::Highlight;
dataGridViewCellStyle10->SelectionForeColor = System::Drawing::SystemColors::HighlightText;
dataGridViewCellStyle10->WrapMode = System::Windows::Forms::DataGridViewTriState::True;
this->gridError->DefaultCellStyle = dataGridViewCellStyle10;
this->gridError->GridColor = System::Drawing::SystemColors::Control;
resources->ApplyResources(this->gridError, L"gridError");
this->gridError->Name = L"gridError";
@ -3599,6 +3609,9 @@ private: System::Windows::Forms::Label^ labCountryCodeL;
// 日本語版と英語版でテキストボックスの文字列制限が変わる
void changeMaxLength( System::Windows::Forms::TextBox ^tbox, System::Int32 maxlen );
// フォームの入力可否と表示/非表示を切り替え
void changeFormInput( System::String ^langname );
// 日本語版への切り替え
void changeJapanese(void);

View File

@ -90,6 +90,7 @@ void Form1::construct(void)
{
this->stripItemJapanese->Checked = true;
this->stripItemEnglish->Checked = false;
this->changeFormInput("ja");
}
else
{

View File

@ -80,7 +80,11 @@ void Form1::setDeliverableProperties(void)
this->hDeliv->hSDK = gcnew System::String( "" );
}
// ñ<E28099>o•û@
if( this->rSubmitPost->Checked == true )
if( this->rSubmitInternet->Checked == true )
{
this->hDeliv->hSubmitWay = this->rSubmitInternet->Text;
}
else if( this->rSubmitPost->Checked == true )
{
this->hDeliv->hSubmitWay = this->rSubmitPost->Text;
}
@ -88,6 +92,7 @@ void Form1::setDeliverableProperties(void)
{
this->hDeliv->hSubmitWay = this->rSubmitHand->Text;
}
// —p“r
if( this->rUsageSale->Checked == true )
{

View File

@ -33,6 +33,56 @@ void Form1::changeMaxLength( System::Windows::Forms::TextBox ^tbox, System::Int3
tbox->MaxLength = maxlen;
}
// ----------------------------------------------
// フォームのEnableやVisibleを変える
// ----------------------------------------------
void Form1::changeFormInput( System::String ^langname )
{
// 日本語のみの入力項目
if( langname->StartsWith("ja") )
{
// ふりがなは日本のみ
this->tboxFurigana1->Enabled = true;
this->tboxNTSC1->Enabled = true;
this->tboxFurigana2->Enabled = true;
this->tboxNTSC2->Enabled = true;
// 日本ではInternet提出を認めない
if( this->rSubmitInternet->Checked )
{
this->rSubmitInternet->Checked = false; // 表示を消したときに選択されている項目がない状況を防ぐ
this->rSubmitPost->Checked = true;
}
this->rSubmitInternet->Enabled = false;
this->rSubmitInternet->Visible = false;
// 入力文字数制限を変更する
this->changeMaxLength( this->tboxCompany1, 35 );
this->changeMaxLength( this->tboxDepart1, 35 );
this->changeMaxLength( this->tboxPerson1, 25 );
this->changeMaxLength( this->tboxCompany2, 35 );
this->changeMaxLength( this->tboxDepart2, 35 );
this->changeMaxLength( this->tboxPerson2, 25 );
}
else
{
this->tboxFurigana1->Enabled = false;
this->tboxNTSC1->Enabled = false;
this->tboxFurigana2->Enabled = false;
this->tboxNTSC2->Enabled = false;
this->rSubmitInternet->Enabled = true;
this->rSubmitInternet->Visible = true;
this->changeMaxLength( this->tboxCompany1, 70 );
this->changeMaxLength( this->tboxDepart1, 70 );
this->changeMaxLength( this->tboxPerson1, 50 );
this->changeMaxLength( this->tboxCompany2, 70 );
this->changeMaxLength( this->tboxDepart2, 70 );
this->changeMaxLength( this->tboxPerson2, 50 );
}
}
// ----------------------------------------------
// 日本語版への切り替え
// ----------------------------------------------
@ -40,13 +90,6 @@ void Form1::changeJapanese(void)
{
this->changeLanguage( "ja" );
// 入力文字数制限を変更する
this->changeMaxLength( this->tboxCompany1, 35 );
this->changeMaxLength( this->tboxDepart1, 35 );
this->changeMaxLength( this->tboxPerson1, 25 );
this->changeMaxLength( this->tboxCompany2, 35 );
this->changeMaxLength( this->tboxDepart2, 35 );
this->changeMaxLength( this->tboxPerson2, 25 );
}
// ----------------------------------------------
@ -55,13 +98,6 @@ void Form1::changeJapanese(void)
void Form1::changeEnglish(void)
{
this->changeLanguage( "en" );
this->changeMaxLength( this->tboxCompany1, 70 );
this->changeMaxLength( this->tboxDepart1, 70 );
this->changeMaxLength( this->tboxPerson1, 50 );
this->changeMaxLength( this->tboxCompany2, 70 );
this->changeMaxLength( this->tboxDepart2, 70 );
this->changeMaxLength( this->tboxPerson2, 50 );
}
// ----------------------------------------------
@ -69,7 +105,7 @@ void Form1::changeEnglish(void)
// ----------------------------------------------
void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
{
int index;
//int index;
System::Threading::Thread::CurrentThread->CurrentUICulture = gcnew System::Globalization::CultureInfo(langname,true);
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
@ -93,14 +129,14 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->ApplyResources(this->tboxTitleName, L"tboxTitleName");
resources->ApplyResources(this->labBackup, L"labBackup");
index = this->combBackup->SelectedIndex;
int indexBackup = this->combBackup->SelectedIndex;
this->combBackup->Items->Clear();
this->combBackup->Items->AddRange(gcnew cli::array< System::Object^ >(10) {resources->GetString(L"combBackup.Items"), resources->GetString(L"combBackup.Items1"),
resources->GetString(L"combBackup.Items2"), resources->GetString(L"combBackup.Items3"), resources->GetString(L"combBackup.Items4"),
resources->GetString(L"combBackup.Items5"), resources->GetString(L"combBackup.Items6"), resources->GetString(L"combBackup.Items7"),
resources->GetString(L"combBackup.Items8"), resources->GetString(L"combBackup.Items9")});
resources->ApplyResources(this->combBackup, L"combBackup");
this->combBackup->SelectedIndex = index;
this->combBackup->SelectedIndex = indexBackup;
resources->ApplyResources(this->tboxBackupOther, L"tboxBackupOther");
resources->ApplyResources(this->gboxCRC, L"gboxCRC");
@ -119,66 +155,59 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->ApplyResources(this->labCERO, L"labCERO");
resources->ApplyResources(this->combOFLC, L"combOFLC");
index = this->combOFLC->SelectedIndex;
int indexOFLC = this->combOFLC->SelectedIndex;
this->combOFLC->Items->Clear();
this->combOFLC->Items->AddRange(gcnew cli::array< System::Object^ >(5) {resources->GetString(L"combOFLC.Items"), resources->GetString(L"combOFLC.Items1"),
resources->GetString(L"combOFLC.Items2"), resources->GetString(L"combOFLC.Items3"), resources->GetString(L"combOFLC.Items4")});
this->combOFLC->SelectedIndex = index;
resources->ApplyResources(this->combPEGI_BBFC, L"combPEGI_BBFC");
index = this->combPEGI_BBFC->SelectedIndex;
int indexPEGI_BBFC = this->combPEGI_BBFC->SelectedIndex;
this->combPEGI_BBFC->Items->Clear();
this->combPEGI_BBFC->Items->AddRange(gcnew cli::array< System::Object^ >(10) {resources->GetString(L"combPEGI_BBFC.Items"),
resources->GetString(L"combPEGI_BBFC.Items1"), resources->GetString(L"combPEGI_BBFC.Items2"), resources->GetString(L"combPEGI_BBFC.Items3"),
resources->GetString(L"combPEGI_BBFC.Items4"), resources->GetString(L"combPEGI_BBFC.Items5"), resources->GetString(L"combPEGI_BBFC.Items6"),
resources->GetString(L"combPEGI_BBFC.Items7"), resources->GetString(L"combPEGI_BBFC.Items8"), resources->GetString(L"combPEGI_BBFC.Items9")});
this->combPEGI_BBFC->SelectedIndex = index;
resources->ApplyResources(this->combPEGI_PRT, L"combPEGI_PRT");
index = this->combPEGI_PRT->SelectedIndex;
int indexPEGI_PRT = this->combPEGI_PRT->SelectedIndex;
this->combPEGI_PRT->Items->Clear();
this->combPEGI_PRT->Items->AddRange(gcnew cli::array< System::Object^ >(7) {resources->GetString(L"combPEGI_PRT.Items"),
resources->GetString(L"combPEGI_PRT.Items1"), resources->GetString(L"combPEGI_PRT.Items2"), resources->GetString(L"combPEGI_PRT.Items3"),
resources->GetString(L"combPEGI_PRT.Items4"), resources->GetString(L"combPEGI_PRT.Items5"), resources->GetString(L"combPEGI_PRT.Items6")});
this->combPEGI_PRT->SelectedIndex = index;
resources->ApplyResources(this->combPEGI, L"combPEGI");
index = this->combPEGI->SelectedIndex;
int indexPEGI = this->combPEGI->SelectedIndex;
this->combPEGI->Items->Clear();
this->combPEGI->Items->AddRange(gcnew cli::array< System::Object^ >(7) {resources->GetString(L"combPEGI.Items"), resources->GetString(L"combPEGI.Items1"),
resources->GetString(L"combPEGI.Items2"), resources->GetString(L"combPEGI.Items3"), resources->GetString(L"combPEGI.Items4"),
resources->GetString(L"combPEGI.Items5"), resources->GetString(L"combPEGI.Items6")});
this->combPEGI->SelectedIndex = index;
resources->ApplyResources(this->combUSK, L"combUSK");
index = this->combUSK->SelectedIndex;
int indexUSK = this->combUSK->SelectedIndex;
this->combUSK->Items->Clear();
this->combUSK->Items->AddRange(gcnew cli::array< System::Object^ >(6) {resources->GetString(L"combUSK.Items"), resources->GetString(L"combUSK.Items1"),
resources->GetString(L"combUSK.Items2"), resources->GetString(L"combUSK.Items3"), resources->GetString(L"combUSK.Items4"), resources->GetString(L"combUSK.Items5")});
this->combUSK->SelectedIndex = index;
resources->ApplyResources(this->combESRB, L"combESRB");
index = this->combESRB->SelectedIndex;
int indexESRB = this->combESRB->SelectedIndex;
this->combESRB->Items->Clear();
this->combESRB->Items->AddRange(gcnew cli::array< System::Object^ >(7) {resources->GetString(L"combESRB.Items"), resources->GetString(L"combESRB.Items1"),
resources->GetString(L"combESRB.Items2"), resources->GetString(L"combESRB.Items3"), resources->GetString(L"combESRB.Items4"),
resources->GetString(L"combESRB.Items5"), resources->GetString(L"combESRB.Items6")});
this->combESRB->SelectedIndex = index;
resources->ApplyResources(this->combCERO, L"combCERO");
index = this->combCERO->SelectedIndex;
int indexCERO = this->combCERO->SelectedIndex;
this->combCERO->Items->Clear();
this->combCERO->Items->AddRange(gcnew cli::array< System::Object^ >(6) {resources->GetString(L"combCERO.Items"), resources->GetString(L"combCERO.Items1"),
resources->GetString(L"combCERO.Items2"), resources->GetString(L"combCERO.Items3"), resources->GetString(L"combCERO.Items4"),
resources->GetString(L"combCERO.Items5")});
this->combCERO->SelectedIndex = index;
resources->ApplyResources(this->labParentalRating, L"labParentalRating");
resources->ApplyResources(this->labRegion, L"labRegion");
resources->ApplyResources(this->cboxIsEULA, L"cboxIsEULA");
resources->ApplyResources(this->combRegion, L"combRegion");
index = this->combRegion->SelectedIndex;
int indexRegion = this->combRegion->SelectedIndex;
this->combRegion->Items->Clear();
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(7) {resources->GetString(L"combRegion.Items"), resources->GetString(L"combRegion.Items1"),
resources->GetString(L"combRegion.Items2"), resources->GetString(L"combRegion.Items3"), resources->GetString(L"combRegion.Items4"),
@ -193,7 +222,16 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
this->combRegion->Items->Add( gcnew System::String( L"All Region" ) );
}
#endif
this->combRegion->SelectedIndex = index;
this->combRegion->SelectedIndex = indexRegion;
// Region が変わったときのイベントが勝手に呼ばれて index が -1 にされるので Region 変更後に index を設定
this->combCERO->SelectedIndex = indexCERO;
this->combESRB->SelectedIndex = indexESRB;
this->combUSK->SelectedIndex = indexUSK;
this->combPEGI->SelectedIndex = indexPEGI;
this->combPEGI_PRT->SelectedIndex = indexPEGI_PRT;
this->combPEGI_BBFC->SelectedIndex = indexPEGI_BBFC;
this->combOFLC->SelectedIndex = indexOFLC;
//resources->ApplyResources(this->combDLCategory, L"combDLCategory");
//index = this->combDLCategory->SelectedIndex;
@ -435,21 +473,8 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
this->unnecessaryRating( this->combOFLC );
}
// 日本語のみの入力項目
if( langname->StartsWith("ja") )
{
this->tboxFurigana1->Enabled = true;
this->tboxNTSC1->Enabled = true;
this->tboxFurigana2->Enabled = true;
this->tboxNTSC2->Enabled = true;
}
else
{
this->tboxFurigana1->Enabled = false;
this->tboxNTSC1->Enabled = false;
this->tboxFurigana2->Enabled = false;
this->tboxNTSC2->Enabled = false;
}
// フォームのEnableやVisibleを切り替え
this->changeFormInput( langname );
// 複数行表示の改行を挿入
this->tboxGuideRomEditInfo->Text = this->tboxGuideRomEditInfo->Text->Replace( "<newline>", "\r\n" );