diff --git a/app/views/stats/index.haml b/app/views/stats/index.haml index 8987560f..058f17ef 100644 --- a/app/views/stats/index.haml +++ b/app/views/stats/index.haml @@ -55,7 +55,7 @@ %tbody - values.each_pair do |col, val| %tr - %th{ scope: 'row', style: 'word-break: break-all' }= col.blank? ? t('.columns.empty') : col + %th{ scope: 'row', style: 'word-break: break-all' }= col.blank? ? t(".columns.#{column}.empty") : col %td= val .mb-5 %h2= t('.resources.title') diff --git a/config/locales/en.yml b/config/locales/en.yml index a1ea5e1a..fcfa5716 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -295,15 +295,16 @@ en: description: 'Average time your site takes to build.' columns: visits: "Visits" - empty: "(nothing)" http_referer: title: "Referers" description: "Visits by origin" column: "Referer" + empty: "(direct visit)" geoip2_data_country_name: title: "Countries" description: "Visits by country" column: "Country" + empty: "(couldn't detect country)" sites: donations: url: 'https://donaciones.sutty.nl/en/' diff --git a/config/locales/es.yml b/config/locales/es.yml index b782e320..670ac9a6 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -300,15 +300,16 @@ es: description: 'Tiempo promedio que toma en publicarse tu sitio.' columns: visits: "Visitas" - empty: "(nada)" http_referer: title: "Referencias" description: "Orígenes de las visitas" column: "Referencia" + empty: "(visita directa)" geoip2_data_country_name: title: "Países" description: "Cantidad de visitas por país" column: "País" + empty: "(no se pudo detectar el país)" sites: donations: url: 'https://donaciones.sutty.nl/'