From 02c57f7ec086b2ccd04f61b2b7564ee5c44fae4d Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Sun, 17 Mar 2024 06:58:01 +0300 Subject: [PATCH] Update the button text Signed-off-by: Olga Bulat --- frontend/src/components/VMediaInfo/VMediaTags.vue | 4 ++-- frontend/src/locales/scripts/en.json5 | 4 ++-- frontend/test/locales/ar.json | 4 ++-- frontend/test/playwright/e2e/collections.spec.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/VMediaInfo/VMediaTags.vue b/frontend/src/components/VMediaInfo/VMediaTags.vue index 12bbefbc210..644c4e47036 100644 --- a/frontend/src/components/VMediaInfo/VMediaTags.vue +++ b/frontend/src/components/VMediaInfo/VMediaTags.vue @@ -21,8 +21,8 @@ >{{ $t( buttonStatus === "show" - ? "mediaDetails.tags.showAll" - : "mediaDetails.tags.seeLess" + ? "mediaDetails.tags.showMore" + : "mediaDetails.tags.showLess" ) }} { const COLLAPSE_BUTTON = (page: Page) => page.getByRole("button", { name: t("mediaDetails.tags.showLess") }) const EXPAND_BUTTON = (page: Page) => - page.getByRole("button", { name: t("mediaDetails.tags.showAll") }) + page.getByRole("button", { name: t("mediaDetails.tags.showMore") }) test("some tags are hidden if there are more than 3 rows", async ({ page }) => { await preparePageForTests(page, "xl", {