Back to Kavita

Reader Settings.Component

UI/Web/src/app/book-reader/_components/reader-settings/reader-settings.component.html

0.9.01.7 KB
Original Source

@if (readingProfile !== null) {

{{t('general-settings-title')}}

{{t('font-family-label')}} @for(opt of epubFonts(); track opt.name) { {{opt.name | titlecase}} }

{{t('font-size-label')}}

{{t('line-spacing-label')}} {{t('line-spacing-min-label')}} {{t('line-spacing-max-label')}}

{{t('margin-label')}}

{{t('reset-to-defaults')}}

{{t('reader-settings-title')}}

{{t('reading-direction-label')}} {{readingDirectionModel() === ReadingDirection.LeftToRight ? t('left-to-right') : t('right-to-left')}}

{{t('writing-style-label')}}{{t('writing-style-tooltip')}} {{writingStyleModel() === WritingStyle.Horizontal ? t('horizontal') : t('vertical') }}

{{t('tap-to-paginate-label')}}{{t('tap-to-paginate-tooltip')}}
{{settingsForm.get('bookReaderTapToPaginate')?.value ? t('on') : t('off')}}

{{t('immersive-mode-label')}}{{t('immersive-mode-tooltip')}}
{{settingsForm.get('bookReaderImmersiveMode')?.value ? t('on') : t('off')}}

{{t('disable-bookmark-icon-label')}}{{t('disable-bookmark-icon-tooltip')}}
{{settingsForm.get('bookReaderDisableBookmarkIcon')?.value ? t('on') : t('off')}}

{{t('fullscreen-label')}}{{t('fullscreen-tooltip')}} @if (activeTheme()?.isDarkTheme) { {{isFullscreen() ? t('exit') : t('enter')}} }

{{t('layout-mode-label')}}

{{t('layout-mode-option-scroll')}}{{t('layout-mode-option-1col')}} @if (writingStyleModel() === WritingStyle.Horizontal) { {{t('layout-mode-option-2col')}} }

{{t('color-theme-title')}}

@for(theme of themes; track theme.name) {

{{t(theme.translationKey)}} }

@let currentRP = currentReadingProfile(); {{ t('update-parent', {name: parentReadingProfile()?.name || t('loading')}) }} {{ t('create-new') }}

}