mirror of
https://github.com/openvk/chandler.git
synced 2025-03-29 12:38:12 +03:00
Update Log.php
This commit is contained in:
parent
cf499d51e9
commit
ef24294fc6
1 changed files with 2 additions and 2 deletions
|
@ -40,12 +40,12 @@ class Log extends DBEntity
|
|||
|
||||
function getType(): string
|
||||
{
|
||||
return ["добавил", "отредактировал", "удалил", "восстановил"][$this->getTypeRaw()];
|
||||
return [tr("logs_added"), tr("logs_edited"), tr("logs_removed"), tr("logs_restored")][$this->getTypeRaw()];
|
||||
}
|
||||
|
||||
function getTypeNom(): string
|
||||
{
|
||||
return ["Создание", "Редактирование", "Удаление", "Восстановление"][$this->getTypeRaw()];
|
||||
return [tr("logs_adding"), tr("logs_editing"), tr("logs_removing"), tr("logs_restoring")][$this->getTypeRaw()];
|
||||
}
|
||||
|
||||
function getObjectType(): string
|
||||
|
|
Loading…
Reference in a new issue