amethyst
amethyst copied to clipboard
[BUG] Allow to translate "mute" word
Describe the bug The "mute" word in the home screen popup filter menu is not translatable
To Reproduce Steps to reproduce the behavior:
- Go to main screen
- Click on "All follows"
- See "mute" word
Expected behavior A way to translate this word in crowdin
I've also seen this. I believe it's the name of the list and not a word defined in amethyst.
Please @anthony-robin and @davotoula do you still see this?
Please @anthony-robin and @davotoula do you still see this?
Hi @KotlinGeekDev, yes I still see it in the latest v0.78.2-FDROID
version :)
I still see the "mute" word in my list. I don't believe it's a bug, it's the actual name of the list. You cannot translate that just like you cannot translate a hashtag?
A thing has changed though. I used to be able to see all muted threads when selecting this list. Now it's blank (I guess spam filter blocks it).
It was a nice feature to view muted posts for anything interesting.
@davotoula I think a fix can be making the word a string resource, so that it can be translated.
But isn't the word coming from the relay actually?
We don't want different language clients have different names for that list?
Go for it! 😂
At the same time, can you look into why posts in that list are hidden now? They used to be visible!
@davotoula you're right. It seems to come from the relay.
Would it be possible to treat the mute list in a special way... And show a translated word in the client rather than just displaying what is returned from relay?
It could work if "mute" word is a standard in nostr... Otherwise it feels a bit unclean?
That's the thought I had as well.
A bit like a Decorator.. Pass most list names through from the relay but capture "mute" and display it translated?
In a sense, yes.
A bit like a Decorator.. Pass most list names through from the relay but capture "mute" and display it translated?
I actually found another way to do it: translate the word when it is being provided from the ViewModel(the view model that actually fetches the list).
The issue here is that many clients use a "d=mute" list from NIP-51's 30000 event kind, instead of the mute list from 10000, which has no name.
We can probably migrate to event kind 10000 moving forward and stop using the mute list. That will allow the app to have a mute entry and translate it via crowdin.
The issue here is that many clients use a "d=mute" list from NIP-51's 30000 event kind, instead of the mute list from 10000, which has no name.
We can probably migrate to event kind 10000 moving forward and stop using the mute list. That will allow the app to have a mute entry and translate it via crowdin.
I see. Makes sense.
Please @anthony-robin I dont know if this is still an issue for you. @vitorpamplona maybe this can be closed already?(assuming clients have migrated to kind 10000 mute lists)
Let's close the issue. Thank you for working on this :)