translatable fields

This commit is contained in:
emma peel 2018-07-13 08:14:18 +02:00
parent 95de96827d
commit c33088abd3
4 changed files with 8 additions and 7 deletions

View File

@ -11,7 +11,7 @@ You can update Tor Browser as soon as a new version is released.
<img class="card-img-top" src="/static/images/image4.png" alt="New release alert">
<div class="card-body">
<h4 class="card-title">Tor Browser will prompt you to update the software once a new version has been released.</h4>
<p class="card-text">The Torbutton icon (the little green onion in the top left corner of the browser) will display a yellow triangle.
<p class="card-text">The Torbutton icon (the little green onion in the top left corner of the browser) will display a yellow triangle.</p>
</div>
</div>
</div>
@ -21,7 +21,7 @@ You may see a written indication when Tor Browser opens telling you that an upda
<img class="card-img-top" src="/static/images/image5.png" alt="New release alert">
<div class="card-body">
<h4 class="card-title">Card title</h4>
<p class="card-text">Card text
<p class="card-text">Card text</p>
</div>
</div>
</div>
@ -31,7 +31,7 @@ Tor browser will install the updates.
<img class="card-img-top" src="/static/images/image3.png" alt="New release alert">
<div class="card-body">
<h4 class="card-title">Card title</h4>
<p class="card-text">Card text
<p class="card-text">Card text</p>
</div>
</div>
</div>

View File

@ -15,4 +15,4 @@ translate = True
[fields.seo_slug]
label = Seo Slug
type = string
translate = True
translate = False

View File

@ -1,15 +1,17 @@
[model]
name = Showcase
label = {{ this.title }}
translate = True
[children]
model = topic
order_by = key
translate = True
[fields.seo_slug]
label = Seo Slug
type = string
translate = True
translate = False
[fields.title]
label = Title

View File

@ -15,9 +15,8 @@ translate = True
[fields.key]
label = Key
type = sort_key
translate = False
[fields.seo_slug]
label = Seo Slug
type = string
translate = True
translate = False