Translation of the apps in admin section
This commit is contained in:
parent
3074a4843d
commit
8da4ed9406
3 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
class AviaryConfig(AppConfig):
|
class AviaryConfig(AppConfig):
|
||||||
default_auto_field = "django.db.models.BigAutoField"
|
default_auto_field = "django.db.models.BigAutoField"
|
||||||
name = "aviary"
|
name = "aviary"
|
||||||
|
verbose_name = _("Volieren")
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
class BirdConfig(AppConfig):
|
class BirdConfig(AppConfig):
|
||||||
default_auto_field = "django.db.models.BigAutoField"
|
default_auto_field = "django.db.models.BigAutoField"
|
||||||
name = "bird"
|
name = "bird"
|
||||||
|
verbose_name = _("Vögel")
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class RescuerConfig(AppConfig):
|
class RescuerConfig(AppConfig):
|
||||||
default_auto_field = "django.db.models.BigAutoField"
|
default_auto_field = "django.db.models.BigAutoField"
|
||||||
name = "rescuer"
|
name = "rescuer"
|
||||||
|
verbose_name = _("Finder")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue