|
@@ -359,6 +359,13 @@ class ExtractTask extends Shell {
|
|
|
$this->_parse('__d', array('domain', 'singular'));
|
|
$this->_parse('__d', array('domain', 'singular'));
|
|
|
$this->_parse('__dn', array('domain', 'singular', 'plural'));
|
|
$this->_parse('__dn', array('domain', 'singular', 'plural'));
|
|
|
$this->_parse('__x', array('context', 'singular'));
|
|
$this->_parse('__x', array('context', 'singular'));
|
|
|
|
|
+ $this->_parse('__xn', array('context', 'singular', 'plural'));
|
|
|
|
|
+ $this->_parse('__dx', array('domain', 'context', 'singular'));
|
|
|
|
|
+ $this->_parse('__dxc', array('domain', 'context', 'singular', 'category'));
|
|
|
|
|
+ $this->_parse('__dxn', array('domain', 'context', 'singular', 'plural'));
|
|
|
|
|
+ $this->_parse('__dxcn', array('domain', 'context', 'singular', 'plural', 'count', 'category'));
|
|
|
|
|
+ $this->_parse('__xc', array('context', 'singular', 'category'));
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -382,7 +389,7 @@ class ExtractTask extends Shell {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
list($type, $string, $line) = $countToken;
|
|
list($type, $string, $line) = $countToken;
|
|
|
- if (($type == T_STRING) && ($string == $functionName) && ($firstParenthesis === '(')) {
|
|
|
|
|
|
|
+ if (($type == T_STRING) && ($string === $functionName) && ($firstParenthesis === '(')) {
|
|
|
$position = $count;
|
|
$position = $count;
|
|
|
$depth = 0;
|
|
$depth = 0;
|
|
|
|
|
|