Skip to content

Commit

Permalink
Translate pr 3 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Furrior authored Apr 11, 2024
1 parent aaa6228 commit 6f26fcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tools/translate/add_new_translation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ git commit -m "Move old translation"

echo Generating new translation...
git cherry-pick -n translate
git reset .
python ./tools/translate/converter.py
git add ./tools/translate/ss220replace.json
git commit -m "Generate translation file"
git reset .
git restore .

echo Applying result...
./tools/translate/ss220_replacer_linux
Expand Down
2 changes: 1 addition & 1 deletion tools/translate/update_translation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ git checkout -b translate_tmp
git reset --hard origin/master

git checkout translate -- ./tools/translate/ss220replace.json

./tools/translate/ss220_replacer_linux
git add .
git commit -m "Apply translation"

git push -f origin translate_tmp:translate

0 comments on commit 6f26fcc

Please sign in to comment.