aboutsummaryrefslogtreecommitdiff
path: root/admin/api/getIpLocation.php
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-08-08 22:31:51 +0200
committerMinteck <nekostarfan@gmail.com>2021-08-08 22:31:51 +0200
commit94c57fa247ba107fce8fc1d1fc355191229dbddc (patch)
tree865048aa574ef63ad322ed8e5057eb7629e03c29 /admin/api/getIpLocation.php
parente255736e3f2a95ee82cadc01b0c70749ab946226 (diff)
downloadmain-94c57fa247ba107fce8fc1d1fc355191229dbddc.tar.gz
main-94c57fa247ba107fce8fc1d1fc355191229dbddc.tar.bz2
main-94c57fa247ba107fce8fc1d1fc355191229dbddc.zip
Permissions system
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"]);
}