mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Fix translation.
This commit is contained in:
@@ -43,6 +43,9 @@ class AliasForm(forms.ModelForm, DynamicForm):
|
||||
class Meta:
|
||||
model = Alias
|
||||
fields = ("address", "domain", "enabled", "expire_at", "description")
|
||||
labels = {
|
||||
"domain": ugettext_lazy("Domain")
|
||||
}
|
||||
widgets = {
|
||||
"domain": forms.widgets.Select(
|
||||
attrs={"class": "selectpicker", "data-live-search": "true"})
|
||||
|
||||
@@ -33,8 +33,7 @@ class Alias(AdminObject):
|
||||
"The alias address."
|
||||
)
|
||||
)
|
||||
domain = models.ForeignKey(
|
||||
ugettext_lazy("Domain"), Domain, null=True)
|
||||
domain = models.ForeignKey(Domain, null=True)
|
||||
enabled = models.BooleanField(
|
||||
ugettext_lazy("enabled"),
|
||||
help_text=ugettext_lazy("Check to activate this alias"),
|
||||
|
||||
Reference in New Issue
Block a user