diff --git a/Gruntfile.js b/Gruntfile.js index 5d6513f73601e..2db0b585ff020 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -142,8 +142,8 @@ module.exports = function( grunt ) { admin: { options: { potFilename: 'woocommerce-admin.pot', - exclude: [ - '^(?!includes\/admin).*' + include: [ + 'includes/admin/.*' ], processPot: function ( pot ) { pot.headers['project-id-version'] += ' Admin';