Skip to content

Commit

Permalink
Merge pull request #618 from godaddy-wordpress/617/add-gettext-contex…
Browse files Browse the repository at this point in the history
…t-to-strings

Add translator notes to Gettext strings and update makepot task
  • Loading branch information
itambek-godaddy authored Sep 26, 2023
2 parents af031af + 82a6884 commit 63e33ae
Show file tree
Hide file tree
Showing 22 changed files with 1,292 additions and 2,423 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module.exports = function( grunt ) {

// Register update_translations task
grunt.registerTask( 'update_translations', [
'makepot',
'shell:makepot',
'potomo',
] );

Expand Down
33 changes: 0 additions & 33 deletions grunt/configs/makepot.js

This file was deleted.

17 changes: 14 additions & 3 deletions grunt/configs/shell.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
/* jshint node:true */
module.exports = function( grunt ) {
'use strict';
'use strict';

var config = {};
var config = {};

return config;
config.shell = {
options: {
execOptions: {
maxBuffer: 1000 * 1000 * 1000,
},
},
makepot: {
command: 'wp i18n make-pot ./woocommerce ./woocommerce/i18n/languages/woocommerce-plugin-framework.pot --domain=woocommerce-plugin-framework --package-name=\'SkyVerge WooCommerce Plugin Framework\''
}
};

return config;
};
Loading

0 comments on commit 63e33ae

Please sign in to comment.