I02

Error

Translations

I02 — A message and its call that disagree

The call passes a value the message does not use, or the message shows a placeholder the call does not pass, which then shows as written.

The fix

pass what the message shows, by the name it shows it.

Why this rule exists

t("greeting", { nme: user.name }) against "greeting": "Hello, {name}!": nme is not used, and {name} shows as written.

lints may lower it:

"lints": { "I02": "warn" } // wf-allow(I02)