From 3ef3fb691e850ece15f6ca915a848684f07c3876 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <1paneldev@sina.com> Date: Mon, 25 Aug 2025 17:15:43 +0800 Subject: [PATCH] feat: add NoLog prompt for log component --- frontend/src/components/log/file/index.vue | 1 + frontend/src/lang/modules/en.ts | 3 +++ frontend/src/lang/modules/ja.ts | 3 +++ frontend/src/lang/modules/ko.ts | 3 +++ frontend/src/lang/modules/ms.ts | 3 +++ frontend/src/lang/modules/pt-br.ts | 3 +++ frontend/src/lang/modules/ru.ts | 3 +++ frontend/src/lang/modules/tr.ts | 3 +++ frontend/src/lang/modules/zh-Hant.ts | 3 +++ frontend/src/lang/modules/zh.ts | 3 +++ 10 files changed, 28 insertions(+) diff --git a/frontend/src/components/log/file/index.vue b/frontend/src/components/log/file/index.vue index f0324ff6df3e..0baa371bc37b 100644 --- a/frontend/src/components/log/file/index.vue +++ b/frontend/src/components/log/file/index.vue @@ -37,6 +37,7 @@ > + diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 09c377211268..8801d7b4280c 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -348,6 +348,9 @@ const message = { hourUnit: 'h', dayUnit: 'd', }, + log: { + noLog: 'No logs available', + }, }, menu: { home: 'Overview', diff --git a/frontend/src/lang/modules/ja.ts b/frontend/src/lang/modules/ja.ts index f9b88d5d3074..2430b173b3e5 100644 --- a/frontend/src/lang/modules/ja.ts +++ b/frontend/src/lang/modules/ja.ts @@ -337,6 +337,9 @@ const message = { dayUnit: 'd', millisecond: 'ミリ秒', }, + log: { + noLog: 'ログはありません', + }, }, menu: { home: '概要', diff --git a/frontend/src/lang/modules/ko.ts b/frontend/src/lang/modules/ko.ts index b1c7dfa560de..1ec25e6fdd53 100644 --- a/frontend/src/lang/modules/ko.ts +++ b/frontend/src/lang/modules/ko.ts @@ -339,6 +339,9 @@ const message = { dayUnit: '일', millisecond: '밀리초', }, + log: { + noLog: '로그 없음', + }, }, menu: { home: '개요', diff --git a/frontend/src/lang/modules/ms.ts b/frontend/src/lang/modules/ms.ts index 0bae47804105..16612886885d 100644 --- a/frontend/src/lang/modules/ms.ts +++ b/frontend/src/lang/modules/ms.ts @@ -345,6 +345,9 @@ const message = { dayUnit: 'd', millisecond: 'Milisaat', }, + log: { + noLog: 'Tiada log sedia ada', + }, }, menu: { home: 'Overview', diff --git a/frontend/src/lang/modules/pt-br.ts b/frontend/src/lang/modules/pt-br.ts index eca0b1b42780..a13d6cd49174 100644 --- a/frontend/src/lang/modules/pt-br.ts +++ b/frontend/src/lang/modules/pt-br.ts @@ -343,6 +343,9 @@ const message = { dayUnit: 'd', millisecond: 'Milissegundo', }, + log: { + noLog: 'Nenhum log disponível', + }, }, menu: { home: 'Visão Geral', diff --git a/frontend/src/lang/modules/ru.ts b/frontend/src/lang/modules/ru.ts index 6b8bb42b3a85..d40e6cf6a278 100644 --- a/frontend/src/lang/modules/ru.ts +++ b/frontend/src/lang/modules/ru.ts @@ -340,6 +340,9 @@ const message = { dayUnit: 'д', millisecond: 'Миллисекунда', }, + log: { + noLog: 'Нет доступных логов', + }, }, menu: { home: 'Обзор', diff --git a/frontend/src/lang/modules/tr.ts b/frontend/src/lang/modules/tr.ts index d31068bc548e..3209b8d92618 100644 --- a/frontend/src/lang/modules/tr.ts +++ b/frontend/src/lang/modules/tr.ts @@ -352,6 +352,9 @@ const message = { hourUnit: 'sa', dayUnit: 'g', }, + log: { + noLog: 'Günlük yok', + }, }, menu: { home: 'Genel Bakış', diff --git a/frontend/src/lang/modules/zh-Hant.ts b/frontend/src/lang/modules/zh-Hant.ts index 41f9b024cbbb..6720b62edb55 100644 --- a/frontend/src/lang/modules/zh-Hant.ts +++ b/frontend/src/lang/modules/zh-Hant.ts @@ -339,6 +339,9 @@ const message = { dayUnit: '天', millisecond: '毫秒', }, + log: { + noLog: '暫無日志', + }, }, menu: { home: '概覽', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index b8a1913af508..b8382a1fbe99 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -337,6 +337,9 @@ const message = { dayUnit: '天', millisecond: '毫秒', }, + log: { + noLog: '暂无日志', + }, }, menu: { home: '概览',