[tor-commits] [community/staging] no hardcoded uppercase, for l10n

emmapeel at torproject.org emmapeel at torproject.org
Mon May 27 13:27:26 UTC 2019


commit 5730bdd1ce359214dcac9b3b65c7b9ee80ac82c5
Author: emma peel <emma.peel at riseup.net>
Date:   Mon May 27 14:29:18 2019 +0200

    no hardcoded uppercase, for l10n
---
 templates/header.html | 4 ++--
 templates/hero.html   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/templates/header.html b/templates/header.html
index 7951855..44cd6bc 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -12,10 +12,10 @@
       <div class="row">
         <div class="col-12 content-center pt-5">
           <div class="row">
-            <h6 class="mx-auto text-white text-uppercase">{% block section %}{{ this.section }}{% endblock %}</h6>
+            <h6 class="mx-auto text-white">{% block section %}{{ this.section }}{% endblock %}</h6>
           </div>
           <div class="row pb-5">
-            <h2 class="mx-auto display-3 text-white text-capitalize">{% block title %}{{ this.title }}{% endblock %}</h2>
+            <h2 class="mx-auto display-3 text-white">{% block title %}{{ this.title }}{% endblock %}</h2>
           </div>
         </div>
       </div>
diff --git a/templates/hero.html b/templates/hero.html
index bba42ae..a0c0a5f 100644
--- a/templates/hero.html
+++ b/templates/hero.html
@@ -4,10 +4,10 @@
       <div class="row">
         <div class="col-12 content-center pt-5">
           <div class="row">
-            <h6 class="mx-auto text-white text-uppercase">{% block section %}{{ this.section }}{% endblock %}</h6>
+            <h6 class="mx-auto text-white">{% block section %}{{ this.section }}{% endblock %}</h6>
           </div>
           <div class="row pb-5">
-            <h2 class="mx-auto display-4 text-white text-capitalize">{% block title %}{{ this.title }}{% endblock %}</h2>
+            <h2 class="mx-auto display-4 text-white">{% block title %}{{ this.title }}{% endblock %}</h2>
           </div>
           <div class="row pb-5">
             <h4 class="mx-auto text-white">{% block subtitle %}{{ this.subtitle }}{% endblock %}</h4>





More information about the tor-commits mailing list