diff --git a/app/jobs/stat_collection_job.rb b/app/jobs/stat_collection_job.rb index fcb4d6e1..1ee2f2b3 100644 --- a/app/jobs/stat_collection_job.rb +++ b/app/jobs/stat_collection_job.rb @@ -57,4 +57,8 @@ class StatCollectionJob < PeriodicJob def options @options ||= { interval: starting_interval, update: true } end + + def stat_name + STAT_NAME + end end diff --git a/config/locales/en.yml b/config/locales/en.yml index 86797770..fe1f221b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -261,7 +261,7 @@ en: help: | These statistics show information about how your site is generated and how many resources it uses. - last_update: 'Updated every hour. Last update on ' + last_update: 'Updated daily. Last update on ' empty: 'There is no enough information yet. We invite you to come back in %{please_return_at}!' loading: 'Loading...' hour: 'Hourly' diff --git a/config/locales/es.yml b/config/locales/es.yml index c7aa49b2..ef6f5e26 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -266,7 +266,7 @@ es: help: | Las estadísticas visibilizan información sobre cómo se genera y cuántos recursos utiliza tu sitio. - last_update: 'Actualizadas cada hora. Última actualización hace ' + last_update: 'Actualizadas diariamente. Última actualización hace ' empty: 'Todavía no hay información suficiente. Te invitamos a volver en %{please_return_at} :)' loading: 'Cargando...' hour: 'Por hora'