ajustement de textes pour ne pas parler d'"éléments" (#74144) #86

Merged
fpeters merged 2 commits from wip/74144-rewording-for-workflow-action into main 2023-02-03 11:10:14 +01:00
3 changed files with 5 additions and 5 deletions

View File

@ -386,7 +386,7 @@ class FieldsDirectory(Directory):
r += htmltext('</p>')
r += htmltext('<p class="hint">%s</p>') % _(
'Use drag and drop with the handles to reorder items.'
'Use drag and drop with the handles to reorder fields.'
)
extra_classes = []

View File

@ -1382,13 +1382,13 @@ class GlobalActionPage(WorkflowStatusPage):
r += htmltext('<div class="bo-block">')
r += htmltext('<h2>%s</h2>') % _('Actions')
if not self.action.items:
r += htmltext('<p>%s</p>') % _('There are not yet any items in this action.')
r += htmltext('<p>%s</p>') % _('There are not yet any actions.')
else:
if self.workflow.is_readonly():
r += htmltext('<ul id="items-list" class="biglist readonly">')
else:
r += htmltext('<p class="items">')
r += str(_('Use drag and drop with the handles to reorder items.'))
r += str(_('Use drag and drop with the handles to reorder actions.'))
r += htmltext('</p>')
r += htmltext('<ul id="items-list" class="biglist sortable">')
for item in self.action.items:

View File

@ -17,7 +17,7 @@
{% if not status.items %}
<div class="infonotice">
{% trans "There are not yet any items in this status." %}
{% trans "There are not yet any actions in this status." %}
</div>
{% else %}
{% spaceless %}
@ -25,7 +25,7 @@
{% if workflow.is_readonly %}
<ul id="items-list" class="biglist sortable readonly">
{% else %}
<p class="hint">{% trans "Use drag and drop with the handles to reorder items." %}</p>
<p class="hint">{% trans "Use drag and drop with the handles to reorder actions." %}</p>
<ul id="items-list" class="biglist sortable">
{% endif %}
{% for item in status.items %}