Extract: `_` and `_c` aren't among the common gettext function names
Let's just remove them from the default rules git-svn-id: https://develop.svn.wordpress.org/trunk@25919 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
97a7dfc936
commit
54e6261a34
|
@ -10,10 +10,8 @@ require_once "$pomo/translations.php";
|
||||||
class StringExtractor {
|
class StringExtractor {
|
||||||
|
|
||||||
var $rules = array(
|
var $rules = array(
|
||||||
'_' => array( 'string' ),
|
|
||||||
'__' => array( 'string' ),
|
'__' => array( 'string' ),
|
||||||
'_e' => array( 'string' ),
|
'_e' => array( 'string' ),
|
||||||
'_c' => array( 'string' ),
|
|
||||||
'_n' => array( 'singular', 'plural' ),
|
'_n' => array( 'singular', 'plural' ),
|
||||||
);
|
);
|
||||||
var $comment_prefix = 'translators:';
|
var $comment_prefix = 'translators:';
|
||||||
|
|
Loading…
Reference in New Issue