From fe01d0e7afd53ef499567ff8bce4f2ea0b2355e6c9cac4a7ed2647fa749904d3 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson <> Date: Sat, 5 Sep 2026 00:00:00 +0000 Subject: Remove arbitrary chars inside i18n strings ReadingTime is directly passed to the i18n fn, so the correct format for the i18n string is simply "{{ . }}", not "{{ .Count }}". --- i18n/en.toml | 2 +- i18n/es.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/en.toml b/i18n/en.toml index 9f122c8..b82ce91 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,5 +1,5 @@ [readingTime] - other = "{{ .Count }}-minute read" + other = "{{ . }}-minute read" [returnHome] other = "Return to homepage" diff --git a/i18n/es.toml b/i18n/es.toml index 781f115..2a7ff92 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -1,6 +1,6 @@ [readingTime] one = "1 minuto para leer" - other = "{{ .Count }} minutos para leer" + other = "{{ . }} minutos para leer" [returnHome] other = "Regresar a la página de inicio" -- cgit v1.2.3