1 /**
  2  * @fileoverview 
  3  */
  4 goog.provide('xrx.i18n');
  5 
  6 
  7 
  8 goog.require('xrx.node');
  9 
 10 
 11 
 12 xrx.i18n = function() {};
 13 
 14 
 15 
 16 xrx.i18n.translate = function(item) {
 17 
 18   if (item instanceof xrx.node) {
 19     console.log(item);
 20     return item.expandedName();
 21   } else {
 22     throw Error('Item can not be translated. Unknown type.');
 23   }
 24 }