Problem/Motivation

On a resource allotment, the Places held field is described as "How many places every session of this resource holds under the allotment. Leave empty to declare no number here." The second sentence restates that the field is empty and never says what follows from it, so nothing on the form tells an operator apart from an empty value and a 0.

The two are not the same, and the difference is load-bearing wherever an allotment owns named places:

  • empty withholds no number, which lets the places pinned to the allotment be all it holds
  • 0 holds nothing at all, pinned places included

The preset row carries the same wording, and the session record never mentions 0 even though 0 is how one evening says it holds nothing tonight.

Proposed resolution

Reword the three Places held descriptions so each says what its own empty value does, and what 0 does beside it. The counting is unchanged; the French translation moves with the strings in the same commit.

Remaining tasks

Review.

User interface changes

The Places held field descriptions on a resource allotment, a session allotment and a tariff preset row.

API changes

None.

Data model changes

None.

Release notes snippet

The Places held field now says what leaving it empty does, and how that differs from holding 0.

AI-Generated: Yes (Claude Code was used to read the counting code, to draft this issue summary, and to write the reworded descriptions and their French translations. I reviewed all of it. The change is field-description text only, so it carries no test.)

Issue fork yoyaku-3616580

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review

  • mably committed 1d3d1da4 on 1.x
    task: #3616580 Say what an empty Places held does, and how it differs...
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.