mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Allow kick expire column value to be translated (#48)
This commit is contained in:
parent
3a959a8d15
commit
82e778ff08
@ -347,7 +347,7 @@ class Page {
|
||||
*/
|
||||
function expiry($row) {
|
||||
if ($this->type === "kick") {
|
||||
return "N/A";
|
||||
return $this->t("generic.expired.kick");
|
||||
}
|
||||
if ($row['until'] <= 0) {
|
||||
$until = $this->permanent[$this->type];
|
||||
|
@ -42,6 +42,7 @@ class DefaultLang {
|
||||
$array["generic.active"] = "Active";
|
||||
$array["generic.inactive"] = "Inactive";
|
||||
$array["generic.expired"] = "Expired";
|
||||
$array["generic.expired.kick"] = "N/A";
|
||||
$array["generic.player-name"] = "Player";
|
||||
|
||||
$array["page.expired.ban"] = '(Unbanned)';
|
||||
|
Loading…
x
Reference in New Issue
Block a user