diff --git a/.claude/skills/l10n/SKILL.md b/.claude/skills/l10n/SKILL.md index 0fca8c24..b5944b21 100644 --- a/.claude/skills/l10n/SKILL.md +++ b/.claude/skills/l10n/SKILL.md @@ -9,7 +9,7 @@ description: Add, rename or remove user-facing text in Material Notes (ARB files - Each key has an `@key` entry with a `description` that says where the text is shown, and a `placeholders` entry for each placeholder, with its `type` and `description`. - Keys are snake_case and start with their feature, like the existing ones (`settings_`, `dialog_`, `action_`, `tooltip_`, `snack_bar_`, `navigation_`...). Put a new key next to the keys of the same screen. - Plurals use the ICU syntax: `"{count} {count, plural, one{note} other{notes}}"` with `count` of type `int`. -- `use-escaping` is on: write `''` for an apostrophe (`doesn''t`). +- Write the typographic apostrophe `’` (U+2019), like the translations (`doesn’t`, `l’application`). `use-escaping` is on: `flutter gen-l10n` treats a single `'` as a quote, so an even number of them disappears from the text and an odd number fails the generation (`''` would render one apostrophe). - Use the text with `context.l.` (`common/extensions/build_context_extension.dart`), and `context.fl` for the Flutter material localizations. - After a change: `flutter gen-l10n`, then `dart analyze --fatal-infos`. `lib/l10n/untranslated.txt` lists the keys missing in each language; it is ignored by git. - When renaming or removing a key, search `lib` for its old name. diff --git a/CLAUDE.md b/CLAUDE.md index 5a4cdb2a..284cfeb8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -92,6 +92,7 @@ Whenever you edit or modify any `.dart` file under `lib/` in this project: - Each change has a GitHub issue, a branch `fix/_` or `feat/_` from the version branch, and a pull request into the version branch titled `[] `. - Every issue and pull request has a label for its kind: `bug`, `enhancement`, `localization`, `documentation`, `tests` or `style`, and `release` for a version pull request. A pull request gets the label of its issue. +- Every issue and pull request is assigned to `maelchiotti` and added to the GitHub project <https://github.com/users/maelchiotti/projects/2>. The pull request body starts with `Closes #<issue>.`, so that the issue is linked to it and closed by the merge. - The release is a pull request from the version branch into `main`, titled `vX.Y.Z` and squash-merged. Every push to `main` runs the release workflow (Play Store and GitHub release). The `release` skill prepares it. - CI on each push: analyze and format (`.github/workflows/dart.yaml`). On each pull request: build the Isar libraries and the APK (`build.yaml`).