aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-19 11:00:44 +0200
committerEli Schwartz <eschwartz93@gmail.com>2022-05-19 07:18:43 -0400
commit8afdecb039c927b5ddea6533789d956dd51a7882 (patch)
tree3387de74e912ea3c4dce03c61d37e777f2f1edd7 /mesonbuild
parent087e7943d0e4210b3edb40e075189e4e40ba5f52 (diff)
downloadmeson-8afdecb039c927b5ddea6533789d956dd51a7882.zip
meson-8afdecb039c927b5ddea6533789d956dd51a7882.tar.gz
meson-8afdecb039c927b5ddea6533789d956dd51a7882.tar.bz2
Reword message in warning
"targetting" is verb-derived adjective, which sort-of-works here, but makes the whole sentence awkward, because there's no verb. Let's just use present simple.
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/interpreterbase/decorators.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/interpreterbase/decorators.py b/mesonbuild/interpreterbase/decorators.py
index 120c579..a98e999 100644
--- a/mesonbuild/interpreterbase/decorators.py
+++ b/mesonbuild/interpreterbase/decorators.py
@@ -695,7 +695,7 @@ class FeatureNew(FeatureCheckBase):
def log_usage_warning(self, tv: str, location: T.Optional['mparser.BaseNode']) -> None:
args = [
- 'Project targeting', f"'{tv}'",
+ 'Project targets', f"'{tv}'",
'but uses feature introduced in',
f"'{self.feature_version}':",
f'{self.feature_name}.',
@@ -728,7 +728,7 @@ class FeatureDeprecated(FeatureCheckBase):
def log_usage_warning(self, tv: str, location: T.Optional['mparser.BaseNode']) -> None:
args = [
- 'Project targeting', f"'{tv}'",
+ 'Project targets', f"'{tv}'",
'but uses feature deprecated since',
f"'{self.feature_version}':",
f'{self.feature_name}.',