Neos:
  RedirectHandler:
    statusCode:
      redirect: 301
      gone: 410

    Ui:
      # The preselected status code for the dropdown when creating new redirects
      defaultStatusCode: 307
      # Only show redirects with the given redirects when the module is opened
      initialStatusCodeFilter: -1
      initialTypeFilter: 'manual'
      validation:
        # This is the pattern for matching the input in the HTML forms
        sourceUriPath: '^[a-zA-Z0-9_\-\/\.%]+$'
      csv:
        delimiterOptions: [';', ',', '|']
      statusCodes:
        301: i18n
        302: i18n
        303: i18n
        307: i18n
        403: i18n
        404: i18n
        410: i18n
        451: i18n

  Neos:
    userInterface:
      translation:
        autoInclude:
          'Neos.RedirectHandler.Ui': ['Modules']
    modules:
      management:
        submodules:
          redirects:
            label: 'Neos.RedirectHandler.Ui:Modules:module.label'
            controller: '\Neos\RedirectHandler\Ui\Controller\ModuleController'
            description: 'Neos.RedirectHandler.Ui:Modules:module.description'
            icon: 'fas fa-share'
            resource: 'Neos.RedirectHandler.Ui:Backend.Module'
            privilegeTarget: 'Neos.RedirectHandler.Ui:Module'
            mainStylesheet: 'Lite'
            additionalResources:
              styleSheets:
                main: 'resource://Neos.RedirectHandler.Ui/Public/Assets/main.bundle.css'
              javaScripts:
                main: 'resource://Neos.RedirectHandler.Ui/Public/Assets/main.bundle.js'
