Files
X4Lo 089f3e0f23
Build / build (push) Canceled after 0s
Crowdin / sync (push) Canceled after 0s
feat: add collapsible header and groups, card size slider and Crowdin translations
- Add a button that collapses a collection page's header to its title, game
  count and dynamic badge. The choice is remembered for all collections.
- Make each group on a collection page collapsible, with a Collapse all /
  Expand all button next to Group by. Games hidden by a collapse leave the
  selection.
- Add a card size slider to the collection page toolbar, remembered for all
  collections.
- Match the search box and sort button height to the dropdowns.
- Add Crowdin configuration and a workflow that uploads the English strings
  and opens pull requests with new translations.
- Add CONTRIBUTING.md and a Translations section to the README.
- Run the build workflow on master instead of main.
- Bump the version to 1.3.0 and update the docs, changelog and manifest.
2026-11-06 15:59:16 +00:00

44 lines
1.2 KiB
YAML

name: Crowdin
# Uploads the English strings to Crowdin when they change, and opens a pull request with the latest translations.
on:
push:
branches: [master]
paths:
- source/GameCollections/Localization/en_US.xaml
- crowdin.yml
schedule:
# Every Monday, so new translations arrive without a push.
- cron: '0 6 * * 1'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
concurrency:
group: crowdin
cancel-in-progress: false
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crowdin/github-action@v2
with:
upload_sources: true
upload_translations: false
download_translations: true
localization_branch_name: l10n_crowdin
commit_message: 'chore: update translations from Crowdin'
create_pull_request: true
pull_request_title: 'Update translations from Crowdin'
pull_request_body: 'New and updated translations from Crowdin.'
pull_request_base_branch_name: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}