feat: add NoLog prompt for log component (#10135)

This commit is contained in:
CityFun 2025-08-25 18:56:43 +08:00 committed by GitHub
parent f45af6e0cc
commit 261cb2061b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 28 additions and 0 deletions

View file

@ -37,6 +37,7 @@
>
<hightlight :log="log" :type="config.colorMode ?? 'nginx'"></hightlight>
</div>
<hightlight v-if="visibleLogs.length === 0" :log="$t('commons.log.noLog')" type="system"></hightlight>
</div>
</div>
</template>

View file

@ -348,6 +348,9 @@ const message = {
hourUnit: 'h',
dayUnit: 'd',
},
log: {
noLog: 'No logs available',
},
},
menu: {
home: 'Overview',

View file

@ -337,6 +337,9 @@ const message = {
dayUnit: 'd',
millisecond: 'ミリ秒',
},
log: {
noLog: 'ログはありません',
},
},
menu: {
home: '概要',

View file

@ -339,6 +339,9 @@ const message = {
dayUnit: '일',
millisecond: '밀리초',
},
log: {
noLog: '로그 없음',
},
},
menu: {
home: '개요',

View file

@ -345,6 +345,9 @@ const message = {
dayUnit: 'd',
millisecond: 'Milisaat',
},
log: {
noLog: 'Tiada log sedia ada',
},
},
menu: {
home: 'Overview',

View file

@ -343,6 +343,9 @@ const message = {
dayUnit: 'd',
millisecond: 'Milissegundo',
},
log: {
noLog: 'Nenhum log disponível',
},
},
menu: {
home: 'Visão Geral',

View file

@ -340,6 +340,9 @@ const message = {
dayUnit: 'д',
millisecond: 'Миллисекунда',
},
log: {
noLog: 'Нет доступных логов',
},
},
menu: {
home: 'Обзор',

View file

@ -352,6 +352,9 @@ const message = {
hourUnit: 'sa',
dayUnit: 'g',
},
log: {
noLog: 'Günlük yok',
},
},
menu: {
home: 'Genel Bakış',

View file

@ -339,6 +339,9 @@ const message = {
dayUnit: '天',
millisecond: '毫秒',
},
log: {
noLog: '暫無日志',
},
},
menu: {
home: '概覽',

View file

@ -337,6 +337,9 @@ const message = {
dayUnit: '天',
millisecond: '毫秒',
},
log: {
noLog: '暂无日志',
},
},
menu: {
home: '概览',