 `import BaseModelMixin from 'irene/mixins/base-model'`
 `import ENUMS from 'irene/enums'`
 `import Ember from 'ember'`
+`import { translationMacro as t } from 'ember-i18n'`
 
 Project = DS.Model.extend BaseModelMixin,
-
+  i18n: Ember.inject.service()
   owner: DS.belongsTo 'user', inverse: 'ownedProjects'
   files: DS.hasMany 'file', inverse:'project'
   name: DS.attr 'string'


  versionText: (->
    platformVersion = @get "platformVersion"
    if Ember.isEmpty platformVersion
      "No Preference"
    else
      platformVersion
  ).property "platformVersion"

  deviceType: DS.attr 'number'
  platformVersion: DS.attr 'string'

  tNoPreference: t("noPreference")

  pdfPassword: (->
    uuid = @get "uuid"
    if Ember.isEmpty uuid
