Use translatable strings for the GSL error codes in XYCurve.

Authored by asemke on Nov 19 2017, 12:51 PM.