Skip to content

Commit

Permalink
Typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Oct 6, 2023
1 parent 54f736d commit 58228bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion djangocms_blog/cms_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_fields(self, request, obj=None):
def render(self, context, instance, placeholder):
"""Render the plugin."""
context = super().render(context, instance, placeholder)
context["postcontent"] = instance.get_post_contents(context["request"])
context["postcontent_list"] = instance.get_post_contents(context["request"])
context["TRUNCWORDS_COUNT"] = get_setting("POSTS_LIST_TRUNCWORDS_COUNT")
return context

Expand Down
2 changes: 1 addition & 1 deletion djangocms_blog/cms_toolbars.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def populate(self):
with override(self.current_lang):
menu_name = _("Blog")
if current_config and current_config.app_title:
menu_name = current_config.app_title
menu_name = current_config.app_title.capitalize()
admin_menu = self.toolbar.get_or_create_menu("djangocms_blog", menu_name)
object_dict = (
dict(object_name=current_config.object_name.capitalize())
Expand Down

0 comments on commit 58228bd

Please sign in to comment.