Revert "Use string literals directly, not via properties, fixes warning"

This reverts commit b9a9a7034b0878fdc62a4eb28310b77d18bc9315.
Turn on warnings as errors in project settings
Ignore the format non-literal warning, so we can configure via a property