Commit 81a613ad authored by emmapeel's avatar emmapeel 🤖
Browse files

remove hardcoded uppercase and capitalization cause of l10n. will-fix: #30678

parent cfecdf3e
......@@ -200,7 +200,7 @@ small, .small{
}
h6 {
text-transform: uppercase;
text-transform: none !important;
font-weight: bold;
color: $purple;
}
......@@ -326,7 +326,7 @@ mark, .mark {
border-radius: 0;
}
.btn {text-transform: capitalize;}
.btn {text-transform: none !important;}
label {
cursor: pointer;
......@@ -425,7 +425,7 @@ a.side-nav.active {
// Badges
//
.badge{
text-transform: uppercase;
text-transform: none !important;
}
//
......
......@@ -41,14 +41,14 @@
</li>
{% endfor %}
</ul>
<a href="https://donate.torproject.org" title="{{ _("Donate") }}"><h5><span class="badge badge-warning p-2 mt-2">{{ _("Donate Now") }}</span></h5></a>
<a href="https://donate.torproject.org" title="{{ _("Donate") }}"><h5><span class="badge badge-warning p-2 mt-2">{{ _("DONATE NOW") }}</span></h5></a>
</div>
</div>
<div class="col-12 d-flex justify-content-center border">
<div class="col-sm-6 offset-lx-1 offset-md-2 offset-sm-0 mt-5 mt-5 pb-5">
<p class="text-primary-light text-uppercase">{{ _('Subscribe to our Newsletter') }}</p>
<p class="text-primary-light">{{ _('SUBSCRIBE TO OUR NEWSLETTER') }}</p>
<p class="text-light">{{ _('Get monthly updates and opportunities from the Tor Project:') }}</p>
<p class="w"><a class="btn btn-small btn-dark mt-2 text-white text-uppercase active" role="button" aria-pressed="true" href="https://newsletter.torproject.org/">{{ _('Sign up') }}</a></p>
<p class="w"><a class="btn btn-small btn-dark mt-2 text-white active" role="button" aria-pressed="true" href="https://newsletter.torproject.org/">{{ _('SIGN UP') }}</a></p>
</div>
<div class="col-md-4 col-lg-4 ml-2 mt-5 pb-5">
<div class="row">
......
......@@ -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>
......
<div class="row">
<h6 class="mx-auto text-white text-uppercase">{% block section %}Defend yourself{% endblock %}</h6>
<h6 class="mx-auto text-white">{% block section %}{{ _('DEFEND YOURSELF') }}{% endblock %}</h6>
</div>
<div class="row p-5">
<h2 class="mx-auto display-3 text-white text-capitalize text-center">{% block title %}{{ this.title }}{% endblock %}</h2>
<h2 class="mx-auto display-3 text-white text-center">{% block title %}{{ this.title }}{% endblock %}</h2>
</div>
<div class="row">
<h6 class="mx-auto text-white text-uppercase">{% block section %}Defend yourself{% endblock %}</h6>
<h6 class="mx-auto text-white">{% block section %}{{ _('DEFEND YOURSELF') }}{% endblock %}</h6>
</div>
<div class="row p-5">
<h2 class="mx-auto display-3 text-white text-capitalize text-center">{% block title %}{{ this.title }}{% endblock %}</h2>
<h2 class="mx-auto display-3 text-white text-center">{% block title %}{{ this.title }}{% endblock %}</h2>
</div>
<div class="row">
<h6 class="mx-auto text-white text-uppercase">{% block section %}Grow the network{% endblock %}</h6>
<h6 class="mx-auto text-white">{% block section %}{{ _('GROW THE NETWORK') }}{% endblock %}</h6>
</div>
<div class="row p-5">
<h2 class="mx-auto display-3 text-white text-capitalize text-center">{% block title %}{{ this.title }}{% endblock %}</h2>
<h2 class="mx-auto display-3 text-white text-center">{% block title %}{{ this.title }}{% endblock %}</h2>
</div>
......@@ -3,8 +3,8 @@
<div class="card h-100 my-2">
<div class="card-body">
<h5 class="card-title human-name">{{ item.name }}</h5>
<h6 class="card-subtitle mb-2 text-primary nick text-capitalize">{{ item.title }}</h6>
<h6 class="card-subtitle mb-2 text-primary nick text-capitalize">{{ item.nickname }}{% if item.twitter_handle %} - <a href="https://twitter.com/{{ item.twitter_handle }}">@{{ item.twitter_handle }}</a>{% endif %}</h6>
<h6 class="card-subtitle mb-2 text-primary nick">{{ item.title }}</h6>
<h6 class="card-subtitle mb-2 text-primary nick">{{ item.nickname }}{% if item.twitter_handle %} - <a href="https://twitter.com/{{ item.twitter_handle }}">@{{ item.twitter_handle }}</a>{% endif %}</h6>
{{ item.description }}
</div>
</div>
......
......@@ -9,7 +9,7 @@
<img alt="{{ 'The Tor Project' }}" src="{{ '/static/images/tor-logo@2x.png'|asseturl }}" >
<span class="sr-only">Tor Logo</span>
</a>
<a href="https://donate.torproject.org" title="{{ _("Donate") }}"><h5><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></h5></a>
<a href="https://donate.torproject.org" title="{{ _("Donate") }}"><h5><span class="badge badge-warning p-2">{{ _("DONATE NOW") }}</span></h5></a>
<label for="nav-toggle">
<a class="btn btn-lg btn-primary navbar-toggler text-white p-3" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
{{ _("Menu") }} <span class="navbar-toggler-icon ml-1"></span>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment