printk() indexing
printk() indexing
Posted May 30, 2021 15:35 UTC (Sun) by Jandar (subscriber, #85683)In reply to: printk() indexing by Cyberax
Parent article: printk() indexing
> The main feature of gettext() is that your messages are right in the source code
In my eye this is the worst feature of gettext. As this message string is essentially a key into the translation database it has to stay the same. You want to fix a typo, not possible in the source code. Now there a two places to look for the real output string. Any gettext message you have to look up in the po file to see if there is a changed version. While the source code *looks* like a real message it may be an output string or may be not. Worst design ever.
