forked from webaware/glotpress-notify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
49 lines (43 loc) · 867 Bytes
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
pot: {
options: {
text_domain: "glotpress-notify",
package_name: "glotpress-notify",
msgid_bugs_address: "[email protected]",
encoding: "UTF-8",
dest: "languages/",
keywords: [
"gettext",
"__",
"_e",
"_n:1,2",
"_x:1,2c",
"_ex:1,2c",
"_nx:4c,1,2",
"esc_attr__",
"esc_attr_e",
"esc_attr_x:1,2c",
"esc_html__",
"esc_html_e",
"esc_html_x:1,2c",
"_n_noop:1,2",
"_nx_noop:3c,1,2",
"__ngettext_noop:1,2"
],
comment_tag: "translators:"
},
files: {
src: [
"**/*.php",
"!lib/**/*",
"!node_modules/**/*"
],
expand: true
}
}
});
grunt.loadNpmTasks("grunt-pot");
grunt.registerTask("default", [ "pot" ]);
};