Fix some translatable strings and provide fr version

- wrap some long lines
- fix typo in comment
- fix function comment wrt params
Reinstate comment mistakenly removed, add corresponding commit link and fix wrong comment about Xsearch
add missing translation for fr
Use a local tab variable instead of repeating southPanel.getActiveTab() over and over
Use layerStore.each instead of rolling our own for loop