diff --git a/i18n/de.yaml b/i18n/de.yaml index 631707bd..53f5c894 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -37,4 +37,3 @@ sharing: shortcode: recent_articles: "Kürzlich" - icon_none: "Icon nicht gefunden." diff --git a/i18n/en.yaml b/i18n/en.yaml index 6cb5c3d5..65f7582e 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -37,4 +37,3 @@ sharing: shortcode: recent_articles: "Recent" - icon_none: "Icon not found." diff --git a/i18n/es.yaml b/i18n/es.yaml index c8afbc09..950bcd25 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -37,4 +37,3 @@ sharing: shortcode: recent_articles: "Reciente" - icon_none: "Icono no encontrado." diff --git a/i18n/fr.yaml b/i18n/fr.yaml index b3078535..6d729be8 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -37,4 +37,3 @@ sharing: shortcode: recent_articles: "Recent" - icon_none: "Icone non trouvée." diff --git a/i18n/pt-BR.yaml b/i18n/pt-BR.yaml index 2396bc7b..9b5df070 100644 --- a/i18n/pt-BR.yaml +++ b/i18n/pt-BR.yaml @@ -37,4 +37,3 @@ sharing: shortcode: recent_articles: "Recente" - icon_none: "Ícone não encontrado." diff --git a/i18n/zh.yaml b/i18n/zh.yaml index ec93aa7e..1734f731 100644 --- a/i18n/zh.yaml +++ b/i18n/zh.yaml @@ -36,4 +36,3 @@ sharing: shortcode: recent_articles: "最近的文章" - icon_none: "未找到图标。" diff --git a/layouts/shortcodes/icon.html b/layouts/shortcodes/icon.html index 1db633d0..af699236 100644 --- a/layouts/shortcodes/icon.html +++ b/layouts/shortcodes/icon.html @@ -4,5 +4,5 @@ {{ $icon.Content | safeHTML }} {{ else }} - {{ i18n "shortcode.icon_none" }} + {{ errorf `[CONGO] Shortcode "icon" error in "%s": Resource "%s" not found. Check the path is correct or remove the shortcode.` .Page.Path (printf "icons/%s.svg" ($.Get 0)) }} {{ end }}