src/Translation/LanguageParser.php
/**
	 * Normalizes the newline character of the given data to '\n' and returns the corrected data.
	 *
	 * @param string $text
	 * @return string
	 */
Normalizes the newline character of the given data to '\n' and returns the corrected data.
@param string $text
@return string
Normalizes the newline character of the given data to ' \ n ' and returns the corrected data . @param string $text @return string
protected function normalizeFile($text) {
		$text = str_replace("\r\n", "\n", $text);
		$text = trim($text);
		return $text;
	}
protected function normalizeFile ( $ text ) { $ text = str_replace ( " \r \n " , " \n " , $ text ) ; $ text = trim ( $ text ) ; return $ text ; }
Normalizes the newline character of the given data to '\n' and returns the corrected data.
Normalizes the newline character of the given data to ' \ n ' and returns the corrected data .