Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion coderedcms/blocks/base_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ class CoderedAdvColumnSettings(CoderedAdvSettings):
choices=cr_settings['FRONTEND_COL_BREAK_CHOICES'],
default=cr_settings['FRONTEND_COL_BREAK_DEFAULT'],
required=False,
verbose_name=_('Column Breakpoint'),
# verbose_name=_('Column Breakpoint'),
label=_('Column Breakpoint'),
help_text=_('Screen size at which the column will expand horizontally or stack vertically.'), # noqa
)

Expand Down
3 changes: 2 additions & 1 deletion coderedcms/blocks/html_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class TableBlock(BaseBlock):
class Meta:
template = 'coderedcms/blocks/table_block.html'
icon = 'fa-table'
label = 'Table'
label = _('Table')


class ImageBlock(BaseBlock):
Expand Down Expand Up @@ -296,3 +296,4 @@ class Meta:
class RichTextBlock(blocks.RichTextBlock):
class Meta:
template = 'coderedcms/blocks/rich_text_block.html'
label = _('Text')
4 changes: 2 additions & 2 deletions coderedcms/blocks/layout_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ColumnBlock(BaseLayoutBlock):
class Meta:
template = 'coderedcms/blocks/column_block.html'
icon = 'placeholder'
label = 'Column'
label = _('Column')


class GridBlock(BaseLayoutBlock):
Expand Down Expand Up @@ -109,4 +109,4 @@ class HeroBlock(BaseLayoutBlock):
class Meta:
template = 'coderedcms/blocks/hero_block.html'
icon = 'fa-newspaper-o'
label = 'Hero Unit'
label = _('Hero Unit')
2 changes: 1 addition & 1 deletion coderedcms/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class Meta:
max_length=16,
choices=FORM_FIELD_CHOICES,
blank=False,
default='Single line text'
default=_('Single line text')
)


Expand Down
Binary file added coderedcms/locale/zh_Hans/LC_MESSAGES/django.mo
Binary file not shown.
Loading