Subversion Repositories spk

Rev

Rev 52 | Rev 58 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52 Rev 57
Line 403... Line 403...
403
				continue;
403
				continue;
404
		}
404
		}
405
 
405
 
406
		if ( this->ExtractGameFile(str, "tmp") ) {
406
		if ( this->ExtractGameFile(str, "tmp") ) {
407
			// add all texts into the map, id=(pageid, tid) data=text
407
			// add all texts into the map, id=(pageid, tid) data=text
408
			Utils::String baseFile = CFileIO(str).GetBaseName().ToString();
408
			Utils::String baseFile = CFileIO(str).baseName();
409
			int lang = (baseFile.isin("-L")) ? baseFile.right(3) : baseFile.truncate(-4);
409
			int lang = (baseFile.isin("-L")) ? baseFile.right(3) : baseFile.truncate(-4);
410
 
410
 
411
			if ( m_iLang && lang != m_iLang ) continue;
411
			if ( m_iLang && lang != m_iLang ) continue;
412
			// open the text file to add
412
			// open the text file to add
413
			pTextList->parseTextFile(iFromPage, iToPage, "tmp", lang);
413
			pTextList->parseTextFile(iFromPage, iToPage, "tmp", lang);