Add smart combined album asset redistribution + fix locale string
Some checks failed
Validate / Hassfest (push) Has been cancelled

Core library:
- New combine_album_assets() in asset_utils.py: smart redistribution
  of unused quota when albums return fewer assets than their share.
  Two-pass algorithm: even split then redistribute remainder.
- 6 new tests (56 total passing).

Frontend:
- Fix "leave empty to keep current" not localized in server edit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-19 17:15:26 +03:00
parent b708b14f32
commit 5192483fff
5 changed files with 121 additions and 1 deletions

View File

@@ -48,6 +48,7 @@
"url": "Immich URL",
"urlPlaceholder": "http://immich:2283",
"apiKey": "API Key",
"apiKeyKeep": "API Key (leave empty to keep current)",
"connecting": "Connecting...",
"noServers": "No servers configured yet.",
"delete": "Delete",