   deviceType: DS.attr 'number'
   platformVersion: DS.attr 'string'
 
+  tNoPreference: t("noPreference")
+
   pdfPassword: (->
     uuid = @get "uuid"
     if Ember.isEmpty uuid

`import BaseModelMixin from 'irene/mixins/base-model'`
`import ENUMS from 'irene/enums'`
`import Ember from 'ember'`

Project = DS.Model.extend BaseModelMixin,

  owner: DS.belongsTo 'user', inverse: 'ownedProjects'
  files: DS.hasMany 'file', inverse:'project'
  name: DS.attr 'string'


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