summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/file/file.module
diff options
context:
space:
mode:
authorDave Long <dave@longwaveconsulting.com>2023-07-23 17:33:54 +0100
committerDave Long <dave@longwaveconsulting.com>2023-07-23 17:33:54 +0100
commit224c67343b51c638a43ae977909adce76c71ee3b (patch)
treee0cd88a0db14db67dc47e903166c08e5c72365ff /core/modules/file/file.module
parent1bb050cad7a62786270a92ccb658348b66466a64 (diff)
downloaddrupal-224c67343b51c638a43ae977909adce76c71ee3b.tar.gz
drupal-224c67343b51c638a43ae977909adce76c71ee3b.zip
Issue #2921133 by quietone, VladimirAus, xjm, ankithashetty, longwave, Prem Suthar, smustgrave, benjifisher, AaronMcHale: Remove "Please" from the codebase
Diffstat (limited to 'core/modules/file/file.module')
-rw-r--r--core/modules/file/file.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/file/file.module b/core/modules/file/file.module
index 802c91711c8..cb28959aeb5 100644
--- a/core/modules/file/file.module
+++ b/core/modules/file/file.module
@@ -127,10 +127,10 @@ function file_validate_name_length(FileInterface $file) {
$errors = [];
if (!$file->getFilename()) {
- $errors[] = t("The file's name is empty. Please give a name to the file.");
+ $errors[] = t("The file's name is empty. Enter a name for the file.");
}
if (strlen($file->getFilename()) > 240) {
- $errors[] = t("The file's name exceeds the 240 characters limit. Please rename the file and try again.");
+ $errors[] = t("The file's name exceeds the 240 characters limit. Rename the file and try again.");
}
return $errors;
}