Converts a translated priority string to an iCalendar priority value.
A string representing the PRIORITY value.
the priority (0-9) or -1 if the priority string is not valid.