-
Notifications
You must be signed in to change notification settings - Fork 13k
fix: Channel Name Not Displayed in Leave Confirmation Dialog #35290
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
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
Ansh-dS seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
gabriellsh
left a comment
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.
You have to correct the translation string. String interpolation shouldn't be handled manually
|
There are two files that contain translations named "packages\i18n\locales\en.i18n.json" andpackages\i18n\locales\se.i18n.json," and these files contain values. There is another file that produces the same warning while, with room.fname and room.name as differences, containing the following code but correctly converting "are you sure you want to leave...": After this, I checked the type of "name" and the type of "room.name" or "room.fname," and all are strings. I also used curly braces around "name," doubting whether the translation is catching it or not, but in the end, the values. |
I have fixed this issue here: #35522 @Ansh-dS @gabriellsh |
|
|
@aryanranderiya, please don't mention mentors. I have been working on my new PR and haven't time to work this recently. You also didn't ask for confirmation. Besides, I reviewed your code and noticed that you have added many unusual lines butThe only change needed is to update the import for useTranslation.But now I have updated the code Thanks. |
What do you mean unusual lines? I have just re-ordered / refactored a few lines, there are no other functional changes. Also there was no need to add a new commit when I have already pushed the same change? I spent a long time debugging the fix and you have literally copied the code |
What do you mean ask for confirmation? |
|
@aryanranderiya that you didn't ask weather "i should work or not"(it's a common practice before started working many persons make this and ended up getting rejected) . since I want to work on this but later and why I want to work latter that I have already mentioned |
the process to work on any issue is:
As far as work concerned:
As far your work:You have a great job, but if I or add my efforts with yours, you have done less than half of the efforts I have put in (as mentioned). I have created things from scratch, only this but many. If you don't make your PR, I will eventually figure out the main problem. isn't a big deal for me, as if I can make 7-8 PRs then solving this is not a big deal, I just delayed for a while and you didn't ask anything. |
|
Closing this, read this comment #35522 (comment) |
Proposed changes (including videos or screenshots)
The
%splaceholder is getting replaced with the actual group/channel name in the warning message.Screen.Recording.2025-02-21.123100.mp4
Issue(s)
#35289
Steps to test or reproduce