Subversion Repositories spk

Rev

Rev 214 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 214 Rev 226
Line 58... Line 58...
58
			else
58
			else
59
				this->label7->Text = _US(m_pPackage->creationDate());
59
				this->label7->Text = _US(m_pPackage->creationDate());
60
			if ( m_pPackage->description().empty() )
60
			if ( m_pPackage->description().empty() )
61
				this->label9->Text = "(no description)";
61
				this->label9->Text = "(no description)";
62
			else
62
			else
63
				this->label9->Text = _US(m_pPackage->description().findReplace("<br>", "\n").stripHtml());
63
				this->label9->Text = _US(m_pPackage->description().findReplace(L"<br>", L"\n").stripHtml());
64
 
64
 
65
			if ( m_pPackage->GetType() == TYPE_SPK )
65
			if ( m_pPackage->GetType() == TYPE_SPK )
66
			{
66
			{
67
				this->label11->Text = _US(((CSpkFile *)m_pPackage)->scriptTypeString(m_iLang));
67
				this->label11->Text = _US(((CSpkFile *)m_pPackage)->scriptTypeString(m_iLang));
68
				switch ( m_pPackage->pluginType() )
68
				switch ( m_pPackage->pluginType() )
Line 84... Line 84...
84
				this->label11->Text = "Generic Package";
84
				this->label11->Text = "Generic Package";
85
				this->LabelPlugin->Text = "";
85
				this->LabelPlugin->Text = "";
86
			}
86
			}
87
 
87
 
88
			CPackages p;
88
			CPackages p;
89
			p.startup("", "", "", "");
89
			p.startup(L"", L"", L"", L"");
90
 
90
 
91
			if ( !m_pPackage->AnyGameCompatability() )
91
			if ( !m_pPackage->AnyGameCompatability() )
92
				this->label13->Text = "All X Games";
92
				this->label13->Text = "All X Games";
93
			else 
93
			else 
94
				this->label13->Text = _US(p.getGameTypesString(m_pPackage, true));
94
				this->label13->Text = _US(p.getGameTypesString(m_pPackage, true));