XWIKI-11110: Document translations are not marked correctly with translation=1 in the database of a newly created wiki
* fix mistakes

(cherry picked from commit 3d4b61c6d56432cd5b05cab110804db02f31b79d)