This should be surrounded in double not single quotes (`"${_("An error occurred. Please try again later.")}"`) - languages like French may have apostrophes in the translated string. See #2139