XWIKI-9731: Translation bundles are not really ordered by priority
* fix javadoc

(cherry picked from commit e84bc28beacc108c061aa684779e7e5c85c2f25a)