fix(sla): corrige acentuacao no SLA por empresa
All checks were successful
All checks were successful
- Corrige acentos: Critico -> Crítico, Media -> Média - Corrige: Horas uteis -> Horas úteis - Corrige: solucao -> solução, resolucao -> resolução - Corrige: nao -> não, Nao foi possivel -> Não foi possível - Corrige: acao ira -> ação irá, passarao -> passarão 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d6188fd384
commit
d32b94c22d
1 changed files with 11 additions and 11 deletions
|
|
@ -21,9 +21,9 @@ import { Input } from "@/components/ui/input"
|
||||||
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"
|
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"
|
||||||
|
|
||||||
const PRIORITY_ROWS = [
|
const PRIORITY_ROWS = [
|
||||||
{ value: "URGENT", label: "Critico" },
|
{ value: "URGENT", label: "Crítico" },
|
||||||
{ value: "HIGH", label: "Alta" },
|
{ value: "HIGH", label: "Alta" },
|
||||||
{ value: "MEDIUM", label: "Media" },
|
{ value: "MEDIUM", label: "Média" },
|
||||||
{ value: "LOW", label: "Baixa" },
|
{ value: "LOW", label: "Baixa" },
|
||||||
{ value: "DEFAULT", label: "Sem prioridade" },
|
{ value: "DEFAULT", label: "Sem prioridade" },
|
||||||
] as const
|
] as const
|
||||||
|
|
@ -36,7 +36,7 @@ const TIME_UNITS: Array<{ value: RuleFormState["responseUnit"]; label: string; f
|
||||||
|
|
||||||
const MODE_OPTIONS: Array<{ value: RuleFormState["responseMode"]; label: string }> = [
|
const MODE_OPTIONS: Array<{ value: RuleFormState["responseMode"]; label: string }> = [
|
||||||
{ value: "calendar", label: "Horas corridas" },
|
{ value: "calendar", label: "Horas corridas" },
|
||||||
{ value: "business", label: "Horas uteis" },
|
{ value: "business", label: "Horas úteis" },
|
||||||
]
|
]
|
||||||
|
|
||||||
const PAUSE_STATUS_OPTIONS = [
|
const PAUSE_STATUS_OPTIONS = [
|
||||||
|
|
@ -183,7 +183,7 @@ export function CompanySlaDrawer({ company, tenantId, viewerId, onClose }: Compa
|
||||||
onClose()
|
onClose()
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
toast.error("Nao foi possivel salvar as regras de SLA.", { id: "company-sla" })
|
toast.error("Não foi possível salvar as regras de SLA.", { id: "company-sla" })
|
||||||
} finally {
|
} finally {
|
||||||
setSaving(false)
|
setSaving(false)
|
||||||
}
|
}
|
||||||
|
|
@ -204,7 +204,7 @@ export function CompanySlaDrawer({ company, tenantId, viewerId, onClose }: Compa
|
||||||
onClose()
|
onClose()
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
toast.error("Nao foi possivel remover o SLA.", { id: "company-sla-delete" })
|
toast.error("Não foi possível remover o SLA.", { id: "company-sla-delete" })
|
||||||
} finally {
|
} finally {
|
||||||
setDeleting(false)
|
setDeleting(false)
|
||||||
}
|
}
|
||||||
|
|
@ -226,7 +226,7 @@ export function CompanySlaDrawer({ company, tenantId, viewerId, onClose }: Compa
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Configurar SLA - {company?.name ?? ""}</DialogTitle>
|
<DialogTitle>Configurar SLA - {company?.name ?? ""}</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
Defina metas de resposta e resolucao para cada prioridade. Estas regras tem prioridade sobre as regras
|
Defina metas de resposta e resolução para cada prioridade. Estas regras têm prioridade sobre as regras
|
||||||
por categoria.
|
por categoria.
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
@ -240,7 +240,7 @@ export function CompanySlaDrawer({ company, tenantId, viewerId, onClose }: Compa
|
||||||
<p className="text-sm font-semibold text-neutral-900">{row.label}</p>
|
<p className="text-sm font-semibold text-neutral-900">{row.label}</p>
|
||||||
<p className="text-xs text-neutral-500">
|
<p className="text-xs text-neutral-500">
|
||||||
{row.value === "DEFAULT"
|
{row.value === "DEFAULT"
|
||||||
? "Aplicado quando o ticket nao tem prioridade definida."
|
? "Aplicado quando o ticket não tem prioridade definida."
|
||||||
: "Aplica-se aos tickets desta prioridade."}
|
: "Aplica-se aos tickets desta prioridade."}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -260,7 +260,7 @@ export function CompanySlaDrawer({ company, tenantId, viewerId, onClose }: Compa
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<SlaInputGroup
|
<SlaInputGroup
|
||||||
title="Tempo de solucao"
|
title="Tempo de solução"
|
||||||
amount={form.solutionValue}
|
amount={form.solutionValue}
|
||||||
unit={form.solutionUnit}
|
unit={form.solutionUnit}
|
||||||
mode={form.solutionMode}
|
mode={form.solutionMode}
|
||||||
|
|
@ -341,7 +341,7 @@ export function CompanySlaDrawer({ company, tenantId, viewerId, onClose }: Compa
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|
||||||
{/* Confirmacao de exclusao */}
|
{/* Confirmação de exclusão */}
|
||||||
<Dialog open={deleteConfirmOpen} onOpenChange={setDeleteConfirmOpen}>
|
<Dialog open={deleteConfirmOpen} onOpenChange={setDeleteConfirmOpen}>
|
||||||
<DialogContent className="max-w-md">
|
<DialogContent className="max-w-md">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
|
|
@ -350,8 +350,8 @@ export function CompanySlaDrawer({ company, tenantId, viewerId, onClose }: Compa
|
||||||
Remover SLA da empresa
|
Remover SLA da empresa
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
Esta acao ira remover todas as regras de SLA personalizadas da empresa{" "}
|
Esta ação irá remover todas as regras de SLA personalizadas da empresa{" "}
|
||||||
<span className="font-semibold">{company?.name}</span>. Os tickets passarao a usar as regras por
|
<span className="font-semibold">{company?.name}</span>. Os tickets passarão a usar as regras por
|
||||||
categoria.
|
categoria.
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue