Separated currently used translations and those required for legacy v… #1363
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build localization | |
on: | |
push: | |
jobs: | |
localizator: | |
name: Build language resources | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: Build UNDEFs, json and js files | |
run: cd BSB_LAN/localization && ./create-undefs.pl && cd .. | |
- name: Copy files to repo | |
uses: test-room-7/action-update-file@v1 | |
with: | |
file-path: | | |
BSB_LAN/localization/json/*.json | |
BSB_LAN/localization/www/*.* | |
BSB_LAN/localization/UNDEF_LANG_*.h | |
BSB_LAN/localization/LANG_C.h | |
commit-msg: Update language resources | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |