diff --git a/CLAUDE.md b/CLAUDE.md index 654392c..b26c3a9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -34,9 +34,9 @@ This project is proudly **"vibe-coded"** using Claude.AI - the entire codebase w ### Known Bugs -No known bugs at the moment. +- Take a look at the logfile in `tmp/` -### Version 0.3.8 +### Version 0.3.9 No changes at the moment. @@ -1091,3 +1091,37 @@ Fixed dashboard widget bugs, improved UI consistency, and added download trackin - Created release package: `releases/wc-licensed-product-0.3.7.zip` (827 KB) - SHA256: `e93b2ab06f6d43c2179167090e07eda5db6809df6e391baece4ceba321cf33f6` - Tagged as `v0.3.7` and pushed to `main` branch + +### 2026-01-24 - Version 0.3.8 - Translation Bug Fix + +**Overview:** + +Fixed a critical translation bug that caused the settings page to crash with an `ArgumentCountError`. + +**Bug Fix:** + +- Fixed: Duplicate German translation string in `wc-licensed-product-de_CH.po` causing `ArgumentCountError` in settings page +- Root cause: The notification settings description was duplicated in the translation, resulting in two `%s` placeholders when only one argument was passed to `sprintf()` +- Location: [wc-licensed-product-de_CH.po:322-328](languages/wc-licensed-product-de_CH.po#L322-L328) + +**Modified files:** + +- `languages/wc-licensed-product-de_CH.po` - Removed duplicated translation string +- `languages/wc-licensed-product-de_CH.mo` - Recompiled binary translation + +**Technical notes:** + +- Error was logged to `tmp/fatal-errors-2026-01-24.log` +- The German `msgstr` contained the same text twice, each with a `%s` placeholder +- `sprintf()` at `SettingsController.php:221` only provided one argument for the single `%s` in the English source +- Translation strings with `%s` placeholders must have exactly matching placeholder counts between source and translation + +**Dependency Updates:** + +- Updated `magdev/wc-licensed-product-client` from `9f513a8` to `64d215c` + +**Release v0.3.8:** + +- Created release package: `releases/wc-licensed-product-0.3.8.zip` (829 KB) +- SHA256: `50ad6966c5ab8db2257572084d2d8a820448df62615678e1576696f2c0cb383d` +- Tagged as `v0.3.8` and pushed to `main` branch