agendas: change wording on minimal_booking_time (#76303)
gitea/chrono/pipeline/head This commit looks good
Details
gitea/chrono/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c866e7e4a4
commit
c7e9c0cd81
|
@ -19,7 +19,7 @@ class Migration(migrations.Migration):
|
|||
default=datetime.time(0, 0),
|
||||
null=True,
|
||||
help_text='Ex.: 08:00:00. If left empty, available events will be those that are later than the current time.',
|
||||
verbose_name='Minimal booking time',
|
||||
verbose_name='Booking opening time',
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
|
@ -276,7 +276,7 @@ class Agenda(models.Model):
|
|||
blank=True,
|
||||
)
|
||||
minimal_booking_time = models.TimeField(
|
||||
verbose_name=_('Minimal booking time'),
|
||||
verbose_name=_('Booking opening time'),
|
||||
default=datetime.time(0, 0, 0), # booking is possible starting and finishin at 00:00
|
||||
help_text=_(
|
||||
'Ex.: 08:00:00. If left empty, available events will be those that are later than the current time.'
|
||||
|
|
|
@ -256,8 +256,8 @@ msgid "Events type"
|
|||
msgstr "Type d’événements"
|
||||
|
||||
#: agendas/models.py
|
||||
msgid "Minimal booking time"
|
||||
msgstr "Heure de réservation minimale"
|
||||
msgid "Booking opening time"
|
||||
msgstr "Horaire d’ouverture des réservations"
|
||||
|
||||
#: agendas/models.py
|
||||
msgid ""
|
||||
|
@ -2213,8 +2213,8 @@ msgid "Maximal booking delay:"
|
|||
msgstr "Délai de réservation maximal :"
|
||||
|
||||
#: manager/templates/chrono/manager_agenda_settings.html
|
||||
msgid "Minimal booking time:"
|
||||
msgstr "Heure de réservation minimale :"
|
||||
msgid "Booking opening time:"
|
||||
msgstr "Horaire d’ouverture des réservations :"
|
||||
|
||||
#: manager/templates/chrono/manager_agenda_settings.html
|
||||
msgid "current time"
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
{% blocktrans count count=agenda.maximal_booking_delay %}{{ count }} day{% plural %}{{ count }} days{% endblocktrans %}
|
||||
{% else %}<i>{% trans "undefined" %}</i>{% endif %}</li>
|
||||
{% if agenda.minimal_booking_delay is not None or agenda.maximal_booking_delay is not None %}
|
||||
<li>{% trans "Minimal booking time:" %}
|
||||
<li>{% trans "Booking opening time:" %}
|
||||
{% if agenda.minimal_booking_time is not None %}{{ agenda.minimal_booking_time }}{% else %}{% trans "current time" %}{% endif %}</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue