mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
translated exception messages in English
This commit is contained in:
parent
bc4e29141b
commit
1ec2fbcc16
@ -12,16 +12,16 @@ class PointException extends Exception {
|
||||
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
return new self("le type de l'objet GeoJSON est invalide");
|
||||
return new self("The geoJSON object type is not valid");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user