Turn an error message into a Debug::LOCALE warning
Cmake build: Add also reference to versioned lyx.svg to the resources file
make build: Versioning of lyx.svg (missed in previous commit)
Fix typos in InsetListingsParams validator
Store InsetListingsParams in a vector of pairs, not a map, since order of insertion matters.

Fixes: #8144, #5203.
Simplification