class LocalizedSeverity {

    public static String getLongLocalizedString(final Severity severity) {
        if (severity == Severity.ERROR) {
            return Messages.Severity_Long_Error();
        }
        if (severity == Severity.WARNING_HIGH) {
            return Messages.Severity_Long_High();
        }
        if (severity == Severity.WARNING_NORMAL) {
            return Messages.Severity_Long_Normal();
        }
        if (severity == Severity.WARNING_LOW) {
            return Messages.Severity_Long_Low();
        }
        return severity.getName(); // No i18n support for custom severities
    }

    private  LocalizedSeverity();

}