1.1.0 • Published 7 years ago

ember-intl-phraseapp v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Ember-intl-phraseapp

Provide support for the PhraseApp 'In-Context Editor' for emberjs applications that use ember-intl

Installation

npm install ember-intl-phraseapp --save-dev

Configuration

Add the following to your config/environment.js:

   phraseApp: {
      enabled: true,
      projectId: 'yourphraseappprojectid'
    }

Additional supported configuration with defaults:

ParameterDefault
prefix'[[__'
suffix'__]]'
autoLowerCasefalse

ember-cli-mirage

If you are using ember-cli-mirage in your application you will need to add the following configuration to tests/dummy/mirage/config.js:

this.passthrough('https://api.phraseapp.com/v2/**');
this.passthrough('https://*.cloudfront.net');

PhraseApp In-Context Editor

https://phraseapp.com/docs/guides/in-context-editor/

Ember CLI

For more information on using ember-cli, visit http://ember-cli.com/.