{{ mode === 'edit' ? t('titleEdit') : t('titleNew') }}

{{ t('subtitle') }}

{{ t('libraryDetails') }}
@if (chosenLibraryName.trim()) { }
@if (!selectedIcon) { } @else {
@if (selectedIcon.type === 'PRIME_NG') { {{ selectedIcon.value }} } @else { {{ t('customSvg') }} }
}
{{ t('bookFolders') }} {{ folders.length }}
@if (folders.length > 0) {
@for (folder of folders; track folder; let i = $index) {
{{ folder }}
}
}
{{ t('options') }}
{{ t('watchFolders') }}
{{ t('metadataSource') }}
{{ t('organizationMode') }}
{{ t('formatPriority') }}
@for (format of formatPriority; track format.type; let i = $index) {
{{ i + 1 }} {{ format.type }}
}
{{ t('allowedFormats') }}
@if (!allowAllFormats) {
@for (format of allBookFormats; track format.type) {
@if (getFormatWarning(format.type); as warning) { }
}
@if (hasAnyFormatWarning()) {
{{ t('deselectedFormatsWarning') }}
} }