Label Incrementions and pt-BR update

This commit is contained in:
Enrico Paulini 2023-02-12 20:40:03 -03:00 committed by GitHub
parent 689bb94898
commit 1b44c5f826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 74 additions and 8 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

@ -117,7 +117,7 @@ export default function WebsiteEditForm({ values, onSave, onClose }) {
<Field
name="domain"
type="text"
placeholder="example.com"
placeholder={<FormattedMessage id="label.example" defaultMessage="example.com" />}
spellCheck="false"
autoCapitalize="off"
autoCorrect="off"

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": [