original_string: function uploadTranslationKit($fileName, $data){
  		$result = "";
  		$resourceInfo = new ResourceInfo();
  		$resourceInfo->name = $fileName;
  		$resourceInfo->size = strlen ( $data );
  		
  		// Upload file
  		$workflowRequestTicket = $this->workflowService->upload($resourceInfo, $data)->return;
  		
  		// Wait until upload is done, or print error message if it failed
  		$uploadFinished = false;
  		while (!$uploadFinished) {
  			// Create delay between two checkUploadAction calls
  			sleep(DELAY_TIME);
  
  			$uploadActionResult = $this->workflowService->checkUploadAction($workflowRequestTicket);
  
  			$uploadFinished = $uploadActionResult->processingFinished->booleanValue;
  			if ($uploadFinished && isset($uploadActionResult->messages)) {
  				foreach($uploadActionResult->messages as &$message){
  					$result = $result + $message+";";
  				}
  			}
  		}
  		
  		return $result;
  	}
code: function uploadTranslationKit($fileName, $data){
  		$result = "";
  		$resourceInfo = new ResourceInfo();
  		$resourceInfo->name = $fileName;
  		$resourceInfo->size = strlen ( $data );
  		
  		// Upload file
  		$workflowRequestTicket = $this->workflowService->upload($resourceInfo, $data)->return;
  		
  		// Wait until upload is done, or print error message if it failed
  		$uploadFinished = false;
  		while (!$uploadFinished) {
  			// Create delay between two checkUploadAction calls
  			sleep(DELAY_TIME);
  
  			$uploadActionResult = $this->workflowService->checkUploadAction($workflowRequestTicket);
  
  			$uploadFinished = $uploadActionResult->processingFinished->booleanValue;
  			if ($uploadFinished && isset($uploadActionResult->messages)) {
  				foreach($uploadActionResult->messages as &$message){
  					$result = $result + $message+";";
  				}
  			}
  		}
  		
  		return $result;
  	}
code_tokens: function uploadTranslationKit ( $ fileName , $ data ) { $ result = "" ; $ resourceInfo = new ResourceInfo ( ) ; $ resourceInfo -> name = $ fileName ; $ resourceInfo -> size = strlen ( $ data ) ; // Upload file $ workflowRequestTicket = $ this -> workflowService -> upload ( $ resourceInfo , $ data ) -> return ; // Wait until upload is done, or print error message if it failed $ uploadFinished = false ; while ( ! $ uploadFinished ) { // Create delay between two checkUploadAction calls sleep ( DELAY_TIME ) ; $ uploadActionResult = $ this -> workflowService -> checkUploadAction ( $ workflowRequestTicket ) ; $ uploadFinished = $ uploadActionResult -> processingFinished -> booleanValue ; if ( $ uploadFinished && isset ( $ uploadActionResult -> messages ) ) { foreach ( $ uploadActionResult -> messages as & $ message ) { $ result = $ result + $ message + ";" ; } } } return $ result ; }
docstring: Uploads preliminary delivery file to project director
  
  @param
  $fileName
  Filename that requires translation
  @param
  $data
  File data (String)
  @return Response message
docstring_tokens: Uploads preliminary delivery file to project director