mykiwi/mykiwi.blogpublic Fork
⑂ 9ddc3ec
Commits
⬇ Clone ▾
git clone https://git.rickub.com/mykiwi/mykiwi.blog.git
git clone ssh://git@rickub.com/mykiwi/mykiwi.blog.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

Give the masthead's signal title a translation, not an English string

The sha256-of-the-URL tooltip on the masthead's wavy line was hardcoded
in English regardless of the page's language. Moved it into i18n
alongside the site's other strings, in all five languages.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Romain Gautier committed 2026-09-22T22:22:39+02:00 Browse files
9ddc3ec parent: 03340bb
modified blog/i18n/en.toml +3 -0
@@ -10,6 +10,9 @@ other = "Switch to dark theme"
1010 [themeToLight]
1111 other = "Switch to light theme"
1212
13+[signalTitle]
14+other = "sha256 of this page's URL, drawn — {{ .Hash }}"
15+
1316 [minRead]
1417 other = "{{ .Count }} min read"
1518
@@ -10,6 +10,9 @@ other = "Switch to dark theme"
10 [themeToLight]10 [themeToLight]
11 other = "Switch to light theme"11 other = "Switch to light theme"
12 12
13+[signalTitle]
14+other = "sha256 of this page's URL, drawn — {{ .Hash }}"
15+
13 [minRead]16 [minRead]
14 other = "{{ .Count }} min read"17 other = "{{ .Count }} min read"
15 18
modified blog/i18n/es.toml +3 -0
@@ -10,6 +10,9 @@ other = "Cambiar al tema oscuro"
1010 [themeToLight]
1111 other = "Cambiar al tema claro"
1212
13+[signalTitle]
14+other = "sha256 de la URL de esta página, dibujado — {{ .Hash }}"
15+
1316 [minRead]
1417 other = "{{ .Count }} min de lectura"
1518
@@ -10,6 +10,9 @@ other = "Cambiar al tema oscuro"
10 [themeToLight]10 [themeToLight]
11 other = "Cambiar al tema claro"11 other = "Cambiar al tema claro"
12 12
13+[signalTitle]
14+other = "sha256 de la URL de esta página, dibujado — {{ .Hash }}"
15+
13 [minRead]16 [minRead]
14 other = "{{ .Count }} min de lectura"17 other = "{{ .Count }} min de lectura"
15 18
modified blog/i18n/fr.toml +3 -0
@@ -10,6 +10,9 @@ other = "Passer au thème sombre"
1010 [themeToLight]
1111 other = "Passer au thème clair"
1212
13+[signalTitle]
14+other = "sha256 de l’URL de cette page, dessiné — {{ .Hash }}"
15+
1316 [minRead]
1417 other = "{{ .Count }} min de lecture"
1518
@@ -10,6 +10,9 @@ other = "Passer au thème sombre"
10 [themeToLight]10 [themeToLight]
11 other = "Passer au thème clair"11 other = "Passer au thème clair"
12 12
13+[signalTitle]
14+other = "sha256 de l’URL de cette page, dessiné — {{ .Hash }}"
15+
13 [minRead]16 [minRead]
14 other = "{{ .Count }} min de lecture"17 other = "{{ .Count }} min de lecture"
15 18
modified blog/i18n/ja.toml +3 -0
@@ -10,6 +10,9 @@ other = "ダークテーマに切り替える"
1010 [themeToLight]
1111 other = "ライトテーマに切り替える"
1212
13+[signalTitle]
14+other = "このページのURLのsha256を描いたもの — {{ .Hash }}"
15+
1316 [minRead]
1417 other = "{{ .Count }}分で読了"
1518
@@ -10,6 +10,9 @@ other = "ダークテーマに切り替える"
10 [themeToLight]10 [themeToLight]
11 other = "ライトテーマに切り替える"11 other = "ライトテーマに切り替える"
12 12
13+[signalTitle]
14+other = "このページのURLのsha256を描いたもの — {{ .Hash }}"
15+
13 [minRead]16 [minRead]
14 other = "{{ .Count }}分で読了"17 other = "{{ .Count }}分で読了"
15 18
modified blog/i18n/pt.toml +3 -0
@@ -10,6 +10,9 @@ other = "Mudar para o tema escuro"
1010 [themeToLight]
1111 other = "Mudar para o tema claro"
1212
13+[signalTitle]
14+other = "sha256 do URL desta página, desenhado — {{ .Hash }}"
15+
1316 [minRead]
1417 other = "{{ .Count }} min de leitura"
1518
@@ -10,6 +10,9 @@ other = "Mudar para o tema escuro"
10 [themeToLight]10 [themeToLight]
11 other = "Mudar para o tema claro"11 other = "Mudar para o tema claro"
12 12
13+[signalTitle]
14+other = "sha256 do URL desta página, desenhado — {{ .Hash }}"
15+
13 [minRead]16 [minRead]
14 other = "{{ .Count }} min de leitura"17 other = "{{ .Count }} min de leitura"
15 18
modified blog/layouts/partials/masthead.html +1 -1
@@ -13,7 +13,7 @@
1313 <div
1414 class="masthead__signal"
1515 aria-hidden="true"
16- title="sha256 of this page's URL, drawn — {{ $signal.hash }}"
16+ title="{{ i18n "signalTitle" (dict "Hash" $signal.hash) }}"
1717 >
1818 <svg viewBox="0 0 1000 100" preserveAspectRatio="none" focusable="false">
1919 <defs>
@@ -13,7 +13,7 @@
13 <div13 <div
14 class="masthead__signal"14 class="masthead__signal"
15 aria-hidden="true"15 aria-hidden="true"
16- title="sha256 of this page's URL, drawn — {{ $signal.hash }}"16+ title="{{ i18n "signalTitle" (dict "Hash" $signal.hash) }}"
17 >17 >
18 <svg viewBox="0 0 1000 100" preserveAspectRatio="none" focusable="false">18 <svg viewBox="0 0 1000 100" preserveAspectRatio="none" focusable="false">
19 <defs>19 <defs>