Refactor Logic Resources (step 2/4)
This commit is contained in:
@@ -3,7 +3,7 @@ base_path: /media/rick/Lab/Dev/temp
|
||||
files:
|
||||
-
|
||||
source: 'Logic/*.resx'
|
||||
translation: '/Logic/%locale%/%file_name%.%locale%.resx'
|
||||
translation: '/Logic/%file_name%.%locale%.resx'
|
||||
-
|
||||
source: 'Site/*.resx'
|
||||
translation: '/Site/%locale%/%file_name%.%locale%.resx'
|
||||
|
||||
@@ -11,7 +11,7 @@ unzip activizr.zip
|
||||
|
||||
echo "Deploying..."
|
||||
|
||||
cp -r Logic/* ../../Logic/App_GlobalResources/
|
||||
cp -r Logic/* ../../Logic/Resources/
|
||||
cp -r Site/* ../../Site5/App_GlobalResources/
|
||||
rm -rf Logic
|
||||
rm -rf Site
|
||||
|
||||
@@ -19,7 +19,7 @@ mkdir temp/Logic
|
||||
echo "Copying resources to temporary folder..."
|
||||
|
||||
cp Swarmops/Site5/App_GlobalResources/*.resx temp/Site
|
||||
cp Swarmops/Logic/App_GlobalResources/*.resx temp/Logic
|
||||
cat Swarmops/Logic/Resources/SourceResourceFiles.txt | xargs -n 1 -I '{}' cp Swarmops/Logic/Resources/{} temp/Logic
|
||||
cp Swarmops/BuildFiles/Localization/crowdin.yaml temp
|
||||
|
||||
echo "Uploading en-US source files..."
|
||||
|
||||
Reference in New Issue
Block a user