mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 02:51:46 +00:00
fix(i18n): corrigir rótulos pt-br em categorias e dialog de antecipação
- updateCategoryAction: mensagem de sucesso "Category atualizada com sucesso." → "Categoria atualizada com sucesso." - AnticipateInstallmentsDialog: rótulos "Period" → "Fatura" e "Category" → "Categoria" Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -116,7 +116,7 @@ export async function updateCategoryAction(
|
|||||||
|
|
||||||
revalidateForEntity("categories", user.id);
|
revalidateForEntity("categories", user.id);
|
||||||
|
|
||||||
return { success: true, message: "Category atualizada com sucesso." };
|
return { success: true, message: "Categoria atualizada com sucesso." };
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return handleActionError(error);
|
return handleActionError(error);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ export function AnticipateInstallmentsDialog({
|
|||||||
|
|
||||||
<div className="grid gap-2 sm:grid-cols-2">
|
<div className="grid gap-2 sm:grid-cols-2">
|
||||||
<Field className="gap-1">
|
<Field className="gap-1">
|
||||||
<FieldLabel htmlFor="anticipation-period">Período</FieldLabel>
|
<FieldLabel htmlFor="anticipation-period">Fatura</FieldLabel>
|
||||||
<FieldContent>
|
<FieldContent>
|
||||||
<PeriodPicker
|
<PeriodPicker
|
||||||
value={formState.anticipationPeriod}
|
value={formState.anticipationPeriod}
|
||||||
@@ -292,7 +292,7 @@ export function AnticipateInstallmentsDialog({
|
|||||||
|
|
||||||
<Field className="gap-1">
|
<Field className="gap-1">
|
||||||
<FieldLabel htmlFor="anticipation-categoria">
|
<FieldLabel htmlFor="anticipation-categoria">
|
||||||
Category
|
Categoria
|
||||||
</FieldLabel>
|
</FieldLabel>
|
||||||
<FieldContent>
|
<FieldContent>
|
||||||
<Select
|
<Select
|
||||||
|
|||||||
Reference in New Issue
Block a user