-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Chore: Fix grammatical typo when only one message is pruned #21902
Conversation
@KevLehman Please review 😄. I made another pull request to implement the requested changes as the repo linked with that pull request was deleted. |
Hey @shrinish123, |
No the online forked repo was deleted |
@sampaiodiego Please Review 😄 |
@ggazzo Please check this PR |
@ggazzo I have made changes as per the current code. Please check. |
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.
hey @shrinish123 can I ask you to solve this issue in a "proper" way?
3 points:
1- we don't have message_pruned
key for english or any "default" language
2- help us stop concatenating strings: (look at the count part)
create the key: "message_pruned": "__count__ message pruned"
3- tap-i18n
has "plural" feature, so change the "messages_pruned": "messages pruned"
to "message_pruned_plural": "__count__ messages pruned"
and use
t("message_pruned", { count })
no need to use if/else
This reverts commit 93c55c5.
…ove/otr-message * 'develop' of github.com:RocketChat/Rocket.Chat: Regression: Add alsoSendThreadToChannel to user settings api (#26663) [IMPROVE] Spotlight search user results (#26599) [FIX] Slack User CSV importer not working (#26629) Chore: Importer rest types, meteor methods to TS and API unit tests (#26284) [NEW] Adding oauth crud on the rocket.chat side (#26220) [NEW] allow ephemeral messages to receive a specific id (#26118) [FIX] MDM content alignment (#26665) Chore: Permissions check per endpoint/method (#26419) Regression: CI (#26658) [FIX] Not allowed error in discussion room with a private parent channel (#26394) Chore: Fix grammatical typo when only one message is pruned (#21902) [FIX] Agents (with user status offline & omni-status as available) not able to take or forward chat (#26575) i18n: Language update from LingoHub 🤖 on 2022-08-22Z (#26645) Chore: Add license env var to ee tests (#26650) Chore: Move `Card` and related components to `@rocket.chat/ui-client` (#26653) Regression: Custom status loading forever in Usercard (#26656) [FIX] Current Chat Custom Field Filter (#26200) Chore: Migrate modules related to `room` template to TypeScript (#25881) Chore: Create teams management tests (#26578)
Co-authored-by: Guilherme Gazzo <guilhermegazzo@gmail.com> Co-authored-by: dougfabris <devfabris@gmail.com> Co-authored-by: Tasso Evangelista <tasso.evangelista@rocket.chat>
Proposed changes (including videos or screenshots)
Whenever only 1 message is pruned it says '1 messages pruned' instead of '1 message pruned' in the toast message
Issue(s)
Closes #24940
Steps to test or reproduce
Try to prune only 1 message check the toast message
Further comments
This is done to implement the requested changes on #21341