New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: Split Reply-button into 'Reply Post' and 'Reply Topic' #4600
Conversation
You've signed the CLA, jsilvanus. Thank you! This pull request is ready for review. |
I must admit that I did not have a dev discourse running, so I didn't do a test on this... Will try to do it later! |
c645f8b
to
29ea797
Compare
message: | ||
title: 'Reply' | ||
# help i.e. tooltop is at controls.reply | ||
thread: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. Now that I think of it, I think that "topic" instead of "thread" would follow the naming convention...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. We never use "thread" in Discourse.
message: | ||
title: 'Reply' | ||
# help i.e. tooltop is at controls.reply | ||
thread: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. We never use "thread" in Discourse.
@ZogStriP, changed this to follow naming convention: now post & topic instead of message & thread. :) |
Few thoughts:
|
I will merge after the next version bump, that way, translators will have time to fix the strings. |
Sorry for the delay @jsilvanus. Thanks for the PR 👍 |
This PR caused a lot of damage -- broken translations in every language, including English. We are in the process of reverting it. Do not submit this again; it will not be accepted. |
I thought I made clear I had another PR that has the changes for ymls... I was told it wasn't needed as the ymls were handled differently. I'm sorry for the trouble. |
We are still dealing with the fallout from this disastrous change: https://meta.discourse.org/t/turkish-translation-needs-some-love/57101 |
I hate that PR with the fire of a thousand suns
Can I ask what was wrong with the PR? Was the initial idea of splitting the two buttons (which have different functionality but have the same string attached to them) wrong, or was my code somehow disastrous? I had all the translations in another branch, but I was told not to include them. |
It was because this changed the translation of a very important feature and our client-side translation code wasn't properly falling back to English when the translation was unavailable. Thus basically breaking non-English Discourses. As for other translations, they would have been overwritten on our next pull from transifex anyway. So they would not have been useful. Ultimately, I'm the one to blame here since I merged that PR without considering all its consequences. |
Thank you, this clarifies a bit more what happened. I was in a week long training - and thus unable to participate in the discussion - while I suddenly got a notification on my mobile that my PR had caused enormous trouble and I was all "OMG WHAT DID I DO"... |
This feature should enable giving a different label for 'Reply Topic' and 'Reply Post'. I hope I didn't forget anything.
I also considered moving the button label to
controls.reply
, but that was already taken for the tooltip for said button, whereas label for the button is taken fromtopic.reply.title
, so I just elaborated on the current state.