This repository was archived by the owner on Jun 8, 2019. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork119
PermalinkChoose a base ref {{ refName }}default Choose a head ref {{ refName }}default Checking mergeability… Don’t worry, you can still create the pull request.
Comparing changes
Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also orlearn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also.Learn more about diff comparisons here.
base repository:formatjs/babel-plugin-react-intl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
Uh oh!
There was an error while loading.Please reload this page.
base:master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
...
head repository:formatjs/babel-plugin-react-intl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
Uh oh!
There was an error while loading.Please reload this page.
compare:generate-ids
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
Uh oh!
There was an error while loading.Please reload this page.
- 3commits
- 3files changed
- 1contributor
Commits on Sep 18, 2015
Add new options and support for
defineMessages()This adds the following new features and options:- `generateMessageIds`: Will generate the message descriptor `id`based on a SHA1 hash of the `defaultMessage` and `description`.- `removeExtractedData`: Will remove the `defaultMessage` and`description` from the message declaration to save k-weight.- `enforceDescriptions`: Requires that all declared messages _must_contain a `description` for translators.In order to generate the message IDs in a stable way, the ICUmessages are parsed and pretty-printed into a standard format whichremoves any insignificant whitespace. This is also used to validatethat the ICU Message syntax to make sure it's correct.
ericf committedSep 18, 2015 Remove
defineMessagehook fordefineMessagesericf committedSep 18, 2015
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff master...generate-ids
Uh oh!
There was an error while loading.Please reload this page.