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/getUbuntuUpgrades.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/api/getUbuntuUpgrades.php') diff --git a/admin/api/getUbuntuUpgrades.php b/admin/api/getUbuntuUpgrades.php index 7da6259..8273036 100644 --- a/admin/api/getUbuntuUpgrades.php +++ b/admin/api/getUbuntuUpgrades.php @@ -4,7 +4,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/admin/private/header.api.php"; exec("bash -c \"sudo do-release-upgrade -c | grep 'New release'\"", $ret); if (count($ret) === 1) { - echo("Ubuntu " . explode("'", $ret[0])[1] . " is available, use do-release-upgrade to upgrade"); + echo(l("Ubuntu " . explode("'", $ret[0])[1] . " is available, use do-release-upgrade to upgrade", "Ubuntu " . explode("'", $ret[0])[1] . " est disponible, exécutez la commande do-release-upgrade pour effectuer la mise à niveau")); } else { - echo("This server is running the latest version of Ubuntu"); + echo(l("This server is running the latest version of Ubuntu", "Ce serveur exécute la dernière version d'Ubuntu")); } \ No newline at end of file -- cgit