code: function(f) {
  		var isObj = typeof(f) == 'object' ? true : false,
  			mime  = isObj ? f.mime : f,
  			kind;
  		
  
  		if (isObj && f.alias && mime != 'symlink-broken') {
  			kind = 'Alias';
  		} else if (this.kinds[mime]) {
  			if (isObj && mime === 'directory' && (! f.phash || f.isroot)) {
  				kind = 'Root';
  			} else {
  				kind = this.kinds[mime];
  			}
  		}
  		if (! kind) {
  			if (mime.indexOf('text') === 0) {
  				kind = 'Text';
  			} else if (mime.indexOf('image') === 0) {
  				kind = 'Image';
  			} else if (mime.indexOf('audio') === 0) {
  				kind = 'Audio';
  			} else if (mime.indexOf('video') === 0) {
  				kind = 'Video';
  			} else if (mime.indexOf('application') === 0) {
  				kind = 'App';
  			} else {
  				kind = mime;
  			}
  		}
  		
  		return this.messages['kind'+kind] ? this.i18n('kind'+kind) : mime;
  	}
docs: Return localized kind of file
  
  @param  Object|String  file or file mimetype
  @return String