-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Fix temporal string definitions #55270
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
e2e tests failed on
|
File | Test Name |
---|---|
dashboard.cy.spec.js |
(flaky) scenarios > dashboard > warn before leave > should warn a user before leaving after adding, removed, moving, or duplicating a tab |
line-bar-tooltips.cy.spec.js |
(flaky) scenarios > visualizations > line/bar chart > tooltips > should be enterable and scollable to view all rows in long tooltips (#53586) (#48347) |
@@ -30,15 +30,15 @@ export function getShortcutGroups(): ShortcutGroup[] { | |||
columns: 3, | |||
shortcuts: [ | |||
{ | |||
label: t`Week`, | |||
label: ngettext(msgid`Week`, `Weeks`, 1), |
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.
Maybe write a doc string explaining this unusual code?
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 think it would be spammy. I updated the PR description to explain it a little more, so people can get there via blame if they need
|
Fix string definitions for Day, Month, and Year to be compatible with backend strings.
This will fix this error in the i18n job.
The developer ergonomics here aren't great, but we can't just define a singular where a plural exists on the backend, we have to define the localization string to say "use the singular form of this singular/plural group"