innoq/iqvoc — pull request #201 by mistydemeo (2013-03-21 21:53:02+00:00)
Title: Concept: accept prefLabels in any primary language

re: #200 - iQvoc rejects any concept which doesn't have a prefLabel in the thesaurus's primary language, even if it has a prefLabel in one of its other languages. This commit alters the behaviour so a term with at least one prefLabel in *any* of the thesaurus's declared languages will be accepted.

I rewrote the English error message for the case when a term is missing, but I don't speak Spanish or Portuguese so I wasn't able to change those. I also didn't change the name for the string (`main_pref_label_language_missing_error`), so you may want to do that.

(It looks like this behaviour wasn't covered by tests, and I didn't add one. I could add that in another commit.)