From 48eacef8ef38e4583dd8034073230daa847763a4 Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Fri, 22 Dec 2017 00:59:53 +0530 Subject: [PATCH] typographical fixes --- ungleich_page/models.py | 2 +- .../ungleich/_header_with_background_video_slider_item.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ungleich_page/models.py b/ungleich_page/models.py index 272ac433..ad44c161 100644 --- a/ungleich_page/models.py +++ b/ungleich_page/models.py @@ -168,7 +168,7 @@ class UngleichHeaderWithBackgroundVideoSliderItem(CMSPlugin): blank=True, related_name="ungleich_header_item_video", on_delete=models.SET_NULL, - help_text='Leavig this blank will make the image as the background.' + help_text='Leaving this blank will make the image as the background.' ) heading = models.CharField( blank=True, null=True, max_length=100, diff --git a/ungleich_page/templates/ungleich_page/ungleich/_header_with_background_video_slider_item.html b/ungleich_page/templates/ungleich_page/ungleich/_header_with_background_video_slider_item.html index bec2d092..a576684f 100644 --- a/ungleich_page/templates/ungleich_page/ungleich/_header_with_background_video_slider_item.html +++ b/ungleich_page/templates/ungleich_page/ungleich/_header_with_background_video_slider_item.html @@ -20,6 +20,7 @@

{{ instance.description }}

{% endif %} {% if instance.btn_link %} - {{ instance.btn_text|default:"Learn More" }} + {% trans "Learn More" as default_btn_text %} + {{ instance.btn_text|default:default_btn_text }} {% endif %}