Editor user story
In the manager, I am able to give singular and plural section names (like with 'Article'/'Articles'). I would expect that in the displaying of issues the displayed name would vary depending on whether there is one or more than one item to be shown. Is that indeed the idea of having singular and plural section names. Or is this a feature that is still under development (would be great to have it)?
Problem identified
To my knowledge Section.plural is never used, despite being a field editors can access and being written into a method called issue_display. It is possible it was used but is no longer. The singular form appears on the issue page:

Describe the solution you'd like
Display the plural form if the number of articles in that section is greater than 1. This is probably best done via template logic because a model method on either the issue or the section would need to know about the other one, so couldn't easily be used in a template without being added to the view context, which would be messy.
diff --git a/src/themes/OLH/templates/elements/journal/issue_block.html b/src/themes/OLH/templates/elements/journal/issue_block.html
index f17e9312..2b23b91d 100644
--- a/src/themes/OLH/templates/elements/journal/issue_block.html
+++ b/src/themes/OLH/templates/elements/journal/issue_block.html
@@ -3,7 +3,13 @@
<div>
{% regroup articles by section as grouped_articles %}
{% for section, section_articles in grouped_articles %}
- <h4 class="em">{{ section.name }}</h4>
+ <h4 class="em">
+ {% if section_articles|length >= 2 %}
+ {{ section.plural }}
+ {% else %}
+ {{ section.name }}
+ {% endif %}
+ </h4>
Editor user story
In the manager, I am able to give singular and plural section names (like with 'Article'/'Articles'). I would expect that in the displaying of issues the displayed name would vary depending on whether there is one or more than one item to be shown. Is that indeed the idea of having singular and plural section names. Or is this a feature that is still under development (would be great to have it)?
Problem identified
To my knowledge
Section.pluralis never used, despite being a field editors can access and being written into a method calledissue_display. It is possible it was used but is no longer. The singular form appears on the issue page:Describe the solution you'd like
Display the plural form if the number of articles in that section is greater than 1. This is probably best done via template logic because a model method on either the issue or the section would need to know about the other one, so couldn't easily be used in a template without being added to the view context, which would be messy.