feat: add collapsible header and groups, card size slider and Crowdin translations
Build / build (push) Canceled after 0s
Crowdin / sync (push) Canceled after 0s

- 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.
This commit is contained in:
X4Lo committed 2026-11-06 15:59:16 +00:00
1 parent b9a6bf891d
commit 089f3e0f23
17 files changed
+494 -30

No files matched your search

+18 -1
View File
@@ -286,7 +286,24 @@ Before a release, check these by hand in Playnite:
- `ApplicationMode` other than Desktop is untested, and the views need Desktop theme styles.
- A search of the library in the rule preview runs on the UI thread. Very large libraries could feel it while editing.
- Only `en_US` strings exist so far.
- Translations come from Crowdin, so a release only includes the languages that were merged before it was built.
## Translations
`Localization/en_US.xaml` is the only file edited by hand. Everything else in `Localization/` comes from
[Crowdin](https://crowdin.com/project/game-collections) and is overwritten on every sync, so never edit it here.
- [`crowdin.yml`](../crowdin.yml) maps `en_US.xaml` to `Localization/<locale>.xaml`, using Crowdin's
`%locale_with_underscore%` names (`de_DE`, `pt_BR`, `zh_CN`). These are the names Playnite looks for.
- Playnite loads `en_US.xaml` first, then the file for the user's language on top of it, so a missing string falls
back to English. The plugin needs no code for this; the files only have to be copied to the output folder, which
`GameCollections.csproj` does for every `Localization\*.xaml`.
- The [Crowdin workflow](../.github/workflows/crowdin.yml) uploads `en_US.xaml` whenever it changes on `master`, and
every Monday (or when run by hand from the Actions tab) opens a pull request from `l10n_crowdin` with the latest
translations. Merge it before building a release.
- It needs the `CROWDIN_PROJECT_ID` and `CROWDIN_PERSONAL_TOKEN` repository secrets.
- When you add or change a key, change only `en_US.xaml`. Crowdin marks changed strings for re-translation, and
removed keys disappear from the translations on the next sync.
## Releasing