mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 16:08:44 +00:00
Changed: Minor changes
This commit is contained in:
parent
01736696a8
commit
e1315c28a7
4 changed files with 5 additions and 5 deletions
|
@ -18,7 +18,6 @@
|
|||
#include "nel/misc/app_context.h"
|
||||
#include "nel/misc/dynloadlib.h"
|
||||
#include "nel/misc/command.h"
|
||||
#include "nel/misc/system_utils.h"
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
|
|
|
@ -419,6 +419,7 @@ bool readPhraseFileFromString(ucstring const& doc, const std::string &filename,
|
|||
clause.Conditions += "(" + cond + ") ";
|
||||
CI18N::skipWhiteSpace(first, last, &clause.Comments);
|
||||
}
|
||||
|
||||
if (first == last)
|
||||
{
|
||||
nlwarning("DT: in '%s': Found end of file in non closed block for phrase %s\n",
|
||||
|
|
|
@ -516,9 +516,11 @@ void CI18N::skipWhiteSpace(ucstring::const_iterator &it, ucstring::const_iterato
|
|||
// store the final '*'
|
||||
if (it != last)
|
||||
storeComments->push_back(*it++);
|
||||
|
||||
// store the final '/'
|
||||
if (it != last)
|
||||
storeComments->push_back(*it++);
|
||||
|
||||
// and a new line.
|
||||
storeComments->push_back('\r');
|
||||
storeComments->push_back('\n');
|
||||
|
|
|
@ -151,8 +151,6 @@ void showUsage(char *exeName)
|
|||
LOG("Reference language is always the first language in languages.txt\n");
|
||||
}
|
||||
|
||||
|
||||
|
||||
void verifyVersion(ucstring& doc, int versionId)
|
||||
{
|
||||
ucstring version1("// DIFF_VERSION 1\r\n");
|
||||
|
@ -2218,7 +2216,6 @@ ucstring preparePhraseFile2(const vector<TPhrase> &phrases, bool removeDiffComme
|
|||
ret += cond + nl;
|
||||
}
|
||||
ret += '\t';
|
||||
// ucstring text = CI18N::makeMarkedString('[', ']', c.Text);
|
||||
|
||||
ucstring text = CI18N::makeMarkedString('[', ']', c.Text);;
|
||||
ucstring text2;
|
||||
|
@ -2340,6 +2337,7 @@ bool sortTransPhrase()
|
|||
CFile::createDirectoryTree( CFile::getPath(pharseName) );
|
||||
CI18N::writeTextFile(pharseName, str);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -2471,7 +2469,7 @@ int updatePhraseWork()
|
|||
}
|
||||
|
||||
updatePhraseHashValue(validPhraseHashValue, saveDir);
|
||||
updateClauseHashValue(validClauseHashValue, saveDir);
|
||||
updateClauseHashValue(validClauseHashValue, saveDir);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue