diff --git a/i18n/de.toml b/i18n/de.toml index 41b4e700..ad31b2f5 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -37,15 +37,15 @@ other = "Tags" [posts] other = "Artikel" - -[taxonomy.totalwordCount] -one = "" -other = "" # === Taxonomy === # === Section === [section] recentlyUpdated = "Zuletzt aktualisiert" + +[section.totalWordCount] +one = "" +other = "" # === Section === # === Pagination === @@ -122,6 +122,9 @@ encryptyAgain = "" one = "Ein Wort" other = "{{ .Count }} Wörter" +[single.fuzzywordcount] +other = "{{ .Count }} Wörter (ungefähr)" + [single.readingTime] one = "Eine Minute" other = "{{ .Count }} Minuten" diff --git a/i18n/en.toml b/i18n/en.toml index 53adbc8b..ac99bbb0 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -36,14 +36,15 @@ other = "Tags" [posts] other = "Posts" -[taxonomy.totalwordCount] -one = "Total one word" -other = "Total {{ .Count }} words" # === Taxonomy === # === Section === [section] recentlyUpdated = "Recently Updated" + +[section.totalWordCount] +one = "Total one word" +other = "Total {{ .Count }} words" # === Section === # === Pagination === @@ -119,6 +120,9 @@ encryptyAgain = "Encrypt again" one = "One word" other = "{{ .Count }} words" +[single.fuzzyWordCount] +other = "About {{ .Count }} words" + [single.readingTime] one = "One minute" other = "{{ .Count }} minutes" diff --git a/i18n/es.toml b/i18n/es.toml index 9ed24b22..59cc03b1 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -37,15 +37,15 @@ other = "Etiquetas" [posts] other = "Artículos" - -[taxonomy.totalwordCount] -one = "" -other = "" # === Taxonomy === # === Section === [section] recentlyUpdated = "Actualizado recientemente" + +[section.totalWordCount] +one = "" +other = "" # === Section === # === Pagination === @@ -122,6 +122,9 @@ encryptyAgain = "" one = "Una palabra" other = "{{ .Count }} palabras" +[single.fuzzyWordCount] +other = "Aproximadamente {{ .Count }} palabras" + [single.readingTime] one = "Un minuto" other = "{{ .Count }} minutos" diff --git a/i18n/fr.toml b/i18n/fr.toml index 1ccb1015..aaca0aa9 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -36,15 +36,15 @@ other = "Tags" [posts] other = "Posts" - -[taxonomy.totalwordCount] -one = "Nombre de mots: 1" -other = "Nombre de mots: {{ .Count }}" # === Taxonomy === # === Section === [section] recentlyUpdated = "Récemment Modifié" + +[section.totalWordCount] +one = "Nombre de mots: 1" +other = "Nombre de mots: {{ .Count }}" # === Section === # === Pagination === @@ -121,6 +121,9 @@ encryptyAgain = "Chiffrer à nouveau" one = "1 mot" other = "{{ .Count }} mots" +[single.fuzzyWordCount] +other = "environ {{ .Count }} mots" + [single.readingTime] one = "1 minute" other = "{{ .Count }} minutes" diff --git a/i18n/it.toml b/i18n/it.toml index d36ad72a..69e395f4 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -37,15 +37,15 @@ other = "Etichette" [posts] other = "Articoli" - -[taxonomy.totalwordCount] -one = "" -other = "" # === Taxonomy === # === Section === [section] recentlyUpdated = "Aggiornati di recente" + +[section.totalWordCount] +one = "" +other = "" # === Section === # === Pagination === @@ -122,6 +122,9 @@ encryptyAgain = "" one = "Una parola" other = "{{ .Count }} parole" +[single.fuzzyWordCount] +other = "circa {{ .Count }} parole" + [single.readingTime] one = "Un minuto" other = "{{ .Count }} minuti" diff --git a/i18n/pl.toml b/i18n/pl.toml index 931d85c2..3b684607 100644 --- a/i18n/pl.toml +++ b/i18n/pl.toml @@ -37,15 +37,15 @@ other = "Tagi" [posts] other = "Posty" - -[taxonomy.totalwordCount] -one = "" -other = "" # === Taxonomy === # === Section === [section] recentlyUpdated = "Ostatnio zaktualizowane" + +[section.totalWordCount] +one = "" +other = "" # === Section === # === Pagination === @@ -121,6 +121,9 @@ encryptyAgain = "" one = "Jedno słowo" other = "{{ .Count }} słów" +[single.fuzzyWordCount] +other = "Około {{ .Count }} słów" + [single.readingTime] one = "Jedna minuta" other = "{{ .Count }} minuty" diff --git a/i18n/pt-BR.toml b/i18n/pt-BR.toml index 122fde3c..e72710fa 100644 --- a/i18n/pt-BR.toml +++ b/i18n/pt-BR.toml @@ -37,15 +37,15 @@ other = "Tags" [posts] other = "Posts" - -[taxonomy.totalwordCount] -one = "" -other = "" # === Taxonomy === # === Section === [section] recentlyUpdated = "Recentemente atualizado" + +[section.totalWordCount] +one = "" +other = "" # === Section === # === Pagination === @@ -122,6 +122,9 @@ encryptyAgain = "" one = "Uma palavra" other = "{{ .Count }} palavras" +[single.fuzzyWordCount] +other = "" + [single.readingTime] one = "Um minuto" other = "{{ .Count }} minutos" diff --git a/i18n/ro.toml b/i18n/ro.toml index 71304bc2..15f86832 100644 --- a/i18n/ro.toml +++ b/i18n/ro.toml @@ -37,15 +37,15 @@ other = "Etichete" [posts] other = "Articole" - -[taxonomy.totalwordCount] -one = "" -other = "" # === Taxonomy === # === Section === [section] recentlyUpdated = "Actualizat recent" + +[section.totalWordCount] +one = "" +other = "" # === Section === # === Pagination === @@ -122,6 +122,9 @@ encryptyAgain = "" one = "Un cuvânt" other = "{{ .Count }} cuvinte" +[single.fuzzyWordCount] +other = "Aproximativ {{ .Count }} cuvinte" + [single.readingTime] one = "Un minut" other = "{{ .Count }} minute" diff --git a/i18n/ru.toml b/i18n/ru.toml index 0fc14cd5..b7ef9401 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -37,15 +37,15 @@ other = "Тэги" [posts] other = "Статьи" - -[taxonomy.totalwordCount] -one = "" -other = "" # === Taxonomy === # === Section === [section] recentlyUpdated = "Недавно обновленные" + +[section.totalWordCount] +one = "" +other = "" # === Section === # === Pagination === @@ -122,6 +122,9 @@ encryptyAgain = "" one = "Одно слово" other = "{{ .Count }} слов" +[single.fuzzyWordCount] +other = "Около {{ .Count }} слов" + [single.readingTime] one = "Одна минута" other = "{{ .Count }} минут" diff --git a/i18n/sr.toml b/i18n/sr.toml index 6615263d..85070176 100644 --- a/i18n/sr.toml +++ b/i18n/sr.toml @@ -37,15 +37,15 @@ other = "Тагови" [posts] other = "Постови" - -[taxonomy.totalwordCount] -one = "" -other = "" # === Taxonomy === # === Section === [section] recentlyUpdated = "Недавно Ажурирано" + +[section.totalWordCount] +one = "" +other = "" # === Section === # === Pagination === @@ -121,6 +121,9 @@ encryptyAgain = "" one = "Једна реч" other = "{{ .Count }} речи" +[single.fuzzyWordCount] +other = "Око {{ .Count }} речи" + [single.readingTime] one = "Један минут" other = "{{ .Count }} минута" diff --git a/i18n/vi.toml b/i18n/vi.toml index a8a0acf0..78867023 100644 --- a/i18n/vi.toml +++ b/i18n/vi.toml @@ -36,15 +36,15 @@ other = "Nhãn" [posts] other = "Bài viết" - -[taxonomy.totalwordCount] -one = "" -other = "" # === Taxonomy === # === Section === [section] recentlyUpdated = "Mới nhất" + +[section.totalWordCount] +one = "" +other = "" # === Section === # === Pagination === @@ -121,6 +121,9 @@ encryptyAgain = "" one = "One word" other = "{{ .Count }} từ" +[single.fuzzyWordCount] +other = "Khoảng {{ .Count }} từ" + [single.readingTime] one = "One minute" other = "{{ .Count }} phút" diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml index 07768463..09894eb5 100644 --- a/i18n/zh-CN.toml +++ b/i18n/zh-CN.toml @@ -36,14 +36,14 @@ other = "标签" [posts] other = "文章" - -[taxonomy.totalwordCount] -other = "总计约 {{ .Count }} 字" # === Taxonomy === # === Section === [section] recentlyUpdated = "最近更新" + +[section.totalWordCount] +other = "总计约 {{ .Count }} 字" # === Section === # === Pagination === @@ -118,6 +118,9 @@ password = "密码" encryptyAgain = "重新加密" [single.wordCount] +other = "{{ .Count }} 字" + +[single.fuzzyWordCount] other = "约 {{ .Count }} 字" [single.readingTime] diff --git a/i18n/zh-TW.toml b/i18n/zh-TW.toml index 68c1e61f..b59ab445 100644 --- a/i18n/zh-TW.toml +++ b/i18n/zh-TW.toml @@ -36,14 +36,14 @@ other = "標籤" [posts] other = "文章" - -[taxonomy.totalwordCount] -other = "總計約 {{ .Count }} 字" # === Taxonomy === # === Section === [section] recentlyUpdated = "最近更新" + +[section.totalWordCount] +other = "總計約 {{ .Count }} 字" # === Section === # === Pagination === @@ -118,6 +118,9 @@ password = "密碼" encryptyAgain = "重新加密" [single.wordCount] +other = "{{ .Count }} 字" + +[single.fuzzyWordCount] other = "約 {{ .Count }} 字" [single.readingTime] diff --git a/layouts/_default/section.html b/layouts/_default/section.html index a5112f84..07cd0cb1 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -21,8 +21,8 @@ {{- if ge $humanizedNum 1000 -}} {{- $humanizedNum = printf "%.2fK" (div $humanizedNum 1000.0) -}} {{- end -}} -
- {{- dict "Class" "fa-regular fa-keyboard fa-fw" | partial "plugin/icon.html" }} {{ T "taxonomy.totalwordCount" (dict "Count" $humanizedNum) -}} +
+ {{- dict "Class" "fa-regular fa-keyboard fa-fw" | partial "plugin/icon.html" }} {{ T "section.totalWordCount" (dict "Count" $humanizedNum) -}}
{{- end -}} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 4e9105fa..1c356561 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -74,9 +74,9 @@ {{- end -}} {{- if $params.wordCount -}} - + {{- dict "Class" "fa-solid fa-pencil-alt fa-fw me-1" | partial "plugin/icon.html" -}} - {{- T "single.wordCount" .WordCount -}} + {{- T "single.fuzzyWordCount" .FuzzyWordCount -}} {{- end -}} {{- if $params.readingTime -}}