From 6f04c8f0577f24732dc505ac9845a645fa8c76dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sun, 30 May 2021 15:39:43 +0200 Subject: [PATCH] Use conventions in page actions texts We use the words "Manage" and "View" in other places; we don't use the word "See" as often. --- config/locales/en/admin.yml | 4 ++-- config/locales/es/admin.yml | 4 ++-- spec/system/admin/widgets/cards_spec.rb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/locales/en/admin.yml b/config/locales/en/admin.yml index 380cd2e09..c00aa7ab2 100644 --- a/config/locales/en/admin.yml +++ b/config/locales/en/admin.yml @@ -1593,7 +1593,7 @@ en: create: Create new page delete: Delete page title: Custom Pages - see_page: See page + see_page: View new: title: Create new custom page slug_help: "Text to identify this page on URL, for example https://consulproject.org/page-slug" @@ -1603,7 +1603,7 @@ en: updated_at: Updated at title: Title slug: Slug - see_cards: See Cards + see_cards: Manage cards cards: cards_title: cards create_card: Create card diff --git a/config/locales/es/admin.yml b/config/locales/es/admin.yml index ad62f9be0..80c85fe29 100644 --- a/config/locales/es/admin.yml +++ b/config/locales/es/admin.yml @@ -1592,7 +1592,7 @@ es: create: Crear nueva página delete: Borrar página title: Páginas - see_page: Ver página + see_page: Ver new: title: Página nueva slug_help: "Texto que identifica esta página en la URL, por ejemplo https://consulproject.org/slug-de-pagina" @@ -1602,7 +1602,7 @@ es: updated_at: Última actualización title: Título slug: Slug - see_cards: Ver tarjetas + see_cards: Tarjetas cards: cards_title: tarjetas create_card: Crear tarjeta diff --git a/spec/system/admin/widgets/cards_spec.rb b/spec/system/admin/widgets/cards_spec.rb index 4f7477142..dac6a03a7 100644 --- a/spec/system/admin/widgets/cards_spec.rb +++ b/spec/system/admin/widgets/cards_spec.rb @@ -163,7 +163,7 @@ describe "Cards", :admin do visit admin_site_customization_pages_path within "#site_customization_page_#{custom_page.id}" do - click_link "See Cards" + click_link "Manage cards" end click_link "Create card"