From 54e6261a34c440bbc50c16e6fb2067d471dd6e30 Mon Sep 17 00:00:00 2001 From: Nikolay Bachiyski Date: Sat, 26 Oct 2013 00:46:34 +0000 Subject: [PATCH] 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 --- tools/i18n/extract.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/i18n/extract.php b/tools/i18n/extract.php index 0e7fd30929..edd274fb46 100644 --- a/tools/i18n/extract.php +++ b/tools/i18n/extract.php @@ -10,10 +10,8 @@ require_once "$pomo/translations.php"; class StringExtractor { var $rules = array( - '_' => array( 'string' ), '__' => array( 'string' ), '_e' => array( 'string' ), - '_c' => array( 'string' ), '_n' => array( 'singular', 'plural' ), ); var $comment_prefix = 'translators:';