Merge pull request #1785 from enricopaulini/master

Label Incrementions and pt-BR update
This commit is contained in:
Mike Cao 2023-04-07 21:46:57 -07:00 committed by GitHub
commit ee8d1ee9e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 73 additions and 7 deletions

View File

@ -24,16 +24,16 @@ function EventDataButton({ websiteId }) {
<>
<Button
icon={<List />}
tooltip={<FormattedMessage id="label.event-data" defaultMessage="Event" />}
tooltip={<FormattedMessage id="label.event" defaultMessage="Event" />}
tooltipId="button-event"
size="small"
onClick={handleClick}
className={styles.button}
>
Event Data
<FormattedMessage id="label.event-data" defaultMessage="Event Data" />
</Button>
{showEventData && (
<Modal title={<FormattedMessage id="label.event-data" defaultMessage="Query Event Data" />}>
<Modal title={<FormattedMessage id="label.query-event-data" defaultMessage="Query Event Data" />}>
<EventDataForm websiteId={websiteId} onClose={handleClose} />
</Modal>
)}

View File

@ -246,7 +246,7 @@ export default function EventDataForm({ websiteId, onClose, className }) {
</FormLayout>
</div>
<div>
<DataTable className={styles.table} data={data} title="Results" showPercentage={false} />
<DataTable className={styles.table} data={data} title={<FormattedMessage id="label.results" defaultMessage="Results" />} />
</div>
</div>
<FormButtons>

View File

@ -337,6 +337,12 @@
"value": "Tema"
}
],
"label.yesterday": [
{
"type": 0,
"value": "Ontem"
}
],
"label.this-month": [
{
"type": 0,
@ -397,6 +403,66 @@
"value": "Sites"
}
],
"label.event": [
{
"type": 0,
"value": "Evento"
}
],
"label.event-data": [
{
"type": 0,
"value": "Dados de evento"
}
],
"label.query-event-data": [
{
"type": 0,
"value": "Consultar dados do evento"
}
],
"label.search": [
{
"type": 0,
"value": "Buscar"
}
],
"label.results": [
{
"type": 0,
"value": "Resultados"
}
],
"label.add-filter": [
{
"type": 0,
"value": "Adicionar filtro"
}
],
"label.value": [
{
"type": 0,
"value": "Valor"
}
],
"label.field-name": [
{
"type": 0,
"value": "Nome do campo"
}
],
"label.add-column": [
{
"type": 0,
"value": "Adicionar coluna"
}
],
"label.label.type": [
{
"type": 0,
"value": "Tipo"
}
],
"message.active-users": [
{
"type": 1,
@ -478,7 +544,7 @@
"message.edit-dashboard": [
{
"type": 0,
"value": "Edit dashboard"
"value": "Editar painel"
}
],
"message.failure": [
@ -774,7 +840,7 @@
"metrics.query-parameters": [
{
"type": 0,
"value": "Query parameters"
"value": "Parâmetros de Consulta"
}
],
"metrics.referrers": [
@ -786,7 +852,7 @@
"metrics.screens": [
{
"type": 0,
"value": "Screens"
"value": "Telas"
}
],
"metrics.unique-visitors": [