From 94c57fa247ba107fce8fc1d1fc355191229dbddc Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 8 Aug 2021 22:31:51 +0200 Subject: Permissions system --- admin/api/getIpLocation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/api/getIpLocation.php') diff --git a/admin/api/getIpLocation.php b/admin/api/getIpLocation.php index fe34438..c40d96e 100644 --- a/admin/api/getIpLocation.php +++ b/admin/api/getIpLocation.php @@ -28,10 +28,10 @@ if ($data === null) { } if ($data["geoplugin_status"] === 404) { - die("Local IP address"); + die("" . l("Local IP address", "Adresse IP locale") . ""); } else { if ($data["geoplugin_inEU"]) { - die($data["geoplugin_countryName"] . " EU"); + die($data["geoplugin_countryName"] . " " . l("EU", "UE") . ""); } else { die($data["geoplugin_countryName"]); } -- cgit