Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]

Linus Torvalds
2018-07-30T18:19:08Z

On Mon, Jul 30, 2018 at 11:08 AM Matthew Wilcox <willy@infradead.org> wrote:
>
> Have you looked at how gettext() works? It uses the english text as
> a search string and replaces it with the localised string. This is
> a very common design!

I absolutely refuse to have anything to do with gettext in the kernel.

gettext() needs help that I'm not willing to give, and that I
absolutely refuse to consider as part of any kernel interfaces.

Mount options are already English text. Don't try to make it anything else.

Just do a

git grep '{.*Opt_.*".*".*}'

on the kernel, and realize that if you are messing with mount options
and things like that, you'd better be able to google the
incomprehensible words.

Most of them will be incomprehensible even if you're a native speaker.
There is not a way in hell that we will ever have gettext() support
for any of these things.

Linus