Skip to content

Admin Page: define context properly in Stats graph.#13622

Merged
jeherve merged 1 commit intomasterfrom
revert/context-stats-notice
Oct 4, 2019
Merged

Admin Page: define context properly in Stats graph.#13622
jeherve merged 1 commit intomasterfrom
revert/context-stats-notice

Conversation

@jeherve
Copy link
Copy Markdown
Member

@jeherve jeherve commented Oct 2, 2019

Following up from #13558

Changes proposed in this Pull Request:

  • Let's define context the i18n-calypso way to avoid this:

image

Testing instructions:

  • Start a new JN site with that patch.
  • Check the Stats graph under Jetpack > Dashboard.

Proposed changelog entry for your changes:

  • None

@jeherve jeherve added Bug When a feature is broken and / or not performing as intended [Feature] Stats Data Feature that enables users to track their site's traffic and gain insights on popular content. [Status] Needs Review This PR is ready for review. [Focus] i18n Internationalization / i18n, adaptation to different languages Admin Page React-powered dashboard under the Jetpack menu labels Oct 2, 2019
@jeherve jeherve added this to the 7.9 milestone Oct 2, 2019
@jeherve jeherve requested a review from a team October 2, 2019 08:38
@jeherve jeherve self-assigned this Oct 2, 2019
@jetpackbot
Copy link
Copy Markdown
Collaborator

Thank you for the great PR description!

When this PR is ready for review, please apply the [Status] Needs Review label. If you are an a11n, please have someone from your team review the code if possible. The Jetpack team will also review this PR and merge it to be included in the next Jetpack release.

Scheduled Jetpack release: November 5, 2019.
Scheduled code freeze: October 29, 2019

Generated by 🚫 dangerJS against 7e53b8d

Copy link
Copy Markdown
Contributor

@zinigor zinigor left a comment

Choose a reason for hiding this comment

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

My bad for suggesting a wrong way to use context previously! This looks great, works fine in my tests:

_x( "No activity this period", "Notice in the empty statistics chart", "jetpack" ), // _inc/client/components/chart/index.j
sx

@zinigor zinigor added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review This PR is ready for review. labels Oct 4, 2019
@jeherve jeherve merged commit 23e1864 into master Oct 4, 2019
@jeherve jeherve deleted the revert/context-stats-notice branch October 4, 2019 14:52
@matticbot matticbot added [Status] Needs Changelog and removed [Status] Ready to Merge Go ahead, you can push that green button! labels Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Admin Page React-powered dashboard under the Jetpack menu Bug When a feature is broken and / or not performing as intended [Feature] Stats Data Feature that enables users to track their site's traffic and gain insights on popular content. [Focus] i18n Internationalization / i18n, adaptation to different languages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants