diff --git a/code/ryzom/tools/translation_tools/main.cpp b/code/ryzom/tools/translation_tools/main.cpp index 26763ab59..0d868d621 100644 --- a/code/ryzom/tools/translation_tools/main.cpp +++ b/code/ryzom/tools/translation_tools/main.cpp @@ -3073,9 +3073,9 @@ int injectClause() vector::iterator first(phrases.begin()); vector::iterator last(phrases.end()); + for ( ; first != last; ++first) { - vector::iterator firstClause( first->Clauses.begin()); vector::iterator lastClause( first->Clauses.end()); for ( ; firstClause != lastClause; ++firstClause) @@ -3091,7 +3091,6 @@ int injectClause() firstClause->HashValue = CI18N::makeHash(firstClause->Text); firstRefClause->HashValue = firstClause->HashValue; - nlinfo("update clause %s from clause file %s.", firstClause->Identifier.c_str(), clausePath.c_str()); } } @@ -3107,7 +3106,6 @@ int injectClause() CI18N::writeTextFile(desDir + clausePath, str); } - return 0; }