diff --git a/upload/engine/inc/maharder/_includes/traits/AssetsChecker.php b/upload/engine/inc/maharder/_includes/traits/AssetsChecker.php index f200a6b..7117ef5 100755 --- a/upload/engine/inc/maharder/_includes/traits/AssetsChecker.php +++ b/upload/engine/inc/maharder/_includes/traits/AssetsChecker.php @@ -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; } diff --git a/upload/engine/inc/maharder/_modules/admin/module/logs.php b/upload/engine/inc/maharder/_modules/admin/module/logs.php index a663922..9dd890a 100755 --- a/upload/engine/inc/maharder/_modules/admin/module/logs.php +++ b/upload/engine/inc/maharder/_modules/admin/module/logs.php @@ -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';