diff --git a/assets/components/SideMenu.vue b/assets/components/SideMenu.vue index bfa4d996..c90eef0e 100644 --- a/assets/components/SideMenu.vue +++ b/assets/components/SideMenu.vue @@ -108,7 +108,7 @@ function isContainer(item: any): item is Container { const menuItems = computed(() => { const pinnedLabel = { keyLabel: "label.pinned" }; - const allLabel = { keyLabel: "label.containers" }; + const allLabel = { keyLabel: showAllContainers.value ? "label.all-containers" : "label.running-containers" }; if (groupedContainers.value.pinned.length > 0) { return [pinnedLabel, ...groupedContainers.value.pinned, allLabel, ...groupedContainers.value.unpinned]; } else { diff --git a/e2e/default.spec.ts b/e2e/default.spec.ts index ed41fb07..47f38c2a 100644 --- a/e2e/default.spec.ts +++ b/e2e/default.spec.ts @@ -34,6 +34,6 @@ test.describe("es locale", () => { test.use({ locale: "es" }); test("translated text", async ({ page }) => { - await expect(page.getByTestId("label.containers")).toHaveText("Contenedores"); + await expect(page.getByTestId("label.running-containers")).toHaveText("Contenedores en ejecución"); }); }); diff --git a/e2e/simple.spec.ts b/e2e/simple.spec.ts index a1a8d252..6c8c19b6 100644 --- a/e2e/simple.spec.ts +++ b/e2e/simple.spec.ts @@ -5,5 +5,5 @@ test("simple authentication", async ({ page }) => { await page.locator('input[name="username"]').fill("admin"); await page.locator('input[name="password"]').fill("password"); await page.locator('button[type="submit"]').click(); - await expect(page.getByTestId("label.containers")).toHaveText("Containers"); + await expect(page.getByTestId("label.running-containers")).toHaveText("Running Containers"); }); diff --git a/e2e/visual.spec.ts-snapshots/dark-homepage-1-Mobile-Chrome-linux.png b/e2e/visual.spec.ts-snapshots/dark-homepage-1-Mobile-Chrome-linux.png index d11d8026..d435f104 100644 Binary files a/e2e/visual.spec.ts-snapshots/dark-homepage-1-Mobile-Chrome-linux.png and b/e2e/visual.spec.ts-snapshots/dark-homepage-1-Mobile-Chrome-linux.png differ diff --git a/e2e/visual.spec.ts-snapshots/dark-homepage-1-chromium-linux.png b/e2e/visual.spec.ts-snapshots/dark-homepage-1-chromium-linux.png index 7bf40d2e..7dc404ea 100644 Binary files a/e2e/visual.spec.ts-snapshots/dark-homepage-1-chromium-linux.png and b/e2e/visual.spec.ts-snapshots/dark-homepage-1-chromium-linux.png differ diff --git a/e2e/visual.spec.ts-snapshots/default-homepage-1-Mobile-Chrome-linux.png b/e2e/visual.spec.ts-snapshots/default-homepage-1-Mobile-Chrome-linux.png index 15f23eba..ff9b94a2 100644 Binary files a/e2e/visual.spec.ts-snapshots/default-homepage-1-Mobile-Chrome-linux.png and b/e2e/visual.spec.ts-snapshots/default-homepage-1-Mobile-Chrome-linux.png differ diff --git a/e2e/visual.spec.ts-snapshots/default-homepage-1-chromium-linux.png b/e2e/visual.spec.ts-snapshots/default-homepage-1-chromium-linux.png index 7bca73fa..0177c9be 100644 Binary files a/e2e/visual.spec.ts-snapshots/default-homepage-1-chromium-linux.png and b/e2e/visual.spec.ts-snapshots/default-homepage-1-chromium-linux.png differ diff --git a/locales/de.yml b/locales/de.yml index dd95c204..365e7589 100644 --- a/locales/de.yml +++ b/locales/de.yml @@ -6,6 +6,8 @@ toolbar: show-all: Zeige alle Streams label: containers: Container + running-containers: Laufende Container + all-containers: Alle Container total-containers: Gesamte Container running: Laufende total-cpu-usage: Gesamte CPU Auslastung diff --git a/locales/en.yml b/locales/en.yml index 98f6e34c..4edb626d 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -9,6 +9,8 @@ toolbar: restart: Restart label: containers: Containers + running-containers: Running Containers + all-containers: All Containers total-containers: Total Containers running: Running total-cpu-usage: Total CPU Usage diff --git a/locales/es.yml b/locales/es.yml index bcee4da2..a6aec709 100644 --- a/locales/es.yml +++ b/locales/es.yml @@ -9,6 +9,8 @@ toolbar: restart: Reiniciar label: containers: Contenedores + running-containers: Contenedores en ejecución + all-containers: Todos los contenedores total-containers: Contenedores Totales running: En ejecución total-cpu-usage: Uso total del Procesador diff --git a/locales/pr.yml b/locales/pr.yml index 7ad1e56c..0a4c65c0 100644 --- a/locales/pr.yml +++ b/locales/pr.yml @@ -6,6 +6,8 @@ toolbar: show-all: Mostrar todos os fluxos label: containers: Contentores + running-containers: Contentores em execução + all-containers: Todos os contentores total-containers: Contentores Totais running: Em execução total-cpu-usage: Utilização total da CPU diff --git a/locales/ru.yml b/locales/ru.yml index 34ddb549..3a3f69e2 100644 --- a/locales/ru.yml +++ b/locales/ru.yml @@ -6,6 +6,8 @@ toolbar: show-all: Показать все потоки label: containers: Контейнеры + running-containers: Запущенные контейнеры + all-containers: Все контейнеры total-containers: Всего Контейнеров running: Запущенные total-cpu-usage: Использование процессора diff --git a/locales/zh-tw.yml b/locales/zh-tw.yml index c058848b..bd33a803 100644 --- a/locales/zh-tw.yml +++ b/locales/zh-tw.yml @@ -6,6 +6,8 @@ toolbar: show-all: 顯示全部資料流 label: containers: 容器 + running-containers: 運行中的容器 + all-containers: 所有容器 total-containers: 總容器數 running: 運行中 total-cpu-usage: 總 CPU 使用率 diff --git a/locales/zh.yml b/locales/zh.yml index fae21668..55cb165c 100644 --- a/locales/zh.yml +++ b/locales/zh.yml @@ -6,6 +6,8 @@ toolbar: show-all: 显示全部 label: containers: 容器 + running-containers: 运行中的容器 + all-containers: 所有容器 total-containers: 所有容器 running: 运行中 total-cpu-usage: 所有CPU使用率