T136errorinfowarning

Translation function misused

A translation function such as T, LT or LTC is called incorrectly, or names a missing key.

It is an error when the function has no arguments or an argument is not a string. When the key is missing from a locale's translations, it is reported as info if a fallback is given and as a warning if not.

Pass the key as a string, and add the key to the translations or give a fallback.

$ piko explain T136

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeTranslationFunctionError in Piko's source to see where it is reported.