Hey.
I’m having difficulties in editing the language string ‘replies’. I can’t seem to find the right string to edit, or it’s somehow gone. I’m referring to the ‘replies’ which appears in the notification area when a user receives a private message.
Ideas?
That should be embed.replies – I recommend you translate it on Transifex. That way it will be translated for everyone.
embed.replies
Thank you. I did try to edit this string but it didn’t work, still doesn’t.
I can’t find the ‘embed.replies’ string on Transifex as well.
I’m guessing we are talking about Arabic? If so, here’s a direct link: https://www.transifex.com/discourse/discourse-org/translate/#ar/core-server-yml/140679227?q=key%3Aembed.replies
Otherwise change the language on Transifex accordingly.
Hebrew
Oh my:
https://github.com/discourse/discourse/blob/be5e889b1b55de148b32ae864390a585e027b1ec/app/services/post_alerter.rb#L365-L371
This is so hacky, we got to clean this up and do the localization using these guys:
https://github.com/discourse/discourse/blob/be5e889b1b55de148b32ae864390a585e027b1ec/config/locales/client.en.yml#L1512-L1548
And stop using a “pretend” username which is broken when you switch locales (cause its baked into the notification)
@gerhard can you clean this up and do the localization here instead:
https://github.com/discourse/discourse/blob/be5e889b1b55de148b32ae864390a585e027b1ec/app/assets/javascripts/discourse/widgets/notification-item.js.es6#L104-L104