mirror of
https://github.com/openvk/chandler.git
synced 2025-03-31 21:43:59 +03:00
Update Log.php
This commit is contained in:
parent
ef24294fc6
commit
65af0f6e3b
1 changed files with 2 additions and 2 deletions
|
@ -40,12 +40,12 @@ class Log extends DBEntity
|
||||||
|
|
||||||
function getType(): string
|
function getType(): string
|
||||||
{
|
{
|
||||||
return [tr("logs_added"), tr("logs_edited"), tr("logs_removed"), tr("logs_restored")][$this->getTypeRaw()];
|
return ["logs_added", "logs_edited", "logs_removed", "logs_restored"][$this->getTypeRaw()];
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTypeNom(): string
|
function getTypeNom(): string
|
||||||
{
|
{
|
||||||
return [tr("logs_adding"), tr("logs_editing"), tr("logs_removing"), tr("logs_restoring")][$this->getTypeRaw()];
|
return ["logs_adding", "logs_editing", "logs_removing", "logs_restoring"][$this->getTypeRaw()];
|
||||||
}
|
}
|
||||||
|
|
||||||
function getObjectType(): string
|
function getObjectType(): string
|
||||||
|
|
Loading…
Reference in a new issue