diff --git a/app/views/admin/homepage/_cards.html.erb b/app/views/admin/homepage/_cards.html.erb
index 6cc301bd1..ae2fef6d0 100644
--- a/app/views/admin/homepage/_cards.html.erb
+++ b/app/views/admin/homepage/_cards.html.erb
@@ -1,9 +1,9 @@
- | <%= t("admin.homepage.cards.title") %> |
- <%= t("admin.homepage.cards.description") %> |
- <%= t("admin.homepage.cards.link_text") %> / <%= t("admin.homepage.cards.link_url") %> |
+ <%= Widget::Card.human_attribute_name(:title) %> |
+ <%= Widget::Card.human_attribute_name(:description) %> |
+ <%= Widget::Card.human_attribute_name(:link_text) %> / <%= Widget::Card.human_attribute_name(:link_url) %> |
<%= t("admin.shared.image") %> |
<%= t("admin.shared.actions") %> |
diff --git a/app/views/admin/site_customization/cards/_cards.html.erb b/app/views/admin/site_customization/cards/_cards.html.erb
index be538c0d0..8d9d87c96 100644
--- a/app/views/admin/site_customization/cards/_cards.html.erb
+++ b/app/views/admin/site_customization/cards/_cards.html.erb
@@ -1,9 +1,9 @@
- | <%= t("admin.site_customization.pages.cards.title") %> |
- <%= t("admin.site_customization.pages.cards.description") %> |
- <%= t("admin.site_customization.pages.cards.link_text") %> / <%= t("admin.site_customization.pages.cards.link_url") %> |
+ <%= Widget::Card.human_attribute_name(:title) %> |
+ <%= Widget::Card.human_attribute_name(:description) %> |
+ <%= Widget::Card.human_attribute_name(:link_text) %> / <%= Widget::Card.human_attribute_name(:link_url) %> |
<%= t("admin.shared.image") %> |
<%= t("admin.shared.actions") %> |
diff --git a/config/locales/en/admin.yml b/config/locales/en/admin.yml
index 26355ac7d..81348ecf6 100644
--- a/config/locales/en/admin.yml
+++ b/config/locales/en/admin.yml
@@ -1519,10 +1519,6 @@ en:
cards_title: cards
create_card: Create card
no_cards: There are no cards.
- title: Title
- description: Description
- link_text: Link text
- link_url: Link URL
columns_help: "Width of the card in number of columns. On mobile screens it's always a width of 100%."
create:
notice: "Card created successfully!"
@@ -1539,11 +1535,6 @@ en:
cards_title: Cards
create_card: Create card
no_cards: There are no cards.
- cards:
- title: Title
- description: Description
- link_text: Link text
- link_url: Link URL
feeds:
proposals: Proposals
debates: Debates
diff --git a/config/locales/es/admin.yml b/config/locales/es/admin.yml
index f9b6340de..5e54a3f0f 100644
--- a/config/locales/es/admin.yml
+++ b/config/locales/es/admin.yml
@@ -1518,10 +1518,6 @@ es:
cards_title: tarjetas
create_card: Crear tarjeta
no_cards: No hay tarjetas.
- title: Título
- description: Descripción
- link_text: Texto del enlace
- link_url: URL del enlace
columns_help: "Ancho de la tarjeta en número de columnas. En pantallas móviles siempre es un ancho del 100%."
create:
notice: "¡Tarjeta creada con éxito!"
@@ -1538,11 +1534,6 @@ es:
cards_title: Tarjetas
create_card: Crear tarjeta
no_cards: No hay tarjetas.
- cards:
- title: Título
- description: Descripción
- link_text: Texto del enlace
- link_url: URL del enlace
feeds:
proposals: Propuestas
debates: Debates