i18n tools: Exclude wp-includes/class-pop3.php in wp_frontend().
The external library uses the underscore alias for the native gettext() function. Makepot extracts these strings too, which results in having 25 unused translations. fixes #31179. git-svn-id: https://develop.svn.wordpress.org/trunk@31315 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
125897c70e
commit
606c88fe75
@ -247,7 +247,7 @@ class MakePOT {
|
|||||||
return $this->wp_generic( $dir, array(
|
return $this->wp_generic( $dir, array(
|
||||||
'project' => 'wp-frontend', 'output' => $output,
|
'project' => 'wp-frontend', 'output' => $output,
|
||||||
'includes' => array(),
|
'includes' => array(),
|
||||||
'excludes' => array( 'wp-admin/.*', 'wp-content/themes/.*' ),
|
'excludes' => array( 'wp-admin/.*', 'wp-content/themes/.*', 'wp-includes/class-pop3\.php' ),
|
||||||
'default_output' => 'wordpress.pot',
|
'default_output' => 'wordpress.pot',
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user