5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 20:46:22 +00:00

indicar qué significa lo vacío

This commit is contained in:
f 2022-05-30 15:10:52 -03:00
parent 88ecf06f7d
commit 844ba75d08
3 changed files with 5 additions and 3 deletions

View file

@ -55,7 +55,7 @@
%tbody %tbody
- values.each_pair do |col, val| - values.each_pair do |col, val|
%tr %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 %td= val
.mb-5 .mb-5
%h2= t('.resources.title') %h2= t('.resources.title')

View file

@ -288,15 +288,16 @@ en:
description: 'Average time your site takes to build.' description: 'Average time your site takes to build.'
columns: columns:
visits: "Visits" visits: "Visits"
empty: "(nothing)"
http_referer: http_referer:
title: "Referers" title: "Referers"
description: "Visits by origin" description: "Visits by origin"
column: "Referer" column: "Referer"
empty: "(direct visit)"
geoip2_data_country_name: geoip2_data_country_name:
title: "Countries" title: "Countries"
description: "Visits by country" description: "Visits by country"
column: "Country" column: "Country"
empty: "(couldn't detect country)"
sites: sites:
donations: donations:
url: 'https://donaciones.sutty.nl/en/' url: 'https://donaciones.sutty.nl/en/'

View file

@ -293,15 +293,16 @@ es:
description: 'Tiempo promedio que toma en publicarse tu sitio.' description: 'Tiempo promedio que toma en publicarse tu sitio.'
columns: columns:
visits: "Visitas" visits: "Visitas"
empty: "(nada)"
http_referer: http_referer:
title: "Referencias" title: "Referencias"
description: "Orígenes de las visitas" description: "Orígenes de las visitas"
column: "Referencia" column: "Referencia"
empty: "(visita directa)"
geoip2_data_country_name: geoip2_data_country_name:
title: "Países" title: "Países"
description: "Cantidad de visitas por país" description: "Cantidad de visitas por país"
column: "País" column: "País"
empty: "(no se pudo detectar el país)"
sites: sites:
donations: donations:
url: 'https://donaciones.sutty.nl/' url: 'https://donaciones.sutty.nl/'