Skip to content

Commit 49983f4

Browse files
florianRepennFlorian Repennfsbraun
authored
fix: container replace gettext_lazy with gettext (#164)
* container: replace gettext_lazy with gettext * Remove doubly-lazy help text --------- Co-authored-by: Florian Repenn <[email protected]> Co-authored-by: Fabian Braun <[email protected]>
1 parent 42d3691 commit 49983f4

File tree

1 file changed

+2
-1
lines changed
  • djangocms_bootstrap4/contrib/bootstrap4_grid

1 file changed

+2
-1
lines changed

djangocms_bootstrap4/contrib/bootstrap4_grid/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from functools import partial
22

33
from django.db import models
4+
from django.utils.translation import gettext
45
from django.utils.translation import gettext_lazy as _
56

67
from django.utils.translation import ngettext
@@ -37,7 +38,7 @@ class Bootstrap4GridContainer(CMSPlugin):
3738
default=get_first_choice(GRID_CONTAINER_CHOICES),
3839
max_length=255,
3940
help_text=mark_safe_lazy(
40-
_(
41+
gettext(
4142
"Defines if the grid should use fixed width (<code>.container</code>) "
4243
"or fluid width (<code>.container-fluid</code>)."
4344
)

0 commit comments

Comments
 (0)