mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 01:58:09 -03:30
Remove old UI (#15414)
* Remove source code for old UI * Rename ui-next to ui * Remove license scan for javascript dependencies
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Rename the zh_cn folder
|
||||
# Rename the zh_cn folder
|
||||
mv translations/zh_cn translations/zh
|
||||
|
||||
# Create a directory for api (locale)
|
||||
@@ -34,15 +34,12 @@ for d in */ ; do
|
||||
rm $dir/django.po
|
||||
done
|
||||
|
||||
cd ..
|
||||
cd ..
|
||||
|
||||
awx_api_path="awx/locale" # locale will be dropped here
|
||||
awx_ui_path="awx/ui/src/locales" # locales will be dropped here
|
||||
|
||||
rsync -av locale/ $awx_api_path
|
||||
rsync -av locales/ $awx_ui_path
|
||||
|
||||
rm -rf translations/
|
||||
rm -rf locale/
|
||||
rm -rf locales/
|
||||
|
||||
|
||||
@@ -6,5 +6,3 @@ docker-compose -f tools/docker-compose/_sources/docker-compose.yml run awx_1 mak
|
||||
|
||||
# Move extracted Strings to Translation Directory
|
||||
mv awx/locale/en-us/LC_MESSAGES/django.po translations/
|
||||
mv awx/ui/src/locales/en/messages.po translations/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user