From 1ec2fbcc161c942a51bb67c8dd57f8e6cbe89610 Mon Sep 17 00:00:00 2001 From: nobohan Date: Thu, 22 Apr 2021 09:49:02 +0200 Subject: [PATCH] translated exception messages in English --- .../ChillMainBundle/Doctrine/Model/PointException.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Doctrine/Model/PointException.php b/src/Bundle/ChillMainBundle/Doctrine/Model/PointException.php index 48d6b9aea..4e3101435 100644 --- a/src/Bundle/ChillMainBundle/Doctrine/Model/PointException.php +++ b/src/Bundle/ChillMainBundle/Doctrine/Model/PointException.php @@ -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"); } }