mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-20 14:10:11 -07:00
Add missing translation messages
This commit is contained in:
parent
e7c97f4f1a
commit
c3aaf4ad57
@ -97,4 +97,34 @@ view.all:
|
|||||||
|
|
||||||
flash:
|
flash:
|
||||||
warning.title: Warning
|
warning.title: Warning
|
||||||
error.title: Error
|
error.title: Error
|
||||||
|
|
||||||
|
empty:
|
||||||
|
description:
|
||||||
|
title: No description
|
||||||
|
message: Sorry, no desctiption found on Brickset
|
||||||
|
instructions:
|
||||||
|
title: No instructions
|
||||||
|
message: Sorry, no instructions found on Brickset
|
||||||
|
images:
|
||||||
|
title: No images
|
||||||
|
message: Sorry, no images found on Brickset
|
||||||
|
reviews:
|
||||||
|
title: No reviews
|
||||||
|
message: Sorry, no reviews found on Brickset
|
||||||
|
models:
|
||||||
|
search.title: No results found for your search criteria
|
||||||
|
|
||||||
|
page.error:
|
||||||
|
title:
|
||||||
|
large:
|
||||||
|
text:
|
||||||
|
|
||||||
|
part:
|
||||||
|
id: ID
|
||||||
|
name: Name
|
||||||
|
category: Category
|
||||||
|
model: Model
|
||||||
|
alternates: Alternate parts
|
||||||
|
molds: Molds of part
|
||||||
|
prints: Prints
|
||||||
|
@ -16,6 +16,6 @@
|
|||||||
<p class="ui text right">{{ 'set.brickset.credit' | trans | raw }}</p>
|
<p class="ui text right">{{ 'set.brickset.credit' | trans | raw }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ blocks.empty('empty.description'|trans) }}
|
{{ blocks.empty('empty.description.title'|trans, 'empty.description.message'|trans) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -24,6 +24,6 @@
|
|||||||
<p class="ui text right">{{ 'set.brickset.credit' | trans | raw }}</p>
|
<p class="ui text right">{{ 'set.brickset.credit' | trans | raw }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ blocks.empty('empty.images') }}
|
{{ blocks.empty('empty.images.title'|trans, 'empty.images.message'|trans) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -35,6 +35,6 @@
|
|||||||
<p class="ui text right">{{ 'set.brickset.credit' | trans | raw }}</p>
|
<p class="ui text right">{{ 'set.brickset.credit' | trans | raw }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ blocks.empty('empty.instructions') }}
|
{{ blocks.empty('empty.instructions.title'|trans, 'empty.instructions.message'|trans) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -72,6 +72,6 @@
|
|||||||
<p class="ui text right">{{ 'set.brickset.credit' | trans | raw }}</p>
|
<p class="ui text right">{{ 'set.brickset.credit' | trans | raw }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ blocks.empty('empty.reviews') }}
|
{{ blocks.empty('empty.reviews.title'|trans, 'empty.reviews.message'|trans) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -80,18 +80,24 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if quantity %}
|
{% if quantity %}
|
||||||
<div class="extra content">
|
<div class="extra content">
|
||||||
<div class="right floated">{{ quantity }}x</div>
|
<div class="right floated">{{ quantity }}x</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro empty(message) %}
|
{% macro empty(title, message = null) %}
|
||||||
<div class="ui center aligned icon header empty">
|
<h3 class="ui center aligned icon header empty">
|
||||||
<p><i class="circular frown icon"></i>{{ message }}</p>
|
<i class="circular frown icon"></i>
|
||||||
</div>
|
<div class="content">
|
||||||
|
{{ title }}
|
||||||
|
{% if message %}
|
||||||
|
<div class="sub header">{{ message }}</div>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</h3>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro ccal2_license(title,author) %}
|
{% macro ccal2_license(title,author) %}
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
{% for model in models %}
|
{% for model in models %}
|
||||||
{{ blocks.model(model) }}
|
{{ blocks.model(model) }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ blocks.empty('empty.models') }}
|
{{ blocks.empty('empty.search.title' | trans )}}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
{% for set in sets %}
|
{% for set in sets %}
|
||||||
{{ blocks.set(set) }}
|
{{ blocks.set(set) }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ blocks.empty('empty.sets') }}
|
{{ blocks.empty('empty.search.title' | trans ) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user