Skip to content
This repository was archived by the owner on Dec 3, 2022. It is now read-only.

Commit 1965c76

Browse files
committed
Merge pull request #152 from forsitethemes/develop
Add grunt-wp-i18n and regenerate pot file
2 parents 1c3e88b + 10bcb40 commit 1965c76

File tree

4 files changed

+406
-211
lines changed

4 files changed

+406
-211
lines changed

Gruntfile.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ module.exports = function (grunt) {
8282
' Author: <%= pkg.theme.author %>\n' +
8383
' Author URI: <%= pkg.theme.authoruri %>\n' +
8484
' Version: <%= pkg.theme.version %>\n' +
85-
' Tags: <%= pkg.theme.tags %>\n\n' +
85+
' Tags: <%= pkg.theme.tags %>\n' +
86+
' Text Domain: <%= pkg.theme.textdomain %>\n\n' +
8687
' License: <%= pkg.theme.license %>\n' +
8788
' License URI: <%= pkg.theme.licenseuri %>\n\n' +
8889
' Template: <%= pkg.theme.template %>\n' +
@@ -151,6 +152,14 @@ module.exports = function (grunt) {
151152
{ src: ['dist/**'] }
152153
]
153154
}
155+
},
156+
makepot: {
157+
target: {
158+
options: {
159+
domainPath: '/lib/languages',
160+
type: 'wp-theme'
161+
}
162+
}
154163
}
155164
});
156165

0 commit comments

Comments
 (0)