Fixes to Crowdin interfacing with new loc structure
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
"preserve_hierarchy": true
|
||||
|
||||
files:
|
||||
-
|
||||
source: 'Localization/*.resx'
|
||||
translation: '/Localization/%file_name%.%locale%.resx'
|
||||
-
|
||||
source: 'Logic/*.resx'
|
||||
translation: '/Logic/%file_name%.%locale%.resx'
|
||||
-
|
||||
source: 'Site/*.resx'
|
||||
translation: '/Site/%locale%/%file_name%.%locale%.resx'
|
||||
|
||||
@@ -23,8 +23,9 @@ mv Site/sr-CS Site/sr-Latn-RS
|
||||
|
||||
#echo "Deploying..."
|
||||
|
||||
cp -r Logic/* ../../Logic/Resources/
|
||||
cp -r Localization/* ../../Localization/
|
||||
cp -r Site/* ../../Site/App_GlobalResources/
|
||||
#rm -rf Logic
|
||||
#rm -rf Site
|
||||
#rm activizr.zip
|
||||
rm -rf Logic
|
||||
rm -rf Localization
|
||||
rm -rf Site
|
||||
rm activizr.zip
|
||||
|
||||
@@ -18,8 +18,9 @@ mkdir temp/Logic
|
||||
|
||||
echo "Copying resources to temporary folder..."
|
||||
|
||||
cp Swarmops/Site/App_GlobalResources/*.resx temp/Site
|
||||
cat Swarmops/Logic/Resources/SourceResourceFiles.txt | xargs -n 1 -I '{}' cp Swarmops/Logic/Resources/{} temp/Logic
|
||||
#cp Swarmops/Site/App_GlobalResources/*.resx temp/Site
|
||||
cat Swarmops/Localization/SourceResourceFiles.txt | xargs -n 1 -I '{}' cp Swarmops/Localization/{} temp/Localization/
|
||||
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