From 149c78fad342bc0af88c731347aa888fb187cc44 Mon Sep 17 00:00:00 2001 From: Maxim Harder Date: Tue, 28 Jan 2025 15:12:10 +0100 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B5=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4?= =?UTF-8?q?=D0=B0=20=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D0=B8=20=5F=5F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/engine/inc/maharder/_includes/traits/AssetsChecker.php | 2 +- upload/engine/inc/maharder/_modules/admin/module/logs.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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';