#Missing media source dit

1 messages ยท Page 1 of 1 (latest)

still crow
#

So I think an option could be

#
  • Passing on a translation key instead, so we can just use a translation string to set the error (as these errors aren't translatable yet)
#
  • As the media source is registered per domain, we could make a standard exception translation key we use for this. So like, if this exception happens we use the missing_media_directory exception from the strings. When missing we use the default.
still crow
paper tree
#

just accept my PRs. ๐Ÿ˜‡ It would be my first ๐Ÿฃ

still crow
#

hehe

#

but as this is something other integrations can use I want to make sure this is the direction we're headed

#

And as currently everything is still hard coded (and thus not translatable) I also want to see that if we want to do it like that, how we can make it translatable from the start

paper tree
#

yes, I understand.

hexed hatch
#

There's not some way to just not show this tile at all in the media browser if it's not configured/usable?
I'm sure most don't use this and some people were griping about it, like why did it appear there.

paper tree
hexed hatch
#

Not exactly, I asked more why is the top level item presented at all, for a user who never does any AI media generation.

#

Rather than create a clickable empty directory.

#

Anyway I'm digressing, I guess a empty folder is a valid way to fix the error as well.

still crow
#

That's what I remember at least