code: function(widget_title, locale, locale_resources) {
  
  		if (Lava.schema.DEBUG && !(widget_title in Lava.widgets)) Lava.t("Widget config not found: " + widget_title);
  
  		var config = Lava.widgets[widget_title];
  
  		if (config.is_extended) Lava.t("Widget is already extended, can not add resources: " + widget_title);
  
  		if (!config.resources) {
  			config.resources = {}
  		}
  
  		if (Lava.schema.DEBUG && (locale in config.resources)) Lava.t("Locale is already defined: " + locale);
  
  		config.resources[locale] = locale_resources;
  
  	}
docs: Attach resources object to global widget definition
  @param {string} widget_title The name in {@link Lava#widgets}
  @param {string} locale Locale of the resource object
  @param {Object} locale_resources The object with resources for given locale