@if (!isAddLibrary) { {{t('edit-title', {name: library!.name | sentenceCase})}} } @else { {{t('add-title')}} }

  • {{Tabs.General | tabTitle}}
    @if (libraryForm.get('name'); as formControl) { @if (libraryForm.dirty || !libraryForm.untouched) {
    @if (formControl.errors?.required) {
    {{t('required-field')}}
    } @if (formControl.errors?.duplicateName) {
    {{t('library-name-unique')}}
    }
    } }
    @if(IsKavitaPlusEligible) { {{t('kavitaplus-eligible-label')}} } {{t('type-tooltip')}} {{t('kavitaplus-eligible-tooltip')}}
    {{LibraryTypeValue | libraryTypeSubtitle}}
    @if (!isAddLibrary) {
    {{t('last-scanned-label')}} {{library?.lastScanned | date: 'short' | defaultDate}}
    }
  • {{Tabs.Folder | tabTitle}} @if (filesAtRoot().length > 0) {

    {{t('files-at-root-warning')}}

    }

    {{t('folder-description')}}

      @for(folder of selectedFolders; track folder) {
    • {{folder}}
      @if (filesAtRoot().includes(folder)) { }
    • }

    {{t('help-us-part-1')}}{{t('help-us-part-2')}} {{t('help-us-part-3')}}

    {{t('naming-conventions-part-1')}}{{t('naming-conventions-part-2')}} {{t('naming-conventions-part-3')}}

  • {{Tabs.CoverImage | tabTitle}} @if (isAddLibrary) {

    {{t('cover-description')}}

    }

    {{t('cover-description-extra')}}

  • {{Tabs.Advanced | tabTitle}}
    @for (group of fileTypeGroups; track group) {
    }
    @if (languageSettings) { {{item.title}} {{item.title}} ({{item.isoCode}}) }
  • @if (!isAddLibrary) {
  • {{Tabs.Tasks | tabTitle}} @for(task of tasks; track task.action) {
    }
  • }
@if (isAddLibrary && setupStep !== 3) { } @else { }