From 970e9f9eba246a096b570d547384fd0bc6c01181 Mon Sep 17 00:00:00 2001 From: Lars Olesen Date: Thu, 29 Mar 2018 18:45:29 +0200 Subject: [PATCH] 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 --- _data/ui-text.yml | 2 ++ _layouts/categories.html | 2 +- _layouts/posts.html | 4 ++-- _layouts/tags.html | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/_data/ui-text.yml b/_data/ui-text.yml index 91517e8..968118e 100644 --- a/_data/ui-text.yml +++ b/_data/ui-text.yml @@ -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 diff --git a/_layouts/categories.html b/_layouts/categories.html index 9c6d77b..0c7521f 100644 --- a/_layouts/categories.html +++ b/_layouts/categories.html @@ -41,7 +41,7 @@ layout: archive {% include archive-single.html type=page.entries_layout %} {% endfor %} - {{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} ↑ + {{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑ {% endif %} {% endfor %} diff --git a/_layouts/posts.html b/_layouts/posts.html index d70ce06..76d25f9 100644 --- a/_layouts/posts.html +++ b/_layouts/posts.html @@ -24,6 +24,6 @@ layout: archive {% include archive-single.html type=page.entries_layout %} {% endfor %} - {{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} ↑ + {{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑ -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/_layouts/tags.html b/_layouts/tags.html index f81986b..1c0e702 100644 --- a/_layouts/tags.html +++ b/_layouts/tags.html @@ -41,7 +41,7 @@ layout: archive {% include archive-single.html type=page.entries_layout %} {% endfor %} - {{ site.data.text[site.locale].back_to_top | default: 'Back to Top' }} ↑ + {{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑ {% endif %} {% endfor %} -- 2.45.2