mirror of
https://github.com/ansible/awx.git
synced 2024-10-30 22:21:13 +03:00
Merge pull request #7502 from nixocio/ui_lingui_prod
Add extraction of strings to be translated as part of build process Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
8f50514b3d
1
.gitignore
vendored
1
.gitignore
vendored
@ -29,6 +29,7 @@ awx/ui/client/languages
|
||||
awx/ui/templates/ui/index.html
|
||||
awx/ui/templates/ui/installing.html
|
||||
awx/ui_next/node_modules/
|
||||
awx/ui_next/src/locales/
|
||||
awx/ui_next/coverage/
|
||||
awx/ui_next/build
|
||||
awx/ui_next/.env.local
|
||||
|
2
Makefile
2
Makefile
@ -576,6 +576,8 @@ ui-release-next:
|
||||
touch awx/ui_next/build/static/.placeholder
|
||||
|
||||
ui-devel-next: awx/ui_next/node_modules
|
||||
$(NPM_BIN) --prefix awx/ui_next run extract-strings
|
||||
$(NPM_BIN) --prefix awx/ui_next run compile-strings
|
||||
$(NPM_BIN) --prefix awx/ui_next run build
|
||||
mkdir -p awx/public/static/css
|
||||
mkdir -p awx/public/static/js
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"localeDir": "src/locales/",
|
||||
"srcPathDirs": ["src/"],
|
||||
"format": "po"
|
||||
"format": "po",
|
||||
"sourceLocale": "en"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user