I05

Warning

Translations

I05 — Words a reader sees that are not translated

Under i18n.literals, text that splices more than a name, or a value shown by a name that does not say it is words, is never looked up: every reader sees it as written.

The fix

splice names, derived filesText = "{n} files" then Text("{filesText} found"), and name what is words as words.

Why this rule exists

Warning, under "literals": true. Text("{n + 1} found") splices more than a name, so no table can key it; derived said = "{n} errors" shown as Text(said) is not looked up, because only a value whose name says it is words (saidText, errorsLabel) is. A reader in Arabic sees both in English.

lints may lower it:

"lints": { "I05": "off" } // wf-allow(I05)