Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
304
Merge Requests
304
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
a6084a5a
Commit
a6084a5a
authored
May 08, 2007
by
Gábor Hojtsy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simple phpdoc formatting fix in locale.inc
parent
c32e17e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
12 deletions
+24
-12
includes/locale.inc
includes/locale.inc
+24
-12
No files found.
includes/locale.inc
View file @
a6084a5a
...
...
@@ -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
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment