Skip to content

Commit c655640

Browse files
Merge pull request #28 from paiyakdev/scaffold-plugin/i18n-update_all_domains
Change the grunt config for addtextdomain to override all text domains by default
2 parents 924e784 + 72d9566 commit c655640

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

templates/plugin-gruntfile.mustache

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ module.exports = function( grunt ) {
1111
options: {
1212
textdomain: '{{textdomain}}',
1313
},
14-
target: {
15-
files: {
16-
src: [ '*.php', '**/*.php', '!node_modules/**', '!php-tests/**', '!bin/**' ]
17-
}
14+
update_all_domains: {
15+
options: {
16+
updateDomains: true
17+
},
18+
src: [ '*.php', '**/*.php', '!node_modules/**', '!php-tests/**', '!bin/**' ]
1819
}
1920
},
2021

0 commit comments

Comments
 (0)