Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/skills/l10n/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<key>` (`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.
Expand Down
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<issue>_<slug>` or `feat/<issue>_<slug>` from the version branch, and a pull request into the version branch titled `[<issue>] <Title>`.
- 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`).
Expand Down
Loading