XWIKI-9097: Warning when having a translation document bundle also listed in XWikiPreferences
(cherry picked from commit d83cf8499e781690e968cbea89cbd0140c2ac699)