docs: function (trans, val) {
  		var key,
  			tmpArr = {},
  			isArr = $.isArray(trans);
  		for (key in trans) {
  			if (isArr || trans.hasOwnProperty(key)) {
  				tmpArr[trans[key]] = val || key;
  			}
  		}
  		return tmpArr;
  	}