From c42a57c4fb316adb0581a6fd53f2820beaf937fc Mon Sep 17 00:00:00 2001 From: edalzell Date: Thu, 30 May 2024 13:42:16 -0700 Subject: [PATCH] instructions --- resources/lang/en/messages.php | 1 + src/Http/Controllers/CP/Assets/AssetContainersController.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lang/en/messages.php b/resources/lang/en/messages.php index 2f0aec2f17..1792d0a3b5 100644 --- a/resources/lang/en/messages.php +++ b/resources/lang/en/messages.php @@ -21,6 +21,7 @@ 'asset_container_title_instructions' => 'Usually a plural noun, like Images or Documents', 'asset_container_warm_intelligent_instructions' => 'Generate appropriate presets on upload.', 'asset_container_warm_presets_instructions' => 'Specify which presets to generate on upload.', + 'asset_container_validation_rules_instructions' => 'Add any file validation rules.', 'asset_folders_directory_instructions' => 'We recommend avoiding spaces and special characters to keep URLs clean.', 'asset_replace_confirmation' => 'References to this asset within content will be updated to the asset you select below.', 'asset_reupload_confirmation' => 'Are you sure you want to reupload this asset?', diff --git a/src/Http/Controllers/CP/Assets/AssetContainersController.php b/src/Http/Controllers/CP/Assets/AssetContainersController.php index dc1503591c..b8ab0796dc 100644 --- a/src/Http/Controllers/CP/Assets/AssetContainersController.php +++ b/src/Http/Controllers/CP/Assets/AssetContainersController.php @@ -270,7 +270,7 @@ protected function formBlueprint($container = null) 'validation' => [ 'type' => 'taggable', 'display' => __('Validation Rules'), - 'instructions' => __('statamic::messages.asset_container_quick_download_instructions'), + 'instructions' => __('statamic::messages.asset_container_validation_rules_instructions'), ], ], ],