Skip to content

Commit

Permalink
test thing
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberSteve777 committed Dec 22, 2024
1 parent 1c0f3dd commit 99a32ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/setup_translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
if [ -f $android_input ]; then
mkdir -p $android_res_release
mkdir -p $android_res_shipping
python main.py $android_input $android_res_release
python main.py $android_input $android_res_shipping
python main.py $android_input $android_res_release ${{ github.event.repository.name }}
python main.py $android_input $android_res_shipping ${{ github.event.repository.name }}
fi
# iOS
Expand All @@ -40,8 +40,8 @@ jobs:
if [ -f $ios_input ]; then
mkdir -p $ios_res_release
mkdir -p $ios_res_shipping
python main.py $ios_input $ios_res_release
python main.py $ios_input $ios_res_shipping
python main.py $ios_input $ios_res_release ${{ github.event.repository.name }}
python main.py $ios_input $ios_res_shipping ${{ github.event.repository.name }}
fi
done
- name: Upload artifact for GitHub Pages
Expand Down
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def process_translation(input_file, output_dir):
if __name__ == '__main__':
raw_file = sys.argv[1] # path to raw lawnstrings file
out_dir = sys.argv[2] # path to output directory
repo = sys.argv[3]
print(repo)

os.makedirs(out_dir, exist_ok=True)
process_translation(raw_file, out_dir)

0 comments on commit 99a32ae

Please sign in to comment.