mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
Changed: Minor changes
--HG-- branch : develop
This commit is contained in:
parent
589be3bbbb
commit
a9c3982d21
1 changed files with 3 additions and 6 deletions
|
@ -2329,8 +2329,7 @@ bool sortTransPhrase()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nlinfo("Updating hashcode of phrase file for %s.", Languages[l].c_str());
|
||||||
nlinfo("Updating hashcode of phrase file for %s.\n", Languages[l].c_str());
|
|
||||||
// build the diff file for each language.
|
// build the diff file for each language.
|
||||||
ucstring str = preparePhraseFile(phrases2, false);
|
ucstring str = preparePhraseFile(phrases2, false);
|
||||||
std::string pharseName(transDir+refFile);
|
std::string pharseName(transDir+refFile);
|
||||||
|
@ -2414,7 +2413,6 @@ int updatePhraseWork()
|
||||||
uint lastFile = (uint)outputResult.size();
|
uint lastFile = (uint)outputResult.size();
|
||||||
for (; firstFile != lastFile ; ++firstFile)
|
for (; firstFile != lastFile ; ++firstFile)
|
||||||
{
|
{
|
||||||
|
|
||||||
ucstring doc = outputResult[firstFile].first;
|
ucstring doc = outputResult[firstFile].first;
|
||||||
std::vector<TPhrase> phrases;
|
std::vector<TPhrase> phrases;
|
||||||
readPhraseFileFromString(outputResult[firstFile].first, outputResult[firstFile].second, phrases, true);
|
readPhraseFileFromString(outputResult[firstFile].first, outputResult[firstFile].second, phrases, true);
|
||||||
|
@ -2446,7 +2444,7 @@ int updatePhraseWork()
|
||||||
firstClause->HashValue = clauseHashValue;
|
firstClause->HashValue = clauseHashValue;
|
||||||
}
|
}
|
||||||
updatedPhrases.push_back(transPhrase);
|
updatedPhrases.push_back(transPhrase);
|
||||||
updatedPhrases.back().Comments= ucstring("");
|
updatedPhrases.back().Comments.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2984,6 +2982,7 @@ void preprocessTextFile(const std::string &filename,
|
||||||
subFilename.clear();
|
subFilename.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
preprocessTextFile(subFilename, outputResult);
|
preprocessTextFile(subFilename, outputResult);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -2994,8 +2993,6 @@ void preprocessTextFile(const std::string &filename,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
outputResult.push_back( std::pair<ucstring, std::string> ( current, fullName ) );
|
outputResult.push_back( std::pair<ucstring, std::string> ( current, fullName ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue