From 08d842f171dfdfe97fafe888fe1a19ecd9f9cc28 Mon Sep 17 00:00:00 2001
From: Sarah Grefalda <sarahrhgrefalda@gmail.com>
Date: Fri, 01 Oct 2021 17:20:46 +0000
Subject: [PATCH] Use i18n for site navigation link tooltips (#392)

---
 i18n/uk.toml                          |    5 ++
 i18n/bg.toml                          |    5 ++
 i18n/zh-tw.toml                       |    5 ++
 i18n/zh.toml                          |    5 ++
 i18n/hu.toml                          |    5 ++
 i18n/ru.toml                          |    3 +
 i18n/es.toml                          |    5 ++
 i18n/sv.toml                          |    5 ++
 i18n/pt.toml                          |    3 +
 i18n/de.toml                          |    5 ++
 i18n/nl.toml                          |    5 ++
 i18n/en.toml                          |    5 ++
 i18n/tr.toml                          |    3 +
 layouts/partials/site-navigation.html |    2 
 i18n/it.toml                          |    5 ++
 i18n/fr.toml                          |    5 ++
 i18n/no.toml                          |    5 ++
 17 files changed, 62 insertions(+), 14 deletions(-)

diff --git a/i18n/bg.toml b/i18n/bg.toml
index 1186125..9b77647 100644
--- a/i18n/bg.toml
+++ b/i18n/bg.toml
@@ -32,4 +32,7 @@
 other = "Изпрати"
 
 [taxonomyPageList]
-other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
\ No newline at end of file
+other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} страница"
\ No newline at end of file
diff --git a/i18n/de.toml b/i18n/de.toml
index e44eb6e..11c8fdb 100644
--- a/i18n/de.toml
+++ b/i18n/de.toml
@@ -32,4 +32,7 @@
 other = "Senden"
 
 [taxonomyPageList]
-other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
\ No newline at end of file
+other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} Seite"
\ No newline at end of file
diff --git a/i18n/en.toml b/i18n/en.toml
index 73b1ac7..5adbe27 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -32,4 +32,7 @@
 other = "Send"
 
 [taxonomyPageList]
-other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
\ No newline at end of file
+other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} page"
\ No newline at end of file
diff --git a/i18n/es.toml b/i18n/es.toml
index 849f14e..ed7c31f 100644
--- a/i18n/es.toml
+++ b/i18n/es.toml
@@ -32,4 +32,7 @@
 other = "Enviar"
 
 [taxonomyPageList]
-other = "A continuación encontrará las páginas asociadas a “{{ .Title }}”"
\ No newline at end of file
+other = "A continuación encontrará las páginas asociadas a “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} pagina"
\ No newline at end of file
diff --git a/i18n/fr.toml b/i18n/fr.toml
index 6fb2cc5..0ce112c 100644
--- a/i18n/fr.toml
+++ b/i18n/fr.toml
@@ -32,4 +32,7 @@
 other = "Envoyer"
 
 [taxonomyPageList]
-other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
\ No newline at end of file
+other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} page"
\ No newline at end of file
diff --git a/i18n/hu.toml b/i18n/hu.toml
index 71e389b..4d6257d 100644
--- a/i18n/hu.toml
+++ b/i18n/hu.toml
@@ -32,4 +32,7 @@
 other = "Küldés"
 
 [taxonomyPageList]
-other = "Ezen a lapon a(z) {{ .Title }} kategóriába tartozó cikkeket találod"
\ No newline at end of file
+other = "Ezen a lapon a(z) {{ .Title }} kategóriába tartozó cikkeket találod"
+
+[pageTitle]
+other = "{{ .Name }} oldal"
\ No newline at end of file
diff --git a/i18n/it.toml b/i18n/it.toml
index fc46af5..417f4ac 100644
--- a/i18n/it.toml
+++ b/i18n/it.toml
@@ -32,4 +32,7 @@
 other = "Invia"
 
 [taxonomyPageList]
-other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
\ No newline at end of file
+other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} pagina"
\ No newline at end of file
diff --git a/i18n/nl.toml b/i18n/nl.toml
index 0d80c31..eedeeeb 100644
--- a/i18n/nl.toml
+++ b/i18n/nl.toml
@@ -32,4 +32,7 @@
 other = "Stuur"
 
 [taxonomyPageList]
-other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
\ No newline at end of file
+other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} pagina"
\ No newline at end of file
diff --git a/i18n/no.toml b/i18n/no.toml
index 9628634..d6165f6 100644
--- a/i18n/no.toml
+++ b/i18n/no.toml
@@ -32,4 +32,7 @@
 other = "Sende"
 
 [taxonomyPageList]
-other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
\ No newline at end of file
+other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} side"
\ No newline at end of file
diff --git a/i18n/pt.toml b/i18n/pt.toml
index 255e70d..024cd42 100644
--- a/i18n/pt.toml
+++ b/i18n/pt.toml
@@ -33,3 +33,6 @@
 
 [taxonomyPageList]
 other = "Abaixo você encontrará as páginas que utilizam o termo de taxonomia “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} página"
\ No newline at end of file
diff --git a/i18n/ru.toml b/i18n/ru.toml
index d57c2ef..28f33d1 100644
--- a/i18n/ru.toml
+++ b/i18n/ru.toml
@@ -33,3 +33,6 @@
 
 [taxonomyPageList]
 other = "Ниже вы найдете страницы, на которых используется термин таксономии “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} страница"
\ No newline at end of file
diff --git a/i18n/sv.toml b/i18n/sv.toml
index 5fc9832..fbf7121 100644
--- a/i18n/sv.toml
+++ b/i18n/sv.toml
@@ -32,4 +32,7 @@
 other = "Skicka"
 
 [taxonomyPageList]
-other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
\ No newline at end of file
+other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} sida"
\ No newline at end of file
diff --git a/i18n/tr.toml b/i18n/tr.toml
index 62af5e8..0fd8cbc 100644
--- a/i18n/tr.toml
+++ b/i18n/tr.toml
@@ -33,3 +33,6 @@
 
 [taxonomyPageList]
 other = "Aşağıda, “{{ .Title }}” sınıflandırma terimini kullanan sayfaları bulacaksınız."
+
+[pageTitle]
+other = "{{ .Name }} sayfa"
\ No newline at end of file
diff --git a/i18n/uk.toml b/i18n/uk.toml
index cd87311..116b27a 100644
--- a/i18n/uk.toml
+++ b/i18n/uk.toml
@@ -32,4 +32,7 @@
 other = "Надіслати"
 
 [taxonomyPageList]
-other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
\ No newline at end of file
+other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
+
+[pageTitle]
+other = "{{ .Name }} сторінки"
\ No newline at end of file
diff --git a/i18n/zh-tw.toml b/i18n/zh-tw.toml
index dc37230..a47ff35 100644
--- a/i18n/zh-tw.toml
+++ b/i18n/zh-tw.toml
@@ -32,4 +32,7 @@
 other = "送出"
 
 [taxonomyPageList]
-other = "標籤為 “{{ .Title }}” 的頁面如下"
\ No newline at end of file
+other = "標籤為 “{{ .Title }}” 的頁面如下"
+
+[pageTitle]
+other = "{{ .Name }} 頁"
\ No newline at end of file
diff --git a/i18n/zh.toml b/i18n/zh.toml
index 65ce598..aba56de 100644
--- a/i18n/zh.toml
+++ b/i18n/zh.toml
@@ -32,4 +32,7 @@
 other = "发送"
 
 [taxonomyPageList]
-other = "标签为“{{ .Title }}”的页面如下"
\ No newline at end of file
+other = "标签为“{{ .Title }}”的页面如下"
+
+[pageTitle]
+other = "{{ .Name }} 页"
\ No newline at end of file
diff --git a/layouts/partials/site-navigation.html b/layouts/partials/site-navigation.html
index d73c66d..96b7509 100644
--- a/layouts/partials/site-navigation.html
+++ b/layouts/partials/site-navigation.html
@@ -13,7 +13,7 @@
         <ul class="pl0 mr3">
           {{ range .Site.Menus.main }}
           <li class="list f5 f4-ns fw4 dib pr3">
-            <a class="hover-white no-underline white-90" href="{{ .URL }}" title="{{ .Name }} page">
+            <a class="hover-white no-underline white-90" href="{{ .URL }}" title="{{ i18n "pageTitle" . }}">
               {{ .Name }}
             </a>
           </li>

--
Gitblit v1.10.0