Skip to content

Commit

Permalink
Испреавление вывода функции __
Browse files Browse the repository at this point in the history
  • Loading branch information
Gokujo committed Jan 28, 2025
1 parent 935a8d9 commit 149c78f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ private function saveFile(string $file_path, string $content, string $file): boo
LogGenerator::generateLog(
'maharder/admin',
'save_asset',
__('mhadmin', "Файл '{$file}' не был сохранён!")
__("Файл ':file' не был сохранён!", [':file' => $file]),
);
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion upload/engine/inc/maharder/_modules/admin/module/logs.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
$mh->setBreadcrumb(new BreadCrumb($modVars['title'], THIS_SELF . '?' . http_build_query($GET_DATA)));

if ($cur_page > 1) {
$mh->setBreadcrumb(new BreadCrumb(__('mhadmin', 'Страница %page%', ['%page%' => $cur_page]), THIS_SELF . '?' . http_build_query($GET_DATA)));
$mh->setBreadcrumb(new BreadCrumb(__('Страница %page%', ['%page%' => $cur_page]), THIS_SELF . '?' . http_build_query($GET_DATA)));
}

$htmlTemplate = 'admin/logs.html';

0 comments on commit 149c78f

Please sign in to comment.