digitalfabrik/integreat-cms

View on GitHub
integreat_cms/xliff/apps.py

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
"""
Configuration of XLIFF app
"""

from __future__ import annotations

from typing import TYPE_CHECKING

from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _

if TYPE_CHECKING:
    from typing import Final

    from django.utils.functional import Promise


class XLIFFConfig(AppConfig):
    """
    XLIFF config inheriting the django AppConfig
    """

    #: Full Python path to the application
    name: Final[str] = "integreat_cms.xliff"
    #: Human-readable name for the application
    verbose_name: Final[Promise] = _("XLIFF")