from corehq.apps.data_interfaces.interfaces import DataInterface
from django.utils.translation import ugettext as _

class ImportCases(DataInterface):
    name = _("Import Cases from Excel")
    slug = "import_cases"
    description = _("Import case data from an external Excel file")
    report_template_path = "importer/import_cases.html"
    gide_filters = True
    asynchronous = False

from corehq.apps.data_interfaces.interfaces import DataInterface
from django.utils.translation import ugettext_lazy

class ImportCases(DataInterface):
    name = ugettext_lazy("Import Cases from Excel")
    slug = "import_cases"
    description = ugettext_lazy("Import case data from an external Excel file")
    report_template_path = "importer/import_cases.html"
    gide_filters = True
    asynchronous = False

Use lazy translation for importer strings
Use lazy translation for importer strings

  from corehq.apps.data_interfaces.interfaces import DataInterface
- from django.utils.translation import ugettext as _
+ from django.utils.translation import ugettext_lazy
  
  class ImportCases(DataInterface):
-     name = _("Import Cases from Excel")
+     name = ugettext_lazy("Import Cases from Excel")
      slug = "import_cases"
-     description = _("Import case data from an external Excel file")
+     description = ugettext_lazy("Import case data from an external Excel file")
      report_template_path = "importer/import_cases.html"
      gide_filters = True
      asynchronous = False
  
Use lazy translation for importer strings
## Code Before:
from corehq.apps.data_interfaces.interfaces import DataInterface
from django.utils.translation import ugettext as _

class ImportCases(DataInterface):
    name = _("Import Cases from Excel")
    slug = "import_cases"
    description = _("Import case data from an external Excel file")
    report_template_path = "importer/import_cases.html"
    gide_filters = True
    asynchronous = False

## Instruction:
Use lazy translation for importer strings
## Code After:
from corehq.apps.data_interfaces.interfaces import DataInterface
from django.utils.translation import ugettext_lazy

class ImportCases(DataInterface):
    name = ugettext_lazy("Import Cases from Excel")
    slug = "import_cases"
    description = ugettext_lazy("Import case data from an external Excel file")
    report_template_path = "importer/import_cases.html"
    gide_filters = True
    asynchronous = False
