ManageIQ / manageiq

ManageIQ Open-Source Management Platform
https://manageiq.org
Apache License 2.0
1.35k stars 900 forks source link

Remove newlines from error message #23215

Closed Fryguy closed 1 month ago

Fryguy commented 1 month ago

Newlines can cause trouble with translations as well as presentation in the UI. This particular string doesn't actually need the newline as part of the translation string, so this commit changes it to just not have it.

Alternative to ManageIQ/manageiq#23213

@jrafanie Please review.

miq-bot commented 1 month ago

Checked commit https://github.com/Fryguy/manageiq/commit/8d2439913cf70922c9b9bc4ff62ca7d633224b2c with ruby 3.1.5, rubocop 1.56.3, haml-lint 0.51.0, and yamllint 2 files checked, 0 offenses detected Everything looks fine. :star: