Fix UI-text variable and add Danish Translation for Back to top (#1598)

* Added Danish Translation for Back to top

* Update categories.html

* Update tags.html

* Update posts.html
This commit is contained in:
Lars Olesen 2018-03-29 18:45:29 +02:00 committed by Michael Rose
parent b04f420b9f
commit 69fc984e9e
4 changed files with 6 additions and 4 deletions

View file

@ -42,6 +42,7 @@ en: &DEFAULT_EN
loading_label : "Loading..."
search_placeholder_text : "Enter your search term..."
results_found : "Result(s) found"
back_to_top : "Back to top"
en-US:
<<: *DEFAULT_EN
en-CA:
@ -890,6 +891,7 @@ da: &DEFAULT_DA
loading_label : "Indlæser..."
search_placeholder_text : "Hvad leder du efter..."
results_found : "Resultat(er) fundet"
back_to_top : "Tilbage til toppen"
da-DK:
<<: *DEFAULT_DA

View file

@ -41,7 +41,7 @@ layout: archive
{% include archive-single.html type=page.entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section>
{% endif %}
{% endfor %}

View file

@ -24,6 +24,6 @@ layout: archive
{% include archive-single.html type=page.entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section>
{% endfor %}

View file

@ -41,7 +41,7 @@ layout: archive
{% include archive-single.html type=page.entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section>
{% endif %}
{% endfor %}