Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add translator notes to Gettext strings and update makepot task #618

Merged
merged 18 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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