From 54b6a6ee0d0fb1c1b682ed0707e0c275af1e58df Mon Sep 17 00:00:00 2001 From: Benjamin Hodgson <3857587+benjamin-hodgson@users.noreply.github.com> Date: Tue, 30 Jul 2024 16:40:23 -0400 Subject: [PATCH] Fix grammar in HashPortManyFiles warning message (#1467) --- include/vcpkg/base/message-data.inc.h | 2 +- locales/messages.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/vcpkg/base/message-data.inc.h b/include/vcpkg/base/message-data.inc.h index 8b9f9b10d9..142db8ac41 100644 --- a/include/vcpkg/base/message-data.inc.h +++ b/include/vcpkg/base/message-data.inc.h @@ -1387,7 +1387,7 @@ DECLARE_MESSAGE(HashFileFailureToRead, DECLARE_MESSAGE(HashPortManyFiles, (msg::package_name, msg::count), "", - "The {package_name} contains {count} files. Hashing these contents may take a long time when " + "{package_name} contains {count} files. Hashing these contents may take a long time when " "determining the ABI hash for binary caching. Consider reducing the number of files. Common causes of " "this are accidentally checking out source or build files into a port's directory.") DECLARE_MESSAGE(HeaderOnlyUsage, diff --git a/locales/messages.json b/locales/messages.json index f7de7b18d3..a3d51f7086 100644 --- a/locales/messages.json +++ b/locales/messages.json @@ -833,7 +833,7 @@ "_GraphCycleDetected.comment": "A list of package names comprising the cycle will be printed after this message. An example of {package_name} is zlib.", "HashFileFailureToRead": "failed to read file \"{path}\" for hashing: ", "_HashFileFailureToRead.comment": "Printed after ErrorMessage and before the specific failing filesystem operation (like file not found) An example of {path} is /foo/bar.", - "HashPortManyFiles": "The {package_name} contains {count} files. Hashing these contents may take a long time when determining the ABI hash for binary caching. Consider reducing the number of files. Common causes of this are accidentally checking out source or build files into a port's directory.", + "HashPortManyFiles": "{package_name} contains {count} files. Hashing these contents may take a long time when determining the ABI hash for binary caching. Consider reducing the number of files. Common causes of this are accidentally checking out source or build files into a port's directory.", "_HashPortManyFiles.comment": "An example of {package_name} is zlib. An example of {count} is 42.", "HeaderOnlyUsage": "{package_name} is header-only and can be used from CMake via:", "_HeaderOnlyUsage.comment": "'header' refers to C/C++ .h files An example of {package_name} is zlib.",