aboutsummaryrefslogtreecommitdiff
path: root/admin/api/getIpLocation.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/api/getIpLocation.php')
-rw-r--r--admin/api/getIpLocation.php4
1 files changed, 2 insertions, 2 deletions
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("<span class='text-muted'>Local IP address</span>");
+ die("<span class='text-muted'>" . l("Local IP address", "Adresse IP locale") . "</span>");
} else {
if ($data["geoplugin_inEU"]) {
- die($data["geoplugin_countryName"] . " <span class='badge text-light border-light' style='border:1px solid;vertical-align: middle;'>EU</span>");
+ die($data["geoplugin_countryName"] . " <span class='badge text-light border-light' style='border:1px solid;vertical-align: middle;'>" . l("EU", "UE") . "</span>");
} else {
die($data["geoplugin_countryName"]);
}