From ffd26877344b82b3230dc953c9739f69c29ea98d Mon Sep 17 00:00:00 2001 From: snipe Date: Sat, 20 Jul 2024 07:25:46 +0100 Subject: [PATCH] Updated language Signed-off-by: snipe --- resources/views/settings/branding.blade.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/resources/views/settings/branding.blade.php b/resources/views/settings/branding.blade.php index 3646605655..4f984b4d4a 100644 --- a/resources/views/settings/branding.blade.php +++ b/resources/views/settings/branding.blade.php @@ -116,18 +116,21 @@ "logoLabel" => trans('admin/settings/general.default_avatar'), "logoClearVariable" => "clear_default_avatar", "logoPath" => "avatars/", - "helpBlock" => trans('general.image_filetypes_help', ['size' => Helper::file_upload_max_size_readable()]), + "helpBlock" => trans('admin/settings/general.default_avatar_help').' '.trans('general.image_filetypes_help', ['size' => Helper::file_upload_max_size_readable()]), ]) - @if ($setting->default_avatar == '') + @if (($setting->default_avatar == '') || (($setting->default_avatar == 'default.png') && (Storage::disk('public')->missing('default.png'))))
+

+ {{ trans('admin/settings/general.restore_default_avatar_help') }} +

@endif