From aa2b1b901c1d22144270394a54fba9002fb095e4 Mon Sep 17 00:00:00 2001 From: jluccisano Date: Sun, 12 Feb 2017 17:22:00 +0100 Subject: [PATCH] Remove `minutes_read` to avoid awkward reading time wording - Issue #356 --- _data/ui-text.yml | 3 --- _includes/read-time.html | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/_data/ui-text.yml b/_data/ui-text.yml index 5d634fd67e87..43c2c8358aef 100644 --- a/_data/ui-text.yml +++ b/_data/ui-text.yml @@ -12,7 +12,6 @@ en: &DEFAULT_EN ext_link_label : "Direct Link" less_than : "less than" minute_read : "minute read" - minutes_read : "minutes read" share_on_label : "Share on" meta_label : tags_label : "Tags:" @@ -45,7 +44,6 @@ es: &DEFAULT_ES ext_link_label : "Enlace" less_than : "menos de" minute_read : "minuto de lectura" - minutes_read : "minutos de lectura" share_on_label : "Compartir" meta_label : tags_label : "Etiquetas:" @@ -78,7 +76,6 @@ fr: &DEFAULT_FR ext_link_label : "Lien direct" less_than : "plus petit que" minute_read : "minute de lecture" - minutes_read : "minutes de lecture" share_on_label : "Partager sur" meta_label : tags_label : "Tags :" diff --git a/_includes/read-time.html b/_includes/read-time.html index 272bd4e58e07..605dc0bc81f4 100644 --- a/_includes/read-time.html +++ b/_includes/read-time.html @@ -10,7 +10,7 @@ {% elsif words < 360 %} 1 {{ site.data.ui-text[site.locale].minute_read }} {% else %} - {{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minutes_read }} + {{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minute_read }} {% endif %} {% else %} {{ site.data.ui-text[site.locale].undefined_wpm }}