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

{{ t('subtitle') }}

{{ t('libraryDetails') }}
@if (chosenLibraryName().trim()) { }
{{ t('iconLabel') }} @if (selectedIcon(); as icon) {
@if (icon.type === 'CUSTOM_SVG') { {{ t('customSvg') }} } @else { {{ icon.value }} }
} @else { }
{{ 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') }}
} }