UNPKG

ember-intl

Version:

A internationalization toolbox for ambitious applications.

40 lines (34 loc) 892 B
'use strict'; /** * Copyright 2015, Yahoo! Inc. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ let path = require('path'); module.exports = { description: 'Setup ember-intl', normalizeEntityName() {}, fileMapTokens() { return { __app__(options) { if (options.inAddon) { return path.join('tests', 'dummy', 'app'); } else { return path.join('app'); } }, __config__(options) { if (options.inAddon) { return path.join('tests', 'dummy', 'config'); } else { return path.join('config'); } }, }; }, afterInstall() { this.ui.writeLine( "[ember-intl] Don't forget to setup your application-wide locale. " + 'Documentation: https://github.com/ember-intl/ember-intl#setting-locale' ); }, };