Small Language-editing Bug

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.

Screenshot%20(81)_LI

Ideas? :sunglasses:

1 Like

That should be embed.replies – I recommend you translate it on Transifex. That way it will be translated for everyone.

5 Likes

Thank you. I did try to edit this string but it didn’t work, still doesn’t. :confused:

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.

4 Likes

Hebrew :cowboy_hat_face:

1 Like

Oh my:

This is so hacky, we got to clean this up and do the localization using these guys:

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

3 Likes