Edited text for flagging dialog not showing

(Wolftune) #1

Everywhere else that I edited text in /admin/customize/site_texts I see the results.

But for the flagging UI, e.g. /admin/customize/site_texts/post_action_types.off_topic.description , I’m still only seeing the default text. In fact, if I search for the default text to change, it doesn’t show up in search anymore since only my edited text will show in the search. But the flagging UI is just not using my text.

This is the case for all the text content in the radio-button areas, but I tested changing the “Take Action” button text and that worked.

"Take Action" button failing to hide self-flagged posts by moderators or admins
(Daniela) #2

I can confirm this behaviour

cc @gerhard

(Wolftune) #4

We upgraded to latest new beta, and this bug seems to be fixed!

(Gerhard Schlager) #5

Yeah, restarting the server fixes it.

The root cause is now fixed: FIX: Translation overrides for flag types didn't expire cache · discourse/discourse@6c736a1 · GitHub

@sam We are trying to expire the cache in PostActionType, but it’s not working because of the missing locale in the key. I think this can be removed since we do not save or destroy those types. If we still need this, I guess we need to expire the cache for each supported locale.

(Rafael dos Santos Silva) #7

This topic was automatically closed after 26 hours. New replies are no longer allowed.