Change the label for "Implications failed:" in English#1317
Change the label for "Implications failed:" in English#1317bcoe merged 6 commits intoyargs:masterfrom
Conversation
locales/en.json
Outdated
| "Argument: %s, Given: %s, Choices: %s": "Argument: %s, Given: %s, Choices: %s", | ||
| "Argument check failed: %s": "Argument check failed: %s", | ||
| "Implications failed:": "Implications failed:", | ||
| "Implications failed:": "Missing required argument dependencies:", |
There was a problem hiding this comment.
perhaps "missing implied arguments", or "missing dependent arguments"?
bcoe
left a comment
There was a problem hiding this comment.
how do you feel about missing dependent arguments, I think that might be more clear.
|
@jandockx 👋 just putting this back on your radar; still an edit you'd like to make? |
|
Hello, @bcoe. I still think the current English message is confusing. 'Missing dependent arguments' sounds fine to me, but the point is I am not a native English speaker. Advise on this topic from native English speakers (like you, I presume) might be more relevant, wouldn't it? If your intention is for me to change the PR to 'Missing dependent arguments', pls confirm, and I'll do so. |
|
@jandockx 👍 yes, please change the language to I appreciate your help reviewing the language. |
The word "implications" is extremely confusing here. It is only people who know the Yargs API that understand that these are the dependencies created by the `implies()` method. Users of the CLI have no idea what we are talking about. This changes the label of the concept to "required argument dependencies". This string is used in the code as the prelude to a list of "implications" that have failed, not a warning. The earlier form was more an expression of a warning. The new form is more an expression of a title of a list.
…uments:", as discussed in PR
…issing dependent arguments:" in English
…" to a phrase like "Missing dependent arguments:" in English
automatically use the expected English validation message
0b694dc to
ad22e4d
Compare
automatically use the expected English validation message
The word "implications" is extremely confusing here. It is only people who know the Yargs API that understand that these are the dependencies created by the
implies()method.Users of the CLI have no idea what we are talking about.
This changes the label of the concept to "required argument dependencies".
This string is used in the code as the prelude to a list of "implications" that have failed, not a warning. The earlier form was more an expression of a warning. The new form is more an expression of a title of a list.