translated exception messages in English

This commit is contained in:
nobohan 2021-04-22 09:49:02 +02:00
parent bc4e29141b
commit 1ec2fbcc16

View File

@ -12,16 +12,16 @@ class PointException extends Exception {
public static function badCoordinates($lon, $lat): self public static function badCoordinates($lon, $lat): self
{ {
return new self("les coordonnées fournies sont invalides dans le système de projection utilisé (longitude = $lon , latitude = $lat)"); return new self("Input coordinates are not valid in the used coordinate system (longitude = $lon , latitude = $lat)");
} }
public static function badJsonString($str): self public static function badJsonString($str): self
{ {
return new self("la chaine JSON n'est pas valide : $str"); return new self("The JSON string is not valid: $str");
} }
public static function badGeoType(): self public static function badGeoType(): self
{ {
return new self("le type de l'objet GeoJSON est invalide"); return new self("The geoJSON object type is not valid");
} }
} }