diff options
-rw-r--r-- | includes/locale.inc | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/includes/locale.inc b/includes/locale.inc index 4d3924f62..97cff119d 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -1223,8 +1223,10 @@ function _locale_import_one_string($op, $value = NULL, $mode = NULL, $lang = NUL /** * Parses a Gettext Portable Object file header * - * @param $header A string containing the complete header - * @return An associative array of key-value pairs + * @param $header + * A string containing the complete header + * @return + * An associative array of key-value pairs */ function _locale_import_parse_header($header) { $hdr = array(); @@ -1290,8 +1292,10 @@ function _locale_import_parse_plural_forms($pluralforms, $filename) { * While parsing, we ensure, that the operators have the right * precedence and associativity. * - * @param $string A string containing the arithmetic formula - * @return The PHP version of the formula + * @param $string + * A string containing the arithmetic formula + * @return + * The PHP version of the formula */ function _locale_import_parse_arithmetic($string) { // Operator precedence table @@ -1385,8 +1389,10 @@ function _locale_import_parse_arithmetic($string) { /** * Backward compatible implementation of token_get_all() for formula parsing * - * @param $string A string containing the arithmetic formula - * @return The PHP version of the formula + * @param $string + * A string containing the arithmetic formula + * @return + * The PHP version of the formula */ function _locale_import_tokenize_formula($formula) { $formula = str_replace(" ", "", $formula); @@ -1449,8 +1455,10 @@ function _locale_import_tokenize_formula($formula) { * * This is a callback function used via array_map() * - * @param $entry An array element - * @param $key Index of the array element + * @param $entry + * An array element + * @param $key + * Index of the array element */ function _locale_import_append_plural($entry, $key) { // No modifications for 0, 1 @@ -1466,8 +1474,10 @@ function _locale_import_append_plural($entry, $key) { /** * Generate a short, one string version of the passed comment array * - * @param $comment An array of strings containing a comment - * @return Short one string version of the comment + * @param $comment + * An array of strings containing a comment + * @return + * Short one string version of the comment */ function _locale_import_shorten_comments($comment) { $comm = ''; @@ -1486,8 +1496,10 @@ function _locale_import_shorten_comments($comment) { /** * Parses a string in quotes * - * @param $string A string specified with enclosing quotes - * @return The string parsed from inside the quotes + * @param $string + * A string specified with enclosing quotes + * @return + * The string parsed from inside the quotes */ function _locale_import_parse_quoted($string) { if (substr($string, 0, 1) != substr($string, -1, 1)) { |