1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

feat: creates betters messaging for analytics mode (#3812)

This commit is contained in:
Amir Raminfar
2025-04-17 10:32:20 -07:00
committed by GitHub
parent e8f796a7d6
commit 061cd0c445
14 changed files with 75 additions and 5 deletions

View File

@@ -13,11 +13,15 @@
class="textarea textarea-primary w-full font-mono text-lg"
:class="{ 'textarea-error': error }"
></textarea>
<div class="label max-h-48 overflow-y-auto pr-2">
<span class="label-text-alt text-error" v-if="error">{{ error }}</span>
<div class="label mt-2 overflow-y-auto">
<span v-if="!isReady">{{ $t("analytics.creating_table") }}</span>
<span v-else-if="evaluating">{{ $t("analytics.evaluating_query") }}</span>
<span class="label-text-alt text-error" v-else-if="error">{{ error }}</span>
<span class="label-text-alt" v-else>
Total {{ results.numRows }} records
<template v-if="results.numRows > pageLimit"> . Showing first {{ page.numRows }}. </template>
{{ $t("analytics.total_records", { count: results.numRows.toLocaleString() }) }}
<template v-if="results.numRows > pageLimit">{{
$t("analytics.showing_first", { count: page.numRows.toLocaleString() })
}}</template>
</span>
</div>
</label>

View File

@@ -114,3 +114,8 @@ toasts:
copied:
title: Kopieret
message: Log kopieret til clipboard
analytics:
creating_table: Opretter midlertidig tabel...
evaluating_query: Evaluerer forespørgsel...
total_records: I alt {count} poster.
showing_first: Viser de første {count}.

View File

@@ -114,3 +114,8 @@ toasts:
copied:
title: Kopiert
message: Log in Zwischenablage kopiert
analytics:
creating_table: Temporäre Tabelle wird erstellt...
evaluating_query: Abfrage wird ausgewertet...
total_records: Insgesamt {count} Datensätze.
showing_first: Zeige die ersten {count}.

View File

@@ -119,3 +119,8 @@ toasts:
copied:
title: Copied
message: Log copied to clipboard
analytics:
creating_table: Creating temporary table...
evaluating_query: Evaluating query...
total_records: Total {count} records.
showing_first: Showing first {count}.

View File

@@ -114,3 +114,8 @@ toasts:
copied:
title: Copiado
message: Registro copiado al portapapeles
analytics:
creating_table: Creando tabla temporal...
evaluating_query: Evaluando consulta...
total_records: Total {count} registros.
showing_first: Mostrando los primeros {count}.

View File

@@ -114,3 +114,8 @@ toasts:
copied:
title: Copié
message: Journal copié dans le presse-papiers
analytics:
creating_table: Création d'une table temporaire...
evaluating_query: Évaluation de la requête...
total_records: Total de {count} enregistrements.
showing_first: Affichage des {count} premiers.

View File

@@ -114,3 +114,8 @@ toasts:
copied:
title: Copiato
message: Log copiato nella clipboard
analytics:
creating_table: Creazione tabella temporanea...
evaluating_query: Valutazione della query...
total_records: Totale {count} record.
showing_first: Mostrati i primi {count}.

View File

@@ -114,3 +114,8 @@ toasts:
copied:
title: Skopiowany
message: Log skopiowany do schowka
analytics:
creating_table: Tworzenie tymczasowej tabeli...
evaluating_query: Przetwarzanie zapytania...
total_records: Razem {count} rekordów.
showing_first: Pokazywanie pierwszych {count}.

View File

@@ -109,3 +109,9 @@ settings:
start-line: Esta é uma mensagem de erro multi-linha
middle-line: com uma segunda linha
end-line: e finalmente uma terceira linha.
analytics:
creating_table: A criar tabela temporária...
evaluating_query: A avaliar consulta...
total_records: Total de {count} registos.
showing_first: A mostrar os primeiros {count}.

View File

@@ -114,3 +114,8 @@ toasts:
copied:
title: Copiado
message: Log copiado para a área de transferência
analytics:
creating_table: Criando tabela temporária...
evaluating_query: Avaliando consulta...
total_records: Total de {count} registros.
showing_first: Mostrando os primeiros {count}.

View File

@@ -114,3 +114,8 @@ toasts:
copied:
title: Copied
message: Log copied to clipboard
analytics:
creating_table: Создание временной таблицы...
evaluating_query: Выполнение запроса...
total_records: Всего {count} записей.
showing_first: Показаны первые {count}.

View File

@@ -107,3 +107,8 @@ toasts:
copied:
title: Kopyalandı
message: Günlük panoya kopyalandı
analytics:
creating_table: Geçici tablo oluşturuluyor...
evaluating_query: Sorgu değerlendiriliyor...
total_records: Toplam {count} kayıt.
showing_first: İlk {count} gösteriliyor.

View File

@@ -116,4 +116,9 @@ log_actions:
toasts:
copied:
title: 已複製
message: 日誌已複製到剪貼簿
message: 日誌已複製到剪貼簿
analytics:
creating_table: 正在建立臨時資料表...
evaluating_query: 正在評估查詢...
total_records: 共計 {count} 筆記錄。
showing_first: 顯示前 {count} 筆。

View File

@@ -114,3 +114,8 @@ toasts:
copied:
title: 已复制
message: 日志已复制到剪贴板
analytics:
creating_table: 正在创建临时表...
evaluating_query: 正在评估查询...
total_records: 总共 {count} 条记录。
showing_first: 显示前 {count} 条。