forked from privacyidea/privacyidea
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGruntfile.js
More file actions
23 lines (23 loc) · 680 Bytes
/
Copy pathGruntfile.js
File metadata and controls
23 lines (23 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-angular-gettext');
grunt.initConfig({
nggettext_extract: {
pot: {
files: {
'po/template.pot': ['privacyidea/static/components/*/views/*.html',
'privacyidea/static/templates/*.html',
'privacyidea/static/components/*/controllers/*.js',
'privacyidea/static/components/*/factories/*.js',
'privacyidea/static/*.js']
}
},
},
nggettext_compile: {
all: {
files: {
'privacyidea/static/components/translation/translations.js': ['po/*.po']
}
},
},
})
};