locale: improve and fix translations

This commit is contained in:
Herculino Trotta
2024-10-11 11:26:41 -03:00
parent 1f644ba974
commit fe9682aa65
14 changed files with 143 additions and 299 deletions

View File

@@ -21,6 +21,7 @@ class AccountGroupForm(forms.ModelForm):
class Meta:
model = AccountGroup
fields = ["name"]
labels = {"name": _("Group name")}
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@@ -52,6 +53,7 @@ class AccountGroupForm(forms.ModelForm):
class AccountForm(forms.ModelForm):
group = DynamicModelChoiceField(
label=_("Group"),
model=AccountGroup,
required=False,
)