text: /********************************************************************************
   * generated by de.acegen 1.3.0
   ********************************************************************************/
  
  
  
  
  import AbstractWantedLanguageChangedCommand from "../../../gen/box/commands/AbstractWantedLanguageChangedCommand";
  
  export default class WantedLanguageChangedCommand extends AbstractWantedLanguageChangedCommand {
      execute(data) {
          if (data.dictionaryLookup === true) {
              data.dictionaryLookupInvalid = !data.givenLanguage || !data.wantedLanguage;
          } else {
              data.dictionaryLookupInvalid = false;
          }
      	this.addOkOutcome(data);
      	return data;
      }
  }
  
  
  
  
  /******* S.D.G. *******/
  
  
  
  