Skip to content

studio: README and commit messages of campaign repositories in English - #10

Merged
ptrembli merged 1 commit into
mainfrom
fix/campaign-repo-english
Nov 29, 2026
Merged

ptrembli merged 1 commit into
mainfrom
fix/campaign-repo-english

Conversation

@ptrembli

Copy link
Copy Markdown
Contributor

The git repository of a campaign is a file that is shared (e.g. canoPdev/tutorial), so what the
studio writes there no longer depends on the language of the studio. Follows #9, which did the same
for the version lines of the inis.

In English now

  • README.md of a new campaign repository: what is versioned, what a launch does, how to
    reproduce a run. The buttons it names are those of the English interface ("Prepare again",
    "Launch the prepared runs").
  • The messages of the commits the studio makes in it:
    • campaign <name>: repository created (physics copied from the canoP sources at commit ...);
    • physics: <files>;
    • launch: <n> run(s) of <campaign> (Campaign tab) and launch: <run> (run <id>) (Run tab).
  • The shell comment before export CANOP_PHYSICS_DIR in the launch settings, which is stored in
    signac_project_document.json and so versioned, and the comment and header line of the ini
    of the initial condition alone (the latter missed by studio: full run ids for analyse(), version lines in English, current… #9).

Existing campaigns keep the README written when their repository was made; their next commits
have English messages.

Checks

  • Offline test with an isolated configuration (CANOP_STUDIO_CONFIG): a campaign repository is
    created from the sources, then a physics change and a launch are committed; the README, the
    three commit messages, physics_env() and ic_text() are checked.
  • check_i18n.py: 322 texts, 0 errors (none of these texts goes through tr()).

🤖 Generated with Claude Code

The README.md of a new campaign repository, the messages of the commits the
studio makes there (creation, physics, launch), the shell comments of the
physics directory in the launch settings and the header of the ini of the
initial condition alone are written in English, whatever the language of
the studio.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ptrembli
ptrembli merged commit 7477918 into main Nov 29, 2026
2 checks passed
@ptrembli
ptrembli deleted the fix/campaign-repo-english branch November 29, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant