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

Fixes the production build script. #4951

Merged
merged 3 commits into from Aug 24, 2016
Merged

Fixes the production build script. #4951

merged 3 commits into from Aug 24, 2016

Conversation

zinigor
Copy link
Member

@zinigor zinigor commented Aug 24, 2016

Changes proposed in this Pull Request:

  • Makes sure that npm run build-production works well even without previous npm installations.
  • Changes the way we use i18n: actually using i18n-calypso now, giving us the opportunity to add the textdomain string.
  • Gathering translatable strings from uncompiled JavaScript code to have references to files and line numbers.

Testing instructions:

  • Run npm run build-script, note that it would take a lot of time and generate lots of new language files. The main thing that we're currently interested in is the _inc/jetpack-strings.php file, it should contain all the translatable strings from _inc/client/**/*.js* files.

It will now include a textdomain as well as include files one by one instead of using a built script making it easier to locate the string.
@zinigor zinigor added [Type] Bug When a feature is broken and / or not performing as intended Admin Page React-powered dashboard under the Jetpack menu labels Aug 24, 2016
@zinigor zinigor added this to the 4.3 milestone Aug 24, 2016
@zinigor zinigor added the [Status] Needs Review To request a review from Crew. Label will be renamed soon. label Aug 24, 2016
@zinigor zinigor modified the milestones: 4.3-During Beta, 4.3 Aug 24, 2016
@dereksmart
Copy link
Member

🚢

@dereksmart dereksmart added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review To request a review from Crew. Label will be renamed soon. labels Aug 24, 2016
@zinigor zinigor merged commit 0dab352 into master Aug 24, 2016
@zinigor zinigor removed the [Status] Ready to Merge Go ahead, you can push that green button! label Aug 24, 2016
@zinigor zinigor deleted the fix/production-build branch August 24, 2016 13:50
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 [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants