From 3add160b4bc45a50b4827caadfc30e195aa78550 Mon Sep 17 00:00:00 2001 From: decabeza Date: Fri, 26 Apr 2019 18:31:58 +0200 Subject: [PATCH] Change i18n to resources on next goal This resources always are locked when are shown on next goal section. --- app/views/dashboard/_goal.html.erb | 2 +- config/locales/en/general.yml | 2 +- config/locales/es/general.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/dashboard/_goal.html.erb b/app/views/dashboard/_goal.html.erb index 07a8f241f..824da44c9 100644 --- a/app/views/dashboard/_goal.html.erb +++ b/app/views/dashboard/_goal.html.erb @@ -9,7 +9,7 @@
<%= goal.title %> - <%= t("dashboard.goal.unlocked_resource") %> + <%= t("dashboard.goal.locked_resource") %>
<% if goal.day_offset.positive? %> diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml index c0d8c802f..f0b9b15ac 100644 --- a/config/locales/en/general.yml +++ b/config/locales/en/general.yml @@ -530,7 +530,7 @@ en: days: one: "%{count} day" other: "%{count} days" - unlocked_resource: Resource unlocked + locked_resource: Resource locked ideal_time: Ideal time community: access_community: Access the community diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml index aba9b68e6..044b5578f 100644 --- a/config/locales/es/general.yml +++ b/config/locales/es/general.yml @@ -530,7 +530,7 @@ es: days: one: "%{count} día" other: "%{count} días" - unlocked_resource: Recurso desbloqueado + locked_resource: Recurso bloqueado ideal_time: Tiempo ideal community: access_community: Acceder a la comunidad