/* jshint node: true */
// jscs: disable
'use strict';

module.exports = {
  name: 'ember-l10n',

  isDevelopingAddon: function() {
    // @see: https://ember-cli.com/extending/#link-to-addon-while-developing
    return false; // Set this to true for local development
  },

  includedCommands: function() {
    return {
      'l10n:install': require('./lib/commands/install'),
      'l10n:extract': require('./lib/commands/extract'),
      'l10n:convert': require('./lib/commands/convert'),
      'l10n:sync': require('./lib/commands/sync')
    };
  },

  included: function(app) {
    this._super.included(app);

    // Fix for loading it in addons/engines
    if (typeof app.import !== 'function' && app.app) {
      app = app.app;
    }

    app.import(app.bowerDirectory + '/gettext.js/dist/gettext.min.js', {
      exports: {
        'i18n': [
          'default'
        ]
      }
    });
  }
};

@@ -616,146 +616,88 @@
     
-// Fix for loading it in addons/engines%0A    if (typeof app.import !== 'function' && app.app) %7B%0A      app = app.app;%0A    %7D
+var bowerDirectory = app.bowerDirectory %7C%7C 'bower_components';
 %0A%0A    
-app
+this
 .import(
 app.
@@ -692,20 +692,16 @@
 .import(
-app.
 bowerDir

Use this.import instead of app.import