[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tpo/translations] Fix how direction and order is applied on text and content
commit 22ad2b69d76ee1b581225100a80cc7e08399eb03
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Mon Nov 25 20:00:30 2019 +0100
Fix how direction and order is applied on text and content
---
templates/about.html | 2 +-
templates/homepage.html | 2 +-
templates/layout.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/templates/about.html b/templates/about.html
index a0dd26d..75c32be 100644
--- a/templates/about.html
+++ b/templates/about.html
@@ -3,7 +3,7 @@
{% include 'header.html' %}
<div class="container-fluid">
<div class="row flex-xl-nowrap">
- {% set locale = bag('alternatives', alternative) %}
+ {% set locale = bag('alternatives', this.alt) %}
<main role="main" class="mx-auto col-12 {{ locale.order }} {{ locale.direction }}">
{% if this.path == "/about" %}
{% set p1 = this.children.get('history') %}
diff --git a/templates/homepage.html b/templates/homepage.html
index c78cbe4..4daff16 100644
--- a/templates/homepage.html
+++ b/templates/homepage.html
@@ -7,7 +7,7 @@
</div>
<div class="container-fluid">
<div class="row flex-xl-nowrap">
- {% set locale = bag('alternatives', alternative) %}
+ {% set locale = bag('alternatives', this.alt) %}
<main role="main" class="mx-auto col-12 {{ locale.order }} {{ locale.direction }}">
{% include this.html %}
{% if this.parent.path != "/download" %}
diff --git a/templates/layout.html b/templates/layout.html
index 27ffb60..ab604b8 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -3,7 +3,7 @@
{% include 'header.html' %}
<div class="container-fluid">
<div class="row flex-xl-nowrap">
- {% set locale = bag('alternatives', alternative) %}
+ {% set locale = bag('alternatives', this.alt) %}
<main role="main" class="mx-auto col-12 {{ locale.order }} {{ locale.direction }}">
<div class="container py-3 mt-5 preamble">
{{ this.body }}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits