Skip to content
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

Updated 0 board to 0 boards (singular vs plural) #1210

Merged
merged 13 commits into from
Sep 22, 2021
Merged

Conversation

harshilsharma63
Copy link
Member

Summary

Updated 0 board to 0 boards (singular vs plural)

Ticket Link

Fixes #1200

@harshilsharma63 harshilsharma63 requested a review from a team as a code owner September 15, 2021 06:20
@harshilsharma63 harshilsharma63 requested review from jespino and removed request for a team and jespino September 15, 2021 06:21
@harshilsharma63
Copy link
Member Author

/cla

@jespino
Copy link
Contributor

jespino commented Sep 15, 2021

I was thinking about something more in the line of this: https://codesandbox.io/s/o56w8ywwoz

Also you shouldn't concat numbers with strings, not all the languages in the world puts the numbers first, some languages could express that like "Boards 1" for example. so try to include the whole phrase in the translation, including all the parts of the phrase, and avoid concatenations.

Copy link
Contributor

@jespino jespino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still can be improved.

Copy link
Contributor

@jespino jespino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still some improvements to be made.

webapp/src/pages/dashboard/centerContent.tsx Outdated Show resolved Hide resolved
webapp/i18n/en.json Outdated Show resolved Hide resolved
Copy link
Contributor

@jespino jespino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still some things need to be handled.

Copy link
Contributor

@jespino jespino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harshilsharma63 harshilsharma63 merged commit ca07c9b into main Sep 22, 2021
@harshilsharma63 harshilsharma63 deleted the 0-boards branch September 22, 2021 05:49
harshilsharma63 added a commit that referenced this pull request Sep 22, 2021
* Updated 0 board to 0 boards (singular vs plural

* Made text translatable

* Used better i18n for singular-plural

* Updated tests

* Minor fixes

* done

* Lint fix

* Updated tests
@harshilsharma63 harshilsharma63 added 3: Reviews Complete All reviewers have approved the pull request CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone labels Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3: Reviews Complete All reviewers have approved the pull request CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Workspace switcher > "0 Board" when a workspace doesn't have any boards
2 participants