public static CompileMessages ReplaceAllGameText(Game game, Translation withTranslation) { CompileMessages errors = new CompileMessages(); TextImportProcessor processor = new TextImportProcessor(game, errors, withTranslation.TranslatedLines); TextProcessingHelper.ProcessAllGameText(processor, game, errors); return errors; }
public static CompileMessages ReplaceAllGameText(Game game, Translation withTranslation) { CompileMessages errors = new CompileMessages(); TextImportProcessor processor = new TextImportProcessor(game, errors, withTranslation.TranslatedLines); TextProcessingHelper.ProcessAllGameText(processor, game, errors); return(errors); }