There's like 6 tr() related to errors that make sense to extract (cherry picked from commit 51cfe498)