A cross platform Audiobookshelf client for Android and iOS
Dart
Add BookOrbit stats with Year in Review, notifications, achievements, user and library admin, password links and session editing, make the book stats card match BookOrbit's Your reading with a Reading Log behind it, add a File info sheet and stop switching to an unreachable server from hanging
Barnabasa9c3e9e94096
diff --git a/android/app/src/main/kotlin/com/barnabas/absorb/MainActivity.kt b/android/app/src/main/kotlin/com/barnabas/absorb/MainActivity.ktindex 2b0bddba..58e8ded6 100644--- a/android/app/src/main/kotlin/com/barnabas/absorb/MainActivity.kt+++ b/android/app/src/main/kotlin/com/barnabas/absorb/MainActivity.kt@@ -189,6 +189,30 @@ class MainActivity : AudioServiceActivity() {}}+ // The phone's time zone, and how far another one (the zone BookOrbit+ // counts days in) is from UTC right now, so the Stats screen can say+ // when the two split days differently.+ MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "com.absorb.time_zone")+ .setMethodCallHandler { call, result ->+ when (call.method) {+ "compare" -> {+ val now = System.currentTimeMillis()+ val here = java.util.TimeZone.getDefault()+ val otherId = call.argument<String>("other")+ // getTimeZone falls back to GMT for a name it doesn't know.+ val other = otherId+ ?.takeIf { java.util.TimeZone.getAvailableIDs().contains(it) }+ ?.let { java.util.TimeZone.getTimeZone(it) }+ result.success(mapOf(+ "id" to here.id,+ "offsetSeconds" to here.getOffset(now) / 1000,+ "otherOffsetSeconds" to other?.getOffset(now)?.div(1000),+ ))+ }+ else -> result.notImplemented()+ }+ }+MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "com.absorb.clip").setMethodCallHandler { call, result ->when (call.method) {diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arbindex 33eb1072..7266d7b5 100644--- a/lib/l10n/app_en.arb+++ b/lib/l10n/app_en.arb@@ -33,6 +33,10 @@}},"whatsNewButton": "See what's new",+ "whatsNewKeepShowing": "Show this after every update",+ "whatsNewKeepShowingHint": "You can turn it back on in Settings",+ "settingsWhatsNew": "Show what's new after updates",+ "settingsWhatsNewSubtitle": "After Absorb updates, a popup links to the release notes","gotIt": "Got it","preview": "Preview","or": "or",@@ -2133,6 +2137,12 @@"addedToAbsorbing": "Added to Absorbing","removeFromContinueListening": "Remove from Continue Listening","removedFromContinueListening": "Removed from Continue Listening",+ "removeFromContinueReading": "Remove from Continue Reading",+ "removedFromContinueReading": "Removed from Continue Reading",+ "sessionAdd": "Add session",+ "sessionStartLabel": "Started at",+ "sessionAdded": "Session added",+ "sessionAddFailed": "Could not add the session","removeSeriesFromContinueSeries": "Remove from Continue Series","removedSeriesFromContinueSeries": "Removed from Continue Series","couldNotUpdate": "Could not update, try again",@@ -2470,6 +2480,7 @@"readMore": "Read more","removeDownloadQuestion": "Remove download?","removeDownloadContent": "This will be removed from your device.",+ "removeWhichDownload": "The audiobook and the ebook are both on this device. Choose what to remove.","downloadRemoved": "Download removed","finished": "Finished","saved": "Downloaded",@@ -2882,6 +2893,20 @@}}},+ "fileInfoTitle": "File info",+ "fileInfoFileCount": "{count, plural, =1{1 file} other{{count} files}}",+ "@fileInfoFileCount": {"placeholders": {"count": {"type": "int"}}},+ "fileInfoNone": "This book has no file details.",+ "fileInfoAudio": "Audio",+ "fileInfoEbook": "Ebook",+ "fileInfoOther": "Other files",+ "fileInfoBookOrbitNote": "BookOrbit doesn't report codec or bitrate.",+ "fileInfoChannels": "{count} channels",+ "@fileInfoChannels": {"placeholders": {"count": {"type": "int"}}},+ "fileInfoCover": "Cover",+ "fileInfoMetadata": "Metadata",+ "fileInfoSupplement": "Extra",+ "fileInfoPathCopied": "Path copied","resetMayNotHaveSynced": "Reset may not have synced - check your server","failedToDownloadEbook": "Failed to download ebook ({code})","@failedToDownloadEbook": {@@ -5679,6 +5704,11 @@"placeholders": { "count": { "type": "int" } }},"readerVolumeNavWhilePlaying": "Even while audio is playing",+ "readerTranslateWith": "Translate with",+ "readerTranslateApp": "App on this device",+ "readerTranslateApple": "Built into iOS",+ "readerTranslateWeb": "Opens in your browser",+ "readerTranslateHint": "Selected text is sent to the translator you pick.","readerMoreFonts": "Download more fonts","readerFontRemove": "Remove download","readerFontDownloadFailed": "Couldn't download {font}",@@ -5816,6 +5846,189 @@"when": {"type": "String"}}},+ "activityYourReading": "Your reading",+ "activityYourListening": "Your listening",+ "activityLastRead": "Last read {when}",+ "@activityLastRead": {+ "placeholders": {+ "when": {"type": "String"}+ }+ },+ "activityLastListened": "Last listened {when}",+ "@activityLastListened": {+ "placeholders": {+ "when": {"type": "String"}+ }+ },+ "activityNotStarted": "Not started",+ "activityNoReading": "No reading sessions yet",+ "activityTime": "Time",+ "activityAverage": "Avg",+ "activityProgress": "Progress",+ "activityReached": "{percent} reached",+ "@activityReached": {+ "placeholders": {+ "percent": {"type": "String"}+ }+ },+ "readingLogTitle": "Reading log",+ "readingLogTotalTime": "Total time",+ "readingLogAverageSession": "Average session",+ "readingLogActiveDays": "Active days",+ "readingLogActiveDaysOf": "{active} of {total}",+ "@readingLogActiveDaysOf": {+ "placeholders": {+ "active": {"type": "int"},+ "total": {"type": "int"}+ }+ },+ "readingLogPace": "Pace",+ "readingLogPacePerHour": "{percent}%/h",+ "@readingLogPacePerHour": {+ "placeholders": {+ "percent": {"type": "String"}+ }+ },+ "readingLogLastRead": "Last read",+ "readingLogStarted": "Started",+ "readingLogFinished": "Finished",+ "readingLogNotSet": "Not set",+ "readingLogLeftMinutes": "About {m}m to finish",+ "@readingLogLeftMinutes": {+ "placeholders": {+ "m": {"type": "int"}+ }+ },+ "readingLogLeftHours": "About {h}h to finish",+ "@readingLogLeftHours": {+ "placeholders": {+ "h": {"type": "int"}+ }+ },+ "readingLogLeftHoursMinutes": "About {h}h {m}m to finish",+ "@readingLogLeftHoursMinutes": {+ "placeholders": {+ "h": {"type": "int"},+ "m": {"type": "int"}+ }+ },+ "readingLogLeftMax": "Over 99h to finish",+ "readingLogUpOnLastWeek": "Up {percent}% on the week before",+ "@readingLogUpOnLastWeek": {+ "placeholders": {+ "percent": {"type": "int"}+ }+ },+ "readingLogDownOnLastWeek": "Down {percent}% on the week before",+ "@readingLogDownOnLastWeek": {+ "placeholders": {+ "percent": {"type": "int"}+ }+ },+ "readingLogNewThisWeek": "New this week",+ "readingLogSameAsLastWeek": "Same as the week before",+ "readingLogQuietTwoWeeks": "Nothing in the last two weeks",+ "readingLogWhereYouRead": "Where you read it",+ "readingLogSourceIos": "iOS app",+ "readingLogSourceAndroid": "Android app",+ "readingLogChartTitle": "Progress over time",+ "readingLogChartPosition": "Position reached",+ "readingLogChartMinutes": "Minutes",+ "readingLogRecords": "Records",+ "readingLogLongestSession": "Longest session",+ "readingLogBestDay": "Best day",+ "readingLogLongestStreak": "Longest streak",+ "readingLogStreakDays": "{count, plural, =1{1 day} other{{count} days}}",+ "@readingLogStreakDays": {+ "placeholders": {+ "count": {"type": "int"}+ }+ },+ "readingLogJumpedBack": "Jumped back",+ "readingLogJumpedBackTimes": "{count, plural, =1{1 time} other{{count} times}}",+ "@readingLogJumpedBackTimes": {+ "placeholders": {+ "count": {"type": "int"}+ }+ },+ "readingLogFirstOpened": "First opened",+ "readingLogAttempts": "Attempts",+ "readingLogAttempt": "Attempt {index}",+ "@readingLogAttempt": {+ "placeholders": {+ "index": {"type": "int"}+ }+ },+ "readingLogAttemptBegan": "Attempt {index} began",+ "@readingLogAttemptBegan": {+ "placeholders": {+ "index": {"type": "int"}+ }+ },+ "readingLogOutcomeCompleted": "Completed",+ "readingLogOutcomeSkimmed": "Skimmed",+ "readingLogOutcomeAbandoned": "Abandoned",+ "readingLogOutcomeInProgress": "In progress",+ "readingLogSpanRange": "{from} to {to}",+ "@readingLogSpanRange": {+ "placeholders": {+ "from": {"type": "String"},+ "to": {"type": "String"}+ }+ },+ "readingLogSpanSince": "Since {from}",+ "@readingLogSpanSince": {+ "placeholders": {+ "from": {"type": "String"}+ }+ },+ "readingLogSpanEnded": "Ended {to}",+ "@readingLogSpanEnded": {+ "placeholders": {+ "to": {"type": "String"}+ }+ },+ "readingLogSpanUnknown": "No dates recorded",+ "readingLogSessionCount": "{count, plural, =1{1 session} other{{count} sessions}}",+ "@readingLogSessionCount": {+ "placeholders": {+ "count": {"type": "int"}+ }+ },+ "readingLogShowing": "{shown} of {total}",+ "@readingLogShowing": {+ "placeholders": {+ "shown": {"type": "int"},+ "total": {"type": "int"}+ }+ },+ "readingLogGapDays": "{count, plural, =1{1 day without reading} other{{count} days without reading}}",+ "@readingLogGapDays": {+ "placeholders": {+ "count": {"type": "int"}+ }+ },+ "readingLogEmpty": "No sessions recorded yet",+ "readingLogEmptyHint": "Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.",+ "readingLogNoMatches": "No sessions in this range",+ "readingLogAllTime": "All time",+ "readingLogLast30": "Last 30 days",+ "readingLogLast90": "Last 90 days",+ "readingLogThisYear": "This year",+ "readingLogAllFormats": "All formats",+ "readingLogSortBy": "Sort by",+ "readingLogSortDay": "Day",+ "readingLogSortLength": "Length",+ "readingLogSortChange": "Change",+ "readingLogSortReached": "Reached",+ "readingLogNewestFirst": "Newest first",+ "readingLogOldestFirst": "Oldest first",+ "readingLogMostFirst": "Most first",+ "readingLogLeastFirst": "Least first",+ "readingLogDeleteTitle": "Delete this session?",+ "readingLogDeleteBody": "It comes off the book's reading log and your stats on BookOrbit.",+ "readingLogDeleteFailed": "Couldn't delete the session",+ "readingLogLoadFailed": "Couldn't load the reading log","navHoldServerScan": "Server scan","navHoldScanAll": "Scan all libraries","navHoldScanLibrary": "Scan {name}",@@ -5852,6 +6065,7 @@"readerTooltipCopy": "Copy","readerTooltipSearch": "Search","readerTooltipDefine": "Define",+ "readerTooltipTranslate": "Translate","readerSearchHint": "Search this book…","readerSearchMatches": "{count, plural, one{{count} match for \"{query}\"} other{{count} matches for \"{query}\"}}","@readerSearchMatches": {@@ -6004,7 +6218,7 @@"authServerIsAudiobookshelf": "This is an Audiobookshelf server. Choose Audiobookshelf above the server address.","castNotAvailableBookOrbit": "Casting is not available with BookOrbit servers","loginMagicLink": "Magic link",- "loginMagicLinkDescription": "Sign in with a BookOrbit magic link instead of a password.",+ "loginMagicLinkDescription": "Sign in with a BookOrbit magic link, or paste a password link to set your password.","collectionPublicTitle": "Public","collectionPublicSubtitle": "Everyone on this server can see this collection","loginSignInWithProvider": "Sign in with {provider}",@@ -6060,5 +6274,715 @@"comicLeftToRight": "Left to right","comicRightToLeft": "Right to left (manga)","comicNeedsConnection": "This comic opens page by page from your server, so it needs a connection.",- "comicNoPages": "No pages found in this comic."+ "comicNoPages": "No pages found in this comic.",+ "boAdminTitle": "Server admin",+ "boAdminSubtitle": "Users and libraries on this BookOrbit server",+ "boAdminUsers": "Users",+ "boAdminLibraries": "Libraries",+ "boAdminUserCount": "{count, plural, =1{1 person} other{{count} people}}",+ "@boAdminUserCount": {"placeholders": {"count": {"type": "int"}}},+ "boAdminLibraryCount": "{count, plural, =1{1 library} other{{count} libraries}}",+ "@boAdminLibraryCount": {"placeholders": {"count": {"type": "int"}}},+ "boAdminSaved": "Saved",+ "boAdminFailed": "That didn't work. Try again.",+ "boAdminOffline": "Couldn't reach the server.",+ "boUsersSearch": "Search users",+ "boUsersNone": "No users here",+ "boUsersFilterAll": "All",+ "boUsersFilterAdmins": "Admins",+ "boUsersFilterActive": "Active",+ "boUsersFilterInactive": "Inactive",+ "boUsersFilterAttention": "Needs attention",+ "boUserBadgeAdmin": "Admin",+ "boUserBadgeInactive": "Inactive",+ "boUserBadgeLocked": "Locked",+ "boUserBadgeNoPassword": "No password yet",+ "boUserLastActive": "Last active {date}",+ "@boUserLastActive": {"placeholders": {"date": {"type": "String"}}},+ "boUserNeverSignedIn": "Never signed in",+ "boUserNew": "New user",+ "boUserCreate": "Create",+ "boUserUsername": "Username",+ "boUserUsernameHint": "At least 3 characters. It cannot be changed later.",+ "boUserName": "Name",+ "boUserEmail": "Email",+ "boUserEmailInvalid": "Enter a valid email address",+ "boUserActive": "Active",+ "boUserActiveSubtitle": "Inactive users can't sign in",+ "boUserAdmin": "Administrator",+ "boUserAdminSubtitle": "Full access to everything on the server",+ "boUserAdminHasAll": "Administrators have every permission and see every library.",+ "boUserPermissions": "Permissions",+ "boUserPresetNone": "None",+ "boUserPresetStandard": "Standard",+ "boUserPresetEverything": "Everything",+ "boUserLibraries": "Libraries",+ "boUserLibrariesHint": "The libraries this person can see.",+ "boUserPasswordLink": "Send password link",+ "boUserPasswordLinkSubtitle": "A link to set a new password, valid for 15 minutes",+ "boUserExternal": "Signs in through single sign-on, so the password is managed there.",+ "boUserUnlock": "Unlock account",+ "boUserUnlocked": "Account unlocked",+ "boUserDelete": "Delete user",+ "boUserDeleteTitle": "Delete {name}?",+ "@boUserDeleteTitle": {"placeholders": {"name": {"type": "String"}}},+ "boUserDeleteBody": "Their account and everything they have on this server are removed. This cannot be undone.",+ "boUserDeleted": "User deleted",+ "boUserLinkTitle": "Password link",+ "boUserLinkBody": "Share this link with {name}. It lets them set a password and works for 15 minutes.",+ "@boUserLinkBody": {"placeholders": {"name": {"type": "String"}}},+ "boPasswordRules": "At least 8 characters, with an uppercase letter, a lowercase letter and a number.",+ "boSetPasswordTitle": "Set your password",+ "boSetPasswordSubmit": "Set password and sign in",+ "boSetPasswordLinkBody": "Choose a password for {username} on {server}.",+ "@boSetPasswordLinkBody": {"placeholders": {"username": {"type": "String"}, "server": {"type": "String"}}},+ "boSetPasswordLinkBodyNoName": "Choose a password for your account on {server}.",+ "@boSetPasswordLinkBodyNoName": {"placeholders": {"server": {"type": "String"}}},+ "boSetPasswordStartingBody": "This account still has the password it was created with. Choose a new one to finish signing in.",+ "boSetPasswordTrust": "Only continue if you trust who sent this link.",+ "boPasswordLinkExpired": "This link has expired or was already used. Ask your server admin for a new one.",+ "boPasswordSetSignInFailed": "Your password is set, but signing in failed: {error}",+ "@boPasswordSetSignInFailed": {"placeholders": {"error": {"type": "String"}}},+ "boChangePasswordSubtitle": "Update your BookOrbit password",+ "boPasswordChangeEffect": "Changing your password signs out your other BookOrbit sessions. This device stays signed in.",+ "boPasswordChanged": "Password changed. Other signed-in devices were signed out.",+ "boPasswordShareDescription": "Send this link or have {username} scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.",+ "@boPasswordShareDescription": {"placeholders": {"username": {"type": "String"}}},+ "boPasswordShareWarning": "Anyone with this link can choose the password for {username} until it is used or expires.",+ "@boPasswordShareWarning": {"placeholders": {"username": {"type": "String"}}},+ "setupLinkCopyWebLink": "Copy web link",+ "boUserLinkCopy": "Copy link",+ "boUserLinkCopied": "Link copied",+ "boUserLinkShare": "Share",+ "boUserNoLink": "The user was added, but the server sent no password link. Send one from their page.",+ "boPermGroupLibrary": "Library and books",+ "boPermGroupRequests": "Book requests",+ "boPermGroupDevices": "Devices",+ "boPermGroupIntegrations": "Reading integrations",+ "boPermGroupDock": "Book Dock",+ "boPermGroupEmail": "Email and notifications",+ "boPermGroupAdmin": "Administration",+ "boPermLibraryDownload": "Download books",+ "boPermLibraryUpload": "Upload books",+ "boPermLibraryEditMetadata": "Edit metadata",+ "boPermLibraryDeleteBooks": "Delete books",+ "boPermBookRequestAccess": "Request books",+ "boPermBookRequestAutoApprove": "Requests approved automatically",+ "boPermBookRequestSelfFulfill": "Download requested books directly",+ "boPermManageBookRequests": "Manage book requests",+ "boPermKoboSync": "Kobo sync",+ "boPermKoreaderSync": "KOReader sync",+ "boPermOpdsAccess": "OPDS access",+ "boPermHardcoverSync": "Hardcover sync",+ "boPermReadwiseSync": "Readwise sync",+ "boPermStorygraphSync": "StoryGraph sync",+ "boPermBookDockAccess": "Use the Book Dock",+ "boPermManageBookDock": "Manage the Book Dock",+ "boPermEmailSend": "Send books by email",+ "boPermNotificationAccess": "Notifications",+ "boPermManageEmail": "Manage email",+ "boPermManageLibraries": "Manage libraries",+ "boPermManageMetadataConfig": "Metadata settings",+ "boPermManageIcons": "Manage icons",+ "boPermManageUsers": "Manage users",+ "boPermViewUserActivity": "View user activity",+ "boPermViewAuditLog": "View the audit log",+ "boPermManageAppSettings": "App settings",+ "boLibsNone": "No libraries yet",+ "boLibBookCount": "{count, plural, =1{1 book} other{{count} books}}",+ "@boLibBookCount": {"placeholders": {"count": {"type": "int"}}},+ "boLibScanNow": "Scan now",+ "boLibScanStarted": "Scan started",+ "boLibScanning": "Scanning",+ "boLibLastScan": "Scanned {date}: {added} added, {updated} updated, {missing} missing",+ "@boLibLastScan": {"placeholders": {"date": {"type": "String"}, "added": {"type": "int"}, "updated": {"type": "int"}, "missing": {"type": "int"}}},+ "boLibScanFailed": "The last scan failed",+ "boLibNeverScanned": "Not scanned yet",+ "boLibNew": "New library",+ "boLibName": "Name",+ "boLibNeedName": "Give the library a name",+ "boLibIcon": "Icon",+ "boLibFolders": "Folders",+ "boLibFoldersHint": "Folders on the server where this library's books live.",+ "boLibNeedFolder": "Add at least one folder",+ "boLibAddFolder": "Add folder",+ "boLibFolderFiles": "{count, plural, =1{1 file} other{{count} files}}",+ "@boLibFolderFiles": {"placeholders": {"count": {"type": "int"}}},+ "boLibFolderInUse": "Already in {library}",+ "@boLibFolderInUse": {"placeholders": {"library": {"type": "String"}}},+ "boLibFolderUnreadable": "The server can't read this folder",+ "boLibFolderRescan": "Changing the folders rescans the library.",+ "boLibOrganization": "Books are stored as",+ "boLibPerFolder": "One book per folder",+ "boLibPerFile": "One book per file",+ "boLibOrganizationFixed": "This cannot be changed after the library is created.",+ "boLibWatch": "Watch for changes",+ "boLibWatchSubtitle": "Pick up new and changed files as they appear",+ "boLibSchedule": "Scheduled scan",+ "boLibScheduleOff": "Off",+ "boLibScheduleDaily": "Daily",+ "boLibScheduleWeekly": "Weekly",+ "boLibScheduleCustom": "Custom ({cron})",+ "@boLibScheduleCustom": {"placeholders": {"cron": {"type": "String"}}},+ "boLibScheduleHint": "Runs at 3 AM server time.",+ "boLibCovers": "Cover shape",+ "boLibCoverBook": "Book (2:3)",+ "boLibCoverSquare": "Square (1:1)",+ "boLibAccess": "Who can see it",+ "boLibAccessHint": "Administrators see every library. Others need access here.",+ "boLibAccessNone": "Only administrators so far",+ "boLibAccessAdd": "Add person",+ "boLibAccessEveryoneHas": "Everyone already has access",+ "boLibLevelViewer": "Viewer",+ "boLibLevelEditor": "Editor",+ "boLibLevelOwner": "Owner",+ "boLibAccessRemove": "Remove access",+ "boLibDelete": "Delete library",+ "boLibDeleteTitle": "Delete {name}?",+ "@boLibDeleteTitle": {"placeholders": {"name": {"type": "String"}}},+ "boLibDeleteBody": "The library is removed from BookOrbit, with its books' progress and highlights. The files on the server stay where they are.",+ "boLibDeleted": "Library deleted",+ "boFolderPickTitle": "Choose a folder",+ "boFolderUseThis": "Use this folder",+ "boFolderEmpty": "No folders inside",+ "statsTotalTime": "TOTAL TIME",+ "statsTotalReadingTime": "TOTAL READING TIME",+ "statsDaysOfTime": "That's {days} days",+ "@statsDaysOfTime": {+ "placeholders": {+ "days": {+ "type": "String"+ }+ }+ },+ "statsHoursOfTime": "That's {hours} hours",+ "@statsHoursOfTime": {+ "placeholders": {+ "hours": {+ "type": "String"+ }+ }+ },+ "statsMediaAll": "All",+ "statsMediaListening": "Listening",+ "statsMediaReading": "Reading",+ "statsZoneMismatch": "BookOrbit counts your days in {server}, but this phone is set to {phone}. Time late in the day can land on the wrong day.",+ "@statsZoneMismatch": {+ "placeholders": {+ "server": {+ "type": "String"+ },+ "phone": {+ "type": "String"+ }+ }+ },+ "statsZoneUse": "Use {zone}",+ "@statsZoneUse": {+ "placeholders": {+ "zone": {+ "type": "String"+ }+ }+ },+ "statsZoneSaved": "BookOrbit now uses {zone}. Older days can take a few minutes to catch up.",+ "@statsZoneSaved": {+ "placeholders": {+ "zone": {+ "type": "String"+ }+ }+ },+ "statsZoneFailed": "Couldn't change the time zone on BookOrbit",+ "statsTimeOfDay": "Time of day",+ "statsBusiestAround": "Busiest around {time}",+ "@statsBusiestAround": {+ "placeholders": {+ "time": {+ "type": "String"+ }+ }+ },+ "statsFinishedByMonth": "Books finished by month",+ "statsFinishedLast12": "{count} in the last 12 months",+ "@statsFinishedLast12": {+ "placeholders": {+ "count": {+ "type": "int"+ }+ }+ },+ "statsWhereTitle": "Where you listen and read",+ "statsLast12Months": "Last 12 months",+ "statsHabits": "Habits",+ "statsTypicalSession": "Typical session",+ "statsProgressPerSession": "Progress per session",+ "statsTimeToFinish": "Time to finish",+ "statsDayCount": "{count, plural, =1{1 day} other{{count} days}}",+ "@statsDayCount": {+ "placeholders": {+ "count": {+ "type": "int"+ }+ }+ },+ "statsBooksStarted": "Books started",+ "statsBooksInProgress": "In progress",+ "statsAverageProgress": "Average progress",+ "statsTopBooks": "Top books",+ "statsTopGenres": "Top genres",+ "statsYearRead": "Read",+ "boNotificationsUnread": "{count, plural, =0{Nothing new} =1{1 unread} other{{count} unread}}",+ "@boNotificationsUnread": {+ "placeholders": {+ "count": {+ "type": "int"+ }+ }+ },+ "boNotificationsMarkAllRead": "Mark all read",+ "boNotificationsClearAll": "Clear all",+ "boNotificationsClearTitle": "Clear all notifications?",+ "boNotificationsClearBody": "This removes every notification from your BookOrbit account.",+ "boNotificationsEmpty": "No notifications yet",+ "boNotificationsLoadFailed": "Couldn't load notifications",+ "boNotificationsUpdateFailed": "Couldn't update notifications on BookOrbit",+ "boNotificationsOccurrences": "Happened {count} times",+ "@boNotificationsOccurrences": {+ "placeholders": {+ "count": {+ "type": "int"+ }+ }+ },+ "boNotificationsSettings": "Notification settings",+ "boNotificationsSettingsIntro": "Choose which notifications BookOrbit keeps for you.",+ "boNotificationsProblemsHint": "Problems only notifies you when something fails or needs attention.",+ "boNotificationLevelOff": "Off",+ "boNotificationLevelProblems": "Problems",+ "boNotificationLevelAll": "All",+ "boNotificationsSaved": "Notification settings saved",+ "boNotificationsSaveFailed": "Couldn't save notification settings",+ "boNotificationGroupLibrary": "Library",+ "boNotificationGroupFiles": "Files",+ "boNotificationGroupIntegrations": "Integrations",+ "boNotificationGroupPersonal": "Personal",+ "boNotifyScanning": "Library scanning",+ "boNotifyScanningDesc": "When a library scan finishes, fails, or finds missing books.",+ "boNotifyMetadata": "Metadata fetching",+ "boNotifyMetadataDesc": "When metadata lookups for your books finish or fail.",+ "boNotifyAuthorEnrichment": "Author details",+ "boNotifyAuthorEnrichmentDesc": "When author biographies and photos finish downloading.",+ "boNotifyFileWriteBack": "Saving to files",+ "boNotifyFileWriteBackDesc": "When edited details are saved into the book files on disk.",+ "boNotifyFileRename": "File renaming",+ "boNotifyFileRenameDesc": "When a book file is renamed to match your naming pattern.",+ "boNotifyBulkRename": "Bulk renaming",+ "boNotifyBulkRenameDesc": "When renaming many books, or moving books between libraries, finishes or fails.",+ "boNotifyMigration": "Imports",+ "boNotifyMigrationDesc": "When an import from another library app finishes or fails.",+ "boNotifyBookDock": "Book Dock",+ "boNotifyBookDockDesc": "When Book Dock finishes adding books or runs into problems.",+ "boNotifyBookRequests": "Book requests",+ "boNotifyBookRequestsDesc": "When a book request is submitted or decided, or the book becomes available.",+ "boNotifyEmail": "Email delivery",+ "boNotifyEmailDesc": "When sending a book by email works or fails.",+ "boNotifyAchievements": "Achievements",+ "boNotifyAchievementsDesc": "When you unlock a new achievement.",+ "achievementsTitle": "Achievements",+ "achievementsEarnedSummary": "{earned} of {total} earned",+ "@achievementsEarnedSummary": {+ "placeholders": {+ "earned": {+ "type": "int"+ },+ "total": {+ "type": "int"+ }+ }+ },+ "achievementsFilterAll": "All",+ "achievementsFilterEarned": "Earned",+ "achievementsFilterInProgress": "In progress",+ "achievementsFilterLocked": "Locked",+ "achievementsCategoryReading": "Reading",+ "achievementsCategoryLibrary": "Library",+ "achievementsCategoryExploration": "Exploration",+ "achievementsCategoryDedication": "Dedication",+ "achievementsCategoryDevices": "Devices",+ "achievementsRarityCommon": "Common",+ "achievementsRarityRare": "Rare",+ "achievementsRarityEpic": "Epic",+ "achievementsRarityLegendary": "Legendary",+ "achievementsLoadFailed": "Couldn't load achievements",+ "achievementsNoneMatch": "No achievements match this filter",+ "achievementsSecretName": "Secret achievement",+ "achievementsSecretHint": "Keep reading to reveal this one.",+ "achievementsEarnedOn": "Earned {date}",+ "@achievementsEarnedOn": {+ "placeholders": {+ "date": {+ "type": "String"+ }+ }+ },+ "achievementsWhileReading": "While reading {title}",+ "@achievementsWhileReading": {+ "placeholders": {+ "title": {+ "type": "String"+ }+ }+ },+ "achievementsTierOf": "Tier {earned} of {total}",+ "@achievementsTierOf": {+ "placeholders": {+ "earned": {+ "type": "int"+ },+ "total": {+ "type": "int"+ }+ }+ },+ "achievementsTiers": "Tiers",+ "achievementsAllTiers": "Every tier earned",+ "achievementsProgress": "{current} / {threshold}",+ "@achievementsProgress": {+ "placeholders": {+ "current": {+ "type": "String"+ },+ "threshold": {+ "type": "String"+ }+ }+ },+ "achievementsProgressBooks": "{current} / {threshold} books",+ "@achievementsProgressBooks": {+ "placeholders": {+ "current": {+ "type": "String"+ },+ "threshold": {+ "type": "String"+ }+ }+ },+ "achievementsProgressPages": "{current} / {threshold} pages",+ "@achievementsProgressPages": {+ "placeholders": {+ "current": {+ "type": "String"+ },+ "threshold": {+ "type": "String"+ }+ }+ },+ "achievementsProgressHours": "{current} / {threshold} hours",+ "@achievementsProgressHours": {+ "placeholders": {+ "current": {+ "type": "String"+ },+ "threshold": {+ "type": "String"+ }+ }+ },+ "achievementsProgressAnnotations": "{current} / {threshold} highlights and notes",+ "@achievementsProgressAnnotations": {+ "placeholders": {+ "current": {+ "type": "String"+ },+ "threshold": {+ "type": "String"+ }+ }+ },+ "achievementsProgressRatings": "{current} / {threshold} ratings",+ "@achievementsProgressRatings": {+ "placeholders": {+ "current": {+ "type": "String"+ },+ "threshold": {+ "type": "String"+ }+ }+ },+ "achievementsProgressGenres": "{current} / {threshold} genres",+ "@achievementsProgressGenres": {+ "placeholders": {+ "current": {+ "type": "String"+ },+ "threshold": {+ "type": "String"+ }+ }+ },+ "achievementsProgressLanguages": "{current} / {threshold} languages",+ "@achievementsProgressLanguages": {+ "placeholders": {+ "current": {+ "type": "String"+ },+ "threshold": {+ "type": "String"+ }+ }+ },+ "achievementsProgressDays": "{current} / {threshold} days",+ "@achievementsProgressDays": {+ "placeholders": {+ "current": {+ "type": "String"+ },+ "threshold": {+ "type": "String"+ }+ }+ },+ "achievementsHowToGetIt": "How to get it",+ "achievementsHintReadingPace": "{count, plural, =1{You read 1 hour in the last {days} days.} other{You read {count} hours in the last {days} days.}}",+ "@achievementsHintReadingPace": {+ "placeholders": {+ "count": {+ "type": "int"+ },+ "days": {+ "type": "int"+ }+ }+ },+ "achievementsHintEtaDays": "{count, plural, =1{About 1 day at this pace.} other{About {count} days at this pace.}}",+ "@achievementsHintEtaDays": {+ "placeholders": {+ "count": {+ "type": "int"+ }+ }+ },+ "achievementsHintEtaWeeks": "{count, plural, =1{About 1 week at this pace.} other{About {count} weeks at this pace.}}",+ "@achievementsHintEtaWeeks": {+ "placeholders": {+ "count": {+ "type": "int"+ }+ }+ },+ "achievementsHintEtaMonths": "{count, plural, =1{About 1 month at this pace.} other{About {count} months at this pace.}}",+ "@achievementsHintEtaMonths": {+ "placeholders": {+ "count": {+ "type": "int"+ }+ }+ },+ "achievementsHintDecadeUnread": "{count, plural, =1{1 book from the {decade}s is waiting on your shelves.} other{{count} books from the {decade}s are waiting on your shelves.}}",+ "@achievementsHintDecadeUnread": {+ "placeholders": {+ "count": {+ "type": "int"+ },+ "decade": {+ "type": "String"+ }+ }+ },+ "achievementsHintCenturyUnread": "{count, plural, =1{1 book from the {century}s is waiting on your shelves.} other{{count} books from the {century}s are waiting on your shelves.}}",+ "@achievementsHintCenturyUnread": {+ "placeholders": {+ "count": {+ "type": "int"+ },+ "century": {+ "type": "String"+ }+ }+ },+ "achievementsHintStalled": "{title} is {percent} read and was started on {date}.",+ "@achievementsHintStalled": {+ "placeholders": {+ "title": {+ "type": "String"+ },+ "percent": {+ "type": "String"+ },+ "date": {+ "type": "String"+ }+ }+ },+ "achievementsHintStalledNoProgress": "{title} was started on {date}.",+ "@achievementsHintStalledNoProgress": {+ "placeholders": {+ "title": {+ "type": "String"+ },+ "date": {+ "type": "String"+ }+ }+ },+ "achievementsHintUntitledBook": "A book in progress",+ "achievementsHintNearlyFinished": "{count, plural, =1{1 book in progress is past {percent}.} other{{count} books in progress are past {percent}.}}",+ "@achievementsHintNearlyFinished": {+ "placeholders": {+ "count": {+ "type": "int"+ },+ "percent": {+ "type": "String"+ }+ }+ },+ "achievementsHintUnrated": "{count, plural, =1{1 book you finished has no rating yet.} other{{count} books you finished have no rating yet.}}",+ "@achievementsHintUnrated": {+ "placeholders": {+ "count": {+ "type": "int"+ }+ }+ },+ "achievementsHintShortBooks": "{count, plural, =1{1 book under {pages} pages is waiting on your shelves.} other{{count} books under {pages} pages are waiting on your shelves.}}",+ "@achievementsHintShortBooks": {+ "placeholders": {+ "count": {+ "type": "int"+ },+ "pages": {+ "type": "String"+ }+ }+ },+ "achievementsHintAlreadyStarted": "{count, plural, =1{1 is already in progress.} other{{count} are already in progress.}}",+ "@achievementsHintAlreadyStarted": {+ "placeholders": {+ "count": {+ "type": "int"+ }+ }+ },+ "achievementsHintLongBooks": "{count, plural, =1{1 book of {pages} pages or more is waiting on your shelves.} other{{count} books of {pages} pages or more are waiting on your shelves.}}",+ "@achievementsHintLongBooks": {+ "placeholders": {+ "count": {+ "type": "int"+ },+ "pages": {+ "type": "String"+ }+ }+ },+ "achievementsHintOldBooks": "{count, plural, =1{1 book published before {year} is waiting on your shelves.} other{{count} books published before {year} are waiting on your shelves.}}",+ "@achievementsHintOldBooks": {+ "placeholders": {+ "count": {+ "type": "int"+ },+ "year": {+ "type": "String"+ }+ }+ },+ "achievementsHintAuthorUnread": "{author}: {finished} finished, {count} more on your shelves.",+ "@achievementsHintAuthorUnread": {+ "placeholders": {+ "author": {+ "type": "String"+ },+ "finished": {+ "type": "int"+ },+ "count": {+ "type": "int"+ }+ }+ },+ "achievementsHintLanguageUnread": "{count, plural, =1{1 book in {language} is waiting on your shelves.} other{{count} books in {language} are waiting on your shelves.}}",+ "@achievementsHintLanguageUnread": {+ "placeholders": {+ "count": {+ "type": "int"+ },+ "language": {+ "type": "String"+ }+ }+ },+ "achievementsHintMonthsRead": "{count, plural, =1{You have read in 1 month of {year} so far.} other{You have read in {count} months of {year} so far.}}",+ "@achievementsHintMonthsRead": {+ "placeholders": {+ "count": {+ "type": "int"+ },+ "year": {+ "type": "String"+ }+ }+ },+ "achievementsHintMonthsLeft": "{count, plural, =1{{months} is left.} other{{months} are left.}}",+ "@achievementsHintMonthsLeft": {+ "placeholders": {+ "count": {+ "type": "int"+ },+ "months": {+ "type": "String"+ }+ }+ },+ "achievementsHintNoLongBook": "No book on your shelves has {pages} pages or more yet.",+ "@achievementsHintNoLongBook": {+ "placeholders": {+ "pages": {+ "type": "String"+ }+ }+ },+ "achievementsHintNothingBefore": "Nothing on your shelves was published before {year}.",+ "@achievementsHintNothingBefore": {+ "placeholders": {+ "year": {+ "type": "String"+ }+ }+ },+ "achievementsHintTooFewDecades": "{count, plural, =1{Your shelves span only 1 decade so far.} other{Your shelves span only {count} decades so far.}}",+ "@achievementsHintTooFewDecades": {+ "placeholders": {+ "count": {+ "type": "int"+ }+ }+ },+ "achievementsHintTooFewCenturies": "{count, plural, =1{Your shelves span only 1 century so far.} other{Your shelves span only {count} centuries so far.}}",+ "@achievementsHintTooFewCenturies": {+ "placeholders": {+ "count": {+ "type": "int"+ }+ }+ },+ "achievementsHintMissedMonth": "You did not read in {month}, so {year} is out of reach. The count starts again in January.",+ "@achievementsHintMissedMonth": {+ "placeholders": {+ "month": {+ "type": "String"+ },+ "year": {+ "type": "String"+ }+ }+ },+ "achievementsSwitch": "Achievements",+ "achievementsSwitchSubtitle": "Track achievements on BookOrbit. Turning this off hides them here and on the web.",+ "achievementsTurnedOn": "Achievements turned on",+ "achievementsTurnedOff": "Achievements turned off",+ "achievementsSwitchFailed": "Couldn't change achievements on BookOrbit"}diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dartindex d148bfa0..7047f0a9 100644--- a/lib/l10n/app_localizations.dart+++ b/lib/l10n/app_localizations.dart@@ -286,6 +286,30 @@ abstract class AppLocalizations {/// **'See what\'s new'**String get whatsNewButton;+ /// No description provided for @whatsNewKeepShowing.+ ///+ /// In en, this message translates to:+ /// **'Show this after every update'**+ String get whatsNewKeepShowing;++ /// No description provided for @whatsNewKeepShowingHint.+ ///+ /// In en, this message translates to:+ /// **'You can turn it back on in Settings'**+ String get whatsNewKeepShowingHint;++ /// No description provided for @settingsWhatsNew.+ ///+ /// In en, this message translates to:+ /// **'Show what\'s new after updates'**+ String get settingsWhatsNew;++ /// No description provided for @settingsWhatsNewSubtitle.+ ///+ /// In en, this message translates to:+ /// **'After Absorb updates, a popup links to the release notes'**+ String get settingsWhatsNewSubtitle;+/// No description provided for @gotIt.////// In en, this message translates to:@@ -7294,6 +7318,42 @@ abstract class AppLocalizations {/// **'Removed from Continue Listening'**String get removedFromContinueListening;+ /// No description provided for @removeFromContinueReading.+ ///+ /// In en, this message translates to:+ /// **'Remove from Continue Reading'**+ String get removeFromContinueReading;++ /// No description provided for @removedFromContinueReading.+ ///+ /// In en, this message translates to:+ /// **'Removed from Continue Reading'**+ String get removedFromContinueReading;++ /// No description provided for @sessionAdd.+ ///+ /// In en, this message translates to:+ /// **'Add session'**+ String get sessionAdd;++ /// No description provided for @sessionStartLabel.+ ///+ /// In en, this message translates to:+ /// **'Started at'**+ String get sessionStartLabel;++ /// No description provided for @sessionAdded.+ ///+ /// In en, this message translates to:+ /// **'Session added'**+ String get sessionAdded;++ /// No description provided for @sessionAddFailed.+ ///+ /// In en, this message translates to:+ /// **'Could not add the session'**+ String get sessionAddFailed;+/// No description provided for @removeSeriesFromContinueSeries.////// In en, this message translates to:@@ -8602,6 +8662,12 @@ abstract class AppLocalizations {/// **'This will be removed from your device.'**String get removeDownloadContent;+ /// No description provided for @removeWhichDownload.+ ///+ /// In en, this message translates to:+ /// **'The audiobook and the ebook are both on this device. Choose what to remove.'**+ String get removeWhichDownload;+/// No description provided for @downloadRemoved.////// In en, this message translates to:@@ -9530,6 +9596,78 @@ abstract class AppLocalizations {/// **'{value} kbps'**String kbpsValue(int value);+ /// No description provided for @fileInfoTitle.+ ///+ /// In en, this message translates to:+ /// **'File info'**+ String get fileInfoTitle;++ /// No description provided for @fileInfoFileCount.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =1{1 file} other{{count} files}}'**+ String fileInfoFileCount(int count);++ /// No description provided for @fileInfoNone.+ ///+ /// In en, this message translates to:+ /// **'This book has no file details.'**+ String get fileInfoNone;++ /// No description provided for @fileInfoAudio.+ ///+ /// In en, this message translates to:+ /// **'Audio'**+ String get fileInfoAudio;++ /// No description provided for @fileInfoEbook.+ ///+ /// In en, this message translates to:+ /// **'Ebook'**+ String get fileInfoEbook;++ /// No description provided for @fileInfoOther.+ ///+ /// In en, this message translates to:+ /// **'Other files'**+ String get fileInfoOther;++ /// No description provided for @fileInfoBookOrbitNote.+ ///+ /// In en, this message translates to:+ /// **'BookOrbit doesn\'t report codec or bitrate.'**+ String get fileInfoBookOrbitNote;++ /// No description provided for @fileInfoChannels.+ ///+ /// In en, this message translates to:+ /// **'{count} channels'**+ String fileInfoChannels(int count);++ /// No description provided for @fileInfoCover.+ ///+ /// In en, this message translates to:+ /// **'Cover'**+ String get fileInfoCover;++ /// No description provided for @fileInfoMetadata.+ ///+ /// In en, this message translates to:+ /// **'Metadata'**+ String get fileInfoMetadata;++ /// No description provided for @fileInfoSupplement.+ ///+ /// In en, this message translates to:+ /// **'Extra'**+ String get fileInfoSupplement;++ /// No description provided for @fileInfoPathCopied.+ ///+ /// In en, this message translates to:+ /// **'Path copied'**+ String get fileInfoPathCopied;+/// No description provided for @resetMayNotHaveSynced.////// In en, this message translates to:@@ -17493,6 +17631,36 @@ abstract class AppLocalizations {/// **'Even while audio is playing'**String get readerVolumeNavWhilePlaying;+ /// No description provided for @readerTranslateWith.+ ///+ /// In en, this message translates to:+ /// **'Translate with'**+ String get readerTranslateWith;++ /// No description provided for @readerTranslateApp.+ ///+ /// In en, this message translates to:+ /// **'App on this device'**+ String get readerTranslateApp;++ /// No description provided for @readerTranslateApple.+ ///+ /// In en, this message translates to:+ /// **'Built into iOS'**+ String get readerTranslateApple;++ /// No description provided for @readerTranslateWeb.+ ///+ /// In en, this message translates to:+ /// **'Opens in your browser'**+ String get readerTranslateWeb;++ /// No description provided for @readerTranslateHint.+ ///+ /// In en, this message translates to:+ /// **'Selected text is sent to the translator you pick.'**+ String get readerTranslateHint;+/// No description provided for @readerMoreFonts.////// In en, this message translates to:@@ -18069,1127 +18237,3329 @@ abstract class AppLocalizations {/// **'Checked {when}'**String bookStatsLastChecked(String when);- /// No description provided for @navHoldServerScan.+ /// No description provided for @activityYourReading.////// In en, this message translates to:- /// **'Server scan'**- String get navHoldServerScan;+ /// **'Your reading'**+ String get activityYourReading;- /// No description provided for @navHoldScanAll.+ /// No description provided for @activityYourListening.////// In en, this message translates to:- /// **'Scan all libraries'**- String get navHoldScanAll;+ /// **'Your listening'**+ String get activityYourListening;- /// No description provided for @navHoldScanLibrary.+ /// No description provided for @activityLastRead.////// In en, this message translates to:- /// **'Scan {name}'**- String navHoldScanLibrary(String name);+ /// **'Last read {when}'**+ String activityLastRead(String when);- /// No description provided for @navHoldScanStarted.+ /// No description provided for @activityLastListened.////// In en, this message translates to:- /// **'Scan started'**- String get navHoldScanStarted;+ /// **'Last listened {when}'**+ String activityLastListened(String when);- /// No description provided for @navHoldScanFailed.+ /// No description provided for @activityNotStarted.////// In en, this message translates to:- /// **'Could not start the scan'**- String get navHoldScanFailed;+ /// **'Not started'**+ String get activityNotStarted;- /// No description provided for @navHoldAdminLogs.+ /// No description provided for @activityNoReading.////// In en, this message translates to:- /// **'Server logs'**- String get navHoldAdminLogs;+ /// **'No reading sessions yet'**+ String get activityNoReading;- /// No description provided for @navHoldAdminPage.+ /// No description provided for @activityTime.////// In en, this message translates to:- /// **'Admin: {page}'**- String navHoldAdminPage(String page);+ /// **'Time'**+ String get activityTime;- /// No description provided for @navHoldNothingPlaying.+ /// No description provided for @activityAverage.////// In en, this message translates to:- /// **'Nothing to play yet'**- String get navHoldNothingPlaying;+ /// **'Avg'**+ String get activityAverage;- /// No description provided for @navHoldReadBook.+ /// No description provided for @activityProgress.////// In en, this message translates to:- /// **'Read current book'**- String get navHoldReadBook;+ /// **'Progress'**+ String get activityProgress;- /// No description provided for @navHoldBookDetails.+ /// No description provided for @activityReached.////// In en, this message translates to:- /// **'Current book details'**- String get navHoldBookDetails;+ /// **'{percent} reached'**+ String activityReached(String percent);- /// No description provided for @syncSourceTitle.+ /// No description provided for @readingLogTitle.////// In en, this message translates to:- /// **'Which copy should sync keep?'**- String get syncSourceTitle;+ /// **'Reading log'**+ String get readingLogTitle;- /// No description provided for @syncSourceBody.+ /// No description provided for @readingLogTotalTime.////// In en, this message translates to:- /// **'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.'**- String get syncSourceBody;+ /// **'Total time'**+ String get readingLogTotalTime;- /// No description provided for @syncSourceUseServer.+ /// No description provided for @readingLogAverageSession.////// In en, this message translates to:- /// **'Server\'s last sync'**- String get syncSourceUseServer;+ /// **'Average session'**+ String get readingLogAverageSession;- /// No description provided for @syncSourceUseBackup.+ /// No description provided for @readingLogActiveDays.////// In en, this message translates to:- /// **'This backup'**- String get syncSourceUseBackup;+ /// **'Active days'**+ String get readingLogActiveDays;- /// No description provided for @syncSettingsWhatTravels.+ /// No description provided for @readingLogActiveDaysOf.////// In en, this message translates to:- /// **'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.'**- String get syncSettingsWhatTravels;+ /// **'{active} of {total}'**+ String readingLogActiveDaysOf(int active, int total);- /// No description provided for @syncSettingsDownloadWarnTitle.+ /// No description provided for @readingLogPace.////// In en, this message translates to:- /// **'Replace this device\'s settings?'**- String get syncSettingsDownloadWarnTitle;+ /// **'Pace'**+ String get readingLogPace;- /// No description provided for @syncSettingsDownloadWarnBody.+ /// No description provided for @readingLogPacePerHour.////// In en, this message translates to:- /// **'The synced copy will overwrite the settings on this device.'**- String get syncSettingsDownloadWarnBody;+ /// **'{percent}%/h'**+ String readingLogPacePerHour(String percent);- /// No description provided for @syncSettingsDownloadWarnConfirm.+ /// No description provided for @readingLogLastRead.////// In en, this message translates to:- /// **'Replace'**- String get syncSettingsDownloadWarnConfirm;+ /// **'Last read'**+ String get readingLogLastRead;- /// No description provided for @readerCopied.+ /// No description provided for @readingLogStarted.////// In en, this message translates to:- /// **'Copied to clipboard'**- String get readerCopied;+ /// **'Started'**+ String get readingLogStarted;- /// No description provided for @dictionaryNotFound.+ /// No description provided for @readingLogFinished.////// In en, this message translates to:- /// **'No definition found for this word.'**- String get dictionaryNotFound;+ /// **'Finished'**+ String get readingLogFinished;- /// No description provided for @dictionaryError.+ /// No description provided for @readingLogNotSet.////// In en, this message translates to:- /// **'Couldn\'t reach the dictionary. Check your connection.'**- String get dictionaryError;+ /// **'Not set'**+ String get readingLogNotSet;- /// No description provided for @dictionaryRetry.+ /// No description provided for @readingLogLeftMinutes.////// In en, this message translates to:- /// **'Retry'**- String get dictionaryRetry;+ /// **'About {m}m to finish'**+ String readingLogLeftMinutes(int m);- /// No description provided for @dictionarySearchWeb.+ /// No description provided for @readingLogLeftHours.////// In en, this message translates to:- /// **'Search the web'**- String get dictionarySearchWeb;+ /// **'About {h}h to finish'**+ String readingLogLeftHours(int h);- /// No description provided for @readerTooltipCopy.+ /// No description provided for @readingLogLeftHoursMinutes.////// In en, this message translates to:- /// **'Copy'**- String get readerTooltipCopy;+ /// **'About {h}h {m}m to finish'**+ String readingLogLeftHoursMinutes(int h, int m);- /// No description provided for @readerTooltipSearch.+ /// No description provided for @readingLogLeftMax.////// In en, this message translates to:- /// **'Search'**- String get readerTooltipSearch;+ /// **'Over 99h to finish'**+ String get readingLogLeftMax;- /// No description provided for @readerTooltipDefine.+ /// No description provided for @readingLogUpOnLastWeek.////// In en, this message translates to:- /// **'Define'**- String get readerTooltipDefine;+ /// **'Up {percent}% on the week before'**+ String readingLogUpOnLastWeek(int percent);- /// No description provided for @readerSearchHint.+ /// No description provided for @readingLogDownOnLastWeek.////// In en, this message translates to:- /// **'Search this book…'**- String get readerSearchHint;+ /// **'Down {percent}% on the week before'**+ String readingLogDownOnLastWeek(int percent);- /// No description provided for @readerSearchMatches.+ /// No description provided for @readingLogNewThisWeek.////// In en, this message translates to:- /// **'{count, plural, one{{count} match for \"{query}\"} other{{count} matches for \"{query}\"}}'**- String readerSearchMatches(int count, String query);+ /// **'New this week'**+ String get readingLogNewThisWeek;- /// No description provided for @readerSearchEmpty.+ /// No description provided for @readingLogSameAsLastWeek.////// In en, this message translates to:- /// **'Type a word or phrase and tap search.'**- String get readerSearchEmpty;+ /// **'Same as the week before'**+ String get readingLogSameAsLastWeek;- /// No description provided for @readerSearchNoResults.+ /// No description provided for @readingLogQuietTwoWeeks.////// In en, this message translates to:- /// **'No matches for \"{query}\".'**- String readerSearchNoResults(String query);+ /// **'Nothing in the last two weeks'**+ String get readingLogQuietTwoWeeks;- /// No description provided for @transcriptionTitle.+ /// No description provided for @readingLogWhereYouRead.////// In en, this message translates to:- /// **'Transcription'**- String get transcriptionTitle;+ /// **'Where you read it'**+ String get readingLogWhereYouRead;- /// No description provided for @transcriptionAdvancedSubtitle.+ /// No description provided for @readingLogSourceIos.////// In en, this message translates to:- /// **'For transcribing bookmarks and finding your spot between audiobook and ebook'**- String get transcriptionAdvancedSubtitle;+ /// **'iOS app'**+ String get readingLogSourceIos;- /// No description provided for @transcriptionEnable.+ /// No description provided for @readingLogSourceAndroid.////// In en, this message translates to:- /// **'Enable transcription'**- String get transcriptionEnable;+ /// **'Android app'**+ String get readingLogSourceAndroid;- /// No description provided for @transcriptionEnableSubtitle.+ /// No description provided for @readingLogChartTitle.////// In en, this message translates to:- /// **'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader'**- String get transcriptionEnableSubtitle;+ /// **'Progress over time'**+ String get readingLogChartTitle;- /// No description provided for @transcriptionDisclaimer.+ /// No description provided for @readingLogChartPosition.////// In en, this message translates to:- /// **'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.'**- String get transcriptionDisclaimer;+ /// **'Position reached'**+ String get readingLogChartPosition;- /// No description provided for @transcriptionNeedModelHint.+ /// No description provided for @readingLogChartMinutes.////// In en, this message translates to:- /// **'Download a model below to start transcribing.'**- String get transcriptionNeedModelHint;+ /// **'Minutes'**+ String get readingLogChartMinutes;- /// No description provided for @transcriptionModelSection.+ /// No description provided for @readingLogRecords.////// In en, this message translates to:- /// **'Models'**- String get transcriptionModelSection;+ /// **'Records'**+ String get readingLogRecords;- /// No description provided for @transcriptionModelTiny.+ /// No description provided for @readingLogLongestSession.////// In en, this message translates to:- /// **'Tiny'**- String get transcriptionModelTiny;+ /// **'Longest session'**+ String get readingLogLongestSession;- /// No description provided for @transcriptionModelTinyDesc.+ /// No description provided for @readingLogBestDay.////// In en, this message translates to:- /// **'Quickest, less accurate. About 31 MB.'**- String get transcriptionModelTinyDesc;+ /// **'Best day'**+ String get readingLogBestDay;- /// No description provided for @transcriptionModelBase.+ /// No description provided for @readingLogLongestStreak.////// In en, this message translates to:- /// **'Base'**- String get transcriptionModelBase;+ /// **'Longest streak'**+ String get readingLogLongestStreak;- /// No description provided for @transcriptionModelBaseDesc.+ /// No description provided for @readingLogStreakDays.////// In en, this message translates to:- /// **'A good middle ground. About 57 MB.'**- String get transcriptionModelBaseDesc;+ /// **'{count, plural, =1{1 day} other{{count} days}}'**+ String readingLogStreakDays(int count);- /// No description provided for @transcriptionModelSmall.+ /// No description provided for @readingLogJumpedBack.////// In en, this message translates to:- /// **'Small'**- String get transcriptionModelSmall;+ /// **'Jumped back'**+ String get readingLogJumpedBack;- /// No description provided for @transcriptionModelSmallDesc.+ /// No description provided for @readingLogJumpedBackTimes.////// In en, this message translates to:- /// **'Slower but most accurate - best on a high-end phone. About 182 MB.'**- String get transcriptionModelSmallDesc;+ /// **'{count, plural, =1{1 time} other{{count} times}}'**+ String readingLogJumpedBackTimes(int count);- /// No description provided for @transcriptionAutoHint.+ /// No description provided for @readingLogFirstOpened.////// In en, this message translates to:- /// **'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.'**- String get transcriptionAutoHint;+ /// **'First opened'**+ String get readingLogFirstOpened;- /// No description provided for @transcriptionDownload.+ /// No description provided for @readingLogAttempts.////// In en, this message translates to:- /// **'Download'**- String get transcriptionDownload;+ /// **'Attempts'**+ String get readingLogAttempts;- /// No description provided for @transcriptionDownloadFailed.+ /// No description provided for @readingLogAttempt.////// In en, this message translates to:- /// **'Download failed. Check your connection and try again.'**- String get transcriptionDownloadFailed;+ /// **'Attempt {index}'**+ String readingLogAttempt(int index);- /// No description provided for @transcribe.+ /// No description provided for @readingLogAttemptBegan.////// In en, this message translates to:- /// **'Transcribe'**- String get transcribe;+ /// **'Attempt {index} began'**+ String readingLogAttemptBegan(int index);- /// No description provided for @transcribing.+ /// No description provided for @readingLogOutcomeCompleted.////// In en, this message translates to:- /// **'Transcribing...'**- String get transcribing;+ /// **'Completed'**+ String get readingLogOutcomeCompleted;- /// No description provided for @transcriptionResultTitle.+ /// No description provided for @readingLogOutcomeSkimmed.////// In en, this message translates to:- /// **'Transcript'**- String get transcriptionResultTitle;+ /// **'Skimmed'**+ String get readingLogOutcomeSkimmed;- /// No description provided for @transcriptionSaveToNote.+ /// No description provided for @readingLogOutcomeAbandoned.////// In en, this message translates to:- /// **'Save to note'**- String get transcriptionSaveToNote;+ /// **'Abandoned'**+ String get readingLogOutcomeAbandoned;- /// No description provided for @transcriptionSavedToNote.+ /// No description provided for @readingLogOutcomeInProgress.////// In en, this message translates to:- /// **'Saved to bookmark note'**- String get transcriptionSavedToNote;+ /// **'In progress'**+ String get readingLogOutcomeInProgress;- /// No description provided for @transcriptionDisabledHint.+ /// No description provided for @readingLogSpanRange.////// In en, this message translates to:- /// **'Turn on bookmark transcription in Settings, under Advanced.'**- String get transcriptionDisabledHint;+ /// **'{from} to {to}'**+ String readingLogSpanRange(String from, String to);- /// No description provided for @transcriptionNoModelDownloaded.+ /// No description provided for @readingLogSpanSince.////// In en, this message translates to:- /// **'Download a transcription model in Settings first.'**- String get transcriptionNoModelDownloaded;+ /// **'Since {from}'**+ String readingLogSpanSince(String from);++ /// No description provided for @readingLogSpanEnded.+ ///+ /// In en, this message translates to:+ /// **'Ended {to}'**+ String readingLogSpanEnded(String to);++ /// No description provided for @readingLogSpanUnknown.+ ///+ /// In en, this message translates to:+ /// **'No dates recorded'**+ String get readingLogSpanUnknown;++ /// No description provided for @readingLogSessionCount.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =1{1 session} other{{count} sessions}}'**+ String readingLogSessionCount(int count);++ /// No description provided for @readingLogShowing.+ ///+ /// In en, this message translates to:+ /// **'{shown} of {total}'**+ String readingLogShowing(int shown, int total);++ /// No description provided for @readingLogGapDays.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =1{1 day without reading} other{{count} days without reading}}'**+ String readingLogGapDays(int count);++ /// No description provided for @readingLogEmpty.+ ///+ /// In en, this message translates to:+ /// **'No sessions recorded yet'**+ String get readingLogEmpty;++ /// No description provided for @readingLogEmptyHint.+ ///+ /// In en, this message translates to:+ /// **'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.'**+ String get readingLogEmptyHint;++ /// No description provided for @readingLogNoMatches.+ ///+ /// In en, this message translates to:+ /// **'No sessions in this range'**+ String get readingLogNoMatches;++ /// No description provided for @readingLogAllTime.+ ///+ /// In en, this message translates to:+ /// **'All time'**+ String get readingLogAllTime;++ /// No description provided for @readingLogLast30.+ ///+ /// In en, this message translates to:+ /// **'Last 30 days'**+ String get readingLogLast30;++ /// No description provided for @readingLogLast90.+ ///+ /// In en, this message translates to:+ /// **'Last 90 days'**+ String get readingLogLast90;++ /// No description provided for @readingLogThisYear.+ ///+ /// In en, this message translates to:+ /// **'This year'**+ String get readingLogThisYear;++ /// No description provided for @readingLogAllFormats.+ ///+ /// In en, this message translates to:+ /// **'All formats'**+ String get readingLogAllFormats;++ /// No description provided for @readingLogSortBy.+ ///+ /// In en, this message translates to:+ /// **'Sort by'**+ String get readingLogSortBy;++ /// No description provided for @readingLogSortDay.+ ///+ /// In en, this message translates to:+ /// **'Day'**+ String get readingLogSortDay;++ /// No description provided for @readingLogSortLength.+ ///+ /// In en, this message translates to:+ /// **'Length'**+ String get readingLogSortLength;++ /// No description provided for @readingLogSortChange.+ ///+ /// In en, this message translates to:+ /// **'Change'**+ String get readingLogSortChange;++ /// No description provided for @readingLogSortReached.+ ///+ /// In en, this message translates to:+ /// **'Reached'**+ String get readingLogSortReached;++ /// No description provided for @readingLogNewestFirst.+ ///+ /// In en, this message translates to:+ /// **'Newest first'**+ String get readingLogNewestFirst;++ /// No description provided for @readingLogOldestFirst.+ ///+ /// In en, this message translates to:+ /// **'Oldest first'**+ String get readingLogOldestFirst;++ /// No description provided for @readingLogMostFirst.+ ///+ /// In en, this message translates to:+ /// **'Most first'**+ String get readingLogMostFirst;++ /// No description provided for @readingLogLeastFirst.+ ///+ /// In en, this message translates to:+ /// **'Least first'**+ String get readingLogLeastFirst;++ /// No description provided for @readingLogDeleteTitle.+ ///+ /// In en, this message translates to:+ /// **'Delete this session?'**+ String get readingLogDeleteTitle;++ /// No description provided for @readingLogDeleteBody.+ ///+ /// In en, this message translates to:+ /// **'It comes off the book\'s reading log and your stats on BookOrbit.'**+ String get readingLogDeleteBody;++ /// No description provided for @readingLogDeleteFailed.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t delete the session'**+ String get readingLogDeleteFailed;++ /// No description provided for @readingLogLoadFailed.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t load the reading log'**+ String get readingLogLoadFailed;++ /// No description provided for @navHoldServerScan.+ ///+ /// In en, this message translates to:+ /// **'Server scan'**+ String get navHoldServerScan;++ /// No description provided for @navHoldScanAll.+ ///+ /// In en, this message translates to:+ /// **'Scan all libraries'**+ String get navHoldScanAll;++ /// No description provided for @navHoldScanLibrary.+ ///+ /// In en, this message translates to:+ /// **'Scan {name}'**+ String navHoldScanLibrary(String name);++ /// No description provided for @navHoldScanStarted.+ ///+ /// In en, this message translates to:+ /// **'Scan started'**+ String get navHoldScanStarted;++ /// No description provided for @navHoldScanFailed.+ ///+ /// In en, this message translates to:+ /// **'Could not start the scan'**+ String get navHoldScanFailed;++ /// No description provided for @navHoldAdminLogs.+ ///+ /// In en, this message translates to:+ /// **'Server logs'**+ String get navHoldAdminLogs;++ /// No description provided for @navHoldAdminPage.+ ///+ /// In en, this message translates to:+ /// **'Admin: {page}'**+ String navHoldAdminPage(String page);++ /// No description provided for @navHoldNothingPlaying.+ ///+ /// In en, this message translates to:+ /// **'Nothing to play yet'**+ String get navHoldNothingPlaying;++ /// No description provided for @navHoldReadBook.+ ///+ /// In en, this message translates to:+ /// **'Read current book'**+ String get navHoldReadBook;++ /// No description provided for @navHoldBookDetails.+ ///+ /// In en, this message translates to:+ /// **'Current book details'**+ String get navHoldBookDetails;++ /// No description provided for @syncSourceTitle.+ ///+ /// In en, this message translates to:+ /// **'Which copy should sync keep?'**+ String get syncSourceTitle;++ /// No description provided for @syncSourceBody.+ ///+ /// In en, this message translates to:+ /// **'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.'**+ String get syncSourceBody;++ /// No description provided for @syncSourceUseServer.+ ///+ /// In en, this message translates to:+ /// **'Server\'s last sync'**+ String get syncSourceUseServer;++ /// No description provided for @syncSourceUseBackup.+ ///+ /// In en, this message translates to:+ /// **'This backup'**+ String get syncSourceUseBackup;++ /// No description provided for @syncSettingsWhatTravels.+ ///+ /// In en, this message translates to:+ /// **'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.'**+ String get syncSettingsWhatTravels;++ /// No description provided for @syncSettingsDownloadWarnTitle.+ ///+ /// In en, this message translates to:+ /// **'Replace this device\'s settings?'**+ String get syncSettingsDownloadWarnTitle;++ /// No description provided for @syncSettingsDownloadWarnBody.+ ///+ /// In en, this message translates to:+ /// **'The synced copy will overwrite the settings on this device.'**+ String get syncSettingsDownloadWarnBody;++ /// No description provided for @syncSettingsDownloadWarnConfirm.+ ///+ /// In en, this message translates to:+ /// **'Replace'**+ String get syncSettingsDownloadWarnConfirm;++ /// No description provided for @readerCopied.+ ///+ /// In en, this message translates to:+ /// **'Copied to clipboard'**+ String get readerCopied;++ /// No description provided for @dictionaryNotFound.+ ///+ /// In en, this message translates to:+ /// **'No definition found for this word.'**+ String get dictionaryNotFound;++ /// No description provided for @dictionaryError.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t reach the dictionary. Check your connection.'**+ String get dictionaryError;++ /// No description provided for @dictionaryRetry.+ ///+ /// In en, this message translates to:+ /// **'Retry'**+ String get dictionaryRetry;++ /// No description provided for @dictionarySearchWeb.+ ///+ /// In en, this message translates to:+ /// **'Search the web'**+ String get dictionarySearchWeb;++ /// No description provided for @readerTooltipCopy.+ ///+ /// In en, this message translates to:+ /// **'Copy'**+ String get readerTooltipCopy;++ /// No description provided for @readerTooltipSearch.+ ///+ /// In en, this message translates to:+ /// **'Search'**+ String get readerTooltipSearch;++ /// No description provided for @readerTooltipDefine.+ ///+ /// In en, this message translates to:+ /// **'Define'**+ String get readerTooltipDefine;++ /// No description provided for @readerTooltipTranslate.+ ///+ /// In en, this message translates to:+ /// **'Translate'**+ String get readerTooltipTranslate;++ /// No description provided for @readerSearchHint.+ ///+ /// In en, this message translates to:+ /// **'Search this book…'**+ String get readerSearchHint;++ /// No description provided for @readerSearchMatches.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, one{{count} match for \"{query}\"} other{{count} matches for \"{query}\"}}'**+ String readerSearchMatches(int count, String query);++ /// No description provided for @readerSearchEmpty.+ ///+ /// In en, this message translates to:+ /// **'Type a word or phrase and tap search.'**+ String get readerSearchEmpty;++ /// No description provided for @readerSearchNoResults.+ ///+ /// In en, this message translates to:+ /// **'No matches for \"{query}\".'**+ String readerSearchNoResults(String query);++ /// No description provided for @transcriptionTitle.+ ///+ /// In en, this message translates to:+ /// **'Transcription'**+ String get transcriptionTitle;++ /// No description provided for @transcriptionAdvancedSubtitle.+ ///+ /// In en, this message translates to:+ /// **'For transcribing bookmarks and finding your spot between audiobook and ebook'**+ String get transcriptionAdvancedSubtitle;++ /// No description provided for @transcriptionEnable.+ ///+ /// In en, this message translates to:+ /// **'Enable transcription'**+ String get transcriptionEnable;++ /// No description provided for @transcriptionEnableSubtitle.+ ///+ /// In en, this message translates to:+ /// **'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader'**+ String get transcriptionEnableSubtitle;++ /// No description provided for @transcriptionDisclaimer.+ ///+ /// In en, this message translates to:+ /// **'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.'**+ String get transcriptionDisclaimer;++ /// No description provided for @transcriptionNeedModelHint.+ ///+ /// In en, this message translates to:+ /// **'Download a model below to start transcribing.'**+ String get transcriptionNeedModelHint;++ /// No description provided for @transcriptionModelSection.+ ///+ /// In en, this message translates to:+ /// **'Models'**+ String get transcriptionModelSection;++ /// No description provided for @transcriptionModelTiny.+ ///+ /// In en, this message translates to:+ /// **'Tiny'**+ String get transcriptionModelTiny;++ /// No description provided for @transcriptionModelTinyDesc.+ ///+ /// In en, this message translates to:+ /// **'Quickest, less accurate. About 31 MB.'**+ String get transcriptionModelTinyDesc;++ /// No description provided for @transcriptionModelBase.+ ///+ /// In en, this message translates to:+ /// **'Base'**+ String get transcriptionModelBase;++ /// No description provided for @transcriptionModelBaseDesc.+ ///+ /// In en, this message translates to:+ /// **'A good middle ground. About 57 MB.'**+ String get transcriptionModelBaseDesc;++ /// No description provided for @transcriptionModelSmall.+ ///+ /// In en, this message translates to:+ /// **'Small'**+ String get transcriptionModelSmall;++ /// No description provided for @transcriptionModelSmallDesc.+ ///+ /// In en, this message translates to:+ /// **'Slower but most accurate - best on a high-end phone. About 182 MB.'**+ String get transcriptionModelSmallDesc;++ /// No description provided for @transcriptionAutoHint.+ ///+ /// In en, this message translates to:+ /// **'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.'**+ String get transcriptionAutoHint;++ /// No description provided for @transcriptionDownload.+ ///+ /// In en, this message translates to:+ /// **'Download'**+ String get transcriptionDownload;++ /// No description provided for @transcriptionDownloadFailed.+ ///+ /// In en, this message translates to:+ /// **'Download failed. Check your connection and try again.'**+ String get transcriptionDownloadFailed;++ /// No description provided for @transcribe.+ ///+ /// In en, this message translates to:+ /// **'Transcribe'**+ String get transcribe;++ /// No description provided for @transcribing.+ ///+ /// In en, this message translates to:+ /// **'Transcribing...'**+ String get transcribing;++ /// No description provided for @transcriptionResultTitle.+ ///+ /// In en, this message translates to:+ /// **'Transcript'**+ String get transcriptionResultTitle;++ /// No description provided for @transcriptionSaveToNote.+ ///+ /// In en, this message translates to:+ /// **'Save to note'**+ String get transcriptionSaveToNote;++ /// No description provided for @transcriptionSavedToNote.+ ///+ /// In en, this message translates to:+ /// **'Saved to bookmark note'**+ String get transcriptionSavedToNote;++ /// No description provided for @transcriptionDisabledHint.+ ///+ /// In en, this message translates to:+ /// **'Turn on bookmark transcription in Settings, under Advanced.'**+ String get transcriptionDisabledHint;++ /// No description provided for @transcriptionNoModelDownloaded.+ ///+ /// In en, this message translates to:+ /// **'Download a transcription model in Settings first.'**+ String get transcriptionNoModelDownloaded;/// No description provided for @transcriptionNotDownloadedBook.////// In en, this message translates to:- /// **'Download this book or connect to your server to transcribe it.'**- String get transcriptionNotDownloadedBook;+ /// **'Download this book or connect to your server to transcribe it.'**+ String get transcriptionNotDownloadedBook;++ /// No description provided for @transcriptionNoMetadataMsg.+ ///+ /// In en, this message translates to:+ /// **'Can\'t locate this spot in the download. Try re-downloading the book.'**+ String get transcriptionNoMetadataMsg;++ /// No description provided for @transcriptionBusyMsg.+ ///+ /// In en, this message translates to:+ /// **'Already transcribing something. Give it a moment.'**+ String get transcriptionBusyMsg;++ /// No description provided for @transcriptionEmptyMsg.+ ///+ /// In en, this message translates to:+ /// **'No speech was found at this spot.'**+ String get transcriptionEmptyMsg;++ /// No description provided for @transcriptionFailedMsg.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t transcribe this spot. Please try again.'**+ String get transcriptionFailedMsg;++ /// No description provided for @transcriptionPlaySnippet.+ ///+ /// In en, this message translates to:+ /// **'Listen'**+ String get transcriptionPlaySnippet;++ /// No description provided for @transcriptionPauseSnippet.+ ///+ /// In en, this message translates to:+ /// **'Pause'**+ String get transcriptionPauseSnippet;++ /// No description provided for @transcriptionIntroBody.+ ///+ /// In en, this message translates to:+ /// **'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.'**+ String get transcriptionIntroBody;++ /// No description provided for @transcriptionUseEbookText.+ ///+ /// In en, this message translates to:+ /// **'Use the ebook\'s exact text when it can be matched'**+ String get transcriptionUseEbookText;++ /// No description provided for @lyricsMode.+ ///+ /// In en, this message translates to:+ /// **'Live transcript'**+ String get lyricsMode;++ /// No description provided for @lyricsListeningAhead.+ ///+ /// In en, this message translates to:+ /// **'Listening ahead...'**+ String get lyricsListeningAhead;++ /// No description provided for @lyricsDisplaySection.+ ///+ /// In en, this message translates to:+ /// **'Live transcript'**+ String get lyricsDisplaySection;++ /// No description provided for @lyricsFontSize.+ ///+ /// In en, this message translates to:+ /// **'Line size'**+ String get lyricsFontSize;++ /// No description provided for @lyricsMaxLines.+ ///+ /// In en, this message translates to:+ /// **'Lines shown'**+ String get lyricsMaxLines;++ /// No description provided for @lyricsFullCover.+ ///+ /// In en, this message translates to:+ /// **'Use the whole cover'**+ String get lyricsFullCover;++ /// No description provided for @lyricsFullCoverHint.+ ///+ /// In en, this message translates to:+ /// **'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.'**+ String get lyricsFullCoverHint;++ /// No description provided for @lyricsBatteryInfo.+ ///+ /// In en, this message translates to:+ /// **'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.'**+ String get lyricsBatteryInfo;++ /// No description provided for @lyricsClearCache.+ ///+ /// In en, this message translates to:+ /// **'Clear transcript cache'**+ String get lyricsClearCache;++ /// No description provided for @lyricsClearCacheHint.+ ///+ /// In en, this message translates to:+ /// **'{size} of saved transcript lines. Cleared books and episodes are transcribed again as you listen.'**+ String lyricsClearCacheHint(String size);++ /// No description provided for @lyricsClearCacheConfirm.+ ///+ /// In en, this message translates to:+ /// **'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.'**+ String get lyricsClearCacheConfirm;++ /// No description provided for @lyricsCacheCleared.+ ///+ /// In en, this message translates to:+ /// **'Transcript cache cleared'**+ String get lyricsCacheCleared;++ /// No description provided for @lyricsIntroBody.+ ///+ /// In en, this message translates to:+ /// **'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.'**+ String get lyricsIntroBody;++ /// No description provided for @lyricsBuildingLead.+ ///+ /// In en, this message translates to:+ /// **'Getting ahead of the narration... {percent}'**+ String lyricsBuildingLead(String percent);++ /// No description provided for @lyricsCantKeepUp.+ ///+ /// In en, this message translates to:+ /// **'Can\'t transcribe as fast as you\'re listening at {speed}'**+ String lyricsCantKeepUp(String speed);++ /// No description provided for @lyricsTurnOn.+ ///+ /// In en, this message translates to:+ /// **'Turn on'**+ String get lyricsTurnOn;++ /// No description provided for @readAlong.+ ///+ /// In en, this message translates to:+ /// **'Read along'**+ String get readAlong;++ /// No description provided for @readAlongNeedsPlaying.+ ///+ /// In en, this message translates to:+ /// **'Play this book\'s audiobook first'**+ String get readAlongNeedsPlaying;++ /// No description provided for @narrationListen.+ ///+ /// In en, this message translates to:+ /// **'Listen'**+ String get narrationListen;++ /// No description provided for @narrationPlayFromHere.+ ///+ /// In en, this message translates to:+ /// **'Play from here'**+ String get narrationPlayFromHere;++ /// No description provided for @narrationPreparing.+ ///+ /// In en, this message translates to:+ /// **'Getting the narration ready'**+ String get narrationPreparing;++ /// No description provided for @narrationNone.+ ///+ /// In en, this message translates to:+ /// **'This ebook has no narration to play'**+ String get narrationNone;++ /// No description provided for @narrationDownloadTitle.+ ///+ /// In en, this message translates to:+ /// **'Download to listen'**+ String get narrationDownloadTitle;++ /// No description provided for @narrationDownloadBody.+ ///+ /// In en, this message translates to:+ /// **'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.'**+ String get narrationDownloadBody;++ /// No description provided for @narrationDownloadStarted.+ ///+ /// In en, this message translates to:+ /// **'Downloading the narration. Tap Absorb when it finishes.'**+ String get narrationDownloadStarted;++ /// No description provided for @narrationTextBody.+ ///+ /// In en, this message translates to:+ /// **'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.'**+ String get narrationTextBody;++ /// No description provided for @narrationTextLoading.+ ///+ /// In en, this message translates to:+ /// **'Getting the words from the book'**+ String get narrationTextLoading;++ /// No description provided for @downloadToAbsorb.+ ///+ /// In en, this message translates to:+ /// **'Download to Absorb'**+ String get downloadToAbsorb;++ /// No description provided for @narrationUpNextTitle.+ ///+ /// In en, this message translates to:+ /// **'Download what\'s up next'**+ String get narrationUpNextTitle;++ /// No description provided for @narrationUpNextBody.+ ///+ /// In en, this message translates to:+ /// **'{title} is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.'**+ String narrationUpNextBody(String title);++ /// No description provided for @narrationQueueStopped.+ ///+ /// In en, this message translates to:+ /// **'Stopped before {title}. Download it to keep going.'**+ String narrationQueueStopped(String title);++ /// No description provided for @transcriptionNeedsDownload.+ ///+ /// In en, this message translates to:+ /// **'This needs the audio on your phone. Download it now?'**+ String get transcriptionNeedsDownload;++ /// No description provided for @transcriptionDownloadStarted.+ ///+ /// In en, this message translates to:+ /// **'Downloading. Turn this on again when it finishes'**+ String get transcriptionDownloadStarted;++ /// No description provided for @readAlongFollow.+ ///+ /// In en, this message translates to:+ /// **'Read along follows'**+ String get readAlongFollow;++ /// No description provided for @syncReadingListening.+ ///+ /// In en, this message translates to:+ /// **'Keep reading and listening in sync'**+ String get syncReadingListening;++ /// No description provided for @syncReadingListeningHint.+ ///+ /// In en, this message translates to:+ /// **'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.'**+ String get syncReadingListeningHint;++ /// No description provided for @syncEbookMoved.+ ///+ /// In en, this message translates to:+ /// **'Ebook moved to where you stopped listening'**+ String get syncEbookMoved;++ /// No description provided for @syncAudioMoved.+ ///+ /// In en, this message translates to:+ /// **'Audiobook moved to where you stopped reading'**+ String get syncAudioMoved;++ /// No description provided for @syncAudioOffer.+ ///+ /// In en, this message translates to:+ /// **'Tap to jump to where you stopped reading'**+ String get syncAudioOffer;++ /// No description provided for @syncFindingAudio.+ ///+ /// In en, this message translates to:+ /// **'Finding your page in the audiobook'**+ String get syncFindingAudio;++ /// No description provided for @syncFindingEbook.+ ///+ /// In en, this message translates to:+ /// **'Finding your spot in the ebook'**+ String get syncFindingEbook;++ /// No description provided for @syncFailed.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t sync your place'**+ String get syncFailed;++ /// No description provided for @syncAlreadyTogether.+ ///+ /// In en, this message translates to:+ /// **'Already in sync'**+ String get syncAlreadyTogether;++ /// No description provided for @syncPosition.+ ///+ /// In en, this message translates to:+ /// **'Sync position'**+ String get syncPosition;++ /// No description provided for @readAlongFollowHint.+ ///+ /// In en, this message translates to:+ /// **'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.'**+ String get readAlongFollowHint;++ /// No description provided for @readAlongFollowWord.+ ///+ /// In en, this message translates to:+ /// **'Word'**+ String get readAlongFollowWord;++ /// No description provided for @readAlongFollowSentence.+ ///+ /// In en, this message translates to:+ /// **'Sentence'**+ String get readAlongFollowSentence;++ /// No description provided for @readAlongColor.+ ///+ /// In en, this message translates to:+ /// **'Read along color'**+ String get readAlongColor;++ /// Read along pill after 45s of narration that matches nothing on the page+ ///+ /// In en, this message translates to:+ /// **'Can\'t find the narration on the page'**+ String get readAlongLost;++ /// Ebook reader button that returns the page to the sentence being narrated after the reader moved away during read along+ ///+ /// In en, this message translates to:+ /// **'Back to narration'**+ String get readAlongBackToNarration;++ /// No description provided for @findInEbook.+ ///+ /// In en, this message translates to:+ /// **'Find in ebook'**+ String get findInEbook;++ /// No description provided for @findInEbookSearching.+ ///+ /// In en, this message translates to:+ /// **'Finding this spot in the ebook...'**+ String get findInEbookSearching;++ /// No description provided for @findInEbookNotFound.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t find this spot in the ebook.'**+ String get findInEbookNotFound;++ /// No description provided for @findInEbookNeedsEpub.+ ///+ /// In en, this message translates to:+ /// **'Find in ebook needs an EPUB ebook.'**+ String get findInEbookNeedsEpub;++ /// No description provided for @findInEbookNoEbook.+ ///+ /// In en, this message translates to:+ /// **'This book doesn\'t have an ebook.'**+ String get findInEbookNoEbook;++ /// No description provided for @findInAudiobook.+ ///+ /// In en, this message translates to:+ /// **'Find in audiobook'**+ String get findInAudiobook;++ /// No description provided for @findInAudiobookSearching.+ ///+ /// In en, this message translates to:+ /// **'Finding this spot in the audiobook...'**+ String get findInAudiobookSearching;++ /// No description provided for @findInAudiobookStillSearching.+ ///+ /// In en, this message translates to:+ /// **'Still searching the audio for this spot...'**+ String get findInAudiobookStillSearching;++ /// No description provided for @findInAudiobookSearchingLong.+ ///+ /// In en, this message translates to:+ /// **'Long chapter, still searching. This can take a minute or two...'**+ String get findInAudiobookSearchingLong;++ /// No description provided for @findInAudiobookNotFound.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t find this spot in the audiobook.'**+ String get findInAudiobookNotFound;++ /// No description provided for @transcriptionWhisperInfo.+ ///+ /// In en, this message translates to:+ /// **'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.'**+ String get transcriptionWhisperInfo;++ /// No description provided for @transcriptionWhisperLearnMore.+ ///+ /// In en, this message translates to:+ /// **'Learn more about Whisper'**+ String get transcriptionWhisperLearnMore;++ /// No description provided for @findInAudiobookIntroBody.+ ///+ /// In en, this message translates to:+ /// **'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.'**+ String get findInAudiobookIntroBody;++ /// No description provided for @findInAudiobookAfterLabel.+ ///+ /// In en, this message translates to:+ /// **'When the spot is found'**+ String get findInAudiobookAfterLabel;++ /// No description provided for @findInAudiobookStay.+ ///+ /// In en, this message translates to:+ /// **'Keep reading'**+ String get findInAudiobookStay;++ /// No description provided for @findInAudiobookGoPlayer.+ ///+ /// In en, this message translates to:+ /// **'Open the player'**+ String get findInAudiobookGoPlayer;++ /// No description provided for @findInAudiobookPlaying.+ ///+ /// In en, this message translates to:+ /// **'Playing this passage in the audiobook'**+ String get findInAudiobookPlaying;++ /// No description provided for @catchUpAudioAhead.+ ///+ /// In en, this message translates to:+ /// **'The audiobook is further along. Tap to go there.'**+ String get catchUpAudioAhead;++ /// No description provided for @catchUpPageAhead.+ ///+ /// In en, this message translates to:+ /// **'This page is ahead of the audiobook. Tap to move the audiobook here.'**+ String get catchUpPageAhead;++ /// No description provided for @readerShortcutButton.+ ///+ /// In en, this message translates to:+ /// **'Shortcut button'**+ String get readerShortcutButton;++ /// No description provided for @keepScreenOn.+ ///+ /// In en, this message translates to:+ /// **'Keep screen on'**+ String get keepScreenOn;++ /// No description provided for @keepScreenOnActive.+ ///+ /// In en, this message translates to:+ /// **'Screen stays on'**+ String get keepScreenOnActive;++ /// No description provided for @keepScreenOnUntilClosed.+ ///+ /// In en, this message translates to:+ /// **'Screen stays on until you close the app'**+ String get keepScreenOnUntilClosed;++ /// No description provided for @keepScreenOnOff.+ ///+ /// In en, this message translates to:+ /// **'Screen can turn off again'**+ String get keepScreenOnOff;++ /// No description provided for @keepScreenOnOffUntilRestart.+ ///+ /// In en, this message translates to:+ /// **'Off until the app restarts. The Settings switch stays on'**+ String get keepScreenOnOffUntilRestart;++ /// No description provided for @keepScreenOnPlayer.+ ///+ /// In en, this message translates to:+ /// **'Keep the screen on in the player'**+ String get keepScreenOnPlayer;++ /// No description provided for @keepScreenOnPlayerSubtitle.+ ///+ /// In en, this message translates to:+ /// **'The screen stays on while the player is open'**+ String get keepScreenOnPlayerSubtitle;++ /// No description provided for @keepScreenOnCarMode.+ ///+ /// In en, this message translates to:+ /// **'Keep the screen on in car mode'**+ String get keepScreenOnCarMode;++ /// No description provided for @keepScreenOnCarModeSubtitle.+ ///+ /// In en, this message translates to:+ /// **'The screen stays on while car mode is open'**+ String get keepScreenOnCarModeSubtitle;++ /// No description provided for @loginServerType.+ ///+ /// In en, this message translates to:+ /// **'Server type'**+ String get loginServerType;++ /// No description provided for @authBookOrbitDefaultPassword.+ ///+ /// In en, this message translates to:+ /// **'This account still has its default password. Change it in BookOrbit, then sign in again.'**+ String get authBookOrbitDefaultPassword;++ /// No description provided for @authBookOrbitPasswordOff.+ ///+ /// In en, this message translates to:+ /// **'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.'**+ String get authBookOrbitPasswordOff;++ /// No description provided for @authServerIsBookOrbit.+ ///+ /// In en, this message translates to:+ /// **'This is a BookOrbit server. Choose BookOrbit above the server address.'**+ String get authServerIsBookOrbit;++ /// No description provided for @authServerIsAudiobookshelf.+ ///+ /// In en, this message translates to:+ /// **'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.'**+ String get authServerIsAudiobookshelf;++ /// No description provided for @castNotAvailableBookOrbit.+ ///+ /// In en, this message translates to:+ /// **'Casting is not available with BookOrbit servers'**+ String get castNotAvailableBookOrbit;++ /// No description provided for @loginMagicLink.+ ///+ /// In en, this message translates to:+ /// **'Magic link'**+ String get loginMagicLink;++ /// No description provided for @loginMagicLinkDescription.+ ///+ /// In en, this message translates to:+ /// **'Sign in with a BookOrbit magic link, or paste a password link to set your password.'**+ String get loginMagicLinkDescription;++ /// No description provided for @collectionPublicTitle.+ ///+ /// In en, this message translates to:+ /// **'Public'**+ String get collectionPublicTitle;++ /// No description provided for @collectionPublicSubtitle.+ ///+ /// In en, this message translates to:+ /// **'Everyone on this server can see this collection'**+ String get collectionPublicSubtitle;++ /// No description provided for @loginSignInWithProvider.+ ///+ /// In en, this message translates to:+ /// **'Sign in with {provider}'**+ String loginSignInWithProvider(String provider);++ /// No description provided for @loginSignInWithSso.+ ///+ /// In en, this message translates to:+ /// **'Sign in with SSO'**+ String get loginSignInWithSso;++ /// No description provided for @loginChooseSsoProvider.+ ///+ /// In en, this message translates to:+ /// **'Choose how to sign in'**+ String get loginChooseSsoProvider;++ /// No description provided for @loginRedirectUriBookOrbit.+ ///+ /// In en, this message translates to:+ /// **'Redirect URI: bookorbit://oauth2-callback'**+ String get loginRedirectUriBookOrbit;++ /// No description provided for @readStatusTitle.+ ///+ /// In en, this message translates to:+ /// **'Reading status'**+ String get readStatusTitle;++ /// No description provided for @readStatusHint.+ ///+ /// In en, this message translates to:+ /// **'BookOrbit keeps a status you pick here until you change it.'**+ String get readStatusHint;++ /// No description provided for @readStatusUnread.+ ///+ /// In en, this message translates to:+ /// **'Unread'**+ String get readStatusUnread;++ /// No description provided for @readStatusWantToRead.+ ///+ /// In en, this message translates to:+ /// **'Want to read'**+ String get readStatusWantToRead;++ /// No description provided for @readStatusReading.+ ///+ /// In en, this message translates to:+ /// **'Reading'**+ String get readStatusReading;++ /// No description provided for @readStatusOnHold.+ ///+ /// In en, this message translates to:+ /// **'On hold'**+ String get readStatusOnHold;++ /// No description provided for @readStatusRereading.+ ///+ /// In en, this message translates to:+ /// **'Rereading'**+ String get readStatusRereading;++ /// No description provided for @readStatusRead.+ ///+ /// In en, this message translates to:+ /// **'Read'**+ String get readStatusRead;++ /// No description provided for @readStatusSkimmed.+ ///+ /// In en, this message translates to:+ /// **'Skimmed'**+ String get readStatusSkimmed;++ /// No description provided for @readStatusAbandoned.+ ///+ /// In en, this message translates to:+ /// **'Abandoned'**+ String get readStatusAbandoned;++ /// No description provided for @personalNoteTitle.+ ///+ /// In en, this message translates to:+ /// **'Your note'**+ String get personalNoteTitle;++ /// No description provided for @personalNoteAdd.+ ///+ /// In en, this message translates to:+ /// **'Add a private note'**+ String get personalNoteAdd;++ /// No description provided for @personalNoteHint.+ ///+ /// In en, this message translates to:+ /// **'Only you can see this note.'**+ String get personalNoteHint;++ /// No description provided for @moreLikeThis.+ ///+ /// In en, this message translates to:+ /// **'More like this'**+ String get moreLikeThis;++ /// No description provided for @coverSlotAudiobook.+ ///+ /// In en, this message translates to:+ /// **'Audiobook cover'**+ String get coverSlotAudiobook;++ /// No description provided for @coverSlotBook.+ ///+ /// In en, this message translates to:+ /// **'Book cover'**+ String get coverSlotBook;++ /// No description provided for @cardButtonFill.+ ///+ /// In en, this message translates to:+ /// **'Button background'**+ String get cardButtonFill;++ /// No description provided for @cardButtonFillSubtitle.+ ///+ /// In en, this message translates to:+ /// **'How the buttons on the player card are filled'**+ String get cardButtonFillSubtitle;++ /// No description provided for @cardButtonFillClear.+ ///+ /// In en, this message translates to:+ /// **'Clear'**+ String get cardButtonFillClear;++ /// No description provided for @cardButtonFillSubtle.+ ///+ /// In en, this message translates to:+ /// **'Subtle'**+ String get cardButtonFillSubtle;++ /// No description provided for @cardButtonFillSolid.+ ///+ /// In en, this message translates to:+ /// **'Solid'**+ String get cardButtonFillSolid;++ /// No description provided for @loginBookOrbitPreview.+ ///+ /// In en, this message translates to:+ /// **'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.'**+ String get loginBookOrbitPreview;++ /// No description provided for @signedOutTapToSignIn.+ ///+ /// In en, this message translates to:+ /// **'Signed out. Tap to sign in again.'**+ String get signedOutTapToSignIn;++ /// No description provided for @authSignedOutKeepListening.+ ///+ /// In en, this message translates to:+ /// **'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.'**+ String get authSignedOutKeepListening;++ /// No description provided for @signedOutSyncNote.+ ///+ /// In en, this message translates to:+ /// **'What you listen to while signed out is kept on this phone and syncs when you sign back in as {username} on {server}. Any way of signing in to that account works.'**+ String signedOutSyncNote(String username, String server);++ /// No description provided for @comicReadingDirection.+ ///+ /// In en, this message translates to:+ /// **'Reading direction'**+ String get comicReadingDirection;++ /// No description provided for @comicPageNumber.+ ///+ /// In en, this message translates to:+ /// **'Page {page}'**+ String comicPageNumber(int page);++ /// No description provided for @comicBookmarkRemoveFailed.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t remove the bookmark from the server. Try again when you\'re online.'**+ String get comicBookmarkRemoveFailed;++ /// No description provided for @comicLeftToRight.+ ///+ /// In en, this message translates to:+ /// **'Left to right'**+ String get comicLeftToRight;++ /// No description provided for @comicRightToLeft.+ ///+ /// In en, this message translates to:+ /// **'Right to left (manga)'**+ String get comicRightToLeft;++ /// No description provided for @comicNeedsConnection.+ ///+ /// In en, this message translates to:+ /// **'This comic opens page by page from your server, so it needs a connection.'**+ String get comicNeedsConnection;++ /// No description provided for @comicNoPages.+ ///+ /// In en, this message translates to:+ /// **'No pages found in this comic.'**+ String get comicNoPages;++ /// No description provided for @boAdminTitle.+ ///+ /// In en, this message translates to:+ /// **'Server admin'**+ String get boAdminTitle;++ /// No description provided for @boAdminSubtitle.+ ///+ /// In en, this message translates to:+ /// **'Users and libraries on this BookOrbit server'**+ String get boAdminSubtitle;++ /// No description provided for @boAdminUsers.+ ///+ /// In en, this message translates to:+ /// **'Users'**+ String get boAdminUsers;++ /// No description provided for @boAdminLibraries.+ ///+ /// In en, this message translates to:+ /// **'Libraries'**+ String get boAdminLibraries;++ /// No description provided for @boAdminUserCount.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =1{1 person} other{{count} people}}'**+ String boAdminUserCount(int count);++ /// No description provided for @boAdminLibraryCount.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =1{1 library} other{{count} libraries}}'**+ String boAdminLibraryCount(int count);++ /// No description provided for @boAdminSaved.+ ///+ /// In en, this message translates to:+ /// **'Saved'**+ String get boAdminSaved;++ /// No description provided for @boAdminFailed.+ ///+ /// In en, this message translates to:+ /// **'That didn\'t work. Try again.'**+ String get boAdminFailed;++ /// No description provided for @boAdminOffline.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t reach the server.'**+ String get boAdminOffline;++ /// No description provided for @boUsersSearch.+ ///+ /// In en, this message translates to:+ /// **'Search users'**+ String get boUsersSearch;++ /// No description provided for @boUsersNone.+ ///+ /// In en, this message translates to:+ /// **'No users here'**+ String get boUsersNone;++ /// No description provided for @boUsersFilterAll.+ ///+ /// In en, this message translates to:+ /// **'All'**+ String get boUsersFilterAll;++ /// No description provided for @boUsersFilterAdmins.+ ///+ /// In en, this message translates to:+ /// **'Admins'**+ String get boUsersFilterAdmins;++ /// No description provided for @boUsersFilterActive.+ ///+ /// In en, this message translates to:+ /// **'Active'**+ String get boUsersFilterActive;++ /// No description provided for @boUsersFilterInactive.+ ///+ /// In en, this message translates to:+ /// **'Inactive'**+ String get boUsersFilterInactive;++ /// No description provided for @boUsersFilterAttention.+ ///+ /// In en, this message translates to:+ /// **'Needs attention'**+ String get boUsersFilterAttention;++ /// No description provided for @boUserBadgeAdmin.+ ///+ /// In en, this message translates to:+ /// **'Admin'**+ String get boUserBadgeAdmin;++ /// No description provided for @boUserBadgeInactive.+ ///+ /// In en, this message translates to:+ /// **'Inactive'**+ String get boUserBadgeInactive;++ /// No description provided for @boUserBadgeLocked.+ ///+ /// In en, this message translates to:+ /// **'Locked'**+ String get boUserBadgeLocked;++ /// No description provided for @boUserBadgeNoPassword.+ ///+ /// In en, this message translates to:+ /// **'No password yet'**+ String get boUserBadgeNoPassword;++ /// No description provided for @boUserLastActive.+ ///+ /// In en, this message translates to:+ /// **'Last active {date}'**+ String boUserLastActive(String date);++ /// No description provided for @boUserNeverSignedIn.+ ///+ /// In en, this message translates to:+ /// **'Never signed in'**+ String get boUserNeverSignedIn;++ /// No description provided for @boUserNew.+ ///+ /// In en, this message translates to:+ /// **'New user'**+ String get boUserNew;++ /// No description provided for @boUserCreate.+ ///+ /// In en, this message translates to:+ /// **'Create'**+ String get boUserCreate;++ /// No description provided for @boUserUsername.+ ///+ /// In en, this message translates to:+ /// **'Username'**+ String get boUserUsername;++ /// No description provided for @boUserUsernameHint.+ ///+ /// In en, this message translates to:+ /// **'At least 3 characters. It cannot be changed later.'**+ String get boUserUsernameHint;++ /// No description provided for @boUserName.+ ///+ /// In en, this message translates to:+ /// **'Name'**+ String get boUserName;++ /// No description provided for @boUserEmail.+ ///+ /// In en, this message translates to:+ /// **'Email'**+ String get boUserEmail;++ /// No description provided for @boUserEmailInvalid.+ ///+ /// In en, this message translates to:+ /// **'Enter a valid email address'**+ String get boUserEmailInvalid;++ /// No description provided for @boUserActive.+ ///+ /// In en, this message translates to:+ /// **'Active'**+ String get boUserActive;++ /// No description provided for @boUserActiveSubtitle.+ ///+ /// In en, this message translates to:+ /// **'Inactive users can\'t sign in'**+ String get boUserActiveSubtitle;++ /// No description provided for @boUserAdmin.+ ///+ /// In en, this message translates to:+ /// **'Administrator'**+ String get boUserAdmin;++ /// No description provided for @boUserAdminSubtitle.+ ///+ /// In en, this message translates to:+ /// **'Full access to everything on the server'**+ String get boUserAdminSubtitle;++ /// No description provided for @boUserAdminHasAll.+ ///+ /// In en, this message translates to:+ /// **'Administrators have every permission and see every library.'**+ String get boUserAdminHasAll;++ /// No description provided for @boUserPermissions.+ ///+ /// In en, this message translates to:+ /// **'Permissions'**+ String get boUserPermissions;++ /// No description provided for @boUserPresetNone.+ ///+ /// In en, this message translates to:+ /// **'None'**+ String get boUserPresetNone;++ /// No description provided for @boUserPresetStandard.+ ///+ /// In en, this message translates to:+ /// **'Standard'**+ String get boUserPresetStandard;++ /// No description provided for @boUserPresetEverything.+ ///+ /// In en, this message translates to:+ /// **'Everything'**+ String get boUserPresetEverything;++ /// No description provided for @boUserLibraries.+ ///+ /// In en, this message translates to:+ /// **'Libraries'**+ String get boUserLibraries;++ /// No description provided for @boUserLibrariesHint.+ ///+ /// In en, this message translates to:+ /// **'The libraries this person can see.'**+ String get boUserLibrariesHint;++ /// No description provided for @boUserPasswordLink.+ ///+ /// In en, this message translates to:+ /// **'Send password link'**+ String get boUserPasswordLink;++ /// No description provided for @boUserPasswordLinkSubtitle.+ ///+ /// In en, this message translates to:+ /// **'A link to set a new password, valid for 15 minutes'**+ String get boUserPasswordLinkSubtitle;++ /// No description provided for @boUserExternal.+ ///+ /// In en, this message translates to:+ /// **'Signs in through single sign-on, so the password is managed there.'**+ String get boUserExternal;++ /// No description provided for @boUserUnlock.+ ///+ /// In en, this message translates to:+ /// **'Unlock account'**+ String get boUserUnlock;++ /// No description provided for @boUserUnlocked.+ ///+ /// In en, this message translates to:+ /// **'Account unlocked'**+ String get boUserUnlocked;++ /// No description provided for @boUserDelete.+ ///+ /// In en, this message translates to:+ /// **'Delete user'**+ String get boUserDelete;++ /// No description provided for @boUserDeleteTitle.+ ///+ /// In en, this message translates to:+ /// **'Delete {name}?'**+ String boUserDeleteTitle(String name);++ /// No description provided for @boUserDeleteBody.+ ///+ /// In en, this message translates to:+ /// **'Their account and everything they have on this server are removed. This cannot be undone.'**+ String get boUserDeleteBody;++ /// No description provided for @boUserDeleted.+ ///+ /// In en, this message translates to:+ /// **'User deleted'**+ String get boUserDeleted;++ /// No description provided for @boUserLinkTitle.+ ///+ /// In en, this message translates to:+ /// **'Password link'**+ String get boUserLinkTitle;++ /// No description provided for @boUserLinkBody.+ ///+ /// In en, this message translates to:+ /// **'Share this link with {name}. It lets them set a password and works for 15 minutes.'**+ String boUserLinkBody(String name);++ /// No description provided for @boPasswordRules.+ ///+ /// In en, this message translates to:+ /// **'At least 8 characters, with an uppercase letter, a lowercase letter and a number.'**+ String get boPasswordRules;++ /// No description provided for @boSetPasswordTitle.+ ///+ /// In en, this message translates to:+ /// **'Set your password'**+ String get boSetPasswordTitle;++ /// No description provided for @boSetPasswordSubmit.+ ///+ /// In en, this message translates to:+ /// **'Set password and sign in'**+ String get boSetPasswordSubmit;++ /// No description provided for @boSetPasswordLinkBody.+ ///+ /// In en, this message translates to:+ /// **'Choose a password for {username} on {server}.'**+ String boSetPasswordLinkBody(String username, String server);++ /// No description provided for @boSetPasswordLinkBodyNoName.+ ///+ /// In en, this message translates to:+ /// **'Choose a password for your account on {server}.'**+ String boSetPasswordLinkBodyNoName(String server);++ /// No description provided for @boSetPasswordStartingBody.+ ///+ /// In en, this message translates to:+ /// **'This account still has the password it was created with. Choose a new one to finish signing in.'**+ String get boSetPasswordStartingBody;++ /// No description provided for @boSetPasswordTrust.+ ///+ /// In en, this message translates to:+ /// **'Only continue if you trust who sent this link.'**+ String get boSetPasswordTrust;++ /// No description provided for @boPasswordLinkExpired.+ ///+ /// In en, this message translates to:+ /// **'This link has expired or was already used. Ask your server admin for a new one.'**+ String get boPasswordLinkExpired;++ /// No description provided for @boPasswordSetSignInFailed.+ ///+ /// In en, this message translates to:+ /// **'Your password is set, but signing in failed: {error}'**+ String boPasswordSetSignInFailed(String error);++ /// No description provided for @boChangePasswordSubtitle.+ ///+ /// In en, this message translates to:+ /// **'Update your BookOrbit password'**+ String get boChangePasswordSubtitle;++ /// No description provided for @boPasswordChangeEffect.+ ///+ /// In en, this message translates to:+ /// **'Changing your password signs out your other BookOrbit sessions. This device stays signed in.'**+ String get boPasswordChangeEffect;++ /// No description provided for @boPasswordChanged.+ ///+ /// In en, this message translates to:+ /// **'Password changed. Other signed-in devices were signed out.'**+ String get boPasswordChanged;++ /// No description provided for @boPasswordShareDescription.+ ///+ /// In en, this message translates to:+ /// **'Send this link or have {username} scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.'**+ String boPasswordShareDescription(String username);++ /// No description provided for @boPasswordShareWarning.+ ///+ /// In en, this message translates to:+ /// **'Anyone with this link can choose the password for {username} until it is used or expires.'**+ String boPasswordShareWarning(String username);++ /// No description provided for @setupLinkCopyWebLink.+ ///+ /// In en, this message translates to:+ /// **'Copy web link'**+ String get setupLinkCopyWebLink;++ /// No description provided for @boUserLinkCopy.+ ///+ /// In en, this message translates to:+ /// **'Copy link'**+ String get boUserLinkCopy;++ /// No description provided for @boUserLinkCopied.+ ///+ /// In en, this message translates to:+ /// **'Link copied'**+ String get boUserLinkCopied;++ /// No description provided for @boUserLinkShare.+ ///+ /// In en, this message translates to:+ /// **'Share'**+ String get boUserLinkShare;++ /// No description provided for @boUserNoLink.+ ///+ /// In en, this message translates to:+ /// **'The user was added, but the server sent no password link. Send one from their page.'**+ String get boUserNoLink;++ /// No description provided for @boPermGroupLibrary.+ ///+ /// In en, this message translates to:+ /// **'Library and books'**+ String get boPermGroupLibrary;++ /// No description provided for @boPermGroupRequests.+ ///+ /// In en, this message translates to:+ /// **'Book requests'**+ String get boPermGroupRequests;++ /// No description provided for @boPermGroupDevices.+ ///+ /// In en, this message translates to:+ /// **'Devices'**+ String get boPermGroupDevices;++ /// No description provided for @boPermGroupIntegrations.+ ///+ /// In en, this message translates to:+ /// **'Reading integrations'**+ String get boPermGroupIntegrations;++ /// No description provided for @boPermGroupDock.+ ///+ /// In en, this message translates to:+ /// **'Book Dock'**+ String get boPermGroupDock;++ /// No description provided for @boPermGroupEmail.+ ///+ /// In en, this message translates to:+ /// **'Email and notifications'**+ String get boPermGroupEmail;++ /// No description provided for @boPermGroupAdmin.+ ///+ /// In en, this message translates to:+ /// **'Administration'**+ String get boPermGroupAdmin;++ /// No description provided for @boPermLibraryDownload.+ ///+ /// In en, this message translates to:+ /// **'Download books'**+ String get boPermLibraryDownload;++ /// No description provided for @boPermLibraryUpload.+ ///+ /// In en, this message translates to:+ /// **'Upload books'**+ String get boPermLibraryUpload;++ /// No description provided for @boPermLibraryEditMetadata.+ ///+ /// In en, this message translates to:+ /// **'Edit metadata'**+ String get boPermLibraryEditMetadata;++ /// No description provided for @boPermLibraryDeleteBooks.+ ///+ /// In en, this message translates to:+ /// **'Delete books'**+ String get boPermLibraryDeleteBooks;++ /// No description provided for @boPermBookRequestAccess.+ ///+ /// In en, this message translates to:+ /// **'Request books'**+ String get boPermBookRequestAccess;++ /// No description provided for @boPermBookRequestAutoApprove.+ ///+ /// In en, this message translates to:+ /// **'Requests approved automatically'**+ String get boPermBookRequestAutoApprove;++ /// No description provided for @boPermBookRequestSelfFulfill.+ ///+ /// In en, this message translates to:+ /// **'Download requested books directly'**+ String get boPermBookRequestSelfFulfill;++ /// No description provided for @boPermManageBookRequests.+ ///+ /// In en, this message translates to:+ /// **'Manage book requests'**+ String get boPermManageBookRequests;++ /// No description provided for @boPermKoboSync.+ ///+ /// In en, this message translates to:+ /// **'Kobo sync'**+ String get boPermKoboSync;++ /// No description provided for @boPermKoreaderSync.+ ///+ /// In en, this message translates to:+ /// **'KOReader sync'**+ String get boPermKoreaderSync;++ /// No description provided for @boPermOpdsAccess.+ ///+ /// In en, this message translates to:+ /// **'OPDS access'**+ String get boPermOpdsAccess;++ /// No description provided for @boPermHardcoverSync.+ ///+ /// In en, this message translates to:+ /// **'Hardcover sync'**+ String get boPermHardcoverSync;++ /// No description provided for @boPermReadwiseSync.+ ///+ /// In en, this message translates to:+ /// **'Readwise sync'**+ String get boPermReadwiseSync;++ /// No description provided for @boPermStorygraphSync.+ ///+ /// In en, this message translates to:+ /// **'StoryGraph sync'**+ String get boPermStorygraphSync;++ /// No description provided for @boPermBookDockAccess.+ ///+ /// In en, this message translates to:+ /// **'Use the Book Dock'**+ String get boPermBookDockAccess;++ /// No description provided for @boPermManageBookDock.+ ///+ /// In en, this message translates to:+ /// **'Manage the Book Dock'**+ String get boPermManageBookDock;++ /// No description provided for @boPermEmailSend.+ ///+ /// In en, this message translates to:+ /// **'Send books by email'**+ String get boPermEmailSend;++ /// No description provided for @boPermNotificationAccess.+ ///+ /// In en, this message translates to:+ /// **'Notifications'**+ String get boPermNotificationAccess;++ /// No description provided for @boPermManageEmail.+ ///+ /// In en, this message translates to:+ /// **'Manage email'**+ String get boPermManageEmail;++ /// No description provided for @boPermManageLibraries.+ ///+ /// In en, this message translates to:+ /// **'Manage libraries'**+ String get boPermManageLibraries;++ /// No description provided for @boPermManageMetadataConfig.+ ///+ /// In en, this message translates to:+ /// **'Metadata settings'**+ String get boPermManageMetadataConfig;++ /// No description provided for @boPermManageIcons.+ ///+ /// In en, this message translates to:+ /// **'Manage icons'**+ String get boPermManageIcons;++ /// No description provided for @boPermManageUsers.+ ///+ /// In en, this message translates to:+ /// **'Manage users'**+ String get boPermManageUsers;++ /// No description provided for @boPermViewUserActivity.+ ///+ /// In en, this message translates to:+ /// **'View user activity'**+ String get boPermViewUserActivity;++ /// No description provided for @boPermViewAuditLog.+ ///+ /// In en, this message translates to:+ /// **'View the audit log'**+ String get boPermViewAuditLog;++ /// No description provided for @boPermManageAppSettings.+ ///+ /// In en, this message translates to:+ /// **'App settings'**+ String get boPermManageAppSettings;++ /// No description provided for @boLibsNone.+ ///+ /// In en, this message translates to:+ /// **'No libraries yet'**+ String get boLibsNone;++ /// No description provided for @boLibBookCount.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =1{1 book} other{{count} books}}'**+ String boLibBookCount(int count);++ /// No description provided for @boLibScanNow.+ ///+ /// In en, this message translates to:+ /// **'Scan now'**+ String get boLibScanNow;++ /// No description provided for @boLibScanStarted.+ ///+ /// In en, this message translates to:+ /// **'Scan started'**+ String get boLibScanStarted;++ /// No description provided for @boLibScanning.+ ///+ /// In en, this message translates to:+ /// **'Scanning'**+ String get boLibScanning;++ /// No description provided for @boLibLastScan.+ ///+ /// In en, this message translates to:+ /// **'Scanned {date}: {added} added, {updated} updated, {missing} missing'**+ String boLibLastScan(String date, int added, int updated, int missing);++ /// No description provided for @boLibScanFailed.+ ///+ /// In en, this message translates to:+ /// **'The last scan failed'**+ String get boLibScanFailed;++ /// No description provided for @boLibNeverScanned.+ ///+ /// In en, this message translates to:+ /// **'Not scanned yet'**+ String get boLibNeverScanned;++ /// No description provided for @boLibNew.+ ///+ /// In en, this message translates to:+ /// **'New library'**+ String get boLibNew;++ /// No description provided for @boLibName.+ ///+ /// In en, this message translates to:+ /// **'Name'**+ String get boLibName;++ /// No description provided for @boLibNeedName.+ ///+ /// In en, this message translates to:+ /// **'Give the library a name'**+ String get boLibNeedName;++ /// No description provided for @boLibIcon.+ ///+ /// In en, this message translates to:+ /// **'Icon'**+ String get boLibIcon;++ /// No description provided for @boLibFolders.+ ///+ /// In en, this message translates to:+ /// **'Folders'**+ String get boLibFolders;++ /// No description provided for @boLibFoldersHint.+ ///+ /// In en, this message translates to:+ /// **'Folders on the server where this library\'s books live.'**+ String get boLibFoldersHint;++ /// No description provided for @boLibNeedFolder.+ ///+ /// In en, this message translates to:+ /// **'Add at least one folder'**+ String get boLibNeedFolder;++ /// No description provided for @boLibAddFolder.+ ///+ /// In en, this message translates to:+ /// **'Add folder'**+ String get boLibAddFolder;++ /// No description provided for @boLibFolderFiles.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =1{1 file} other{{count} files}}'**+ String boLibFolderFiles(int count);++ /// No description provided for @boLibFolderInUse.+ ///+ /// In en, this message translates to:+ /// **'Already in {library}'**+ String boLibFolderInUse(String library);++ /// No description provided for @boLibFolderUnreadable.+ ///+ /// In en, this message translates to:+ /// **'The server can\'t read this folder'**+ String get boLibFolderUnreadable;++ /// No description provided for @boLibFolderRescan.+ ///+ /// In en, this message translates to:+ /// **'Changing the folders rescans the library.'**+ String get boLibFolderRescan;++ /// No description provided for @boLibOrganization.+ ///+ /// In en, this message translates to:+ /// **'Books are stored as'**+ String get boLibOrganization;- /// No description provided for @transcriptionNoMetadataMsg.+ /// No description provided for @boLibPerFolder.////// In en, this message translates to:- /// **'Can\'t locate this spot in the download. Try re-downloading the book.'**- String get transcriptionNoMetadataMsg;+ /// **'One book per folder'**+ String get boLibPerFolder;- /// No description provided for @transcriptionBusyMsg.+ /// No description provided for @boLibPerFile.////// In en, this message translates to:- /// **'Already transcribing something. Give it a moment.'**- String get transcriptionBusyMsg;+ /// **'One book per file'**+ String get boLibPerFile;- /// No description provided for @transcriptionEmptyMsg.+ /// No description provided for @boLibOrganizationFixed.////// In en, this message translates to:- /// **'No speech was found at this spot.'**- String get transcriptionEmptyMsg;+ /// **'This cannot be changed after the library is created.'**+ String get boLibOrganizationFixed;- /// No description provided for @transcriptionFailedMsg.+ /// No description provided for @boLibWatch.////// In en, this message translates to:- /// **'Couldn\'t transcribe this spot. Please try again.'**- String get transcriptionFailedMsg;+ /// **'Watch for changes'**+ String get boLibWatch;- /// No description provided for @transcriptionPlaySnippet.+ /// No description provided for @boLibWatchSubtitle.////// In en, this message translates to:- /// **'Listen'**- String get transcriptionPlaySnippet;+ /// **'Pick up new and changed files as they appear'**+ String get boLibWatchSubtitle;- /// No description provided for @transcriptionPauseSnippet.+ /// No description provided for @boLibSchedule.////// In en, this message translates to:- /// **'Pause'**- String get transcriptionPauseSnippet;+ /// **'Scheduled scan'**+ String get boLibSchedule;- /// No description provided for @transcriptionIntroBody.+ /// No description provided for @boLibScheduleOff.////// In en, this message translates to:- /// **'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.'**- String get transcriptionIntroBody;+ /// **'Off'**+ String get boLibScheduleOff;- /// No description provided for @transcriptionUseEbookText.+ /// No description provided for @boLibScheduleDaily.////// In en, this message translates to:- /// **'Use the ebook\'s exact text when it can be matched'**- String get transcriptionUseEbookText;+ /// **'Daily'**+ String get boLibScheduleDaily;- /// No description provided for @lyricsMode.+ /// No description provided for @boLibScheduleWeekly.////// In en, this message translates to:- /// **'Live transcript'**- String get lyricsMode;+ /// **'Weekly'**+ String get boLibScheduleWeekly;- /// No description provided for @lyricsListeningAhead.+ /// No description provided for @boLibScheduleCustom.////// In en, this message translates to:- /// **'Listening ahead...'**- String get lyricsListeningAhead;+ /// **'Custom ({cron})'**+ String boLibScheduleCustom(String cron);- /// No description provided for @lyricsDisplaySection.+ /// No description provided for @boLibScheduleHint.////// In en, this message translates to:- /// **'Live transcript'**- String get lyricsDisplaySection;+ /// **'Runs at 3 AM server time.'**+ String get boLibScheduleHint;- /// No description provided for @lyricsFontSize.+ /// No description provided for @boLibCovers.////// In en, this message translates to:- /// **'Line size'**- String get lyricsFontSize;+ /// **'Cover shape'**+ String get boLibCovers;- /// No description provided for @lyricsMaxLines.+ /// No description provided for @boLibCoverBook.////// In en, this message translates to:- /// **'Lines shown'**- String get lyricsMaxLines;+ /// **'Book (2:3)'**+ String get boLibCoverBook;- /// No description provided for @lyricsFullCover.+ /// No description provided for @boLibCoverSquare.////// In en, this message translates to:- /// **'Use the whole cover'**- String get lyricsFullCover;+ /// **'Square (1:1)'**+ String get boLibCoverSquare;- /// No description provided for @lyricsFullCoverHint.+ /// No description provided for @boLibAccess.////// In en, this message translates to:- /// **'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.'**- String get lyricsFullCoverHint;+ /// **'Who can see it'**+ String get boLibAccess;- /// No description provided for @lyricsBatteryInfo.+ /// No description provided for @boLibAccessHint.////// In en, this message translates to:- /// **'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.'**- String get lyricsBatteryInfo;+ /// **'Administrators see every library. Others need access here.'**+ String get boLibAccessHint;- /// No description provided for @lyricsClearCache.+ /// No description provided for @boLibAccessNone.////// In en, this message translates to:- /// **'Clear transcript cache'**- String get lyricsClearCache;+ /// **'Only administrators so far'**+ String get boLibAccessNone;- /// No description provided for @lyricsClearCacheHint.+ /// No description provided for @boLibAccessAdd.////// In en, this message translates to:- /// **'{size} of saved transcript lines. Cleared books and episodes are transcribed again as you listen.'**- String lyricsClearCacheHint(String size);+ /// **'Add person'**+ String get boLibAccessAdd;- /// No description provided for @lyricsClearCacheConfirm.+ /// No description provided for @boLibAccessEveryoneHas.////// In en, this message translates to:- /// **'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.'**- String get lyricsClearCacheConfirm;+ /// **'Everyone already has access'**+ String get boLibAccessEveryoneHas;- /// No description provided for @lyricsCacheCleared.+ /// No description provided for @boLibLevelViewer.////// In en, this message translates to:- /// **'Transcript cache cleared'**- String get lyricsCacheCleared;+ /// **'Viewer'**+ String get boLibLevelViewer;- /// No description provided for @lyricsIntroBody.+ /// No description provided for @boLibLevelEditor.////// In en, this message translates to:- /// **'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.'**- String get lyricsIntroBody;+ /// **'Editor'**+ String get boLibLevelEditor;- /// No description provided for @lyricsBuildingLead.+ /// No description provided for @boLibLevelOwner.////// In en, this message translates to:- /// **'Getting ahead of the narration... {percent}'**- String lyricsBuildingLead(String percent);+ /// **'Owner'**+ String get boLibLevelOwner;- /// No description provided for @lyricsCantKeepUp.+ /// No description provided for @boLibAccessRemove.////// In en, this message translates to:- /// **'Can\'t transcribe as fast as you\'re listening at {speed}'**- String lyricsCantKeepUp(String speed);+ /// **'Remove access'**+ String get boLibAccessRemove;- /// No description provided for @lyricsTurnOn.+ /// No description provided for @boLibDelete.////// In en, this message translates to:- /// **'Turn on'**- String get lyricsTurnOn;+ /// **'Delete library'**+ String get boLibDelete;- /// No description provided for @readAlong.+ /// No description provided for @boLibDeleteTitle.////// In en, this message translates to:- /// **'Read along'**- String get readAlong;+ /// **'Delete {name}?'**+ String boLibDeleteTitle(String name);- /// No description provided for @readAlongNeedsPlaying.+ /// No description provided for @boLibDeleteBody.////// In en, this message translates to:- /// **'Play this book\'s audiobook first'**- String get readAlongNeedsPlaying;+ /// **'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.'**+ String get boLibDeleteBody;- /// No description provided for @narrationListen.+ /// No description provided for @boLibDeleted.////// In en, this message translates to:- /// **'Listen'**- String get narrationListen;+ /// **'Library deleted'**+ String get boLibDeleted;- /// No description provided for @narrationPlayFromHere.+ /// No description provided for @boFolderPickTitle.////// In en, this message translates to:- /// **'Play from here'**- String get narrationPlayFromHere;+ /// **'Choose a folder'**+ String get boFolderPickTitle;- /// No description provided for @narrationPreparing.+ /// No description provided for @boFolderUseThis.////// In en, this message translates to:- /// **'Getting the narration ready'**- String get narrationPreparing;+ /// **'Use this folder'**+ String get boFolderUseThis;- /// No description provided for @narrationNone.+ /// No description provided for @boFolderEmpty.////// In en, this message translates to:- /// **'This ebook has no narration to play'**- String get narrationNone;+ /// **'No folders inside'**+ String get boFolderEmpty;- /// No description provided for @narrationDownloadTitle.+ /// No description provided for @statsTotalTime.////// In en, this message translates to:- /// **'Download to listen'**- String get narrationDownloadTitle;+ /// **'TOTAL TIME'**+ String get statsTotalTime;- /// No description provided for @narrationDownloadBody.+ /// No description provided for @statsTotalReadingTime.////// In en, this message translates to:- /// **'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.'**- String get narrationDownloadBody;+ /// **'TOTAL READING TIME'**+ String get statsTotalReadingTime;- /// No description provided for @narrationDownloadStarted.+ /// No description provided for @statsDaysOfTime.////// In en, this message translates to:- /// **'Downloading the narration. Tap Absorb when it finishes.'**- String get narrationDownloadStarted;+ /// **'That\'s {days} days'**+ String statsDaysOfTime(String days);- /// No description provided for @narrationTextBody.+ /// No description provided for @statsHoursOfTime.////// In en, this message translates to:- /// **'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.'**- String get narrationTextBody;+ /// **'That\'s {hours} hours'**+ String statsHoursOfTime(String hours);- /// No description provided for @narrationTextLoading.+ /// No description provided for @statsMediaAll.////// In en, this message translates to:- /// **'Getting the words from the book'**- String get narrationTextLoading;+ /// **'All'**+ String get statsMediaAll;- /// No description provided for @downloadToAbsorb.+ /// No description provided for @statsMediaListening.////// In en, this message translates to:- /// **'Download to Absorb'**- String get downloadToAbsorb;+ /// **'Listening'**+ String get statsMediaListening;- /// No description provided for @narrationUpNextTitle.+ /// No description provided for @statsMediaReading.////// In en, this message translates to:- /// **'Download what\'s up next'**- String get narrationUpNextTitle;+ /// **'Reading'**+ String get statsMediaReading;- /// No description provided for @narrationUpNextBody.+ /// No description provided for @statsZoneMismatch.////// In en, this message translates to:- /// **'{title} is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.'**- String narrationUpNextBody(String title);+ /// **'BookOrbit counts your days in {server}, but this phone is set to {phone}. Time late in the day can land on the wrong day.'**+ String statsZoneMismatch(String server, String phone);- /// No description provided for @narrationQueueStopped.+ /// No description provided for @statsZoneUse.////// In en, this message translates to:- /// **'Stopped before {title}. Download it to keep going.'**- String narrationQueueStopped(String title);+ /// **'Use {zone}'**+ String statsZoneUse(String zone);- /// No description provided for @transcriptionNeedsDownload.+ /// No description provided for @statsZoneSaved.////// In en, this message translates to:- /// **'This needs the audio on your phone. Download it now?'**- String get transcriptionNeedsDownload;+ /// **'BookOrbit now uses {zone}. Older days can take a few minutes to catch up.'**+ String statsZoneSaved(String zone);- /// No description provided for @transcriptionDownloadStarted.+ /// No description provided for @statsZoneFailed.////// In en, this message translates to:- /// **'Downloading. Turn this on again when it finishes'**- String get transcriptionDownloadStarted;+ /// **'Couldn\'t change the time zone on BookOrbit'**+ String get statsZoneFailed;- /// No description provided for @readAlongFollow.+ /// No description provided for @statsTimeOfDay.////// In en, this message translates to:- /// **'Read along follows'**- String get readAlongFollow;+ /// **'Time of day'**+ String get statsTimeOfDay;- /// No description provided for @syncReadingListening.+ /// No description provided for @statsBusiestAround.////// In en, this message translates to:- /// **'Keep reading and listening in sync'**- String get syncReadingListening;+ /// **'Busiest around {time}'**+ String statsBusiestAround(String time);- /// No description provided for @syncReadingListeningHint.+ /// No description provided for @statsFinishedByMonth.////// In en, this message translates to:- /// **'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.'**- String get syncReadingListeningHint;+ /// **'Books finished by month'**+ String get statsFinishedByMonth;- /// No description provided for @syncEbookMoved.+ /// No description provided for @statsFinishedLast12.////// In en, this message translates to:- /// **'Ebook moved to where you stopped listening'**- String get syncEbookMoved;+ /// **'{count} in the last 12 months'**+ String statsFinishedLast12(int count);- /// No description provided for @syncAudioMoved.+ /// No description provided for @statsWhereTitle.////// In en, this message translates to:- /// **'Audiobook moved to where you stopped reading'**- String get syncAudioMoved;+ /// **'Where you listen and read'**+ String get statsWhereTitle;- /// No description provided for @syncAudioOffer.+ /// No description provided for @statsLast12Months.////// In en, this message translates to:- /// **'Tap to jump to where you stopped reading'**- String get syncAudioOffer;+ /// **'Last 12 months'**+ String get statsLast12Months;- /// No description provided for @syncFindingAudio.+ /// No description provided for @statsHabits.////// In en, this message translates to:- /// **'Finding your page in the audiobook'**- String get syncFindingAudio;+ /// **'Habits'**+ String get statsHabits;- /// No description provided for @syncFindingEbook.+ /// No description provided for @statsTypicalSession.////// In en, this message translates to:- /// **'Finding your spot in the ebook'**- String get syncFindingEbook;+ /// **'Typical session'**+ String get statsTypicalSession;- /// No description provided for @syncFailed.+ /// No description provided for @statsProgressPerSession.+ ///+ /// In en, this message translates to:+ /// **'Progress per session'**+ String get statsProgressPerSession;++ /// No description provided for @statsTimeToFinish.+ ///+ /// In en, this message translates to:+ /// **'Time to finish'**+ String get statsTimeToFinish;++ /// No description provided for @statsDayCount.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =1{1 day} other{{count} days}}'**+ String statsDayCount(int count);++ /// No description provided for @statsBooksStarted.+ ///+ /// In en, this message translates to:+ /// **'Books started'**+ String get statsBooksStarted;++ /// No description provided for @statsBooksInProgress.+ ///+ /// In en, this message translates to:+ /// **'In progress'**+ String get statsBooksInProgress;++ /// No description provided for @statsAverageProgress.+ ///+ /// In en, this message translates to:+ /// **'Average progress'**+ String get statsAverageProgress;++ /// No description provided for @statsTopBooks.+ ///+ /// In en, this message translates to:+ /// **'Top books'**+ String get statsTopBooks;++ /// No description provided for @statsYearRead.+ ///+ /// In en, this message translates to:+ /// **'Read'**+ String get statsYearRead;++ /// No description provided for @boNotificationsUnread.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =0{Nothing new} =1{1 unread} other{{count} unread}}'**+ String boNotificationsUnread(int count);++ /// No description provided for @boNotificationsMarkAllRead.+ ///+ /// In en, this message translates to:+ /// **'Mark all read'**+ String get boNotificationsMarkAllRead;++ /// No description provided for @boNotificationsClearAll.+ ///+ /// In en, this message translates to:+ /// **'Clear all'**+ String get boNotificationsClearAll;++ /// No description provided for @boNotificationsClearTitle.+ ///+ /// In en, this message translates to:+ /// **'Clear all notifications?'**+ String get boNotificationsClearTitle;++ /// No description provided for @boNotificationsClearBody.+ ///+ /// In en, this message translates to:+ /// **'This removes every notification from your BookOrbit account.'**+ String get boNotificationsClearBody;++ /// No description provided for @boNotificationsEmpty.+ ///+ /// In en, this message translates to:+ /// **'No notifications yet'**+ String get boNotificationsEmpty;++ /// No description provided for @boNotificationsLoadFailed.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t load notifications'**+ String get boNotificationsLoadFailed;++ /// No description provided for @boNotificationsUpdateFailed.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t update notifications on BookOrbit'**+ String get boNotificationsUpdateFailed;++ /// No description provided for @boNotificationsOccurrences.+ ///+ /// In en, this message translates to:+ /// **'Happened {count} times'**+ String boNotificationsOccurrences(int count);++ /// No description provided for @boNotificationsSettings.+ ///+ /// In en, this message translates to:+ /// **'Notification settings'**+ String get boNotificationsSettings;++ /// No description provided for @boNotificationsSettingsIntro.+ ///+ /// In en, this message translates to:+ /// **'Choose which notifications BookOrbit keeps for you.'**+ String get boNotificationsSettingsIntro;++ /// No description provided for @boNotificationsProblemsHint.+ ///+ /// In en, this message translates to:+ /// **'Problems only notifies you when something fails or needs attention.'**+ String get boNotificationsProblemsHint;++ /// No description provided for @boNotificationLevelOff.+ ///+ /// In en, this message translates to:+ /// **'Off'**+ String get boNotificationLevelOff;++ /// No description provided for @boNotificationLevelProblems.+ ///+ /// In en, this message translates to:+ /// **'Problems'**+ String get boNotificationLevelProblems;++ /// No description provided for @boNotificationLevelAll.+ ///+ /// In en, this message translates to:+ /// **'All'**+ String get boNotificationLevelAll;++ /// No description provided for @boNotificationsSaved.+ ///+ /// In en, this message translates to:+ /// **'Notification settings saved'**+ String get boNotificationsSaved;++ /// No description provided for @boNotificationsSaveFailed.+ ///+ /// In en, this message translates to:+ /// **'Couldn\'t save notification settings'**+ String get boNotificationsSaveFailed;++ /// No description provided for @boNotificationGroupLibrary.+ ///+ /// In en, this message translates to:+ /// **'Library'**+ String get boNotificationGroupLibrary;++ /// No description provided for @boNotificationGroupFiles.+ ///+ /// In en, this message translates to:+ /// **'Files'**+ String get boNotificationGroupFiles;++ /// No description provided for @boNotificationGroupIntegrations.+ ///+ /// In en, this message translates to:+ /// **'Integrations'**+ String get boNotificationGroupIntegrations;++ /// No description provided for @boNotificationGroupPersonal.+ ///+ /// In en, this message translates to:+ /// **'Personal'**+ String get boNotificationGroupPersonal;++ /// No description provided for @boNotifyScanning.+ ///+ /// In en, this message translates to:+ /// **'Library scanning'**+ String get boNotifyScanning;++ /// No description provided for @boNotifyScanningDesc.////// In en, this message translates to:- /// **'Couldn\'t sync your place'**- String get syncFailed;+ /// **'When a library scan finishes, fails, or finds missing books.'**+ String get boNotifyScanningDesc;- /// No description provided for @syncAlreadyTogether.+ /// No description provided for @boNotifyMetadata.////// In en, this message translates to:- /// **'Already in sync'**- String get syncAlreadyTogether;+ /// **'Metadata fetching'**+ String get boNotifyMetadata;- /// No description provided for @syncPosition.+ /// No description provided for @boNotifyMetadataDesc.////// In en, this message translates to:- /// **'Sync position'**- String get syncPosition;+ /// **'When metadata lookups for your books finish or fail.'**+ String get boNotifyMetadataDesc;- /// No description provided for @readAlongFollowHint.+ /// No description provided for @boNotifyAuthorEnrichment.////// In en, this message translates to:- /// **'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.'**- String get readAlongFollowHint;+ /// **'Author details'**+ String get boNotifyAuthorEnrichment;- /// No description provided for @readAlongFollowWord.+ /// No description provided for @boNotifyAuthorEnrichmentDesc.////// In en, this message translates to:- /// **'Word'**- String get readAlongFollowWord;+ /// **'When author biographies and photos finish downloading.'**+ String get boNotifyAuthorEnrichmentDesc;- /// No description provided for @readAlongFollowSentence.+ /// No description provided for @boNotifyFileWriteBack.////// In en, this message translates to:- /// **'Sentence'**- String get readAlongFollowSentence;+ /// **'Saving to files'**+ String get boNotifyFileWriteBack;- /// No description provided for @readAlongColor.+ /// No description provided for @boNotifyFileWriteBackDesc.////// In en, this message translates to:- /// **'Read along color'**- String get readAlongColor;+ /// **'When edited details are saved into the book files on disk.'**+ String get boNotifyFileWriteBackDesc;- /// Read along pill after 45s of narration that matches nothing on the page+ /// No description provided for @boNotifyFileRename.////// In en, this message translates to:- /// **'Can\'t find the narration on the page'**- String get readAlongLost;+ /// **'File renaming'**+ String get boNotifyFileRename;- /// Ebook reader button that returns the page to the sentence being narrated after the reader moved away during read along+ /// No description provided for @boNotifyFileRenameDesc.////// In en, this message translates to:- /// **'Back to narration'**- String get readAlongBackToNarration;+ /// **'When a book file is renamed to match your naming pattern.'**+ String get boNotifyFileRenameDesc;- /// No description provided for @findInEbook.+ /// No description provided for @boNotifyBulkRename.////// In en, this message translates to:- /// **'Find in ebook'**- String get findInEbook;+ /// **'Bulk renaming'**+ String get boNotifyBulkRename;- /// No description provided for @findInEbookSearching.+ /// No description provided for @boNotifyBulkRenameDesc.////// In en, this message translates to:- /// **'Finding this spot in the ebook...'**- String get findInEbookSearching;+ /// **'When renaming many books, or moving books between libraries, finishes or fails.'**+ String get boNotifyBulkRenameDesc;- /// No description provided for @findInEbookNotFound.+ /// No description provided for @boNotifyMigration.////// In en, this message translates to:- /// **'Couldn\'t find this spot in the ebook.'**- String get findInEbookNotFound;+ /// **'Imports'**+ String get boNotifyMigration;- /// No description provided for @findInEbookNeedsEpub.+ /// No description provided for @boNotifyMigrationDesc.////// In en, this message translates to:- /// **'Find in ebook needs an EPUB ebook.'**- String get findInEbookNeedsEpub;+ /// **'When an import from another library app finishes or fails.'**+ String get boNotifyMigrationDesc;- /// No description provided for @findInEbookNoEbook.+ /// No description provided for @boNotifyBookDock.////// In en, this message translates to:- /// **'This book doesn\'t have an ebook.'**- String get findInEbookNoEbook;+ /// **'Book Dock'**+ String get boNotifyBookDock;- /// No description provided for @findInAudiobook.+ /// No description provided for @boNotifyBookDockDesc.////// In en, this message translates to:- /// **'Find in audiobook'**- String get findInAudiobook;+ /// **'When Book Dock finishes adding books or runs into problems.'**+ String get boNotifyBookDockDesc;- /// No description provided for @findInAudiobookSearching.+ /// No description provided for @boNotifyBookRequests.////// In en, this message translates to:- /// **'Finding this spot in the audiobook...'**- String get findInAudiobookSearching;+ /// **'Book requests'**+ String get boNotifyBookRequests;- /// No description provided for @findInAudiobookStillSearching.+ /// No description provided for @boNotifyBookRequestsDesc.////// In en, this message translates to:- /// **'Still searching the audio for this spot...'**- String get findInAudiobookStillSearching;+ /// **'When a book request is submitted or decided, or the book becomes available.'**+ String get boNotifyBookRequestsDesc;- /// No description provided for @findInAudiobookSearchingLong.+ /// No description provided for @boNotifyEmail.////// In en, this message translates to:- /// **'Long chapter, still searching. This can take a minute or two...'**- String get findInAudiobookSearchingLong;+ /// **'Email delivery'**+ String get boNotifyEmail;- /// No description provided for @findInAudiobookNotFound.+ /// No description provided for @boNotifyEmailDesc.////// In en, this message translates to:- /// **'Couldn\'t find this spot in the audiobook.'**- String get findInAudiobookNotFound;+ /// **'When sending a book by email works or fails.'**+ String get boNotifyEmailDesc;- /// No description provided for @transcriptionWhisperInfo.+ /// No description provided for @boNotifyAchievements.////// In en, this message translates to:- /// **'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.'**- String get transcriptionWhisperInfo;+ /// **'Achievements'**+ String get boNotifyAchievements;- /// No description provided for @transcriptionWhisperLearnMore.+ /// No description provided for @boNotifyAchievementsDesc.////// In en, this message translates to:- /// **'Learn more about Whisper'**- String get transcriptionWhisperLearnMore;+ /// **'When you unlock a new achievement.'**+ String get boNotifyAchievementsDesc;- /// No description provided for @findInAudiobookIntroBody.+ /// No description provided for @achievementsTitle.////// In en, this message translates to:- /// **'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.'**- String get findInAudiobookIntroBody;+ /// **'Achievements'**+ String get achievementsTitle;- /// No description provided for @findInAudiobookAfterLabel.+ /// No description provided for @achievementsEarnedSummary.////// In en, this message translates to:- /// **'When the spot is found'**- String get findInAudiobookAfterLabel;+ /// **'{earned} of {total} earned'**+ String achievementsEarnedSummary(int earned, int total);- /// No description provided for @findInAudiobookStay.+ /// No description provided for @achievementsFilterAll.////// In en, this message translates to:- /// **'Keep reading'**- String get findInAudiobookStay;+ /// **'All'**+ String get achievementsFilterAll;- /// No description provided for @findInAudiobookGoPlayer.+ /// No description provided for @achievementsFilterEarned.////// In en, this message translates to:- /// **'Open the player'**- String get findInAudiobookGoPlayer;+ /// **'Earned'**+ String get achievementsFilterEarned;- /// No description provided for @findInAudiobookPlaying.+ /// No description provided for @achievementsFilterInProgress.////// In en, this message translates to:- /// **'Playing this passage in the audiobook'**- String get findInAudiobookPlaying;+ /// **'In progress'**+ String get achievementsFilterInProgress;- /// No description provided for @catchUpAudioAhead.+ /// No description provided for @achievementsFilterLocked.////// In en, this message translates to:- /// **'The audiobook is further along. Tap to go there.'**- String get catchUpAudioAhead;+ /// **'Locked'**+ String get achievementsFilterLocked;- /// No description provided for @catchUpPageAhead.+ /// No description provided for @achievementsCategoryReading.////// In en, this message translates to:- /// **'This page is ahead of the audiobook. Tap to move the audiobook here.'**- String get catchUpPageAhead;+ /// **'Reading'**+ String get achievementsCategoryReading;- /// No description provided for @readerShortcutButton.+ /// No description provided for @achievementsCategoryLibrary.////// In en, this message translates to:- /// **'Shortcut button'**- String get readerShortcutButton;+ /// **'Library'**+ String get achievementsCategoryLibrary;- /// No description provided for @keepScreenOn.+ /// No description provided for @achievementsCategoryExploration.////// In en, this message translates to:- /// **'Keep screen on'**- String get keepScreenOn;+ /// **'Exploration'**+ String get achievementsCategoryExploration;- /// No description provided for @keepScreenOnActive.+ /// No description provided for @achievementsCategoryDedication.////// In en, this message translates to:- /// **'Screen stays on'**- String get keepScreenOnActive;+ /// **'Dedication'**+ String get achievementsCategoryDedication;- /// No description provided for @keepScreenOnUntilClosed.+ /// No description provided for @achievementsCategoryDevices.////// In en, this message translates to:- /// **'Screen stays on until you close the app'**- String get keepScreenOnUntilClosed;+ /// **'Devices'**+ String get achievementsCategoryDevices;- /// No description provided for @keepScreenOnOff.+ /// No description provided for @achievementsRarityCommon.////// In en, this message translates to:- /// **'Screen can turn off again'**- String get keepScreenOnOff;+ /// **'Common'**+ String get achievementsRarityCommon;- /// No description provided for @keepScreenOnOffUntilRestart.+ /// No description provided for @achievementsRarityRare.////// In en, this message translates to:- /// **'Off until the app restarts. The Settings switch stays on'**- String get keepScreenOnOffUntilRestart;+ /// **'Rare'**+ String get achievementsRarityRare;- /// No description provided for @keepScreenOnPlayer.+ /// No description provided for @achievementsRarityEpic.////// In en, this message translates to:- /// **'Keep the screen on in the player'**- String get keepScreenOnPlayer;+ /// **'Epic'**+ String get achievementsRarityEpic;- /// No description provided for @keepScreenOnPlayerSubtitle.+ /// No description provided for @achievementsRarityLegendary.////// In en, this message translates to:- /// **'The screen stays on while the player is open'**- String get keepScreenOnPlayerSubtitle;+ /// **'Legendary'**+ String get achievementsRarityLegendary;- /// No description provided for @keepScreenOnCarMode.+ /// No description provided for @achievementsLoadFailed.////// In en, this message translates to:- /// **'Keep the screen on in car mode'**- String get keepScreenOnCarMode;+ /// **'Couldn\'t load achievements'**+ String get achievementsLoadFailed;- /// No description provided for @keepScreenOnCarModeSubtitle.+ /// No description provided for @achievementsNoneMatch.////// In en, this message translates to:- /// **'The screen stays on while car mode is open'**- String get keepScreenOnCarModeSubtitle;+ /// **'No achievements match this filter'**+ String get achievementsNoneMatch;- /// No description provided for @loginServerType.+ /// No description provided for @achievementsSecretName.////// In en, this message translates to:- /// **'Server type'**- String get loginServerType;+ /// **'Secret achievement'**+ String get achievementsSecretName;- /// No description provided for @authBookOrbitDefaultPassword.+ /// No description provided for @achievementsSecretHint.////// In en, this message translates to:- /// **'This account still has its default password. Change it in BookOrbit, then sign in again.'**- String get authBookOrbitDefaultPassword;+ /// **'Keep reading to reveal this one.'**+ String get achievementsSecretHint;- /// No description provided for @authBookOrbitPasswordOff.+ /// No description provided for @achievementsEarnedOn.////// In en, this message translates to:- /// **'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.'**- String get authBookOrbitPasswordOff;+ /// **'Earned {date}'**+ String achievementsEarnedOn(String date);- /// No description provided for @authServerIsBookOrbit.+ /// No description provided for @achievementsWhileReading.////// In en, this message translates to:- /// **'This is a BookOrbit server. Choose BookOrbit above the server address.'**- String get authServerIsBookOrbit;+ /// **'While reading {title}'**+ String achievementsWhileReading(String title);- /// No description provided for @authServerIsAudiobookshelf.+ /// No description provided for @achievementsTierOf.////// In en, this message translates to:- /// **'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.'**- String get authServerIsAudiobookshelf;+ /// **'Tier {earned} of {total}'**+ String achievementsTierOf(int earned, int total);- /// No description provided for @castNotAvailableBookOrbit.+ /// No description provided for @achievementsTiers.////// In en, this message translates to:- /// **'Casting is not available with BookOrbit servers'**- String get castNotAvailableBookOrbit;+ /// **'Tiers'**+ String get achievementsTiers;- /// No description provided for @loginMagicLink.+ /// No description provided for @achievementsAllTiers.////// In en, this message translates to:- /// **'Magic link'**- String get loginMagicLink;+ /// **'Every tier earned'**+ String get achievementsAllTiers;- /// No description provided for @loginMagicLinkDescription.+ /// No description provided for @achievementsProgress.////// In en, this message translates to:- /// **'Sign in with a BookOrbit magic link instead of a password.'**- String get loginMagicLinkDescription;+ /// **'{current} / {threshold}'**+ String achievementsProgress(String current, String threshold);- /// No description provided for @collectionPublicTitle.+ /// No description provided for @achievementsProgressBooks.////// In en, this message translates to:- /// **'Public'**- String get collectionPublicTitle;+ /// **'{current} / {threshold} books'**+ String achievementsProgressBooks(String current, String threshold);- /// No description provided for @collectionPublicSubtitle.+ /// No description provided for @achievementsProgressPages.////// In en, this message translates to:- /// **'Everyone on this server can see this collection'**- String get collectionPublicSubtitle;+ /// **'{current} / {threshold} pages'**+ String achievementsProgressPages(String current, String threshold);- /// No description provided for @loginSignInWithProvider.+ /// No description provided for @achievementsProgressHours.////// In en, this message translates to:- /// **'Sign in with {provider}'**- String loginSignInWithProvider(String provider);+ /// **'{current} / {threshold} hours'**+ String achievementsProgressHours(String current, String threshold);- /// No description provided for @loginSignInWithSso.+ /// No description provided for @achievementsProgressAnnotations.////// In en, this message translates to:- /// **'Sign in with SSO'**- String get loginSignInWithSso;+ /// **'{current} / {threshold} highlights and notes'**+ String achievementsProgressAnnotations(String current, String threshold);- /// No description provided for @loginChooseSsoProvider.+ /// No description provided for @achievementsProgressRatings.////// In en, this message translates to:- /// **'Choose how to sign in'**- String get loginChooseSsoProvider;+ /// **'{current} / {threshold} ratings'**+ String achievementsProgressRatings(String current, String threshold);- /// No description provided for @loginRedirectUriBookOrbit.+ /// No description provided for @achievementsProgressGenres.////// In en, this message translates to:- /// **'Redirect URI: bookorbit://oauth2-callback'**- String get loginRedirectUriBookOrbit;+ /// **'{current} / {threshold} genres'**+ String achievementsProgressGenres(String current, String threshold);- /// No description provided for @readStatusTitle.+ /// No description provided for @achievementsProgressLanguages.////// In en, this message translates to:- /// **'Reading status'**- String get readStatusTitle;+ /// **'{current} / {threshold} languages'**+ String achievementsProgressLanguages(String current, String threshold);- /// No description provided for @readStatusHint.+ /// No description provided for @achievementsProgressDays.////// In en, this message translates to:- /// **'BookOrbit keeps a status you pick here until you change it.'**- String get readStatusHint;+ /// **'{current} / {threshold} days'**+ String achievementsProgressDays(String current, String threshold);- /// No description provided for @readStatusUnread.+ /// No description provided for @achievementsHowToGetIt.////// In en, this message translates to:- /// **'Unread'**- String get readStatusUnread;+ /// **'How to get it'**+ String get achievementsHowToGetIt;- /// No description provided for @readStatusWantToRead.+ /// No description provided for @achievementsHintReadingPace.////// In en, this message translates to:- /// **'Want to read'**- String get readStatusWantToRead;+ /// **'{count, plural, =1{You read 1 hour in the last {days} days.} other{You read {count} hours in the last {days} days.}}'**+ String achievementsHintReadingPace(int count, int days);- /// No description provided for @readStatusReading.+ /// No description provided for @achievementsHintEtaDays.////// In en, this message translates to:- /// **'Reading'**- String get readStatusReading;+ /// **'{count, plural, =1{About 1 day at this pace.} other{About {count} days at this pace.}}'**+ String achievementsHintEtaDays(int count);- /// No description provided for @readStatusOnHold.+ /// No description provided for @achievementsHintEtaWeeks.////// In en, this message translates to:- /// **'On hold'**- String get readStatusOnHold;+ /// **'{count, plural, =1{About 1 week at this pace.} other{About {count} weeks at this pace.}}'**+ String achievementsHintEtaWeeks(int count);- /// No description provided for @readStatusRereading.+ /// No description provided for @achievementsHintEtaMonths.////// In en, this message translates to:- /// **'Rereading'**- String get readStatusRereading;+ /// **'{count, plural, =1{About 1 month at this pace.} other{About {count} months at this pace.}}'**+ String achievementsHintEtaMonths(int count);- /// No description provided for @readStatusRead.+ /// No description provided for @achievementsHintDecadeUnread.////// In en, this message translates to:- /// **'Read'**- String get readStatusRead;+ /// **'{count, plural, =1{1 book from the {decade}s is waiting on your shelves.} other{{count} books from the {decade}s are waiting on your shelves.}}'**+ String achievementsHintDecadeUnread(int count, String decade);- /// No description provided for @readStatusSkimmed.+ /// No description provided for @achievementsHintCenturyUnread.////// In en, this message translates to:- /// **'Skimmed'**- String get readStatusSkimmed;+ /// **'{count, plural, =1{1 book from the {century}s is waiting on your shelves.} other{{count} books from the {century}s are waiting on your shelves.}}'**+ String achievementsHintCenturyUnread(int count, String century);- /// No description provided for @readStatusAbandoned.+ /// No description provided for @achievementsHintStalled.////// In en, this message translates to:- /// **'Abandoned'**- String get readStatusAbandoned;+ /// **'{title} is {percent} read and was started on {date}.'**+ String achievementsHintStalled(String title, String percent, String date);- /// No description provided for @personalNoteTitle.+ /// No description provided for @achievementsHintStalledNoProgress.////// In en, this message translates to:- /// **'Your note'**- String get personalNoteTitle;+ /// **'{title} was started on {date}.'**+ String achievementsHintStalledNoProgress(String title, String date);- /// No description provided for @personalNoteAdd.+ /// No description provided for @achievementsHintUntitledBook.////// In en, this message translates to:- /// **'Add a private note'**- String get personalNoteAdd;+ /// **'A book in progress'**+ String get achievementsHintUntitledBook;- /// No description provided for @personalNoteHint.+ /// No description provided for @achievementsHintNearlyFinished.////// In en, this message translates to:- /// **'Only you can see this note.'**- String get personalNoteHint;+ /// **'{count, plural, =1{1 book in progress is past {percent}.} other{{count} books in progress are past {percent}.}}'**+ String achievementsHintNearlyFinished(int count, String percent);- /// No description provided for @moreLikeThis.+ /// No description provided for @achievementsHintUnrated.////// In en, this message translates to:- /// **'More like this'**- String get moreLikeThis;+ /// **'{count, plural, =1{1 book you finished has no rating yet.} other{{count} books you finished have no rating yet.}}'**+ String achievementsHintUnrated(int count);- /// No description provided for @coverSlotAudiobook.+ /// No description provided for @achievementsHintShortBooks.////// In en, this message translates to:- /// **'Audiobook cover'**- String get coverSlotAudiobook;+ /// **'{count, plural, =1{1 book under {pages} pages is waiting on your shelves.} other{{count} books under {pages} pages are waiting on your shelves.}}'**+ String achievementsHintShortBooks(int count, String pages);- /// No description provided for @coverSlotBook.+ /// No description provided for @achievementsHintAlreadyStarted.////// In en, this message translates to:- /// **'Book cover'**- String get coverSlotBook;+ /// **'{count, plural, =1{1 is already in progress.} other{{count} are already in progress.}}'**+ String achievementsHintAlreadyStarted(int count);- /// No description provided for @cardButtonFill.+ /// No description provided for @achievementsHintLongBooks.////// In en, this message translates to:- /// **'Button background'**- String get cardButtonFill;+ /// **'{count, plural, =1{1 book of {pages} pages or more is waiting on your shelves.} other{{count} books of {pages} pages or more are waiting on your shelves.}}'**+ String achievementsHintLongBooks(int count, String pages);- /// No description provided for @cardButtonFillSubtitle.+ /// No description provided for @achievementsHintOldBooks.////// In en, this message translates to:- /// **'How the buttons on the player card are filled'**- String get cardButtonFillSubtitle;+ /// **'{count, plural, =1{1 book published before {year} is waiting on your shelves.} other{{count} books published before {year} are waiting on your shelves.}}'**+ String achievementsHintOldBooks(int count, String year);- /// No description provided for @cardButtonFillClear.+ /// No description provided for @achievementsHintAuthorUnread.////// In en, this message translates to:- /// **'Clear'**- String get cardButtonFillClear;+ /// **'{author}: {finished} finished, {count} more on your shelves.'**+ String achievementsHintAuthorUnread(String author, int finished, int count);- /// No description provided for @cardButtonFillSubtle.+ /// No description provided for @achievementsHintLanguageUnread.////// In en, this message translates to:- /// **'Subtle'**- String get cardButtonFillSubtle;+ /// **'{count, plural, =1{1 book in {language} is waiting on your shelves.} other{{count} books in {language} are waiting on your shelves.}}'**+ String achievementsHintLanguageUnread(int count, String language);- /// No description provided for @cardButtonFillSolid.+ /// No description provided for @achievementsHintMonthsRead.////// In en, this message translates to:- /// **'Solid'**- String get cardButtonFillSolid;+ /// **'{count, plural, =1{You have read in 1 month of {year} so far.} other{You have read in {count} months of {year} so far.}}'**+ String achievementsHintMonthsRead(int count, String year);- /// No description provided for @loginBookOrbitPreview.+ /// No description provided for @achievementsHintMonthsLeft.////// In en, this message translates to:- /// **'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.'**- String get loginBookOrbitPreview;+ /// **'{count, plural, =1{{months} is left.} other{{months} are left.}}'**+ String achievementsHintMonthsLeft(int count, String months);- /// No description provided for @signedOutTapToSignIn.+ /// No description provided for @achievementsHintNoLongBook.////// In en, this message translates to:- /// **'Signed out. Tap to sign in again.'**- String get signedOutTapToSignIn;+ /// **'No book on your shelves has {pages} pages or more yet.'**+ String achievementsHintNoLongBook(String pages);- /// No description provided for @authSignedOutKeepListening.+ /// No description provided for @achievementsHintNothingBefore.////// In en, this message translates to:- /// **'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.'**- String get authSignedOutKeepListening;+ /// **'Nothing on your shelves was published before {year}.'**+ String achievementsHintNothingBefore(String year);- /// No description provided for @signedOutSyncNote.+ /// No description provided for @achievementsHintTooFewDecades.////// In en, this message translates to:- /// **'What you listen to while signed out is kept on this phone and syncs when you sign back in as {username} on {server}. Any way of signing in to that account works.'**- String signedOutSyncNote(String username, String server);+ /// **'{count, plural, =1{Your shelves span only 1 decade so far.} other{Your shelves span only {count} decades so far.}}'**+ String achievementsHintTooFewDecades(int count);- /// No description provided for @comicReadingDirection.+ /// No description provided for @achievementsHintTooFewCenturies.////// In en, this message translates to:- /// **'Reading direction'**- String get comicReadingDirection;+ /// **'{count, plural, =1{Your shelves span only 1 century so far.} other{Your shelves span only {count} centuries so far.}}'**+ String achievementsHintTooFewCenturies(int count);- /// No description provided for @comicPageNumber.+ /// No description provided for @achievementsHintMissedMonth.////// In en, this message translates to:- /// **'Page {page}'**- String comicPageNumber(int page);+ /// **'You did not read in {month}, so {year} is out of reach. The count starts again in January.'**+ String achievementsHintMissedMonth(String month, String year);- /// No description provided for @comicBookmarkRemoveFailed.+ /// No description provided for @achievementsSwitch.////// In en, this message translates to:- /// **'Couldn\'t remove the bookmark from the server. Try again when you\'re online.'**- String get comicBookmarkRemoveFailed;+ /// **'Achievements'**+ String get achievementsSwitch;- /// No description provided for @comicLeftToRight.+ /// No description provided for @achievementsSwitchSubtitle.////// In en, this message translates to:- /// **'Left to right'**- String get comicLeftToRight;+ /// **'Track achievements on BookOrbit. Turning this off hides them here and on the web.'**+ String get achievementsSwitchSubtitle;- /// No description provided for @comicRightToLeft.+ /// No description provided for @achievementsTurnedOn.////// In en, this message translates to:- /// **'Right to left (manga)'**- String get comicRightToLeft;+ /// **'Achievements turned on'**+ String get achievementsTurnedOn;- /// No description provided for @comicNeedsConnection.+ /// No description provided for @achievementsTurnedOff.////// In en, this message translates to:- /// **'This comic opens page by page from your server, so it needs a connection.'**- String get comicNeedsConnection;+ /// **'Achievements turned off'**+ String get achievementsTurnedOff;- /// No description provided for @comicNoPages.+ /// No description provided for @achievementsSwitchFailed.////// In en, this message translates to:- /// **'No pages found in this comic.'**- String get comicNoPages;+ /// **'Couldn\'t change achievements on BookOrbit'**+ String get achievementsSwitchFailed;}class _AppLocalizationsDelegatediff --git a/lib/l10n/app_localizations_de.dart b/lib/l10n/app_localizations_de.dartindex 0554ae72..e16679e1 100644--- a/lib/l10n/app_localizations_de.dart+++ b/lib/l10n/app_localizations_de.dart@@ -99,6 +99,19 @@ class AppLocalizationsDe extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle =>+ 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => 'Verstanden';@@ -4163,6 +4176,24 @@ class AppLocalizationsDe extends AppLocalizations {@overrideString get removedFromContinueListening => 'Aus \"Weiterhören\" entfernt';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries =>'Aus \"Serie fortsetzen\" entfernen';@@ -4885,6 +4916,10 @@ class AppLocalizationsDe extends AppLocalizations {@overrideString get removeDownloadContent => 'Dies wird von deinem Gerät entfernt.';+ @override+ String get removeWhichDownload =>+ 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => 'Download entfernt';@@ -5439,6 +5474,53 @@ class AppLocalizationsDe extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote =>+ 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced =>'Zurücksetzen wurde möglicherweise nicht synchronisiert - prüfe deinen Server';@@ -10278,6 +10360,22 @@ class AppLocalizationsDe extends AppLocalizations {String get readerVolumeNavWhilePlaying =>'Selbst während Audio abgespielt wird';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint =>+ 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Weitere Schriftarten herunterladen';@@ -10605,652 +10703,2118 @@ class AppLocalizationsDe extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Alle Bibliotheken scannen';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scanne $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan gestartet';-- @override- String get navHoldScanFailed => 'Kann Scan nicht starten';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldAdminLogs => 'Server Logs';+ String get activityNotStarted => 'Not started';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityNoReading => 'No reading sessions yet';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityTime => 'Time';@override- String get navHoldReadBook => 'Aktuelles Buch lesen';+ String get activityAverage => 'Avg';@override- String get navHoldBookDetails => 'Current book details';+ String get activityProgress => 'Progress';@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceBody =>- 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogAverageSession => 'Average session';@override- String get syncSettingsWhatTravels =>- 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsDownloadWarnTitle =>- 'Replace this device\'s settings?';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnBody =>- 'The synced copy will overwrite the settings on this device.';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get readerCopied => 'In Zwischenablage kopiert';+ String get readingLogLastRead => 'Last read';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogStarted => 'Started';@override- String get dictionaryError =>- 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryRetry => 'Retry';+ String get readingLogNotSet => 'Not set';@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get readerTooltipCopy => 'Kopieren';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipSearch => 'Suchen';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipDefine => 'Definieren';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerSearchHint => 'Dieses Buch durchsuchen…';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count Treffer für \"$query\"',- one: '$count Treffer für \"$query\"',- );- return '$_temp0';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';}@override- String get readerSearchEmpty =>- 'Gib ein Wort oder Phrase ein und tippe auf Suche.';+ String get readingLogNewThisWeek => 'New this week';@override- String readerSearchNoResults(String query) {- return 'Keine Treffer für \"$query\".';- }+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionAdvancedSubtitle =>- 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnableSubtitle =>- 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionDisclaimer =>- 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionNeedModelHint =>- 'Download a model below to start transcribing.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionModelSection => 'Models';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTinyDesc =>- 'Quickest, less accurate. About 31 MB.';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelBase => 'Base';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelSmall => 'Small';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmallDesc =>- 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionAutoHint =>- 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionDownload => 'Download';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownloadFailed =>- 'Download failed. Check your connection and try again.';+ String get readingLogAttempts => 'Attempts';@override- String get transcribe => 'Transcribe';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribing => 'Transcribing...';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionDisabledHint =>- 'Turn on bookmark transcription in Settings, under Advanced.';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionNoModelDownloaded =>- 'Download a transcription model in Settings first.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNotDownloadedBook =>- 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNoMetadataMsg =>- 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionBusyMsg =>- 'Already transcribing something. Give it a moment.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionFailedMsg =>- 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionIntroBody =>- 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';+ String get readingLogEmptyHint =>+ 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionUseEbookText =>- 'Use the ebook\'s exact text when it can be matched';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get lyricsMode => 'Live transcript';+ String get readingLogAllTime => 'All time';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsFontSize => 'Line size';+ String get readingLogThisYear => 'This year';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCoverHint =>- 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortDay => 'Day';@override- String get lyricsBatteryInfo =>- 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortLength => 'Length';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortChange => 'Change';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogSortReached => 'Reached';@override- String get lyricsClearCacheConfirm =>- 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsIntroBody =>- 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogMostFirst => 'Most first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogLeastFirst => 'Least first';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteBody =>+ 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get readAlong => 'Read along';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get narrationListen => 'Listen';+ String get navHoldServerScan => 'Server scan';@override- String get narrationPlayFromHere => 'Play from here';+ String get navHoldScanAll => 'Alle Bibliotheken scannen';@override- String get narrationPreparing => 'Getting the narration ready';+ String navHoldScanLibrary(String name) {+ return 'Scanne $name';+ }@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanStarted => 'Scan gestartet';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldScanFailed => 'Kann Scan nicht starten';@override- String get narrationDownloadBody =>- 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String get navHoldAdminLogs => 'Server Logs';@override- String get narrationDownloadStarted =>- 'Downloading the narration. Tap Absorb when it finishes.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationTextBody =>- 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldReadBook => 'Aktuelles Buch lesen';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get navHoldBookDetails => 'Current book details';++ @override+ String get syncSourceTitle => 'Which copy should sync keep?';++ @override+ String get syncSourceBody =>+ 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';++ @override+ String get syncSourceUseServer => 'Server\'s last sync';++ @override+ String get syncSourceUseBackup => 'This backup';++ @override+ String get syncSettingsWhatTravels =>+ 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';++ @override+ String get syncSettingsDownloadWarnTitle =>+ 'Replace this device\'s settings?';++ @override+ String get syncSettingsDownloadWarnBody =>+ 'The synced copy will overwrite the settings on this device.';++ @override+ String get syncSettingsDownloadWarnConfirm => 'Replace';++ @override+ String get readerCopied => 'In Zwischenablage kopiert';++ @override+ String get dictionaryNotFound => 'No definition found for this word.';++ @override+ String get dictionaryError =>+ 'Couldn\'t reach the dictionary. Check your connection.';++ @override+ String get dictionaryRetry => 'Retry';++ @override+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Kopieren';++ @override+ String get readerTooltipSearch => 'Suchen';++ @override+ String get readerTooltipDefine => 'Definieren';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Dieses Buch durchsuchen…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count Treffer für \"$query\"',+ one: '$count Treffer für \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty =>+ 'Gib ein Wort oder Phrase ein und tippe auf Suche.';++ @override+ String readerSearchNoResults(String query) {+ return 'Keine Treffer für \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle =>+ 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle =>+ 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer =>+ 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';++ @override+ String get transcriptionNeedModelHint =>+ 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc =>+ 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc =>+ 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint =>+ 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed =>+ 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint =>+ 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded =>+ 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook =>+ 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg =>+ 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg =>+ 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg =>+ 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody =>+ 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';++ @override+ String get transcriptionUseEbookText =>+ 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint =>+ 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo =>+ 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm =>+ 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody =>+ 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody =>+ 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted =>+ 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody =>+ 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';@overrideString get narrationUpNextTitle => 'Download what\'s up next';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload =>+ 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted =>+ 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint =>+ 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';++ @override+ String get syncFindingEbook => 'Finding your spot in the ebook';++ @override+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint =>+ 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'Dieses Buch hat kein eBook.';++ @override+ String get findInAudiobook => 'Im Hörbuch finden';++ @override+ String get findInAudiobookSearching =>+ 'Suche nach dieser Stelle im Hörbuch...';++ @override+ String get findInAudiobookStillSearching =>+ 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong =>+ 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound =>+ 'Konnte diese Stelle nicht im Hörbuch finden.';++ @override+ String get transcriptionWhisperInfo =>+ 'Transkriptionen werden von Whisper erstellt. Einer Open-Source Spracherkennung. Alles lokal auf diesem Gerät.';++ @override+ String get transcriptionWhisperLearnMore => 'Mehr über Whisper erfahren';++ @override+ String get findInAudiobookIntroBody =>+ 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Weiterlesen';++ @override+ String get findInAudiobookGoPlayer => 'Im Player öffnen';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead =>+ 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead =>+ 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed =>+ 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart =>+ 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle =>+ 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle =>+ 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword =>+ 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff =>+ 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit =>+ 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf =>+ 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit =>+ 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription =>+ 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle =>+ 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit =>+ 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint =>+ 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle =>+ 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview =>+ 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening =>+ 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed =>+ 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection =>+ 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint =>+ 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll =>+ 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle =>+ 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal =>+ 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody =>+ 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules =>+ 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody =>+ 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust =>+ 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired =>+ 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect =>+ 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged =>+ 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink =>+ 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill =>+ 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint =>+ 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed =>+ 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle =>+ 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint =>+ 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody =>+ 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }++ @override+ String get boNotificationsMarkAllRead => 'Mark all read';++ @override+ String get boNotificationsClearAll => 'Clear all';++ @override+ String get boNotificationsClearTitle => 'Clear all notifications?';++ @override+ String get boNotificationsClearBody =>+ 'This removes every notification from your BookOrbit account.';++ @override+ String get boNotificationsEmpty => 'No notifications yet';++ @override+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';++ @override+ String get boNotificationsUpdateFailed =>+ 'Couldn\'t update notifications on BookOrbit';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';}@override- String get transcriptionNeedsDownload =>- 'This needs the audio on your phone. Download it now?';+ String get boNotificationsSettings => 'Notification settings';@override- String get transcriptionDownloadStarted =>- 'Downloading. Turn this on again when it finishes';+ String get boNotificationsSettingsIntro =>+ 'Choose which notifications BookOrbit keeps for you.';@override- String get readAlongFollow => 'Read along follows';+ String get boNotificationsProblemsHint =>+ 'Problems only notifies you when something fails or needs attention.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get boNotificationLevelOff => 'Off';@override- String get syncReadingListeningHint =>- 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get boNotificationLevelProblems => 'Problems';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get boNotificationLevelAll => 'All';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get boNotificationsSaveFailed =>+ 'Couldn\'t save notification settings';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get boNotificationGroupLibrary => 'Library';@override- String get syncFindingEbook => 'Finding your spot in the ebook';+ String get boNotificationGroupFiles => 'Files';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationGroupPersonal => 'Personal';@override- String get syncPosition => 'Sync position';+ String get boNotifyScanning => 'Library scanning';@override- String get readAlongFollowHint =>- 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotifyScanningDesc =>+ 'When a library scan finishes, fails, or finds missing books.';@override- String get readAlongFollowWord => 'Word';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotifyMetadataDesc =>+ 'When metadata lookups for your books finish or fail.';@override- String get readAlongColor => 'Read along color';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotifyAuthorEnrichmentDesc =>+ 'When author biographies and photos finish downloading.';@override- String get readAlongBackToNarration => 'Back to narration';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get findInEbook => 'Find in ebook';+ String get boNotifyFileWriteBackDesc =>+ 'When edited details are saved into the book files on disk.';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotifyFileRename => 'File renaming';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotifyFileRenameDesc =>+ 'When a book file is renamed to match your naming pattern.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get findInEbookNoEbook => 'Dieses Buch hat kein eBook.';+ String get boNotifyBulkRenameDesc =>+ 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get findInAudiobook => 'Im Hörbuch finden';+ String get boNotifyMigration => 'Imports';@override- String get findInAudiobookSearching =>- 'Suche nach dieser Stelle im Hörbuch...';+ String get boNotifyMigrationDesc =>+ 'When an import from another library app finishes or fails.';@override- String get findInAudiobookStillSearching =>- 'Still searching the audio for this spot...';+ String get boNotifyBookDock => 'Book Dock';@override- String get findInAudiobookSearchingLong =>- 'Long chapter, still searching. This can take a minute or two...';+ String get boNotifyBookDockDesc =>+ 'When Book Dock finishes adding books or runs into problems.';@override- String get findInAudiobookNotFound =>- 'Konnte diese Stelle nicht im Hörbuch finden.';+ String get boNotifyBookRequests => 'Book requests';@override- String get transcriptionWhisperInfo =>- 'Transkriptionen werden von Whisper erstellt. Einer Open-Source Spracherkennung. Alles lokal auf diesem Gerät.';+ String get boNotifyBookRequestsDesc =>+ 'When a book request is submitted or decided, or the book becomes available.';@override- String get transcriptionWhisperLearnMore => 'Mehr über Whisper erfahren';+ String get boNotifyEmail => 'Email delivery';@override- String get findInAudiobookIntroBody =>- 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';+ String get boNotifyEmailDesc =>+ 'When sending a book by email works or fails.';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyAchievements => 'Achievements';@override- String get findInAudiobookStay => 'Weiterlesen';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get findInAudiobookGoPlayer => 'Im Player öffnen';+ String get achievementsTitle => 'Achievements';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get catchUpAudioAhead =>- 'The audiobook is further along. Tap to go there.';+ String get achievementsFilterAll => 'All';@override- String get catchUpPageAhead =>- 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get achievementsFilterEarned => 'Earned';@override- String get readerShortcutButton => 'Shortcut button';+ String get achievementsFilterInProgress => 'In progress';@override- String get keepScreenOn => 'Keep screen on';+ String get achievementsFilterLocked => 'Locked';@override- String get keepScreenOnActive => 'Screen stays on';+ String get achievementsCategoryReading => 'Reading';@override- String get keepScreenOnUntilClosed =>- 'Screen stays on until you close the app';+ String get achievementsCategoryLibrary => 'Library';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get achievementsCategoryExploration => 'Exploration';@override- String get keepScreenOnOffUntilRestart =>- 'Off until the app restarts. The Settings switch stays on';+ String get achievementsCategoryDedication => 'Dedication';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get achievementsCategoryDevices => 'Devices';@override- String get keepScreenOnPlayerSubtitle =>- 'The screen stays on while the player is open';+ String get achievementsRarityCommon => 'Common';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get achievementsRarityRare => 'Rare';@override- String get keepScreenOnCarModeSubtitle =>- 'The screen stays on while car mode is open';+ String get achievementsRarityEpic => 'Epic';@override- String get loginServerType => 'Server type';+ String get achievementsRarityLegendary => 'Legendary';@override- String get authBookOrbitDefaultPassword =>- 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get achievementsLoadFailed => 'Couldn\'t load achievements';@override- String get authBookOrbitPasswordOff =>- 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get achievementsNoneMatch => 'No achievements match this filter';@override- String get authServerIsBookOrbit =>- 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get achievementsSecretName => 'Secret achievement';@override- String get authServerIsAudiobookshelf =>- 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get achievementsSecretHint => 'Keep reading to reveal this one.';@override- String get castNotAvailableBookOrbit =>- 'Casting is not available with BookOrbit servers';+ String achievementsEarnedOn(String date) {+ return 'Earned $date';+ }@override- String get loginMagicLink => 'Magic link';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginMagicLinkDescription =>- 'Sign in with a BookOrbit magic link instead of a password.';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get collectionPublicTitle => 'Public';+ String get achievementsTiers => 'Tiers';@override- String get collectionPublicSubtitle =>- 'Everyone on this server can see this collection';+ String get achievementsAllTiers => 'Every tier earned';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get loginRedirectUriBookOrbit =>- 'Redirect URI: bookorbit://oauth2-callback';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusTitle => 'Reading status';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusHint =>- 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get readStatusOnHold => 'On hold';+ String get achievementsHowToGetIt => 'How to get it';@override- String get readStatusRereading => 'Rereading';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get readStatusRead => 'Read';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get personalNoteTitle => 'Your note';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get coverSlotBook => 'Book cover';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle =>- 'How the buttons on the player card are filled';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other:+ '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview =>- 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening =>- 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';}@override- String get comicBookmarkRemoveFailed =>- 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }@override- String get comicNeedsConnection =>- 'This comic opens page by page from your server, so it needs a connection.';+ String get achievementsSwitch => 'Achievements';@override- String get comicNoPages => 'No pages found in this comic.';+ String get achievementsSwitchSubtitle =>+ 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed =>+ 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/l10n/app_localizations_el.dart b/lib/l10n/app_localizations_el.dartindex 666b7bbc..e2bd3ee6 100644--- a/lib/l10n/app_localizations_el.dart+++ b/lib/l10n/app_localizations_el.dart@@ -98,6 +98,19 @@ class AppLocalizationsEl extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle =>+ 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => 'Got it';@@ -4120,6 +4133,24 @@ class AppLocalizationsEl extends AppLocalizations {@overrideString get removedFromContinueListening => 'Removed from Continue Listening';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries => 'Remove from Continue Series';@@ -4833,6 +4864,10 @@ class AppLocalizationsEl extends AppLocalizations {@overrideString get removeDownloadContent => 'This will be removed from your device.';+ @override+ String get removeWhichDownload =>+ 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => 'Download removed';@@ -5380,6 +5415,53 @@ class AppLocalizationsEl extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote =>+ 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced =>'Reset may not have synced - check your server';@@ -10160,6 +10242,22 @@ class AppLocalizationsEl extends AppLocalizations {@overrideString get readerVolumeNavWhilePlaying => 'Even while audio is playing';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint =>+ 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Download more fonts';@@ -10485,651 +10583,2117 @@ class AppLocalizationsEl extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Scan all libraries';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scan $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan started';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldScanFailed => 'Could not start the scan';+ String get activityNotStarted => 'Not started';@override- String get navHoldAdminLogs => 'Server logs';+ String get activityNoReading => 'No reading sessions yet';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityTime => 'Time';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityAverage => 'Avg';@override- String get navHoldReadBook => 'Read current book';+ String get activityProgress => 'Progress';@override- String get navHoldBookDetails => 'Current book details';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceBody =>- 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogAverageSession => 'Average session';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsWhatTravels =>- 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnTitle =>- 'Replace this device\'s settings?';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnBody =>- 'The synced copy will overwrite the settings on this device.';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String get readingLogLastRead => 'Last read';@override- String get readerCopied => 'Copied to clipboard';+ String get readingLogStarted => 'Started';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryError =>- 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogNotSet => 'Not set';@override- String get dictionaryRetry => 'Retry';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipCopy => 'Copy';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipSearch => 'Search';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerTooltipDefine => 'Define';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String get readerSearchHint => 'Search this book…';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count matches for \"$query\"',- one: '$count match for \"$query\"',- );- return '$_temp0';- }+ String get readingLogNewThisWeek => 'New this week';@override- String get readerSearchEmpty => 'Type a word or phrase and tap search.';+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String readerSearchNoResults(String query) {- return 'No matches for \"$query\".';- }+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionAdvancedSubtitle =>- 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionEnableSubtitle =>- 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionDisclaimer =>- 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionNeedModelHint =>- 'Download a model below to start transcribing.';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelSection => 'Models';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelTinyDesc =>- 'Quickest, less accurate. About 31 MB.';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBase => 'Base';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmall => 'Small';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionModelSmallDesc =>- 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionAutoHint =>- 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownload => 'Download';+ String get readingLogAttempts => 'Attempts';@override- String get transcriptionDownloadFailed =>- 'Download failed. Check your connection and try again.';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribe => 'Transcribe';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcribing => 'Transcribing...';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionDisabledHint =>- 'Turn on bookmark transcription in Settings, under Advanced.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNoModelDownloaded =>- 'Download a transcription model in Settings first.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNotDownloadedBook =>- 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionNoMetadataMsg =>- 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionBusyMsg =>- 'Already transcribing something. Give it a moment.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionFailedMsg =>- 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmptyHint =>+ 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionIntroBody =>- 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get transcriptionUseEbookText =>- 'Use the ebook\'s exact text when it can be matched';+ String get readingLogAllTime => 'All time';@override- String get lyricsMode => 'Live transcript';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogThisYear => 'This year';@override- String get lyricsFontSize => 'Line size';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortDay => 'Day';@override- String get lyricsFullCoverHint =>- 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortLength => 'Length';@override- String get lyricsBatteryInfo =>- 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortChange => 'Change';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortReached => 'Reached';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsClearCacheConfirm =>- 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogMostFirst => 'Most first';@override- String get lyricsIntroBody =>- 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogLeastFirst => 'Least first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteBody =>+ 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlong => 'Read along';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get navHoldServerScan => 'Server scan';@override- String get narrationListen => 'Listen';+ String get navHoldScanAll => 'Scan all libraries';@override- String get narrationPlayFromHere => 'Play from here';+ String navHoldScanLibrary(String name) {+ return 'Scan $name';+ }@override- String get narrationPreparing => 'Getting the narration ready';+ String get navHoldScanStarted => 'Scan started';@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanFailed => 'Could not start the scan';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldAdminLogs => 'Server logs';@override- String get narrationDownloadBody =>- 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationDownloadStarted =>- 'Downloading the narration. Tap Absorb when it finishes.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextBody =>- 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldReadBook => 'Read current book';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldBookDetails => 'Current book details';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get syncSourceTitle => 'Which copy should sync keep?';++ @override+ String get syncSourceBody =>+ 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';++ @override+ String get syncSourceUseServer => 'Server\'s last sync';++ @override+ String get syncSourceUseBackup => 'This backup';++ @override+ String get syncSettingsWhatTravels =>+ 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';++ @override+ String get syncSettingsDownloadWarnTitle =>+ 'Replace this device\'s settings?';++ @override+ String get syncSettingsDownloadWarnBody =>+ 'The synced copy will overwrite the settings on this device.';++ @override+ String get syncSettingsDownloadWarnConfirm => 'Replace';++ @override+ String get readerCopied => 'Copied to clipboard';++ @override+ String get dictionaryNotFound => 'No definition found for this word.';++ @override+ String get dictionaryError =>+ 'Couldn\'t reach the dictionary. Check your connection.';++ @override+ String get dictionaryRetry => 'Retry';++ @override+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Copy';++ @override+ String get readerTooltipSearch => 'Search';++ @override+ String get readerTooltipDefine => 'Define';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Search this book…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count matches for \"$query\"',+ one: '$count match for \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty => 'Type a word or phrase and tap search.';++ @override+ String readerSearchNoResults(String query) {+ return 'No matches for \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle =>+ 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle =>+ 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer =>+ 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';++ @override+ String get transcriptionNeedModelHint =>+ 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc =>+ 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc =>+ 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint =>+ 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed =>+ 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint =>+ 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded =>+ 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook =>+ 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg =>+ 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg =>+ 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg =>+ 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody =>+ 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';++ @override+ String get transcriptionUseEbookText =>+ 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint =>+ 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo =>+ 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm =>+ 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody =>+ 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody =>+ 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted =>+ 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody =>+ 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';@overrideString get narrationUpNextTitle => 'Download what\'s up next';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload =>+ 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted =>+ 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint =>+ 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';++ @override+ String get syncFindingEbook => 'Finding your spot in the ebook';++ @override+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint =>+ 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';++ @override+ String get findInAudiobook => 'Find in audiobook';++ @override+ String get findInAudiobookSearching =>+ 'Finding this spot in the audiobook...';++ @override+ String get findInAudiobookStillSearching =>+ 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong =>+ 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound =>+ 'Couldn\'t find this spot in the audiobook.';++ @override+ String get transcriptionWhisperInfo =>+ 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';++ @override+ String get transcriptionWhisperLearnMore => 'Learn more about Whisper';++ @override+ String get findInAudiobookIntroBody =>+ 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Keep reading';++ @override+ String get findInAudiobookGoPlayer => 'Open the player';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead =>+ 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead =>+ 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed =>+ 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart =>+ 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle =>+ 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle =>+ 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword =>+ 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff =>+ 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit =>+ 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf =>+ 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit =>+ 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription =>+ 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle =>+ 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit =>+ 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint =>+ 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle =>+ 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview =>+ 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening =>+ 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed =>+ 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection =>+ 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint =>+ 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll =>+ 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle =>+ 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal =>+ 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody =>+ 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules =>+ 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody =>+ 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust =>+ 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired =>+ 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect =>+ 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged =>+ 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink =>+ 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill =>+ 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint =>+ 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed =>+ 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle =>+ 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint =>+ 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody =>+ 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }++ @override+ String get boNotificationsMarkAllRead => 'Mark all read';++ @override+ String get boNotificationsClearAll => 'Clear all';++ @override+ String get boNotificationsClearTitle => 'Clear all notifications?';++ @override+ String get boNotificationsClearBody =>+ 'This removes every notification from your BookOrbit account.';++ @override+ String get boNotificationsEmpty => 'No notifications yet';++ @override+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';++ @override+ String get boNotificationsUpdateFailed =>+ 'Couldn\'t update notifications on BookOrbit';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';}@override- String get transcriptionNeedsDownload =>- 'This needs the audio on your phone. Download it now?';+ String get boNotificationsSettings => 'Notification settings';@override- String get transcriptionDownloadStarted =>- 'Downloading. Turn this on again when it finishes';+ String get boNotificationsSettingsIntro =>+ 'Choose which notifications BookOrbit keeps for you.';@override- String get readAlongFollow => 'Read along follows';+ String get boNotificationsProblemsHint =>+ 'Problems only notifies you when something fails or needs attention.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get boNotificationLevelOff => 'Off';@override- String get syncReadingListeningHint =>- 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get boNotificationLevelProblems => 'Problems';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get boNotificationLevelAll => 'All';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get boNotificationsSaveFailed =>+ 'Couldn\'t save notification settings';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get boNotificationGroupLibrary => 'Library';@override- String get syncFindingEbook => 'Finding your spot in the ebook';+ String get boNotificationGroupFiles => 'Files';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationGroupPersonal => 'Personal';@override- String get syncPosition => 'Sync position';+ String get boNotifyScanning => 'Library scanning';@override- String get readAlongFollowHint =>- 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotifyScanningDesc =>+ 'When a library scan finishes, fails, or finds missing books.';@override- String get readAlongFollowWord => 'Word';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotifyMetadataDesc =>+ 'When metadata lookups for your books finish or fail.';@override- String get readAlongColor => 'Read along color';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotifyAuthorEnrichmentDesc =>+ 'When author biographies and photos finish downloading.';@override- String get readAlongBackToNarration => 'Back to narration';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get findInEbook => 'Find in ebook';+ String get boNotifyFileWriteBackDesc =>+ 'When edited details are saved into the book files on disk.';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotifyFileRename => 'File renaming';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotifyFileRenameDesc =>+ 'When a book file is renamed to match your naming pattern.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';+ String get boNotifyBulkRenameDesc =>+ 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get findInAudiobook => 'Find in audiobook';+ String get boNotifyMigration => 'Imports';@override- String get findInAudiobookSearching =>- 'Finding this spot in the audiobook...';+ String get boNotifyMigrationDesc =>+ 'When an import from another library app finishes or fails.';@override- String get findInAudiobookStillSearching =>- 'Still searching the audio for this spot...';+ String get boNotifyBookDock => 'Book Dock';@override- String get findInAudiobookSearchingLong =>- 'Long chapter, still searching. This can take a minute or two...';+ String get boNotifyBookDockDesc =>+ 'When Book Dock finishes adding books or runs into problems.';@override- String get findInAudiobookNotFound =>- 'Couldn\'t find this spot in the audiobook.';+ String get boNotifyBookRequests => 'Book requests';@override- String get transcriptionWhisperInfo =>- 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';+ String get boNotifyBookRequestsDesc =>+ 'When a book request is submitted or decided, or the book becomes available.';@override- String get transcriptionWhisperLearnMore => 'Learn more about Whisper';+ String get boNotifyEmail => 'Email delivery';@override- String get findInAudiobookIntroBody =>- 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';+ String get boNotifyEmailDesc =>+ 'When sending a book by email works or fails.';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyAchievements => 'Achievements';@override- String get findInAudiobookStay => 'Keep reading';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get findInAudiobookGoPlayer => 'Open the player';+ String get achievementsTitle => 'Achievements';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get catchUpAudioAhead =>- 'The audiobook is further along. Tap to go there.';+ String get achievementsFilterAll => 'All';@override- String get catchUpPageAhead =>- 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get achievementsFilterEarned => 'Earned';@override- String get readerShortcutButton => 'Shortcut button';+ String get achievementsFilterInProgress => 'In progress';@override- String get keepScreenOn => 'Keep screen on';+ String get achievementsFilterLocked => 'Locked';@override- String get keepScreenOnActive => 'Screen stays on';+ String get achievementsCategoryReading => 'Reading';@override- String get keepScreenOnUntilClosed =>- 'Screen stays on until you close the app';+ String get achievementsCategoryLibrary => 'Library';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get achievementsCategoryExploration => 'Exploration';@override- String get keepScreenOnOffUntilRestart =>- 'Off until the app restarts. The Settings switch stays on';+ String get achievementsCategoryDedication => 'Dedication';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get achievementsCategoryDevices => 'Devices';@override- String get keepScreenOnPlayerSubtitle =>- 'The screen stays on while the player is open';+ String get achievementsRarityCommon => 'Common';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get achievementsRarityRare => 'Rare';@override- String get keepScreenOnCarModeSubtitle =>- 'The screen stays on while car mode is open';+ String get achievementsRarityEpic => 'Epic';@override- String get loginServerType => 'Server type';+ String get achievementsRarityLegendary => 'Legendary';@override- String get authBookOrbitDefaultPassword =>- 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get achievementsLoadFailed => 'Couldn\'t load achievements';@override- String get authBookOrbitPasswordOff =>- 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get achievementsNoneMatch => 'No achievements match this filter';@override- String get authServerIsBookOrbit =>- 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get achievementsSecretName => 'Secret achievement';@override- String get authServerIsAudiobookshelf =>- 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get achievementsSecretHint => 'Keep reading to reveal this one.';@override- String get castNotAvailableBookOrbit =>- 'Casting is not available with BookOrbit servers';+ String achievementsEarnedOn(String date) {+ return 'Earned $date';+ }@override- String get loginMagicLink => 'Magic link';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginMagicLinkDescription =>- 'Sign in with a BookOrbit magic link instead of a password.';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get collectionPublicTitle => 'Public';+ String get achievementsTiers => 'Tiers';@override- String get collectionPublicSubtitle =>- 'Everyone on this server can see this collection';+ String get achievementsAllTiers => 'Every tier earned';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get loginRedirectUriBookOrbit =>- 'Redirect URI: bookorbit://oauth2-callback';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusTitle => 'Reading status';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusHint =>- 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get readStatusOnHold => 'On hold';+ String get achievementsHowToGetIt => 'How to get it';@override- String get readStatusRereading => 'Rereading';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get readStatusRead => 'Read';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get personalNoteTitle => 'Your note';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get coverSlotBook => 'Book cover';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle =>- 'How the buttons on the player card are filled';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other:+ '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview =>- 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening =>- 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';}@override- String get comicBookmarkRemoveFailed =>- 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }@override- String get comicNeedsConnection =>- 'This comic opens page by page from your server, so it needs a connection.';+ String get achievementsSwitch => 'Achievements';@override- String get comicNoPages => 'No pages found in this comic.';+ String get achievementsSwitchSubtitle =>+ 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed =>+ 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dartindex b397b708..9f9d60f1 100644--- a/lib/l10n/app_localizations_en.dart+++ b/lib/l10n/app_localizations_en.dart@@ -98,6 +98,19 @@ class AppLocalizationsEn extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle =>+ 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => 'Got it';@@ -4120,6 +4133,24 @@ class AppLocalizationsEn extends AppLocalizations {@overrideString get removedFromContinueListening => 'Removed from Continue Listening';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries => 'Remove from Continue Series';@@ -4833,6 +4864,10 @@ class AppLocalizationsEn extends AppLocalizations {@overrideString get removeDownloadContent => 'This will be removed from your device.';+ @override+ String get removeWhichDownload =>+ 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => 'Download removed';@@ -5380,6 +5415,53 @@ class AppLocalizationsEn extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote =>+ 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced =>'Reset may not have synced - check your server';@@ -10160,6 +10242,22 @@ class AppLocalizationsEn extends AppLocalizations {@overrideString get readerVolumeNavWhilePlaying => 'Even while audio is playing';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint =>+ 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Download more fonts';@@ -10485,651 +10583,2117 @@ class AppLocalizationsEn extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Scan all libraries';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scan $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan started';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldScanFailed => 'Could not start the scan';+ String get activityNotStarted => 'Not started';@override- String get navHoldAdminLogs => 'Server logs';+ String get activityNoReading => 'No reading sessions yet';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityTime => 'Time';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityAverage => 'Avg';@override- String get navHoldReadBook => 'Read current book';+ String get activityProgress => 'Progress';@override- String get navHoldBookDetails => 'Current book details';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceBody =>- 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogAverageSession => 'Average session';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsWhatTravels =>- 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnTitle =>- 'Replace this device\'s settings?';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnBody =>- 'The synced copy will overwrite the settings on this device.';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String get readingLogLastRead => 'Last read';@override- String get readerCopied => 'Copied to clipboard';+ String get readingLogStarted => 'Started';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryError =>- 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogNotSet => 'Not set';@override- String get dictionaryRetry => 'Retry';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipCopy => 'Copy';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipSearch => 'Search';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerTooltipDefine => 'Define';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String get readerSearchHint => 'Search this book…';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count matches for \"$query\"',- one: '$count match for \"$query\"',- );- return '$_temp0';- }+ String get readingLogNewThisWeek => 'New this week';@override- String get readerSearchEmpty => 'Type a word or phrase and tap search.';+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String readerSearchNoResults(String query) {- return 'No matches for \"$query\".';- }+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionAdvancedSubtitle =>- 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionEnableSubtitle =>- 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionDisclaimer =>- 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionNeedModelHint =>- 'Download a model below to start transcribing.';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelSection => 'Models';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelTinyDesc =>- 'Quickest, less accurate. About 31 MB.';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBase => 'Base';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmall => 'Small';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionModelSmallDesc =>- 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionAutoHint =>- 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownload => 'Download';+ String get readingLogAttempts => 'Attempts';@override- String get transcriptionDownloadFailed =>- 'Download failed. Check your connection and try again.';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribe => 'Transcribe';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcribing => 'Transcribing...';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionDisabledHint =>- 'Turn on bookmark transcription in Settings, under Advanced.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNoModelDownloaded =>- 'Download a transcription model in Settings first.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNotDownloadedBook =>- 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionNoMetadataMsg =>- 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionBusyMsg =>- 'Already transcribing something. Give it a moment.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionFailedMsg =>- 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmptyHint =>+ 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionIntroBody =>- 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get transcriptionUseEbookText =>- 'Use the ebook\'s exact text when it can be matched';+ String get readingLogAllTime => 'All time';@override- String get lyricsMode => 'Live transcript';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogThisYear => 'This year';@override- String get lyricsFontSize => 'Line size';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortDay => 'Day';@override- String get lyricsFullCoverHint =>- 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortLength => 'Length';@override- String get lyricsBatteryInfo =>- 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortChange => 'Change';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortReached => 'Reached';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsClearCacheConfirm =>- 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogMostFirst => 'Most first';@override- String get lyricsIntroBody =>- 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogLeastFirst => 'Least first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteBody =>+ 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlong => 'Read along';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get navHoldServerScan => 'Server scan';@override- String get narrationListen => 'Listen';+ String get navHoldScanAll => 'Scan all libraries';@override- String get narrationPlayFromHere => 'Play from here';+ String navHoldScanLibrary(String name) {+ return 'Scan $name';+ }@override- String get narrationPreparing => 'Getting the narration ready';+ String get navHoldScanStarted => 'Scan started';@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanFailed => 'Could not start the scan';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldAdminLogs => 'Server logs';@override- String get narrationDownloadBody =>- 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationDownloadStarted =>- 'Downloading the narration. Tap Absorb when it finishes.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextBody =>- 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldReadBook => 'Read current book';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldBookDetails => 'Current book details';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get syncSourceTitle => 'Which copy should sync keep?';++ @override+ String get syncSourceBody =>+ 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';++ @override+ String get syncSourceUseServer => 'Server\'s last sync';++ @override+ String get syncSourceUseBackup => 'This backup';++ @override+ String get syncSettingsWhatTravels =>+ 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';++ @override+ String get syncSettingsDownloadWarnTitle =>+ 'Replace this device\'s settings?';++ @override+ String get syncSettingsDownloadWarnBody =>+ 'The synced copy will overwrite the settings on this device.';++ @override+ String get syncSettingsDownloadWarnConfirm => 'Replace';++ @override+ String get readerCopied => 'Copied to clipboard';++ @override+ String get dictionaryNotFound => 'No definition found for this word.';++ @override+ String get dictionaryError =>+ 'Couldn\'t reach the dictionary. Check your connection.';++ @override+ String get dictionaryRetry => 'Retry';++ @override+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Copy';++ @override+ String get readerTooltipSearch => 'Search';++ @override+ String get readerTooltipDefine => 'Define';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Search this book…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count matches for \"$query\"',+ one: '$count match for \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty => 'Type a word or phrase and tap search.';++ @override+ String readerSearchNoResults(String query) {+ return 'No matches for \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle =>+ 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle =>+ 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer =>+ 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';++ @override+ String get transcriptionNeedModelHint =>+ 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc =>+ 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc =>+ 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint =>+ 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed =>+ 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint =>+ 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded =>+ 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook =>+ 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg =>+ 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg =>+ 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg =>+ 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody =>+ 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';++ @override+ String get transcriptionUseEbookText =>+ 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint =>+ 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo =>+ 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm =>+ 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody =>+ 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody =>+ 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted =>+ 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody =>+ 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';@overrideString get narrationUpNextTitle => 'Download what\'s up next';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload =>+ 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted =>+ 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint =>+ 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';++ @override+ String get syncFindingEbook => 'Finding your spot in the ebook';++ @override+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint =>+ 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';++ @override+ String get findInAudiobook => 'Find in audiobook';++ @override+ String get findInAudiobookSearching =>+ 'Finding this spot in the audiobook...';++ @override+ String get findInAudiobookStillSearching =>+ 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong =>+ 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound =>+ 'Couldn\'t find this spot in the audiobook.';++ @override+ String get transcriptionWhisperInfo =>+ 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';++ @override+ String get transcriptionWhisperLearnMore => 'Learn more about Whisper';++ @override+ String get findInAudiobookIntroBody =>+ 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Keep reading';++ @override+ String get findInAudiobookGoPlayer => 'Open the player';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead =>+ 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead =>+ 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed =>+ 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart =>+ 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle =>+ 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle =>+ 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword =>+ 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff =>+ 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit =>+ 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf =>+ 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit =>+ 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription =>+ 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle =>+ 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit =>+ 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint =>+ 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle =>+ 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview =>+ 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening =>+ 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed =>+ 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection =>+ 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint =>+ 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll =>+ 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle =>+ 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal =>+ 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody =>+ 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules =>+ 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody =>+ 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust =>+ 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired =>+ 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect =>+ 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged =>+ 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink =>+ 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill =>+ 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint =>+ 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed =>+ 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle =>+ 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint =>+ 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody =>+ 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }++ @override+ String get boNotificationsMarkAllRead => 'Mark all read';++ @override+ String get boNotificationsClearAll => 'Clear all';++ @override+ String get boNotificationsClearTitle => 'Clear all notifications?';++ @override+ String get boNotificationsClearBody =>+ 'This removes every notification from your BookOrbit account.';++ @override+ String get boNotificationsEmpty => 'No notifications yet';++ @override+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';++ @override+ String get boNotificationsUpdateFailed =>+ 'Couldn\'t update notifications on BookOrbit';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';}@override- String get transcriptionNeedsDownload =>- 'This needs the audio on your phone. Download it now?';+ String get boNotificationsSettings => 'Notification settings';@override- String get transcriptionDownloadStarted =>- 'Downloading. Turn this on again when it finishes';+ String get boNotificationsSettingsIntro =>+ 'Choose which notifications BookOrbit keeps for you.';@override- String get readAlongFollow => 'Read along follows';+ String get boNotificationsProblemsHint =>+ 'Problems only notifies you when something fails or needs attention.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get boNotificationLevelOff => 'Off';@override- String get syncReadingListeningHint =>- 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get boNotificationLevelProblems => 'Problems';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get boNotificationLevelAll => 'All';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get boNotificationsSaveFailed =>+ 'Couldn\'t save notification settings';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get boNotificationGroupLibrary => 'Library';@override- String get syncFindingEbook => 'Finding your spot in the ebook';+ String get boNotificationGroupFiles => 'Files';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationGroupPersonal => 'Personal';@override- String get syncPosition => 'Sync position';+ String get boNotifyScanning => 'Library scanning';@override- String get readAlongFollowHint =>- 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotifyScanningDesc =>+ 'When a library scan finishes, fails, or finds missing books.';@override- String get readAlongFollowWord => 'Word';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotifyMetadataDesc =>+ 'When metadata lookups for your books finish or fail.';@override- String get readAlongColor => 'Read along color';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotifyAuthorEnrichmentDesc =>+ 'When author biographies and photos finish downloading.';@override- String get readAlongBackToNarration => 'Back to narration';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get findInEbook => 'Find in ebook';+ String get boNotifyFileWriteBackDesc =>+ 'When edited details are saved into the book files on disk.';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotifyFileRename => 'File renaming';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotifyFileRenameDesc =>+ 'When a book file is renamed to match your naming pattern.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';+ String get boNotifyBulkRenameDesc =>+ 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get findInAudiobook => 'Find in audiobook';+ String get boNotifyMigration => 'Imports';@override- String get findInAudiobookSearching =>- 'Finding this spot in the audiobook...';+ String get boNotifyMigrationDesc =>+ 'When an import from another library app finishes or fails.';@override- String get findInAudiobookStillSearching =>- 'Still searching the audio for this spot...';+ String get boNotifyBookDock => 'Book Dock';@override- String get findInAudiobookSearchingLong =>- 'Long chapter, still searching. This can take a minute or two...';+ String get boNotifyBookDockDesc =>+ 'When Book Dock finishes adding books or runs into problems.';@override- String get findInAudiobookNotFound =>- 'Couldn\'t find this spot in the audiobook.';+ String get boNotifyBookRequests => 'Book requests';@override- String get transcriptionWhisperInfo =>- 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';+ String get boNotifyBookRequestsDesc =>+ 'When a book request is submitted or decided, or the book becomes available.';@override- String get transcriptionWhisperLearnMore => 'Learn more about Whisper';+ String get boNotifyEmail => 'Email delivery';@override- String get findInAudiobookIntroBody =>- 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';+ String get boNotifyEmailDesc =>+ 'When sending a book by email works or fails.';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyAchievements => 'Achievements';@override- String get findInAudiobookStay => 'Keep reading';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get findInAudiobookGoPlayer => 'Open the player';+ String get achievementsTitle => 'Achievements';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get catchUpAudioAhead =>- 'The audiobook is further along. Tap to go there.';+ String get achievementsFilterAll => 'All';@override- String get catchUpPageAhead =>- 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get achievementsFilterEarned => 'Earned';@override- String get readerShortcutButton => 'Shortcut button';+ String get achievementsFilterInProgress => 'In progress';@override- String get keepScreenOn => 'Keep screen on';+ String get achievementsFilterLocked => 'Locked';@override- String get keepScreenOnActive => 'Screen stays on';+ String get achievementsCategoryReading => 'Reading';@override- String get keepScreenOnUntilClosed =>- 'Screen stays on until you close the app';+ String get achievementsCategoryLibrary => 'Library';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get achievementsCategoryExploration => 'Exploration';@override- String get keepScreenOnOffUntilRestart =>- 'Off until the app restarts. The Settings switch stays on';+ String get achievementsCategoryDedication => 'Dedication';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get achievementsCategoryDevices => 'Devices';@override- String get keepScreenOnPlayerSubtitle =>- 'The screen stays on while the player is open';+ String get achievementsRarityCommon => 'Common';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get achievementsRarityRare => 'Rare';@override- String get keepScreenOnCarModeSubtitle =>- 'The screen stays on while car mode is open';+ String get achievementsRarityEpic => 'Epic';@override- String get loginServerType => 'Server type';+ String get achievementsRarityLegendary => 'Legendary';@override- String get authBookOrbitDefaultPassword =>- 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get achievementsLoadFailed => 'Couldn\'t load achievements';@override- String get authBookOrbitPasswordOff =>- 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get achievementsNoneMatch => 'No achievements match this filter';@override- String get authServerIsBookOrbit =>- 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get achievementsSecretName => 'Secret achievement';@override- String get authServerIsAudiobookshelf =>- 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get achievementsSecretHint => 'Keep reading to reveal this one.';@override- String get castNotAvailableBookOrbit =>- 'Casting is not available with BookOrbit servers';+ String achievementsEarnedOn(String date) {+ return 'Earned $date';+ }@override- String get loginMagicLink => 'Magic link';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginMagicLinkDescription =>- 'Sign in with a BookOrbit magic link instead of a password.';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get collectionPublicTitle => 'Public';+ String get achievementsTiers => 'Tiers';@override- String get collectionPublicSubtitle =>- 'Everyone on this server can see this collection';+ String get achievementsAllTiers => 'Every tier earned';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get loginRedirectUriBookOrbit =>- 'Redirect URI: bookorbit://oauth2-callback';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusTitle => 'Reading status';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusHint =>- 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get readStatusOnHold => 'On hold';+ String get achievementsHowToGetIt => 'How to get it';@override- String get readStatusRereading => 'Rereading';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get readStatusRead => 'Read';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get personalNoteTitle => 'Your note';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get coverSlotBook => 'Book cover';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle =>- 'How the buttons on the player card are filled';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other:+ '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview =>- 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening =>- 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';}@override- String get comicBookmarkRemoveFailed =>- 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }@override- String get comicNeedsConnection =>- 'This comic opens page by page from your server, so it needs a connection.';+ String get achievementsSwitch => 'Achievements';@override- String get comicNoPages => 'No pages found in this comic.';+ String get achievementsSwitchSubtitle =>+ 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed =>+ 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/l10n/app_localizations_es.dart b/lib/l10n/app_localizations_es.dartindex 45113fd1..b8e4c4ce 100644--- a/lib/l10n/app_localizations_es.dart+++ b/lib/l10n/app_localizations_es.dart@@ -98,6 +98,19 @@ class AppLocalizationsEs extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle =>+ 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => 'Entendido';@@ -4122,6 +4135,24 @@ class AppLocalizationsEs extends AppLocalizations {@overrideString get removedFromContinueListening => 'Removed from Continue Listening';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries => 'Remove from Continue Series';@@ -4835,6 +4866,10 @@ class AppLocalizationsEs extends AppLocalizations {@overrideString get removeDownloadContent => 'This will be removed from your device.';+ @override+ String get removeWhichDownload =>+ 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => 'Download removed';@@ -5382,6 +5417,53 @@ class AppLocalizationsEs extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote =>+ 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced =>'Reset may not have synced - check your server';@@ -10162,6 +10244,22 @@ class AppLocalizationsEs extends AppLocalizations {@overrideString get readerVolumeNavWhilePlaying => 'Even while audio is playing';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint =>+ 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Download more fonts';@@ -10487,651 +10585,2117 @@ class AppLocalizationsEs extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Scan all libraries';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scan $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan started';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldScanFailed => 'Could not start the scan';+ String get activityNotStarted => 'Not started';@override- String get navHoldAdminLogs => 'Server logs';+ String get activityNoReading => 'No reading sessions yet';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityTime => 'Time';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityAverage => 'Avg';@override- String get navHoldReadBook => 'Read current book';+ String get activityProgress => 'Progress';@override- String get navHoldBookDetails => 'Current book details';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceBody =>- 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogAverageSession => 'Average session';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsWhatTravels =>- 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnTitle =>- 'Replace this device\'s settings?';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnBody =>- 'The synced copy will overwrite the settings on this device.';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String get readingLogLastRead => 'Last read';@override- String get readerCopied => 'Copied to clipboard';+ String get readingLogStarted => 'Started';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryError =>- 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogNotSet => 'Not set';@override- String get dictionaryRetry => 'Retry';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipCopy => 'Copy';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipSearch => 'Search';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerTooltipDefine => 'Define';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String get readerSearchHint => 'Search this book…';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count matches for \"$query\"',- one: '$count match for \"$query\"',- );- return '$_temp0';- }+ String get readingLogNewThisWeek => 'New this week';@override- String get readerSearchEmpty => 'Type a word or phrase and tap search.';+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String readerSearchNoResults(String query) {- return 'No matches for \"$query\".';- }+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionAdvancedSubtitle =>- 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionEnableSubtitle =>- 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionDisclaimer =>- 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionNeedModelHint =>- 'Download a model below to start transcribing.';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelSection => 'Models';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelTinyDesc =>- 'Quickest, less accurate. About 31 MB.';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBase => 'Base';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmall => 'Small';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionModelSmallDesc =>- 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionAutoHint =>- 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownload => 'Download';+ String get readingLogAttempts => 'Attempts';@override- String get transcriptionDownloadFailed =>- 'Download failed. Check your connection and try again.';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribe => 'Transcribe';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcribing => 'Transcribing...';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionDisabledHint =>- 'Turn on bookmark transcription in Settings, under Advanced.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNoModelDownloaded =>- 'Download a transcription model in Settings first.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNotDownloadedBook =>- 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionNoMetadataMsg =>- 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionBusyMsg =>- 'Already transcribing something. Give it a moment.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionFailedMsg =>- 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmptyHint =>+ 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionIntroBody =>- 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get transcriptionUseEbookText =>- 'Use the ebook\'s exact text when it can be matched';+ String get readingLogAllTime => 'All time';@override- String get lyricsMode => 'Live transcript';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogThisYear => 'This year';@override- String get lyricsFontSize => 'Line size';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortDay => 'Day';@override- String get lyricsFullCoverHint =>- 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortLength => 'Length';@override- String get lyricsBatteryInfo =>- 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortChange => 'Change';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortReached => 'Reached';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsClearCacheConfirm =>- 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogMostFirst => 'Most first';@override- String get lyricsIntroBody =>- 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogLeastFirst => 'Least first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteBody =>+ 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlong => 'Read along';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get navHoldServerScan => 'Server scan';@override- String get narrationListen => 'Listen';+ String get navHoldScanAll => 'Scan all libraries';@override- String get narrationPlayFromHere => 'Play from here';+ String navHoldScanLibrary(String name) {+ return 'Scan $name';+ }@override- String get narrationPreparing => 'Getting the narration ready';+ String get navHoldScanStarted => 'Scan started';@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanFailed => 'Could not start the scan';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldAdminLogs => 'Server logs';@override- String get narrationDownloadBody =>- 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationDownloadStarted =>- 'Downloading the narration. Tap Absorb when it finishes.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextBody =>- 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldReadBook => 'Read current book';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldBookDetails => 'Current book details';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get syncSourceTitle => 'Which copy should sync keep?';++ @override+ String get syncSourceBody =>+ 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';++ @override+ String get syncSourceUseServer => 'Server\'s last sync';++ @override+ String get syncSourceUseBackup => 'This backup';++ @override+ String get syncSettingsWhatTravels =>+ 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';++ @override+ String get syncSettingsDownloadWarnTitle =>+ 'Replace this device\'s settings?';++ @override+ String get syncSettingsDownloadWarnBody =>+ 'The synced copy will overwrite the settings on this device.';++ @override+ String get syncSettingsDownloadWarnConfirm => 'Replace';++ @override+ String get readerCopied => 'Copied to clipboard';++ @override+ String get dictionaryNotFound => 'No definition found for this word.';++ @override+ String get dictionaryError =>+ 'Couldn\'t reach the dictionary. Check your connection.';++ @override+ String get dictionaryRetry => 'Retry';++ @override+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Copy';++ @override+ String get readerTooltipSearch => 'Search';++ @override+ String get readerTooltipDefine => 'Define';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Search this book…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count matches for \"$query\"',+ one: '$count match for \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty => 'Type a word or phrase and tap search.';++ @override+ String readerSearchNoResults(String query) {+ return 'No matches for \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle =>+ 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle =>+ 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer =>+ 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';++ @override+ String get transcriptionNeedModelHint =>+ 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc =>+ 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc =>+ 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint =>+ 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed =>+ 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint =>+ 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded =>+ 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook =>+ 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg =>+ 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg =>+ 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg =>+ 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody =>+ 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';++ @override+ String get transcriptionUseEbookText =>+ 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint =>+ 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo =>+ 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm =>+ 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody =>+ 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody =>+ 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted =>+ 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody =>+ 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';@overrideString get narrationUpNextTitle => 'Download what\'s up next';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload =>+ 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted =>+ 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint =>+ 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';++ @override+ String get syncFindingEbook => 'Finding your spot in the ebook';++ @override+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint =>+ 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';++ @override+ String get findInAudiobook => 'Find in audiobook';++ @override+ String get findInAudiobookSearching =>+ 'Finding this spot in the audiobook...';++ @override+ String get findInAudiobookStillSearching =>+ 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong =>+ 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound =>+ 'Couldn\'t find this spot in the audiobook.';++ @override+ String get transcriptionWhisperInfo =>+ 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';++ @override+ String get transcriptionWhisperLearnMore => 'Learn more about Whisper';++ @override+ String get findInAudiobookIntroBody =>+ 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Keep reading';++ @override+ String get findInAudiobookGoPlayer => 'Open the player';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead =>+ 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead =>+ 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed =>+ 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart =>+ 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle =>+ 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle =>+ 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword =>+ 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff =>+ 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit =>+ 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf =>+ 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit =>+ 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription =>+ 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle =>+ 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit =>+ 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint =>+ 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle =>+ 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview =>+ 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening =>+ 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed =>+ 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection =>+ 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint =>+ 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll =>+ 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle =>+ 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal =>+ 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody =>+ 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules =>+ 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody =>+ 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust =>+ 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired =>+ 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect =>+ 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged =>+ 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink =>+ 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill =>+ 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint =>+ 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed =>+ 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle =>+ 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint =>+ 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody =>+ 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }++ @override+ String get boNotificationsMarkAllRead => 'Mark all read';++ @override+ String get boNotificationsClearAll => 'Clear all';++ @override+ String get boNotificationsClearTitle => 'Clear all notifications?';++ @override+ String get boNotificationsClearBody =>+ 'This removes every notification from your BookOrbit account.';++ @override+ String get boNotificationsEmpty => 'No notifications yet';++ @override+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';++ @override+ String get boNotificationsUpdateFailed =>+ 'Couldn\'t update notifications on BookOrbit';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';}@override- String get transcriptionNeedsDownload =>- 'This needs the audio on your phone. Download it now?';+ String get boNotificationsSettings => 'Notification settings';@override- String get transcriptionDownloadStarted =>- 'Downloading. Turn this on again when it finishes';+ String get boNotificationsSettingsIntro =>+ 'Choose which notifications BookOrbit keeps for you.';@override- String get readAlongFollow => 'Read along follows';+ String get boNotificationsProblemsHint =>+ 'Problems only notifies you when something fails or needs attention.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get boNotificationLevelOff => 'Off';@override- String get syncReadingListeningHint =>- 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get boNotificationLevelProblems => 'Problems';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get boNotificationLevelAll => 'All';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get boNotificationsSaveFailed =>+ 'Couldn\'t save notification settings';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get boNotificationGroupLibrary => 'Library';@override- String get syncFindingEbook => 'Finding your spot in the ebook';+ String get boNotificationGroupFiles => 'Files';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationGroupPersonal => 'Personal';@override- String get syncPosition => 'Sync position';+ String get boNotifyScanning => 'Library scanning';@override- String get readAlongFollowHint =>- 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotifyScanningDesc =>+ 'When a library scan finishes, fails, or finds missing books.';@override- String get readAlongFollowWord => 'Word';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotifyMetadataDesc =>+ 'When metadata lookups for your books finish or fail.';@override- String get readAlongColor => 'Read along color';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotifyAuthorEnrichmentDesc =>+ 'When author biographies and photos finish downloading.';@override- String get readAlongBackToNarration => 'Back to narration';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get findInEbook => 'Find in ebook';+ String get boNotifyFileWriteBackDesc =>+ 'When edited details are saved into the book files on disk.';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotifyFileRename => 'File renaming';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotifyFileRenameDesc =>+ 'When a book file is renamed to match your naming pattern.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';+ String get boNotifyBulkRenameDesc =>+ 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get findInAudiobook => 'Find in audiobook';+ String get boNotifyMigration => 'Imports';@override- String get findInAudiobookSearching =>- 'Finding this spot in the audiobook...';+ String get boNotifyMigrationDesc =>+ 'When an import from another library app finishes or fails.';@override- String get findInAudiobookStillSearching =>- 'Still searching the audio for this spot...';+ String get boNotifyBookDock => 'Book Dock';@override- String get findInAudiobookSearchingLong =>- 'Long chapter, still searching. This can take a minute or two...';+ String get boNotifyBookDockDesc =>+ 'When Book Dock finishes adding books or runs into problems.';@override- String get findInAudiobookNotFound =>- 'Couldn\'t find this spot in the audiobook.';+ String get boNotifyBookRequests => 'Book requests';@override- String get transcriptionWhisperInfo =>- 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';+ String get boNotifyBookRequestsDesc =>+ 'When a book request is submitted or decided, or the book becomes available.';@override- String get transcriptionWhisperLearnMore => 'Learn more about Whisper';+ String get boNotifyEmail => 'Email delivery';@override- String get findInAudiobookIntroBody =>- 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';+ String get boNotifyEmailDesc =>+ 'When sending a book by email works or fails.';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyAchievements => 'Achievements';@override- String get findInAudiobookStay => 'Keep reading';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get findInAudiobookGoPlayer => 'Open the player';+ String get achievementsTitle => 'Achievements';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get catchUpAudioAhead =>- 'The audiobook is further along. Tap to go there.';+ String get achievementsFilterAll => 'All';@override- String get catchUpPageAhead =>- 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get achievementsFilterEarned => 'Earned';@override- String get readerShortcutButton => 'Shortcut button';+ String get achievementsFilterInProgress => 'In progress';@override- String get keepScreenOn => 'Keep screen on';+ String get achievementsFilterLocked => 'Locked';@override- String get keepScreenOnActive => 'Screen stays on';+ String get achievementsCategoryReading => 'Reading';@override- String get keepScreenOnUntilClosed =>- 'Screen stays on until you close the app';+ String get achievementsCategoryLibrary => 'Library';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get achievementsCategoryExploration => 'Exploration';@override- String get keepScreenOnOffUntilRestart =>- 'Off until the app restarts. The Settings switch stays on';+ String get achievementsCategoryDedication => 'Dedication';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get achievementsCategoryDevices => 'Devices';@override- String get keepScreenOnPlayerSubtitle =>- 'The screen stays on while the player is open';+ String get achievementsRarityCommon => 'Common';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get achievementsRarityRare => 'Rare';@override- String get keepScreenOnCarModeSubtitle =>- 'The screen stays on while car mode is open';+ String get achievementsRarityEpic => 'Epic';@override- String get loginServerType => 'Server type';+ String get achievementsRarityLegendary => 'Legendary';@override- String get authBookOrbitDefaultPassword =>- 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get achievementsLoadFailed => 'Couldn\'t load achievements';@override- String get authBookOrbitPasswordOff =>- 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get achievementsNoneMatch => 'No achievements match this filter';@override- String get authServerIsBookOrbit =>- 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get achievementsSecretName => 'Secret achievement';@override- String get authServerIsAudiobookshelf =>- 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get achievementsSecretHint => 'Keep reading to reveal this one.';@override- String get castNotAvailableBookOrbit =>- 'Casting is not available with BookOrbit servers';+ String achievementsEarnedOn(String date) {+ return 'Earned $date';+ }@override- String get loginMagicLink => 'Magic link';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginMagicLinkDescription =>- 'Sign in with a BookOrbit magic link instead of a password.';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get collectionPublicTitle => 'Public';+ String get achievementsTiers => 'Tiers';@override- String get collectionPublicSubtitle =>- 'Everyone on this server can see this collection';+ String get achievementsAllTiers => 'Every tier earned';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get loginRedirectUriBookOrbit =>- 'Redirect URI: bookorbit://oauth2-callback';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusTitle => 'Reading status';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusHint =>- 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get readStatusOnHold => 'On hold';+ String get achievementsHowToGetIt => 'How to get it';@override- String get readStatusRereading => 'Rereading';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get readStatusRead => 'Read';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get personalNoteTitle => 'Your note';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get coverSlotBook => 'Book cover';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle =>- 'How the buttons on the player card are filled';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other:+ '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview =>- 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening =>- 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';}@override- String get comicBookmarkRemoveFailed =>- 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }@override- String get comicNeedsConnection =>- 'This comic opens page by page from your server, so it needs a connection.';+ String get achievementsSwitch => 'Achievements';@override- String get comicNoPages => 'No pages found in this comic.';+ String get achievementsSwitchSubtitle =>+ 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed =>+ 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/l10n/app_localizations_fr.dart b/lib/l10n/app_localizations_fr.dartindex 59c55530..c435e182 100644--- a/lib/l10n/app_localizations_fr.dart+++ b/lib/l10n/app_localizations_fr.dart@@ -99,6 +99,19 @@ class AppLocalizationsFr extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle =>+ 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => 'Ok';@@ -4171,6 +4184,24 @@ class AppLocalizationsFr extends AppLocalizations {@overrideString get removedFromContinueListening => 'Removed from Continue Listening';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries => 'Remove from Continue Series';@@ -4884,6 +4915,10 @@ class AppLocalizationsFr extends AppLocalizations {@overrideString get removeDownloadContent => 'This will be removed from your device.';+ @override+ String get removeWhichDownload =>+ 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => 'Téléchargement supprimé';@@ -5431,6 +5466,53 @@ class AppLocalizationsFr extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote =>+ 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced =>'Reset may not have synced - check your server';@@ -10212,6 +10294,22 @@ class AppLocalizationsFr extends AppLocalizations {String get readerVolumeNavWhilePlaying =>'Même lorsque l\'audio est en cours de lecture';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint =>+ 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Télécharger plus de polices';@@ -10537,652 +10635,2118 @@ class AppLocalizationsFr extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Scan all libraries';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scan $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan started';-- @override- String get navHoldScanFailed => 'Could not start the scan';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldAdminLogs => 'Server logs';+ String get activityNotStarted => 'Not started';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityNoReading => 'No reading sessions yet';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityTime => 'Time';@override- String get navHoldReadBook => 'Read current book';+ String get activityAverage => 'Avg';@override- String get navHoldBookDetails => 'Current book details';+ String get activityProgress => 'Progress';@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceBody =>- 'Cette sauvegarde a activé la synchronisation des paramètres. Utiliser la dernière synchronisation du serveur, ou faire de cette sauvegarde la source de vérité ? Choisir la sauvegarde remplace la copie sur le serveur pour tous vos périphériques synchronisés.';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogAverageSession => 'Average session';@override- String get syncSettingsWhatTravels =>- 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsDownloadWarnTitle =>- 'Replace this device\'s settings?';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnBody =>- 'The synced copy will overwrite the settings on this device.';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get readerCopied => 'Copied to clipboard';+ String get readingLogLastRead => 'Last read';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogStarted => 'Started';@override- String get dictionaryError =>- 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryRetry => 'Retry';+ String get readingLogNotSet => 'Not set';@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get readerTooltipCopy => 'Copier';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipSearch => 'Search';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipDefine => 'Define';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerSearchHint => 'Search this book…';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count matches for \"$query\"',- one: '$count match for \"$query\"',- );- return '$_temp0';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';}@override- String get readerSearchEmpty =>- 'Entrez un mot ou une phrase puis recherchez.';+ String get readingLogNewThisWeek => 'New this week';@override- String readerSearchNoResults(String query) {- return 'No matches for \"$query\".';- }+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionAdvancedSubtitle =>- 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnableSubtitle =>- 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionDisclaimer =>- 'Fonctionne entièrement sur votre appareil, rien n\'est envoyé nulle part. Cela utilise de la batterie supplémentaire et de la puissance de calcul pendant que cela fonctionne, et seuls les livres téléchargés peuvent être transcrits.';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionNeedModelHint =>- 'Download a model below to start transcribing.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionModelSection => 'Models';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTinyDesc =>- 'Quickest, less accurate. About 31 MB.';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelBase => 'Base';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelSmall => 'Small';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmallDesc =>- 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionAutoHint =>- 'Avec plus d\'un téléchargement, chaque tâche choisit entre eux. Les livres avec un ebook sont les plus rapides, car les mots exacts viennent de toute façon de l\'ebook. Les signets sur les livres sans ebook ont le plus précis possible.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionDownload => 'Download';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownloadFailed =>- 'Download failed. Check your connection and try again.';+ String get readingLogAttempts => 'Attempts';@override- String get transcribe => 'Transcribe';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribing => 'Transcribing...';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionDisabledHint =>- 'Turn on bookmark transcription in Settings, under Advanced.';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionNoModelDownloaded =>- 'Download a transcription model in Settings first.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNotDownloadedBook =>- 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNoMetadataMsg =>- 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionBusyMsg =>- 'Already transcribing something. Give it a moment.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionFailedMsg =>- 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionIntroBody =>- 'Cela permet d\'écouter la quantité d\'audio choisie, en commençant juste avant le signet, et en la transformant en texte sur votre appareil. Les clips plus longs prennent plus de temps, et la transcription n\'est pas précise à 100%. Le texte est sauvegardé dans la note du favori une fois terminé, prêt à être corrigé ou partagé.';+ String get readingLogEmptyHint =>+ 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionUseEbookText =>- 'Use the ebook\'s exact text when it can be matched';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get lyricsMode => 'Live transcript';+ String get readingLogAllTime => 'All time';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsFontSize => 'Line size';+ String get readingLogThisYear => 'This year';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCoverHint =>- 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortDay => 'Day';@override- String get lyricsBatteryInfo =>- 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortLength => 'Length';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortChange => 'Change';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogSortReached => 'Reached';@override- String get lyricsClearCacheConfirm =>- 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsIntroBody =>- 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogMostFirst => 'Most first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogLeastFirst => 'Least first';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteBody =>+ 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get readAlong => 'Read along';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get narrationListen => 'Listen';+ String get navHoldServerScan => 'Server scan';@override- String get narrationPlayFromHere => 'Play from here';+ String get navHoldScanAll => 'Scan all libraries';@override- String get narrationPreparing => 'Getting the narration ready';+ String navHoldScanLibrary(String name) {+ return 'Scan $name';+ }@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanStarted => 'Scan started';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldScanFailed => 'Could not start the scan';@override- String get narrationDownloadBody =>- 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String get navHoldAdminLogs => 'Server logs';@override- String get narrationDownloadStarted =>- 'Downloading the narration. Tap Absorb when it finishes.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationTextBody =>- 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldReadBook => 'Read current book';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get navHoldBookDetails => 'Current book details';++ @override+ String get syncSourceTitle => 'Which copy should sync keep?';++ @override+ String get syncSourceBody =>+ 'Cette sauvegarde a activé la synchronisation des paramètres. Utiliser la dernière synchronisation du serveur, ou faire de cette sauvegarde la source de vérité ? Choisir la sauvegarde remplace la copie sur le serveur pour tous vos périphériques synchronisés.';++ @override+ String get syncSourceUseServer => 'Server\'s last sync';++ @override+ String get syncSourceUseBackup => 'This backup';++ @override+ String get syncSettingsWhatTravels =>+ 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';++ @override+ String get syncSettingsDownloadWarnTitle =>+ 'Replace this device\'s settings?';++ @override+ String get syncSettingsDownloadWarnBody =>+ 'The synced copy will overwrite the settings on this device.';++ @override+ String get syncSettingsDownloadWarnConfirm => 'Replace';++ @override+ String get readerCopied => 'Copied to clipboard';++ @override+ String get dictionaryNotFound => 'No definition found for this word.';++ @override+ String get dictionaryError =>+ 'Couldn\'t reach the dictionary. Check your connection.';++ @override+ String get dictionaryRetry => 'Retry';++ @override+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Copier';++ @override+ String get readerTooltipSearch => 'Search';++ @override+ String get readerTooltipDefine => 'Define';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Search this book…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count matches for \"$query\"',+ one: '$count match for \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty =>+ 'Entrez un mot ou une phrase puis recherchez.';++ @override+ String readerSearchNoResults(String query) {+ return 'No matches for \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle =>+ 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle =>+ 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer =>+ 'Fonctionne entièrement sur votre appareil, rien n\'est envoyé nulle part. Cela utilise de la batterie supplémentaire et de la puissance de calcul pendant que cela fonctionne, et seuls les livres téléchargés peuvent être transcrits.';++ @override+ String get transcriptionNeedModelHint =>+ 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc =>+ 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc =>+ 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint =>+ 'Avec plus d\'un téléchargement, chaque tâche choisit entre eux. Les livres avec un ebook sont les plus rapides, car les mots exacts viennent de toute façon de l\'ebook. Les signets sur les livres sans ebook ont le plus précis possible.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed =>+ 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint =>+ 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded =>+ 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook =>+ 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg =>+ 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg =>+ 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg =>+ 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody =>+ 'Cela permet d\'écouter la quantité d\'audio choisie, en commençant juste avant le signet, et en la transformant en texte sur votre appareil. Les clips plus longs prennent plus de temps, et la transcription n\'est pas précise à 100%. Le texte est sauvegardé dans la note du favori une fois terminé, prêt à être corrigé ou partagé.';++ @override+ String get transcriptionUseEbookText =>+ 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint =>+ 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo =>+ 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm =>+ 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody =>+ 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody =>+ 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted =>+ 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody =>+ 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';@overrideString get narrationUpNextTitle => 'Download what\'s up next';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload =>+ 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted =>+ 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint =>+ 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';++ @override+ String get syncFindingEbook => 'Finding your spot in the ebook';++ @override+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint =>+ 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';++ @override+ String get findInAudiobook => 'Find in audiobook';++ @override+ String get findInAudiobookSearching =>+ 'Finding this spot in the audiobook...';++ @override+ String get findInAudiobookStillSearching =>+ 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong =>+ 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound =>+ 'Couldn\'t find this spot in the audiobook.';++ @override+ String get transcriptionWhisperInfo =>+ 'La transcription est alimentée par Whisper, un modèle ouvert de reconnaissance vocale qui écoute la narration et écrit les mots - le tout sur cet appareil.';++ @override+ String get transcriptionWhisperLearnMore => 'Learn more about Whisper';++ @override+ String get findInAudiobookIntroBody =>+ 'Cela permet d\'écouter le livre audio près de l\'endroit où vous lisez et de le faire correspondre à ce passage, le tout sur votre appareil. Cela peut prendre jusqu\'à une minute. Si l\'emplacement ne peut pas être associé en toute confiance, rien ne bouge.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Keep reading';++ @override+ String get findInAudiobookGoPlayer => 'Open the player';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead =>+ 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead =>+ 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed =>+ 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart =>+ 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle =>+ 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle =>+ 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword =>+ 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff =>+ 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit =>+ 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf =>+ 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit =>+ 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription =>+ 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle =>+ 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit =>+ 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint =>+ 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle =>+ 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview =>+ 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening =>+ 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed =>+ 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection =>+ 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint =>+ 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll =>+ 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle =>+ 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal =>+ 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody =>+ 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules =>+ 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody =>+ 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust =>+ 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired =>+ 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect =>+ 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged =>+ 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink =>+ 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill =>+ 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint =>+ 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed =>+ 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle =>+ 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint =>+ 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody =>+ 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }++ @override+ String get boNotificationsMarkAllRead => 'Mark all read';++ @override+ String get boNotificationsClearAll => 'Clear all';++ @override+ String get boNotificationsClearTitle => 'Clear all notifications?';++ @override+ String get boNotificationsClearBody =>+ 'This removes every notification from your BookOrbit account.';++ @override+ String get boNotificationsEmpty => 'No notifications yet';++ @override+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';++ @override+ String get boNotificationsUpdateFailed =>+ 'Couldn\'t update notifications on BookOrbit';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';}@override- String get transcriptionNeedsDownload =>- 'This needs the audio on your phone. Download it now?';+ String get boNotificationsSettings => 'Notification settings';@override- String get transcriptionDownloadStarted =>- 'Downloading. Turn this on again when it finishes';+ String get boNotificationsSettingsIntro =>+ 'Choose which notifications BookOrbit keeps for you.';@override- String get readAlongFollow => 'Read along follows';+ String get boNotificationsProblemsHint =>+ 'Problems only notifies you when something fails or needs attention.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get boNotificationLevelOff => 'Off';@override- String get syncReadingListeningHint =>- 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get boNotificationLevelProblems => 'Problems';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get boNotificationLevelAll => 'All';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get boNotificationsSaveFailed =>+ 'Couldn\'t save notification settings';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get boNotificationGroupLibrary => 'Library';@override- String get syncFindingEbook => 'Finding your spot in the ebook';+ String get boNotificationGroupFiles => 'Files';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationGroupPersonal => 'Personal';@override- String get syncPosition => 'Sync position';+ String get boNotifyScanning => 'Library scanning';@override- String get readAlongFollowHint =>- 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotifyScanningDesc =>+ 'When a library scan finishes, fails, or finds missing books.';@override- String get readAlongFollowWord => 'Word';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotifyMetadataDesc =>+ 'When metadata lookups for your books finish or fail.';@override- String get readAlongColor => 'Read along color';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotifyAuthorEnrichmentDesc =>+ 'When author biographies and photos finish downloading.';@override- String get readAlongBackToNarration => 'Back to narration';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get findInEbook => 'Find in ebook';+ String get boNotifyFileWriteBackDesc =>+ 'When edited details are saved into the book files on disk.';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotifyFileRename => 'File renaming';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotifyFileRenameDesc =>+ 'When a book file is renamed to match your naming pattern.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';+ String get boNotifyBulkRenameDesc =>+ 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get findInAudiobook => 'Find in audiobook';+ String get boNotifyMigration => 'Imports';@override- String get findInAudiobookSearching =>- 'Finding this spot in the audiobook...';+ String get boNotifyMigrationDesc =>+ 'When an import from another library app finishes or fails.';@override- String get findInAudiobookStillSearching =>- 'Still searching the audio for this spot...';+ String get boNotifyBookDock => 'Book Dock';@override- String get findInAudiobookSearchingLong =>- 'Long chapter, still searching. This can take a minute or two...';+ String get boNotifyBookDockDesc =>+ 'When Book Dock finishes adding books or runs into problems.';@override- String get findInAudiobookNotFound =>- 'Couldn\'t find this spot in the audiobook.';+ String get boNotifyBookRequests => 'Book requests';@override- String get transcriptionWhisperInfo =>- 'La transcription est alimentée par Whisper, un modèle ouvert de reconnaissance vocale qui écoute la narration et écrit les mots - le tout sur cet appareil.';+ String get boNotifyBookRequestsDesc =>+ 'When a book request is submitted or decided, or the book becomes available.';@override- String get transcriptionWhisperLearnMore => 'Learn more about Whisper';+ String get boNotifyEmail => 'Email delivery';@override- String get findInAudiobookIntroBody =>- 'Cela permet d\'écouter le livre audio près de l\'endroit où vous lisez et de le faire correspondre à ce passage, le tout sur votre appareil. Cela peut prendre jusqu\'à une minute. Si l\'emplacement ne peut pas être associé en toute confiance, rien ne bouge.';+ String get boNotifyEmailDesc =>+ 'When sending a book by email works or fails.';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyAchievements => 'Achievements';@override- String get findInAudiobookStay => 'Keep reading';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get findInAudiobookGoPlayer => 'Open the player';+ String get achievementsTitle => 'Achievements';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get catchUpAudioAhead =>- 'The audiobook is further along. Tap to go there.';+ String get achievementsFilterAll => 'All';@override- String get catchUpPageAhead =>- 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get achievementsFilterEarned => 'Earned';@override- String get readerShortcutButton => 'Shortcut button';+ String get achievementsFilterInProgress => 'In progress';@override- String get keepScreenOn => 'Keep screen on';+ String get achievementsFilterLocked => 'Locked';@override- String get keepScreenOnActive => 'Screen stays on';+ String get achievementsCategoryReading => 'Reading';@override- String get keepScreenOnUntilClosed =>- 'Screen stays on until you close the app';+ String get achievementsCategoryLibrary => 'Library';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get achievementsCategoryExploration => 'Exploration';@override- String get keepScreenOnOffUntilRestart =>- 'Off until the app restarts. The Settings switch stays on';+ String get achievementsCategoryDedication => 'Dedication';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get achievementsCategoryDevices => 'Devices';@override- String get keepScreenOnPlayerSubtitle =>- 'The screen stays on while the player is open';+ String get achievementsRarityCommon => 'Common';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get achievementsRarityRare => 'Rare';@override- String get keepScreenOnCarModeSubtitle =>- 'The screen stays on while car mode is open';+ String get achievementsRarityEpic => 'Epic';@override- String get loginServerType => 'Server type';+ String get achievementsRarityLegendary => 'Legendary';@override- String get authBookOrbitDefaultPassword =>- 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get achievementsLoadFailed => 'Couldn\'t load achievements';@override- String get authBookOrbitPasswordOff =>- 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get achievementsNoneMatch => 'No achievements match this filter';@override- String get authServerIsBookOrbit =>- 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get achievementsSecretName => 'Secret achievement';@override- String get authServerIsAudiobookshelf =>- 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get achievementsSecretHint => 'Keep reading to reveal this one.';@override- String get castNotAvailableBookOrbit =>- 'Casting is not available with BookOrbit servers';+ String achievementsEarnedOn(String date) {+ return 'Earned $date';+ }@override- String get loginMagicLink => 'Magic link';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginMagicLinkDescription =>- 'Sign in with a BookOrbit magic link instead of a password.';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get collectionPublicTitle => 'Public';+ String get achievementsTiers => 'Tiers';@override- String get collectionPublicSubtitle =>- 'Everyone on this server can see this collection';+ String get achievementsAllTiers => 'Every tier earned';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get loginRedirectUriBookOrbit =>- 'Redirect URI: bookorbit://oauth2-callback';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusTitle => 'Reading status';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusHint =>- 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get readStatusOnHold => 'On hold';+ String get achievementsHowToGetIt => 'How to get it';@override- String get readStatusRereading => 'Rereading';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get readStatusRead => 'Read';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get personalNoteTitle => 'Your note';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get coverSlotBook => 'Book cover';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle =>- 'How the buttons on the player card are filled';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other:+ '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview =>- 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening =>- 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';}@override- String get comicBookmarkRemoveFailed =>- 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }@override- String get comicNeedsConnection =>- 'This comic opens page by page from your server, so it needs a connection.';+ String get achievementsSwitch => 'Achievements';@override- String get comicNoPages => 'No pages found in this comic.';+ String get achievementsSwitchSubtitle =>+ 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed =>+ 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/l10n/app_localizations_it.dart b/lib/l10n/app_localizations_it.dartindex a2c72af8..ce1b8a6c 100644--- a/lib/l10n/app_localizations_it.dart+++ b/lib/l10n/app_localizations_it.dart@@ -98,6 +98,19 @@ class AppLocalizationsIt extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle =>+ 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => 'Got it';@@ -4120,6 +4133,24 @@ class AppLocalizationsIt extends AppLocalizations {@overrideString get removedFromContinueListening => 'Removed from Continue Listening';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries => 'Remove from Continue Series';@@ -4833,6 +4864,10 @@ class AppLocalizationsIt extends AppLocalizations {@overrideString get removeDownloadContent => 'This will be removed from your device.';+ @override+ String get removeWhichDownload =>+ 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => 'Download removed';@@ -5380,6 +5415,53 @@ class AppLocalizationsIt extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote =>+ 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced =>'Reset may not have synced - check your server';@@ -10160,6 +10242,22 @@ class AppLocalizationsIt extends AppLocalizations {@overrideString get readerVolumeNavWhilePlaying => 'Even while audio is playing';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint =>+ 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Download more fonts';@@ -10485,651 +10583,2117 @@ class AppLocalizationsIt extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Scan all libraries';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scan $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan started';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldScanFailed => 'Could not start the scan';+ String get activityNotStarted => 'Not started';@override- String get navHoldAdminLogs => 'Server logs';+ String get activityNoReading => 'No reading sessions yet';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityTime => 'Time';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityAverage => 'Avg';@override- String get navHoldReadBook => 'Read current book';+ String get activityProgress => 'Progress';@override- String get navHoldBookDetails => 'Current book details';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceBody =>- 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogAverageSession => 'Average session';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsWhatTravels =>- 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnTitle =>- 'Replace this device\'s settings?';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnBody =>- 'The synced copy will overwrite the settings on this device.';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String get readingLogLastRead => 'Last read';@override- String get readerCopied => 'Copied to clipboard';+ String get readingLogStarted => 'Started';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryError =>- 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogNotSet => 'Not set';@override- String get dictionaryRetry => 'Retry';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipCopy => 'Copy';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipSearch => 'Search';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerTooltipDefine => 'Define';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String get readerSearchHint => 'Search this book…';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count matches for \"$query\"',- one: '$count match for \"$query\"',- );- return '$_temp0';- }+ String get readingLogNewThisWeek => 'New this week';@override- String get readerSearchEmpty => 'Type a word or phrase and tap search.';+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String readerSearchNoResults(String query) {- return 'No matches for \"$query\".';- }+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionAdvancedSubtitle =>- 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionEnableSubtitle =>- 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionDisclaimer =>- 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionNeedModelHint =>- 'Download a model below to start transcribing.';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelSection => 'Models';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelTinyDesc =>- 'Quickest, less accurate. About 31 MB.';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBase => 'Base';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmall => 'Small';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionModelSmallDesc =>- 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionAutoHint =>- 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownload => 'Download';+ String get readingLogAttempts => 'Attempts';@override- String get transcriptionDownloadFailed =>- 'Download failed. Check your connection and try again.';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribe => 'Transcribe';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcribing => 'Transcribing...';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionDisabledHint =>- 'Turn on bookmark transcription in Settings, under Advanced.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNoModelDownloaded =>- 'Download a transcription model in Settings first.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNotDownloadedBook =>- 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionNoMetadataMsg =>- 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionBusyMsg =>- 'Already transcribing something. Give it a moment.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionFailedMsg =>- 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmptyHint =>+ 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionIntroBody =>- 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get transcriptionUseEbookText =>- 'Use the ebook\'s exact text when it can be matched';+ String get readingLogAllTime => 'All time';@override- String get lyricsMode => 'Live transcript';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogThisYear => 'This year';@override- String get lyricsFontSize => 'Line size';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortDay => 'Day';@override- String get lyricsFullCoverHint =>- 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortLength => 'Length';@override- String get lyricsBatteryInfo =>- 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortChange => 'Change';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortReached => 'Reached';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsClearCacheConfirm =>- 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogMostFirst => 'Most first';@override- String get lyricsIntroBody =>- 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogLeastFirst => 'Least first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteBody =>+ 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlong => 'Read along';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get navHoldServerScan => 'Server scan';@override- String get narrationListen => 'Listen';+ String get navHoldScanAll => 'Scan all libraries';@override- String get narrationPlayFromHere => 'Play from here';+ String navHoldScanLibrary(String name) {+ return 'Scan $name';+ }@override- String get narrationPreparing => 'Getting the narration ready';+ String get navHoldScanStarted => 'Scan started';@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanFailed => 'Could not start the scan';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldAdminLogs => 'Server logs';@override- String get narrationDownloadBody =>- 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationDownloadStarted =>- 'Downloading the narration. Tap Absorb when it finishes.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextBody =>- 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldReadBook => 'Read current book';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldBookDetails => 'Current book details';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get syncSourceTitle => 'Which copy should sync keep?';++ @override+ String get syncSourceBody =>+ 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';++ @override+ String get syncSourceUseServer => 'Server\'s last sync';++ @override+ String get syncSourceUseBackup => 'This backup';++ @override+ String get syncSettingsWhatTravels =>+ 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';++ @override+ String get syncSettingsDownloadWarnTitle =>+ 'Replace this device\'s settings?';++ @override+ String get syncSettingsDownloadWarnBody =>+ 'The synced copy will overwrite the settings on this device.';++ @override+ String get syncSettingsDownloadWarnConfirm => 'Replace';++ @override+ String get readerCopied => 'Copied to clipboard';++ @override+ String get dictionaryNotFound => 'No definition found for this word.';++ @override+ String get dictionaryError =>+ 'Couldn\'t reach the dictionary. Check your connection.';++ @override+ String get dictionaryRetry => 'Retry';++ @override+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Copy';++ @override+ String get readerTooltipSearch => 'Search';++ @override+ String get readerTooltipDefine => 'Define';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Search this book…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count matches for \"$query\"',+ one: '$count match for \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty => 'Type a word or phrase and tap search.';++ @override+ String readerSearchNoResults(String query) {+ return 'No matches for \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle =>+ 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle =>+ 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer =>+ 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';++ @override+ String get transcriptionNeedModelHint =>+ 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc =>+ 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc =>+ 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint =>+ 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed =>+ 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint =>+ 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded =>+ 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook =>+ 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg =>+ 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg =>+ 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg =>+ 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody =>+ 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';++ @override+ String get transcriptionUseEbookText =>+ 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint =>+ 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo =>+ 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm =>+ 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody =>+ 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody =>+ 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted =>+ 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody =>+ 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';@overrideString get narrationUpNextTitle => 'Download what\'s up next';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload =>+ 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted =>+ 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint =>+ 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';++ @override+ String get syncFindingEbook => 'Finding your spot in the ebook';++ @override+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint =>+ 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';++ @override+ String get findInAudiobook => 'Find in audiobook';++ @override+ String get findInAudiobookSearching =>+ 'Finding this spot in the audiobook...';++ @override+ String get findInAudiobookStillSearching =>+ 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong =>+ 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound =>+ 'Couldn\'t find this spot in the audiobook.';++ @override+ String get transcriptionWhisperInfo =>+ 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';++ @override+ String get transcriptionWhisperLearnMore => 'Learn more about Whisper';++ @override+ String get findInAudiobookIntroBody =>+ 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Keep reading';++ @override+ String get findInAudiobookGoPlayer => 'Open the player';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead =>+ 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead =>+ 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed =>+ 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart =>+ 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle =>+ 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle =>+ 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword =>+ 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff =>+ 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit =>+ 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf =>+ 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit =>+ 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription =>+ 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle =>+ 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit =>+ 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint =>+ 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle =>+ 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview =>+ 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening =>+ 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed =>+ 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection =>+ 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint =>+ 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll =>+ 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle =>+ 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal =>+ 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody =>+ 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules =>+ 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody =>+ 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust =>+ 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired =>+ 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect =>+ 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged =>+ 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink =>+ 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill =>+ 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint =>+ 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed =>+ 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle =>+ 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint =>+ 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody =>+ 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }++ @override+ String get boNotificationsMarkAllRead => 'Mark all read';++ @override+ String get boNotificationsClearAll => 'Clear all';++ @override+ String get boNotificationsClearTitle => 'Clear all notifications?';++ @override+ String get boNotificationsClearBody =>+ 'This removes every notification from your BookOrbit account.';++ @override+ String get boNotificationsEmpty => 'No notifications yet';++ @override+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';++ @override+ String get boNotificationsUpdateFailed =>+ 'Couldn\'t update notifications on BookOrbit';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';}@override- String get transcriptionNeedsDownload =>- 'This needs the audio on your phone. Download it now?';+ String get boNotificationsSettings => 'Notification settings';@override- String get transcriptionDownloadStarted =>- 'Downloading. Turn this on again when it finishes';+ String get boNotificationsSettingsIntro =>+ 'Choose which notifications BookOrbit keeps for you.';@override- String get readAlongFollow => 'Read along follows';+ String get boNotificationsProblemsHint =>+ 'Problems only notifies you when something fails or needs attention.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get boNotificationLevelOff => 'Off';@override- String get syncReadingListeningHint =>- 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get boNotificationLevelProblems => 'Problems';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get boNotificationLevelAll => 'All';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get boNotificationsSaveFailed =>+ 'Couldn\'t save notification settings';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get boNotificationGroupLibrary => 'Library';@override- String get syncFindingEbook => 'Finding your spot in the ebook';+ String get boNotificationGroupFiles => 'Files';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationGroupPersonal => 'Personal';@override- String get syncPosition => 'Sync position';+ String get boNotifyScanning => 'Library scanning';@override- String get readAlongFollowHint =>- 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotifyScanningDesc =>+ 'When a library scan finishes, fails, or finds missing books.';@override- String get readAlongFollowWord => 'Word';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotifyMetadataDesc =>+ 'When metadata lookups for your books finish or fail.';@override- String get readAlongColor => 'Read along color';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotifyAuthorEnrichmentDesc =>+ 'When author biographies and photos finish downloading.';@override- String get readAlongBackToNarration => 'Back to narration';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get findInEbook => 'Find in ebook';+ String get boNotifyFileWriteBackDesc =>+ 'When edited details are saved into the book files on disk.';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotifyFileRename => 'File renaming';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotifyFileRenameDesc =>+ 'When a book file is renamed to match your naming pattern.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';+ String get boNotifyBulkRenameDesc =>+ 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get findInAudiobook => 'Find in audiobook';+ String get boNotifyMigration => 'Imports';@override- String get findInAudiobookSearching =>- 'Finding this spot in the audiobook...';+ String get boNotifyMigrationDesc =>+ 'When an import from another library app finishes or fails.';@override- String get findInAudiobookStillSearching =>- 'Still searching the audio for this spot...';+ String get boNotifyBookDock => 'Book Dock';@override- String get findInAudiobookSearchingLong =>- 'Long chapter, still searching. This can take a minute or two...';+ String get boNotifyBookDockDesc =>+ 'When Book Dock finishes adding books or runs into problems.';@override- String get findInAudiobookNotFound =>- 'Couldn\'t find this spot in the audiobook.';+ String get boNotifyBookRequests => 'Book requests';@override- String get transcriptionWhisperInfo =>- 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';+ String get boNotifyBookRequestsDesc =>+ 'When a book request is submitted or decided, or the book becomes available.';@override- String get transcriptionWhisperLearnMore => 'Learn more about Whisper';+ String get boNotifyEmail => 'Email delivery';@override- String get findInAudiobookIntroBody =>- 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';+ String get boNotifyEmailDesc =>+ 'When sending a book by email works or fails.';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyAchievements => 'Achievements';@override- String get findInAudiobookStay => 'Keep reading';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get findInAudiobookGoPlayer => 'Open the player';+ String get achievementsTitle => 'Achievements';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get catchUpAudioAhead =>- 'The audiobook is further along. Tap to go there.';+ String get achievementsFilterAll => 'All';@override- String get catchUpPageAhead =>- 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get achievementsFilterEarned => 'Earned';@override- String get readerShortcutButton => 'Shortcut button';+ String get achievementsFilterInProgress => 'In progress';@override- String get keepScreenOn => 'Keep screen on';+ String get achievementsFilterLocked => 'Locked';@override- String get keepScreenOnActive => 'Screen stays on';+ String get achievementsCategoryReading => 'Reading';@override- String get keepScreenOnUntilClosed =>- 'Screen stays on until you close the app';+ String get achievementsCategoryLibrary => 'Library';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get achievementsCategoryExploration => 'Exploration';@override- String get keepScreenOnOffUntilRestart =>- 'Off until the app restarts. The Settings switch stays on';+ String get achievementsCategoryDedication => 'Dedication';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get achievementsCategoryDevices => 'Devices';@override- String get keepScreenOnPlayerSubtitle =>- 'The screen stays on while the player is open';+ String get achievementsRarityCommon => 'Common';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get achievementsRarityRare => 'Rare';@override- String get keepScreenOnCarModeSubtitle =>- 'The screen stays on while car mode is open';+ String get achievementsRarityEpic => 'Epic';@override- String get loginServerType => 'Server type';+ String get achievementsRarityLegendary => 'Legendary';@override- String get authBookOrbitDefaultPassword =>- 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get achievementsLoadFailed => 'Couldn\'t load achievements';@override- String get authBookOrbitPasswordOff =>- 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get achievementsNoneMatch => 'No achievements match this filter';@override- String get authServerIsBookOrbit =>- 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get achievementsSecretName => 'Secret achievement';@override- String get authServerIsAudiobookshelf =>- 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get achievementsSecretHint => 'Keep reading to reveal this one.';@override- String get castNotAvailableBookOrbit =>- 'Casting is not available with BookOrbit servers';+ String achievementsEarnedOn(String date) {+ return 'Earned $date';+ }@override- String get loginMagicLink => 'Magic link';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginMagicLinkDescription =>- 'Sign in with a BookOrbit magic link instead of a password.';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get collectionPublicTitle => 'Public';+ String get achievementsTiers => 'Tiers';@override- String get collectionPublicSubtitle =>- 'Everyone on this server can see this collection';+ String get achievementsAllTiers => 'Every tier earned';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get loginRedirectUriBookOrbit =>- 'Redirect URI: bookorbit://oauth2-callback';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusTitle => 'Reading status';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusHint =>- 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get readStatusOnHold => 'On hold';+ String get achievementsHowToGetIt => 'How to get it';@override- String get readStatusRereading => 'Rereading';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get readStatusRead => 'Read';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get personalNoteTitle => 'Your note';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get coverSlotBook => 'Book cover';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle =>- 'How the buttons on the player card are filled';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other:+ '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview =>- 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening =>- 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';}@override- String get comicBookmarkRemoveFailed =>- 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }@override- String get comicNeedsConnection =>- 'This comic opens page by page from your server, so it needs a connection.';+ String get achievementsSwitch => 'Achievements';@override- String get comicNoPages => 'No pages found in this comic.';+ String get achievementsSwitchSubtitle =>+ 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed =>+ 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/l10n/app_localizations_ja.dart b/lib/l10n/app_localizations_ja.dartindex c17e0451..7585ac92 100644--- a/lib/l10n/app_localizations_ja.dart+++ b/lib/l10n/app_localizations_ja.dart@@ -98,6 +98,19 @@ class AppLocalizationsJa extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle =>+ 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => 'Got it';@@ -4120,6 +4133,24 @@ class AppLocalizationsJa extends AppLocalizations {@overrideString get removedFromContinueListening => 'Removed from Continue Listening';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries => 'Remove from Continue Series';@@ -4833,6 +4864,10 @@ class AppLocalizationsJa extends AppLocalizations {@overrideString get removeDownloadContent => 'This will be removed from your device.';+ @override+ String get removeWhichDownload =>+ 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => 'Download removed';@@ -5380,6 +5415,53 @@ class AppLocalizationsJa extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote =>+ 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced =>'Reset may not have synced - check your server';@@ -10160,6 +10242,22 @@ class AppLocalizationsJa extends AppLocalizations {@overrideString get readerVolumeNavWhilePlaying => 'Even while audio is playing';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint =>+ 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Download more fonts';@@ -10485,651 +10583,2117 @@ class AppLocalizationsJa extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Scan all libraries';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scan $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan started';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldScanFailed => 'Could not start the scan';+ String get activityNotStarted => 'Not started';@override- String get navHoldAdminLogs => 'Server logs';+ String get activityNoReading => 'No reading sessions yet';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityTime => 'Time';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityAverage => 'Avg';@override- String get navHoldReadBook => 'Read current book';+ String get activityProgress => 'Progress';@override- String get navHoldBookDetails => 'Current book details';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceBody =>- 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogAverageSession => 'Average session';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsWhatTravels =>- 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnTitle =>- 'Replace this device\'s settings?';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnBody =>- 'The synced copy will overwrite the settings on this device.';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String get readingLogLastRead => 'Last read';@override- String get readerCopied => 'Copied to clipboard';+ String get readingLogStarted => 'Started';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryError =>- 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogNotSet => 'Not set';@override- String get dictionaryRetry => 'Retry';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipCopy => 'Copy';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipSearch => 'Search';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerTooltipDefine => 'Define';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String get readerSearchHint => 'Search this book…';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count matches for \"$query\"',- one: '$count match for \"$query\"',- );- return '$_temp0';- }+ String get readingLogNewThisWeek => 'New this week';@override- String get readerSearchEmpty => 'Type a word or phrase and tap search.';+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String readerSearchNoResults(String query) {- return 'No matches for \"$query\".';- }+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionAdvancedSubtitle =>- 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionEnableSubtitle =>- 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionDisclaimer =>- 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionNeedModelHint =>- 'Download a model below to start transcribing.';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelSection => 'Models';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelTinyDesc =>- 'Quickest, less accurate. About 31 MB.';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBase => 'Base';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmall => 'Small';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionModelSmallDesc =>- 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionAutoHint =>- 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownload => 'Download';+ String get readingLogAttempts => 'Attempts';@override- String get transcriptionDownloadFailed =>- 'Download failed. Check your connection and try again.';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribe => 'Transcribe';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcribing => 'Transcribing...';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionDisabledHint =>- 'Turn on bookmark transcription in Settings, under Advanced.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNoModelDownloaded =>- 'Download a transcription model in Settings first.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNotDownloadedBook =>- 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionNoMetadataMsg =>- 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionBusyMsg =>- 'Already transcribing something. Give it a moment.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionFailedMsg =>- 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmptyHint =>+ 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionIntroBody =>- 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get transcriptionUseEbookText =>- 'Use the ebook\'s exact text when it can be matched';+ String get readingLogAllTime => 'All time';@override- String get lyricsMode => 'Live transcript';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogThisYear => 'This year';@override- String get lyricsFontSize => 'Line size';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortDay => 'Day';@override- String get lyricsFullCoverHint =>- 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortLength => 'Length';@override- String get lyricsBatteryInfo =>- 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortChange => 'Change';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortReached => 'Reached';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsClearCacheConfirm =>- 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogMostFirst => 'Most first';@override- String get lyricsIntroBody =>- 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogLeastFirst => 'Least first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteBody =>+ 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlong => 'Read along';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get navHoldServerScan => 'Server scan';@override- String get narrationListen => 'Listen';+ String get navHoldScanAll => 'Scan all libraries';@override- String get narrationPlayFromHere => 'Play from here';+ String navHoldScanLibrary(String name) {+ return 'Scan $name';+ }@override- String get narrationPreparing => 'Getting the narration ready';+ String get navHoldScanStarted => 'Scan started';@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanFailed => 'Could not start the scan';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldAdminLogs => 'Server logs';@override- String get narrationDownloadBody =>- 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationDownloadStarted =>- 'Downloading the narration. Tap Absorb when it finishes.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextBody =>- 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldReadBook => 'Read current book';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldBookDetails => 'Current book details';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get syncSourceTitle => 'Which copy should sync keep?';++ @override+ String get syncSourceBody =>+ 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';++ @override+ String get syncSourceUseServer => 'Server\'s last sync';++ @override+ String get syncSourceUseBackup => 'This backup';++ @override+ String get syncSettingsWhatTravels =>+ 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';++ @override+ String get syncSettingsDownloadWarnTitle =>+ 'Replace this device\'s settings?';++ @override+ String get syncSettingsDownloadWarnBody =>+ 'The synced copy will overwrite the settings on this device.';++ @override+ String get syncSettingsDownloadWarnConfirm => 'Replace';++ @override+ String get readerCopied => 'Copied to clipboard';++ @override+ String get dictionaryNotFound => 'No definition found for this word.';++ @override+ String get dictionaryError =>+ 'Couldn\'t reach the dictionary. Check your connection.';++ @override+ String get dictionaryRetry => 'Retry';++ @override+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Copy';++ @override+ String get readerTooltipSearch => 'Search';++ @override+ String get readerTooltipDefine => 'Define';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Search this book…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count matches for \"$query\"',+ one: '$count match for \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty => 'Type a word or phrase and tap search.';++ @override+ String readerSearchNoResults(String query) {+ return 'No matches for \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle =>+ 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle =>+ 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer =>+ 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';++ @override+ String get transcriptionNeedModelHint =>+ 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc =>+ 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc =>+ 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint =>+ 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed =>+ 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint =>+ 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded =>+ 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook =>+ 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg =>+ 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg =>+ 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg =>+ 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody =>+ 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';++ @override+ String get transcriptionUseEbookText =>+ 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint =>+ 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo =>+ 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm =>+ 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody =>+ 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody =>+ 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted =>+ 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody =>+ 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';@overrideString get narrationUpNextTitle => 'Download what\'s up next';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload =>+ 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted =>+ 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint =>+ 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';++ @override+ String get syncFindingEbook => 'Finding your spot in the ebook';++ @override+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint =>+ 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';++ @override+ String get findInAudiobook => 'Find in audiobook';++ @override+ String get findInAudiobookSearching =>+ 'Finding this spot in the audiobook...';++ @override+ String get findInAudiobookStillSearching =>+ 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong =>+ 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound =>+ 'Couldn\'t find this spot in the audiobook.';++ @override+ String get transcriptionWhisperInfo =>+ 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';++ @override+ String get transcriptionWhisperLearnMore => 'Learn more about Whisper';++ @override+ String get findInAudiobookIntroBody =>+ 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Keep reading';++ @override+ String get findInAudiobookGoPlayer => 'Open the player';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead =>+ 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead =>+ 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed =>+ 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart =>+ 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle =>+ 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle =>+ 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword =>+ 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff =>+ 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit =>+ 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf =>+ 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit =>+ 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription =>+ 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle =>+ 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit =>+ 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint =>+ 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle =>+ 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview =>+ 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening =>+ 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed =>+ 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection =>+ 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint =>+ 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll =>+ 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle =>+ 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal =>+ 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody =>+ 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules =>+ 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody =>+ 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust =>+ 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired =>+ 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect =>+ 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged =>+ 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink =>+ 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill =>+ 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint =>+ 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed =>+ 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle =>+ 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint =>+ 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody =>+ 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }++ @override+ String get boNotificationsMarkAllRead => 'Mark all read';++ @override+ String get boNotificationsClearAll => 'Clear all';++ @override+ String get boNotificationsClearTitle => 'Clear all notifications?';++ @override+ String get boNotificationsClearBody =>+ 'This removes every notification from your BookOrbit account.';++ @override+ String get boNotificationsEmpty => 'No notifications yet';++ @override+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';++ @override+ String get boNotificationsUpdateFailed =>+ 'Couldn\'t update notifications on BookOrbit';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';}@override- String get transcriptionNeedsDownload =>- 'This needs the audio on your phone. Download it now?';+ String get boNotificationsSettings => 'Notification settings';@override- String get transcriptionDownloadStarted =>- 'Downloading. Turn this on again when it finishes';+ String get boNotificationsSettingsIntro =>+ 'Choose which notifications BookOrbit keeps for you.';@override- String get readAlongFollow => 'Read along follows';+ String get boNotificationsProblemsHint =>+ 'Problems only notifies you when something fails or needs attention.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get boNotificationLevelOff => 'Off';@override- String get syncReadingListeningHint =>- 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get boNotificationLevelProblems => 'Problems';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get boNotificationLevelAll => 'All';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get boNotificationsSaveFailed =>+ 'Couldn\'t save notification settings';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get boNotificationGroupLibrary => 'Library';@override- String get syncFindingEbook => 'Finding your spot in the ebook';+ String get boNotificationGroupFiles => 'Files';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationGroupPersonal => 'Personal';@override- String get syncPosition => 'Sync position';+ String get boNotifyScanning => 'Library scanning';@override- String get readAlongFollowHint =>- 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotifyScanningDesc =>+ 'When a library scan finishes, fails, or finds missing books.';@override- String get readAlongFollowWord => 'Word';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotifyMetadataDesc =>+ 'When metadata lookups for your books finish or fail.';@override- String get readAlongColor => 'Read along color';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotifyAuthorEnrichmentDesc =>+ 'When author biographies and photos finish downloading.';@override- String get readAlongBackToNarration => 'Back to narration';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get findInEbook => 'Find in ebook';+ String get boNotifyFileWriteBackDesc =>+ 'When edited details are saved into the book files on disk.';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotifyFileRename => 'File renaming';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotifyFileRenameDesc =>+ 'When a book file is renamed to match your naming pattern.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';+ String get boNotifyBulkRenameDesc =>+ 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get findInAudiobook => 'Find in audiobook';+ String get boNotifyMigration => 'Imports';@override- String get findInAudiobookSearching =>- 'Finding this spot in the audiobook...';+ String get boNotifyMigrationDesc =>+ 'When an import from another library app finishes or fails.';@override- String get findInAudiobookStillSearching =>- 'Still searching the audio for this spot...';+ String get boNotifyBookDock => 'Book Dock';@override- String get findInAudiobookSearchingLong =>- 'Long chapter, still searching. This can take a minute or two...';+ String get boNotifyBookDockDesc =>+ 'When Book Dock finishes adding books or runs into problems.';@override- String get findInAudiobookNotFound =>- 'Couldn\'t find this spot in the audiobook.';+ String get boNotifyBookRequests => 'Book requests';@override- String get transcriptionWhisperInfo =>- 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';+ String get boNotifyBookRequestsDesc =>+ 'When a book request is submitted or decided, or the book becomes available.';@override- String get transcriptionWhisperLearnMore => 'Learn more about Whisper';+ String get boNotifyEmail => 'Email delivery';@override- String get findInAudiobookIntroBody =>- 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';+ String get boNotifyEmailDesc =>+ 'When sending a book by email works or fails.';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyAchievements => 'Achievements';@override- String get findInAudiobookStay => 'Keep reading';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get findInAudiobookGoPlayer => 'Open the player';+ String get achievementsTitle => 'Achievements';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get catchUpAudioAhead =>- 'The audiobook is further along. Tap to go there.';+ String get achievementsFilterAll => 'All';@override- String get catchUpPageAhead =>- 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get achievementsFilterEarned => 'Earned';@override- String get readerShortcutButton => 'Shortcut button';+ String get achievementsFilterInProgress => 'In progress';@override- String get keepScreenOn => 'Keep screen on';+ String get achievementsFilterLocked => 'Locked';@override- String get keepScreenOnActive => 'Screen stays on';+ String get achievementsCategoryReading => 'Reading';@override- String get keepScreenOnUntilClosed =>- 'Screen stays on until you close the app';+ String get achievementsCategoryLibrary => 'Library';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get achievementsCategoryExploration => 'Exploration';@override- String get keepScreenOnOffUntilRestart =>- 'Off until the app restarts. The Settings switch stays on';+ String get achievementsCategoryDedication => 'Dedication';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get achievementsCategoryDevices => 'Devices';@override- String get keepScreenOnPlayerSubtitle =>- 'The screen stays on while the player is open';+ String get achievementsRarityCommon => 'Common';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get achievementsRarityRare => 'Rare';@override- String get keepScreenOnCarModeSubtitle =>- 'The screen stays on while car mode is open';+ String get achievementsRarityEpic => 'Epic';@override- String get loginServerType => 'Server type';+ String get achievementsRarityLegendary => 'Legendary';@override- String get authBookOrbitDefaultPassword =>- 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get achievementsLoadFailed => 'Couldn\'t load achievements';@override- String get authBookOrbitPasswordOff =>- 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get achievementsNoneMatch => 'No achievements match this filter';@override- String get authServerIsBookOrbit =>- 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get achievementsSecretName => 'Secret achievement';@override- String get authServerIsAudiobookshelf =>- 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get achievementsSecretHint => 'Keep reading to reveal this one.';@override- String get castNotAvailableBookOrbit =>- 'Casting is not available with BookOrbit servers';+ String achievementsEarnedOn(String date) {+ return 'Earned $date';+ }@override- String get loginMagicLink => 'Magic link';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginMagicLinkDescription =>- 'Sign in with a BookOrbit magic link instead of a password.';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get collectionPublicTitle => 'Public';+ String get achievementsTiers => 'Tiers';@override- String get collectionPublicSubtitle =>- 'Everyone on this server can see this collection';+ String get achievementsAllTiers => 'Every tier earned';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get loginRedirectUriBookOrbit =>- 'Redirect URI: bookorbit://oauth2-callback';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusTitle => 'Reading status';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusHint =>- 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get readStatusOnHold => 'On hold';+ String get achievementsHowToGetIt => 'How to get it';@override- String get readStatusRereading => 'Rereading';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get readStatusRead => 'Read';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get personalNoteTitle => 'Your note';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get coverSlotBook => 'Book cover';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle =>- 'How the buttons on the player card are filled';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other:+ '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview =>- 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening =>- 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';}@override- String get comicBookmarkRemoveFailed =>- 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }@override- String get comicNeedsConnection =>- 'This comic opens page by page from your server, so it needs a connection.';+ String get achievementsSwitch => 'Achievements';@override- String get comicNoPages => 'No pages found in this comic.';+ String get achievementsSwitchSubtitle =>+ 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed =>+ 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/l10n/app_localizations_no.dart b/lib/l10n/app_localizations_no.dartindex 98570311..8242778f 100644--- a/lib/l10n/app_localizations_no.dart+++ b/lib/l10n/app_localizations_no.dart@@ -98,6 +98,19 @@ class AppLocalizationsNo extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle =>+ 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => 'Got it';@@ -4120,6 +4133,24 @@ class AppLocalizationsNo extends AppLocalizations {@overrideString get removedFromContinueListening => 'Removed from Continue Listening';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries => 'Remove from Continue Series';@@ -4833,6 +4864,10 @@ class AppLocalizationsNo extends AppLocalizations {@overrideString get removeDownloadContent => 'This will be removed from your device.';+ @override+ String get removeWhichDownload =>+ 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => 'Download removed';@@ -5380,6 +5415,53 @@ class AppLocalizationsNo extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote =>+ 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced =>'Reset may not have synced - check your server';@@ -10160,6 +10242,22 @@ class AppLocalizationsNo extends AppLocalizations {@overrideString get readerVolumeNavWhilePlaying => 'Even while audio is playing';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint =>+ 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Download more fonts';@@ -10485,651 +10583,2117 @@ class AppLocalizationsNo extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Scan all libraries';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scan $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan started';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldScanFailed => 'Could not start the scan';+ String get activityNotStarted => 'Not started';@override- String get navHoldAdminLogs => 'Server logs';+ String get activityNoReading => 'No reading sessions yet';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityTime => 'Time';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityAverage => 'Avg';@override- String get navHoldReadBook => 'Read current book';+ String get activityProgress => 'Progress';@override- String get navHoldBookDetails => 'Current book details';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceBody =>- 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogAverageSession => 'Average session';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsWhatTravels =>- 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnTitle =>- 'Replace this device\'s settings?';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnBody =>- 'The synced copy will overwrite the settings on this device.';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String get readingLogLastRead => 'Last read';@override- String get readerCopied => 'Copied to clipboard';+ String get readingLogStarted => 'Started';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryError =>- 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogNotSet => 'Not set';@override- String get dictionaryRetry => 'Retry';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipCopy => 'Copy';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipSearch => 'Search';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerTooltipDefine => 'Define';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String get readerSearchHint => 'Search this book…';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count matches for \"$query\"',- one: '$count match for \"$query\"',- );- return '$_temp0';- }+ String get readingLogNewThisWeek => 'New this week';@override- String get readerSearchEmpty => 'Type a word or phrase and tap search.';+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String readerSearchNoResults(String query) {- return 'No matches for \"$query\".';- }+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionAdvancedSubtitle =>- 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionEnableSubtitle =>- 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionDisclaimer =>- 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionNeedModelHint =>- 'Download a model below to start transcribing.';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelSection => 'Models';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelTinyDesc =>- 'Quickest, less accurate. About 31 MB.';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBase => 'Base';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmall => 'Small';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionModelSmallDesc =>- 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionAutoHint =>- 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownload => 'Download';+ String get readingLogAttempts => 'Attempts';@override- String get transcriptionDownloadFailed =>- 'Download failed. Check your connection and try again.';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribe => 'Transcribe';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcribing => 'Transcribing...';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionDisabledHint =>- 'Turn on bookmark transcription in Settings, under Advanced.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNoModelDownloaded =>- 'Download a transcription model in Settings first.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNotDownloadedBook =>- 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionNoMetadataMsg =>- 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionBusyMsg =>- 'Already transcribing something. Give it a moment.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionFailedMsg =>- 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmptyHint =>+ 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionIntroBody =>- 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get transcriptionUseEbookText =>- 'Use the ebook\'s exact text when it can be matched';+ String get readingLogAllTime => 'All time';@override- String get lyricsMode => 'Live transcript';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogThisYear => 'This year';@override- String get lyricsFontSize => 'Line size';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortDay => 'Day';@override- String get lyricsFullCoverHint =>- 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortLength => 'Length';@override- String get lyricsBatteryInfo =>- 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortChange => 'Change';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortReached => 'Reached';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsClearCacheConfirm =>- 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogMostFirst => 'Most first';@override- String get lyricsIntroBody =>- 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogLeastFirst => 'Least first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteBody =>+ 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlong => 'Read along';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get navHoldServerScan => 'Server scan';@override- String get narrationListen => 'Listen';+ String get navHoldScanAll => 'Scan all libraries';@override- String get narrationPlayFromHere => 'Play from here';+ String navHoldScanLibrary(String name) {+ return 'Scan $name';+ }@override- String get narrationPreparing => 'Getting the narration ready';+ String get navHoldScanStarted => 'Scan started';@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanFailed => 'Could not start the scan';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldAdminLogs => 'Server logs';@override- String get narrationDownloadBody =>- 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationDownloadStarted =>- 'Downloading the narration. Tap Absorb when it finishes.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextBody =>- 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldReadBook => 'Read current book';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldBookDetails => 'Current book details';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get syncSourceTitle => 'Which copy should sync keep?';++ @override+ String get syncSourceBody =>+ 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';++ @override+ String get syncSourceUseServer => 'Server\'s last sync';++ @override+ String get syncSourceUseBackup => 'This backup';++ @override+ String get syncSettingsWhatTravels =>+ 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';++ @override+ String get syncSettingsDownloadWarnTitle =>+ 'Replace this device\'s settings?';++ @override+ String get syncSettingsDownloadWarnBody =>+ 'The synced copy will overwrite the settings on this device.';++ @override+ String get syncSettingsDownloadWarnConfirm => 'Replace';++ @override+ String get readerCopied => 'Copied to clipboard';++ @override+ String get dictionaryNotFound => 'No definition found for this word.';++ @override+ String get dictionaryError =>+ 'Couldn\'t reach the dictionary. Check your connection.';++ @override+ String get dictionaryRetry => 'Retry';++ @override+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Copy';++ @override+ String get readerTooltipSearch => 'Search';++ @override+ String get readerTooltipDefine => 'Define';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Search this book…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count matches for \"$query\"',+ one: '$count match for \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty => 'Type a word or phrase and tap search.';++ @override+ String readerSearchNoResults(String query) {+ return 'No matches for \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle =>+ 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle =>+ 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer =>+ 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';++ @override+ String get transcriptionNeedModelHint =>+ 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc =>+ 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc =>+ 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint =>+ 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed =>+ 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint =>+ 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded =>+ 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook =>+ 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg =>+ 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg =>+ 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg =>+ 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody =>+ 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';++ @override+ String get transcriptionUseEbookText =>+ 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint =>+ 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo =>+ 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm =>+ 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody =>+ 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody =>+ 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted =>+ 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody =>+ 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';@overrideString get narrationUpNextTitle => 'Download what\'s up next';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload =>+ 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted =>+ 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint =>+ 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';++ @override+ String get syncFindingEbook => 'Finding your spot in the ebook';++ @override+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint =>+ 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';++ @override+ String get findInAudiobook => 'Find in audiobook';++ @override+ String get findInAudiobookSearching =>+ 'Finding this spot in the audiobook...';++ @override+ String get findInAudiobookStillSearching =>+ 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong =>+ 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound =>+ 'Couldn\'t find this spot in the audiobook.';++ @override+ String get transcriptionWhisperInfo =>+ 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';++ @override+ String get transcriptionWhisperLearnMore => 'Learn more about Whisper';++ @override+ String get findInAudiobookIntroBody =>+ 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Keep reading';++ @override+ String get findInAudiobookGoPlayer => 'Open the player';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead =>+ 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead =>+ 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed =>+ 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart =>+ 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle =>+ 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle =>+ 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword =>+ 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff =>+ 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit =>+ 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf =>+ 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit =>+ 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription =>+ 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle =>+ 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit =>+ 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint =>+ 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle =>+ 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview =>+ 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening =>+ 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed =>+ 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection =>+ 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint =>+ 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll =>+ 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle =>+ 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal =>+ 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody =>+ 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules =>+ 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody =>+ 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust =>+ 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired =>+ 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect =>+ 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged =>+ 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink =>+ 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill =>+ 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint =>+ 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed =>+ 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle =>+ 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint =>+ 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody =>+ 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }++ @override+ String get boNotificationsMarkAllRead => 'Mark all read';++ @override+ String get boNotificationsClearAll => 'Clear all';++ @override+ String get boNotificationsClearTitle => 'Clear all notifications?';++ @override+ String get boNotificationsClearBody =>+ 'This removes every notification from your BookOrbit account.';++ @override+ String get boNotificationsEmpty => 'No notifications yet';++ @override+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';++ @override+ String get boNotificationsUpdateFailed =>+ 'Couldn\'t update notifications on BookOrbit';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';}@override- String get transcriptionNeedsDownload =>- 'This needs the audio on your phone. Download it now?';+ String get boNotificationsSettings => 'Notification settings';@override- String get transcriptionDownloadStarted =>- 'Downloading. Turn this on again when it finishes';+ String get boNotificationsSettingsIntro =>+ 'Choose which notifications BookOrbit keeps for you.';@override- String get readAlongFollow => 'Read along follows';+ String get boNotificationsProblemsHint =>+ 'Problems only notifies you when something fails or needs attention.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get boNotificationLevelOff => 'Off';@override- String get syncReadingListeningHint =>- 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get boNotificationLevelProblems => 'Problems';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get boNotificationLevelAll => 'All';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get boNotificationsSaveFailed =>+ 'Couldn\'t save notification settings';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get boNotificationGroupLibrary => 'Library';@override- String get syncFindingEbook => 'Finding your spot in the ebook';+ String get boNotificationGroupFiles => 'Files';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationGroupPersonal => 'Personal';@override- String get syncPosition => 'Sync position';+ String get boNotifyScanning => 'Library scanning';@override- String get readAlongFollowHint =>- 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotifyScanningDesc =>+ 'When a library scan finishes, fails, or finds missing books.';@override- String get readAlongFollowWord => 'Word';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotifyMetadataDesc =>+ 'When metadata lookups for your books finish or fail.';@override- String get readAlongColor => 'Read along color';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotifyAuthorEnrichmentDesc =>+ 'When author biographies and photos finish downloading.';@override- String get readAlongBackToNarration => 'Back to narration';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get findInEbook => 'Find in ebook';+ String get boNotifyFileWriteBackDesc =>+ 'When edited details are saved into the book files on disk.';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotifyFileRename => 'File renaming';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotifyFileRenameDesc =>+ 'When a book file is renamed to match your naming pattern.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';+ String get boNotifyBulkRenameDesc =>+ 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get findInAudiobook => 'Find in audiobook';+ String get boNotifyMigration => 'Imports';@override- String get findInAudiobookSearching =>- 'Finding this spot in the audiobook...';+ String get boNotifyMigrationDesc =>+ 'When an import from another library app finishes or fails.';@override- String get findInAudiobookStillSearching =>- 'Still searching the audio for this spot...';+ String get boNotifyBookDock => 'Book Dock';@override- String get findInAudiobookSearchingLong =>- 'Long chapter, still searching. This can take a minute or two...';+ String get boNotifyBookDockDesc =>+ 'When Book Dock finishes adding books or runs into problems.';@override- String get findInAudiobookNotFound =>- 'Couldn\'t find this spot in the audiobook.';+ String get boNotifyBookRequests => 'Book requests';@override- String get transcriptionWhisperInfo =>- 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';+ String get boNotifyBookRequestsDesc =>+ 'When a book request is submitted or decided, or the book becomes available.';@override- String get transcriptionWhisperLearnMore => 'Learn more about Whisper';+ String get boNotifyEmail => 'Email delivery';@override- String get findInAudiobookIntroBody =>- 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';+ String get boNotifyEmailDesc =>+ 'When sending a book by email works or fails.';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyAchievements => 'Achievements';@override- String get findInAudiobookStay => 'Keep reading';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get findInAudiobookGoPlayer => 'Open the player';+ String get achievementsTitle => 'Achievements';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get catchUpAudioAhead =>- 'The audiobook is further along. Tap to go there.';+ String get achievementsFilterAll => 'All';@override- String get catchUpPageAhead =>- 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get achievementsFilterEarned => 'Earned';@override- String get readerShortcutButton => 'Shortcut button';+ String get achievementsFilterInProgress => 'In progress';@override- String get keepScreenOn => 'Keep screen on';+ String get achievementsFilterLocked => 'Locked';@override- String get keepScreenOnActive => 'Screen stays on';+ String get achievementsCategoryReading => 'Reading';@override- String get keepScreenOnUntilClosed =>- 'Screen stays on until you close the app';+ String get achievementsCategoryLibrary => 'Library';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get achievementsCategoryExploration => 'Exploration';@override- String get keepScreenOnOffUntilRestart =>- 'Off until the app restarts. The Settings switch stays on';+ String get achievementsCategoryDedication => 'Dedication';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get achievementsCategoryDevices => 'Devices';@override- String get keepScreenOnPlayerSubtitle =>- 'The screen stays on while the player is open';+ String get achievementsRarityCommon => 'Common';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get achievementsRarityRare => 'Rare';@override- String get keepScreenOnCarModeSubtitle =>- 'The screen stays on while car mode is open';+ String get achievementsRarityEpic => 'Epic';@override- String get loginServerType => 'Server type';+ String get achievementsRarityLegendary => 'Legendary';@override- String get authBookOrbitDefaultPassword =>- 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get achievementsLoadFailed => 'Couldn\'t load achievements';@override- String get authBookOrbitPasswordOff =>- 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get achievementsNoneMatch => 'No achievements match this filter';@override- String get authServerIsBookOrbit =>- 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get achievementsSecretName => 'Secret achievement';@override- String get authServerIsAudiobookshelf =>- 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get achievementsSecretHint => 'Keep reading to reveal this one.';@override- String get castNotAvailableBookOrbit =>- 'Casting is not available with BookOrbit servers';+ String achievementsEarnedOn(String date) {+ return 'Earned $date';+ }@override- String get loginMagicLink => 'Magic link';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginMagicLinkDescription =>- 'Sign in with a BookOrbit magic link instead of a password.';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get collectionPublicTitle => 'Public';+ String get achievementsTiers => 'Tiers';@override- String get collectionPublicSubtitle =>- 'Everyone on this server can see this collection';+ String get achievementsAllTiers => 'Every tier earned';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get loginRedirectUriBookOrbit =>- 'Redirect URI: bookorbit://oauth2-callback';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusTitle => 'Reading status';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusHint =>- 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get readStatusOnHold => 'On hold';+ String get achievementsHowToGetIt => 'How to get it';@override- String get readStatusRereading => 'Rereading';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get readStatusRead => 'Read';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get personalNoteTitle => 'Your note';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get coverSlotBook => 'Book cover';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle =>- 'How the buttons on the player card are filled';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other:+ '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview =>- 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening =>- 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';}@override- String get comicBookmarkRemoveFailed =>- 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }@override- String get comicNeedsConnection =>- 'This comic opens page by page from your server, so it needs a connection.';+ String get achievementsSwitch => 'Achievements';@override- String get comicNoPages => 'No pages found in this comic.';+ String get achievementsSwitchSubtitle =>+ 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed =>+ 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/l10n/app_localizations_pt.dart b/lib/l10n/app_localizations_pt.dartindex d1590e8e..65e8fa47 100644--- a/lib/l10n/app_localizations_pt.dart+++ b/lib/l10n/app_localizations_pt.dart@@ -98,6 +98,19 @@ class AppLocalizationsPt extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle =>+ 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => 'Got it';@@ -4120,6 +4133,24 @@ class AppLocalizationsPt extends AppLocalizations {@overrideString get removedFromContinueListening => 'Removed from Continue Listening';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries => 'Remove from Continue Series';@@ -4833,6 +4864,10 @@ class AppLocalizationsPt extends AppLocalizations {@overrideString get removeDownloadContent => 'This will be removed from your device.';+ @override+ String get removeWhichDownload =>+ 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => 'Download removed';@@ -5380,6 +5415,53 @@ class AppLocalizationsPt extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote =>+ 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced =>'Reset may not have synced - check your server';@@ -10160,6 +10242,22 @@ class AppLocalizationsPt extends AppLocalizations {@overrideString get readerVolumeNavWhilePlaying => 'Even while audio is playing';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint =>+ 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Download more fonts';@@ -10485,651 +10583,2117 @@ class AppLocalizationsPt extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Scan all libraries';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scan $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan started';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldScanFailed => 'Could not start the scan';+ String get activityNotStarted => 'Not started';@override- String get navHoldAdminLogs => 'Server logs';+ String get activityNoReading => 'No reading sessions yet';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityTime => 'Time';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityAverage => 'Avg';@override- String get navHoldReadBook => 'Read current book';+ String get activityProgress => 'Progress';@override- String get navHoldBookDetails => 'Current book details';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceBody =>- 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogAverageSession => 'Average session';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsWhatTravels =>- 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnTitle =>- 'Replace this device\'s settings?';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnBody =>- 'The synced copy will overwrite the settings on this device.';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String get readingLogLastRead => 'Last read';@override- String get readerCopied => 'Copied to clipboard';+ String get readingLogStarted => 'Started';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryError =>- 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogNotSet => 'Not set';@override- String get dictionaryRetry => 'Retry';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipCopy => 'Copy';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipSearch => 'Search';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerTooltipDefine => 'Define';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String get readerSearchHint => 'Search this book…';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count matches for \"$query\"',- one: '$count match for \"$query\"',- );- return '$_temp0';- }+ String get readingLogNewThisWeek => 'New this week';@override- String get readerSearchEmpty => 'Type a word or phrase and tap search.';+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String readerSearchNoResults(String query) {- return 'No matches for \"$query\".';- }+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionAdvancedSubtitle =>- 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionEnableSubtitle =>- 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionDisclaimer =>- 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionNeedModelHint =>- 'Download a model below to start transcribing.';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelSection => 'Models';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelTinyDesc =>- 'Quickest, less accurate. About 31 MB.';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBase => 'Base';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmall => 'Small';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionModelSmallDesc =>- 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionAutoHint =>- 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownload => 'Download';+ String get readingLogAttempts => 'Attempts';@override- String get transcriptionDownloadFailed =>- 'Download failed. Check your connection and try again.';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribe => 'Transcribe';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcribing => 'Transcribing...';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionDisabledHint =>- 'Turn on bookmark transcription in Settings, under Advanced.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNoModelDownloaded =>- 'Download a transcription model in Settings first.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNotDownloadedBook =>- 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionNoMetadataMsg =>- 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionBusyMsg =>- 'Already transcribing something. Give it a moment.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionFailedMsg =>- 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmptyHint =>+ 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionIntroBody =>- 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get transcriptionUseEbookText =>- 'Use the ebook\'s exact text when it can be matched';+ String get readingLogAllTime => 'All time';@override- String get lyricsMode => 'Live transcript';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogThisYear => 'This year';@override- String get lyricsFontSize => 'Line size';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortDay => 'Day';@override- String get lyricsFullCoverHint =>- 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortLength => 'Length';@override- String get lyricsBatteryInfo =>- 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortChange => 'Change';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortReached => 'Reached';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsClearCacheConfirm =>- 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogMostFirst => 'Most first';@override- String get lyricsIntroBody =>- 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogLeastFirst => 'Least first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteBody =>+ 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlong => 'Read along';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get navHoldServerScan => 'Server scan';@override- String get narrationListen => 'Listen';+ String get navHoldScanAll => 'Scan all libraries';@override- String get narrationPlayFromHere => 'Play from here';+ String navHoldScanLibrary(String name) {+ return 'Scan $name';+ }@override- String get narrationPreparing => 'Getting the narration ready';+ String get navHoldScanStarted => 'Scan started';@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanFailed => 'Could not start the scan';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldAdminLogs => 'Server logs';@override- String get narrationDownloadBody =>- 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationDownloadStarted =>- 'Downloading the narration. Tap Absorb when it finishes.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextBody =>- 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldReadBook => 'Read current book';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldBookDetails => 'Current book details';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get syncSourceTitle => 'Which copy should sync keep?';++ @override+ String get syncSourceBody =>+ 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';++ @override+ String get syncSourceUseServer => 'Server\'s last sync';++ @override+ String get syncSourceUseBackup => 'This backup';++ @override+ String get syncSettingsWhatTravels =>+ 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';++ @override+ String get syncSettingsDownloadWarnTitle =>+ 'Replace this device\'s settings?';++ @override+ String get syncSettingsDownloadWarnBody =>+ 'The synced copy will overwrite the settings on this device.';++ @override+ String get syncSettingsDownloadWarnConfirm => 'Replace';++ @override+ String get readerCopied => 'Copied to clipboard';++ @override+ String get dictionaryNotFound => 'No definition found for this word.';++ @override+ String get dictionaryError =>+ 'Couldn\'t reach the dictionary. Check your connection.';++ @override+ String get dictionaryRetry => 'Retry';++ @override+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Copy';++ @override+ String get readerTooltipSearch => 'Search';++ @override+ String get readerTooltipDefine => 'Define';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Search this book…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count matches for \"$query\"',+ one: '$count match for \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty => 'Type a word or phrase and tap search.';++ @override+ String readerSearchNoResults(String query) {+ return 'No matches for \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle =>+ 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle =>+ 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer =>+ 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';++ @override+ String get transcriptionNeedModelHint =>+ 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc =>+ 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc =>+ 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint =>+ 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed =>+ 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint =>+ 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded =>+ 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook =>+ 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg =>+ 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg =>+ 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg =>+ 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody =>+ 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';++ @override+ String get transcriptionUseEbookText =>+ 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint =>+ 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo =>+ 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm =>+ 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody =>+ 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody =>+ 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted =>+ 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody =>+ 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';@overrideString get narrationUpNextTitle => 'Download what\'s up next';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload =>+ 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted =>+ 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint =>+ 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';++ @override+ String get syncFindingEbook => 'Finding your spot in the ebook';++ @override+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint =>+ 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';++ @override+ String get findInAudiobook => 'Find in audiobook';++ @override+ String get findInAudiobookSearching =>+ 'Finding this spot in the audiobook...';++ @override+ String get findInAudiobookStillSearching =>+ 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong =>+ 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound =>+ 'Couldn\'t find this spot in the audiobook.';++ @override+ String get transcriptionWhisperInfo =>+ 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';++ @override+ String get transcriptionWhisperLearnMore => 'Learn more about Whisper';++ @override+ String get findInAudiobookIntroBody =>+ 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Keep reading';++ @override+ String get findInAudiobookGoPlayer => 'Open the player';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead =>+ 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead =>+ 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed =>+ 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart =>+ 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle =>+ 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle =>+ 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword =>+ 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff =>+ 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit =>+ 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf =>+ 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit =>+ 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription =>+ 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle =>+ 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit =>+ 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint =>+ 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle =>+ 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview =>+ 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening =>+ 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed =>+ 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection =>+ 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint =>+ 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll =>+ 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle =>+ 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal =>+ 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody =>+ 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules =>+ 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody =>+ 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust =>+ 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired =>+ 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect =>+ 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged =>+ 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink =>+ 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill =>+ 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint =>+ 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed =>+ 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle =>+ 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint =>+ 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody =>+ 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }++ @override+ String get boNotificationsMarkAllRead => 'Mark all read';++ @override+ String get boNotificationsClearAll => 'Clear all';++ @override+ String get boNotificationsClearTitle => 'Clear all notifications?';++ @override+ String get boNotificationsClearBody =>+ 'This removes every notification from your BookOrbit account.';++ @override+ String get boNotificationsEmpty => 'No notifications yet';++ @override+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';++ @override+ String get boNotificationsUpdateFailed =>+ 'Couldn\'t update notifications on BookOrbit';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';}@override- String get transcriptionNeedsDownload =>- 'This needs the audio on your phone. Download it now?';+ String get boNotificationsSettings => 'Notification settings';@override- String get transcriptionDownloadStarted =>- 'Downloading. Turn this on again when it finishes';+ String get boNotificationsSettingsIntro =>+ 'Choose which notifications BookOrbit keeps for you.';@override- String get readAlongFollow => 'Read along follows';+ String get boNotificationsProblemsHint =>+ 'Problems only notifies you when something fails or needs attention.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get boNotificationLevelOff => 'Off';@override- String get syncReadingListeningHint =>- 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get boNotificationLevelProblems => 'Problems';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get boNotificationLevelAll => 'All';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get boNotificationsSaveFailed =>+ 'Couldn\'t save notification settings';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get boNotificationGroupLibrary => 'Library';@override- String get syncFindingEbook => 'Finding your spot in the ebook';+ String get boNotificationGroupFiles => 'Files';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationGroupPersonal => 'Personal';@override- String get syncPosition => 'Sync position';+ String get boNotifyScanning => 'Library scanning';@override- String get readAlongFollowHint =>- 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotifyScanningDesc =>+ 'When a library scan finishes, fails, or finds missing books.';@override- String get readAlongFollowWord => 'Word';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotifyMetadataDesc =>+ 'When metadata lookups for your books finish or fail.';@override- String get readAlongColor => 'Read along color';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotifyAuthorEnrichmentDesc =>+ 'When author biographies and photos finish downloading.';@override- String get readAlongBackToNarration => 'Back to narration';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get findInEbook => 'Find in ebook';+ String get boNotifyFileWriteBackDesc =>+ 'When edited details are saved into the book files on disk.';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotifyFileRename => 'File renaming';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotifyFileRenameDesc =>+ 'When a book file is renamed to match your naming pattern.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';+ String get boNotifyBulkRenameDesc =>+ 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get findInAudiobook => 'Find in audiobook';+ String get boNotifyMigration => 'Imports';@override- String get findInAudiobookSearching =>- 'Finding this spot in the audiobook...';+ String get boNotifyMigrationDesc =>+ 'When an import from another library app finishes or fails.';@override- String get findInAudiobookStillSearching =>- 'Still searching the audio for this spot...';+ String get boNotifyBookDock => 'Book Dock';@override- String get findInAudiobookSearchingLong =>- 'Long chapter, still searching. This can take a minute or two...';+ String get boNotifyBookDockDesc =>+ 'When Book Dock finishes adding books or runs into problems.';@override- String get findInAudiobookNotFound =>- 'Couldn\'t find this spot in the audiobook.';+ String get boNotifyBookRequests => 'Book requests';@override- String get transcriptionWhisperInfo =>- 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';+ String get boNotifyBookRequestsDesc =>+ 'When a book request is submitted or decided, or the book becomes available.';@override- String get transcriptionWhisperLearnMore => 'Learn more about Whisper';+ String get boNotifyEmail => 'Email delivery';@override- String get findInAudiobookIntroBody =>- 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';+ String get boNotifyEmailDesc =>+ 'When sending a book by email works or fails.';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyAchievements => 'Achievements';@override- String get findInAudiobookStay => 'Keep reading';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get findInAudiobookGoPlayer => 'Open the player';+ String get achievementsTitle => 'Achievements';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get catchUpAudioAhead =>- 'The audiobook is further along. Tap to go there.';+ String get achievementsFilterAll => 'All';@override- String get catchUpPageAhead =>- 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get achievementsFilterEarned => 'Earned';@override- String get readerShortcutButton => 'Shortcut button';+ String get achievementsFilterInProgress => 'In progress';@override- String get keepScreenOn => 'Keep screen on';+ String get achievementsFilterLocked => 'Locked';@override- String get keepScreenOnActive => 'Screen stays on';+ String get achievementsCategoryReading => 'Reading';@override- String get keepScreenOnUntilClosed =>- 'Screen stays on until you close the app';+ String get achievementsCategoryLibrary => 'Library';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get achievementsCategoryExploration => 'Exploration';@override- String get keepScreenOnOffUntilRestart =>- 'Off until the app restarts. The Settings switch stays on';+ String get achievementsCategoryDedication => 'Dedication';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get achievementsCategoryDevices => 'Devices';@override- String get keepScreenOnPlayerSubtitle =>- 'The screen stays on while the player is open';+ String get achievementsRarityCommon => 'Common';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get achievementsRarityRare => 'Rare';@override- String get keepScreenOnCarModeSubtitle =>- 'The screen stays on while car mode is open';+ String get achievementsRarityEpic => 'Epic';@override- String get loginServerType => 'Server type';+ String get achievementsRarityLegendary => 'Legendary';@override- String get authBookOrbitDefaultPassword =>- 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get achievementsLoadFailed => 'Couldn\'t load achievements';@override- String get authBookOrbitPasswordOff =>- 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get achievementsNoneMatch => 'No achievements match this filter';@override- String get authServerIsBookOrbit =>- 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get achievementsSecretName => 'Secret achievement';@override- String get authServerIsAudiobookshelf =>- 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get achievementsSecretHint => 'Keep reading to reveal this one.';@override- String get castNotAvailableBookOrbit =>- 'Casting is not available with BookOrbit servers';+ String achievementsEarnedOn(String date) {+ return 'Earned $date';+ }@override- String get loginMagicLink => 'Magic link';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginMagicLinkDescription =>- 'Sign in with a BookOrbit magic link instead of a password.';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get collectionPublicTitle => 'Public';+ String get achievementsTiers => 'Tiers';@override- String get collectionPublicSubtitle =>- 'Everyone on this server can see this collection';+ String get achievementsAllTiers => 'Every tier earned';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get loginRedirectUriBookOrbit =>- 'Redirect URI: bookorbit://oauth2-callback';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusTitle => 'Reading status';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusHint =>- 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get readStatusOnHold => 'On hold';+ String get achievementsHowToGetIt => 'How to get it';@override- String get readStatusRereading => 'Rereading';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get readStatusRead => 'Read';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get personalNoteTitle => 'Your note';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get coverSlotBook => 'Book cover';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle =>- 'How the buttons on the player card are filled';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other:+ '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview =>- 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening =>- 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';}@override- String get comicBookmarkRemoveFailed =>- 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }@override- String get comicNeedsConnection =>- 'This comic opens page by page from your server, so it needs a connection.';+ String get achievementsSwitch => 'Achievements';@override- String get comicNoPages => 'No pages found in this comic.';+ String get achievementsSwitchSubtitle =>+ 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed =>+ 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/l10n/app_localizations_ro.dart b/lib/l10n/app_localizations_ro.dartindex f3661755..cf012b39 100644--- a/lib/l10n/app_localizations_ro.dart+++ b/lib/l10n/app_localizations_ro.dart@@ -98,6 +98,19 @@ class AppLocalizationsRo extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle =>+ 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => 'Got it';@@ -4120,6 +4133,24 @@ class AppLocalizationsRo extends AppLocalizations {@overrideString get removedFromContinueListening => 'Removed from Continue Listening';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries => 'Remove from Continue Series';@@ -4833,6 +4864,10 @@ class AppLocalizationsRo extends AppLocalizations {@overrideString get removeDownloadContent => 'This will be removed from your device.';+ @override+ String get removeWhichDownload =>+ 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => 'Download removed';@@ -5380,6 +5415,53 @@ class AppLocalizationsRo extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote =>+ 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced =>'Reset may not have synced - check your server';@@ -10160,6 +10242,22 @@ class AppLocalizationsRo extends AppLocalizations {@overrideString get readerVolumeNavWhilePlaying => 'Even while audio is playing';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint =>+ 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Download more fonts';@@ -10485,651 +10583,2117 @@ class AppLocalizationsRo extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Scan all libraries';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scan $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan started';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldScanFailed => 'Could not start the scan';+ String get activityNotStarted => 'Not started';@override- String get navHoldAdminLogs => 'Server logs';+ String get activityNoReading => 'No reading sessions yet';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityTime => 'Time';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityAverage => 'Avg';@override- String get navHoldReadBook => 'Read current book';+ String get activityProgress => 'Progress';@override- String get navHoldBookDetails => 'Current book details';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceBody =>- 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogAverageSession => 'Average session';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsWhatTravels =>- 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnTitle =>- 'Replace this device\'s settings?';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnBody =>- 'The synced copy will overwrite the settings on this device.';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String get readingLogLastRead => 'Last read';@override- String get readerCopied => 'Copied to clipboard';+ String get readingLogStarted => 'Started';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryError =>- 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogNotSet => 'Not set';@override- String get dictionaryRetry => 'Retry';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipCopy => 'Copy';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipSearch => 'Search';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerTooltipDefine => 'Define';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String get readerSearchHint => 'Search this book…';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count matches for \"$query\"',- one: '$count match for \"$query\"',- );- return '$_temp0';- }+ String get readingLogNewThisWeek => 'New this week';@override- String get readerSearchEmpty => 'Type a word or phrase and tap search.';+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String readerSearchNoResults(String query) {- return 'No matches for \"$query\".';- }+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionAdvancedSubtitle =>- 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionEnableSubtitle =>- 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionDisclaimer =>- 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionNeedModelHint =>- 'Download a model below to start transcribing.';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelSection => 'Models';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelTinyDesc =>- 'Quickest, less accurate. About 31 MB.';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBase => 'Base';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmall => 'Small';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionModelSmallDesc =>- 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionAutoHint =>- 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownload => 'Download';+ String get readingLogAttempts => 'Attempts';@override- String get transcriptionDownloadFailed =>- 'Download failed. Check your connection and try again.';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribe => 'Transcribe';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcribing => 'Transcribing...';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionDisabledHint =>- 'Turn on bookmark transcription in Settings, under Advanced.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNoModelDownloaded =>- 'Download a transcription model in Settings first.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNotDownloadedBook =>- 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionNoMetadataMsg =>- 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionBusyMsg =>- 'Already transcribing something. Give it a moment.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionFailedMsg =>- 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmptyHint =>+ 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionIntroBody =>- 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get transcriptionUseEbookText =>- 'Use the ebook\'s exact text when it can be matched';+ String get readingLogAllTime => 'All time';@override- String get lyricsMode => 'Live transcript';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogThisYear => 'This year';@override- String get lyricsFontSize => 'Line size';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortDay => 'Day';@override- String get lyricsFullCoverHint =>- 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortLength => 'Length';@override- String get lyricsBatteryInfo =>- 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortChange => 'Change';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortReached => 'Reached';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsClearCacheConfirm =>- 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogMostFirst => 'Most first';@override- String get lyricsIntroBody =>- 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogLeastFirst => 'Least first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteBody =>+ 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlong => 'Read along';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get navHoldServerScan => 'Server scan';@override- String get narrationListen => 'Listen';+ String get navHoldScanAll => 'Scan all libraries';@override- String get narrationPlayFromHere => 'Play from here';+ String navHoldScanLibrary(String name) {+ return 'Scan $name';+ }@override- String get narrationPreparing => 'Getting the narration ready';+ String get navHoldScanStarted => 'Scan started';@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanFailed => 'Could not start the scan';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldAdminLogs => 'Server logs';@override- String get narrationDownloadBody =>- 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationDownloadStarted =>- 'Downloading the narration. Tap Absorb when it finishes.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextBody =>- 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldReadBook => 'Read current book';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldBookDetails => 'Current book details';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get syncSourceTitle => 'Which copy should sync keep?';++ @override+ String get syncSourceBody =>+ 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';++ @override+ String get syncSourceUseServer => 'Server\'s last sync';++ @override+ String get syncSourceUseBackup => 'This backup';++ @override+ String get syncSettingsWhatTravels =>+ 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';++ @override+ String get syncSettingsDownloadWarnTitle =>+ 'Replace this device\'s settings?';++ @override+ String get syncSettingsDownloadWarnBody =>+ 'The synced copy will overwrite the settings on this device.';++ @override+ String get syncSettingsDownloadWarnConfirm => 'Replace';++ @override+ String get readerCopied => 'Copied to clipboard';++ @override+ String get dictionaryNotFound => 'No definition found for this word.';++ @override+ String get dictionaryError =>+ 'Couldn\'t reach the dictionary. Check your connection.';++ @override+ String get dictionaryRetry => 'Retry';++ @override+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Copy';++ @override+ String get readerTooltipSearch => 'Search';++ @override+ String get readerTooltipDefine => 'Define';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Search this book…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count matches for \"$query\"',+ one: '$count match for \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty => 'Type a word or phrase and tap search.';++ @override+ String readerSearchNoResults(String query) {+ return 'No matches for \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle =>+ 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle =>+ 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer =>+ 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';++ @override+ String get transcriptionNeedModelHint =>+ 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc =>+ 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc =>+ 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint =>+ 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed =>+ 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint =>+ 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded =>+ 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook =>+ 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg =>+ 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg =>+ 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg =>+ 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody =>+ 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';++ @override+ String get transcriptionUseEbookText =>+ 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint =>+ 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo =>+ 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm =>+ 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody =>+ 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody =>+ 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted =>+ 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody =>+ 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';@overrideString get narrationUpNextTitle => 'Download what\'s up next';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload =>+ 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted =>+ 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint =>+ 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';++ @override+ String get syncFindingEbook => 'Finding your spot in the ebook';++ @override+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint =>+ 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';++ @override+ String get findInAudiobook => 'Find in audiobook';++ @override+ String get findInAudiobookSearching =>+ 'Finding this spot in the audiobook...';++ @override+ String get findInAudiobookStillSearching =>+ 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong =>+ 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound =>+ 'Couldn\'t find this spot in the audiobook.';++ @override+ String get transcriptionWhisperInfo =>+ 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';++ @override+ String get transcriptionWhisperLearnMore => 'Learn more about Whisper';++ @override+ String get findInAudiobookIntroBody =>+ 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Keep reading';++ @override+ String get findInAudiobookGoPlayer => 'Open the player';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead =>+ 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead =>+ 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed =>+ 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart =>+ 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle =>+ 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle =>+ 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword =>+ 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff =>+ 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit =>+ 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf =>+ 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit =>+ 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription =>+ 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle =>+ 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit =>+ 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint =>+ 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle =>+ 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview =>+ 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening =>+ 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed =>+ 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection =>+ 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint =>+ 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll =>+ 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle =>+ 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal =>+ 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody =>+ 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules =>+ 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody =>+ 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust =>+ 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired =>+ 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect =>+ 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged =>+ 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink =>+ 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill =>+ 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint =>+ 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed =>+ 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle =>+ 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint =>+ 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody =>+ 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }++ @override+ String get boNotificationsMarkAllRead => 'Mark all read';++ @override+ String get boNotificationsClearAll => 'Clear all';++ @override+ String get boNotificationsClearTitle => 'Clear all notifications?';++ @override+ String get boNotificationsClearBody =>+ 'This removes every notification from your BookOrbit account.';++ @override+ String get boNotificationsEmpty => 'No notifications yet';++ @override+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';++ @override+ String get boNotificationsUpdateFailed =>+ 'Couldn\'t update notifications on BookOrbit';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';}@override- String get transcriptionNeedsDownload =>- 'This needs the audio on your phone. Download it now?';+ String get boNotificationsSettings => 'Notification settings';@override- String get transcriptionDownloadStarted =>- 'Downloading. Turn this on again when it finishes';+ String get boNotificationsSettingsIntro =>+ 'Choose which notifications BookOrbit keeps for you.';@override- String get readAlongFollow => 'Read along follows';+ String get boNotificationsProblemsHint =>+ 'Problems only notifies you when something fails or needs attention.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get boNotificationLevelOff => 'Off';@override- String get syncReadingListeningHint =>- 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get boNotificationLevelProblems => 'Problems';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get boNotificationLevelAll => 'All';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get boNotificationsSaveFailed =>+ 'Couldn\'t save notification settings';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get boNotificationGroupLibrary => 'Library';@override- String get syncFindingEbook => 'Finding your spot in the ebook';+ String get boNotificationGroupFiles => 'Files';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationGroupPersonal => 'Personal';@override- String get syncPosition => 'Sync position';+ String get boNotifyScanning => 'Library scanning';@override- String get readAlongFollowHint =>- 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotifyScanningDesc =>+ 'When a library scan finishes, fails, or finds missing books.';@override- String get readAlongFollowWord => 'Word';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotifyMetadataDesc =>+ 'When metadata lookups for your books finish or fail.';@override- String get readAlongColor => 'Read along color';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotifyAuthorEnrichmentDesc =>+ 'When author biographies and photos finish downloading.';@override- String get readAlongBackToNarration => 'Back to narration';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get findInEbook => 'Find in ebook';+ String get boNotifyFileWriteBackDesc =>+ 'When edited details are saved into the book files on disk.';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotifyFileRename => 'File renaming';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotifyFileRenameDesc =>+ 'When a book file is renamed to match your naming pattern.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';+ String get boNotifyBulkRenameDesc =>+ 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get findInAudiobook => 'Find in audiobook';+ String get boNotifyMigration => 'Imports';@override- String get findInAudiobookSearching =>- 'Finding this spot in the audiobook...';+ String get boNotifyMigrationDesc =>+ 'When an import from another library app finishes or fails.';@override- String get findInAudiobookStillSearching =>- 'Still searching the audio for this spot...';+ String get boNotifyBookDock => 'Book Dock';@override- String get findInAudiobookSearchingLong =>- 'Long chapter, still searching. This can take a minute or two...';+ String get boNotifyBookDockDesc =>+ 'When Book Dock finishes adding books or runs into problems.';@override- String get findInAudiobookNotFound =>- 'Couldn\'t find this spot in the audiobook.';+ String get boNotifyBookRequests => 'Book requests';@override- String get transcriptionWhisperInfo =>- 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';+ String get boNotifyBookRequestsDesc =>+ 'When a book request is submitted or decided, or the book becomes available.';@override- String get transcriptionWhisperLearnMore => 'Learn more about Whisper';+ String get boNotifyEmail => 'Email delivery';@override- String get findInAudiobookIntroBody =>- 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';+ String get boNotifyEmailDesc =>+ 'When sending a book by email works or fails.';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyAchievements => 'Achievements';@override- String get findInAudiobookStay => 'Keep reading';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get findInAudiobookGoPlayer => 'Open the player';+ String get achievementsTitle => 'Achievements';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get catchUpAudioAhead =>- 'The audiobook is further along. Tap to go there.';+ String get achievementsFilterAll => 'All';@override- String get catchUpPageAhead =>- 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get achievementsFilterEarned => 'Earned';@override- String get readerShortcutButton => 'Shortcut button';+ String get achievementsFilterInProgress => 'In progress';@override- String get keepScreenOn => 'Keep screen on';+ String get achievementsFilterLocked => 'Locked';@override- String get keepScreenOnActive => 'Screen stays on';+ String get achievementsCategoryReading => 'Reading';@override- String get keepScreenOnUntilClosed =>- 'Screen stays on until you close the app';+ String get achievementsCategoryLibrary => 'Library';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get achievementsCategoryExploration => 'Exploration';@override- String get keepScreenOnOffUntilRestart =>- 'Off until the app restarts. The Settings switch stays on';+ String get achievementsCategoryDedication => 'Dedication';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get achievementsCategoryDevices => 'Devices';@override- String get keepScreenOnPlayerSubtitle =>- 'The screen stays on while the player is open';+ String get achievementsRarityCommon => 'Common';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get achievementsRarityRare => 'Rare';@override- String get keepScreenOnCarModeSubtitle =>- 'The screen stays on while car mode is open';+ String get achievementsRarityEpic => 'Epic';@override- String get loginServerType => 'Server type';+ String get achievementsRarityLegendary => 'Legendary';@override- String get authBookOrbitDefaultPassword =>- 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get achievementsLoadFailed => 'Couldn\'t load achievements';@override- String get authBookOrbitPasswordOff =>- 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get achievementsNoneMatch => 'No achievements match this filter';@override- String get authServerIsBookOrbit =>- 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get achievementsSecretName => 'Secret achievement';@override- String get authServerIsAudiobookshelf =>- 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get achievementsSecretHint => 'Keep reading to reveal this one.';@override- String get castNotAvailableBookOrbit =>- 'Casting is not available with BookOrbit servers';+ String achievementsEarnedOn(String date) {+ return 'Earned $date';+ }@override- String get loginMagicLink => 'Magic link';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginMagicLinkDescription =>- 'Sign in with a BookOrbit magic link instead of a password.';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get collectionPublicTitle => 'Public';+ String get achievementsTiers => 'Tiers';@override- String get collectionPublicSubtitle =>- 'Everyone on this server can see this collection';+ String get achievementsAllTiers => 'Every tier earned';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get loginRedirectUriBookOrbit =>- 'Redirect URI: bookorbit://oauth2-callback';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusTitle => 'Reading status';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusHint =>- 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get readStatusOnHold => 'On hold';+ String get achievementsHowToGetIt => 'How to get it';@override- String get readStatusRereading => 'Rereading';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get readStatusRead => 'Read';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get personalNoteTitle => 'Your note';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get coverSlotBook => 'Book cover';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle =>- 'How the buttons on the player card are filled';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other:+ '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview =>- 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening =>- 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';}@override- String get comicBookmarkRemoveFailed =>- 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }@override- String get comicNeedsConnection =>- 'This comic opens page by page from your server, so it needs a connection.';+ String get achievementsSwitch => 'Achievements';@override- String get comicNoPages => 'No pages found in this comic.';+ String get achievementsSwitchSubtitle =>+ 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed =>+ 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/l10n/app_localizations_ru.dart b/lib/l10n/app_localizations_ru.dartindex d42b6563..4ac8f8c3 100644--- a/lib/l10n/app_localizations_ru.dart+++ b/lib/l10n/app_localizations_ru.dart@@ -94,6 +94,18 @@ class AppLocalizationsRu extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle => 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => 'Got it';@@ -3959,6 +3971,24 @@ class AppLocalizationsRu extends AppLocalizations {@overrideString get removedFromContinueListening => 'Removed from Continue Listening';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries => 'Remove from Continue Series';@@ -4647,6 +4677,9 @@ class AppLocalizationsRu extends AppLocalizations {@overrideString get removeDownloadContent => 'This will be removed from your device.';+ @override+ String get removeWhichDownload => 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => 'Download removed';@@ -5175,6 +5208,52 @@ class AppLocalizationsRu extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote => 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced => 'Reset may not have synced - check your server';@@ -9791,6 +9870,21 @@ class AppLocalizationsRu extends AppLocalizations {@overrideString get readerVolumeNavWhilePlaying => 'Even while audio is playing';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint => 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Download more fonts';@@ -10102,593 +10196,2021 @@ class AppLocalizationsRu extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Scan all libraries';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scan $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan started';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldScanFailed => 'Could not start the scan';+ String get activityNotStarted => 'Not started';@override- String get navHoldAdminLogs => 'Server logs';+ String get activityNoReading => 'No reading sessions yet';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityTime => 'Time';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityAverage => 'Avg';@override- String get navHoldReadBook => 'Read current book';+ String get activityProgress => 'Progress';@override- String get navHoldBookDetails => 'Current book details';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceBody => 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogAverageSession => 'Average session';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsWhatTravels => 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnTitle => 'Replace this device\'s settings?';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnBody => 'The synced copy will overwrite the settings on this device.';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String get readingLogLastRead => 'Last read';@override- String get readerCopied => 'Copied to clipboard';+ String get readingLogStarted => 'Started';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryError => 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogNotSet => 'Not set';@override- String get dictionaryRetry => 'Retry';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipCopy => 'Copy';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipSearch => 'Search';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerTooltipDefine => 'Define';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String get readerSearchHint => 'Search this book…';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count matches for \"$query\"',- one: '$count match for \"$query\"',- );- return '$_temp0';- }+ String get readingLogNewThisWeek => 'New this week';@override- String get readerSearchEmpty => 'Type a word or phrase and tap search.';+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String readerSearchNoResults(String query) {- return 'No matches for \"$query\".';- }+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionAdvancedSubtitle => 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionEnableSubtitle => 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionDisclaimer => 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionNeedModelHint => 'Download a model below to start transcribing.';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelSection => 'Models';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelTinyDesc => 'Quickest, less accurate. About 31 MB.';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBase => 'Base';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmall => 'Small';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionModelSmallDesc => 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionAutoHint => 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownload => 'Download';+ String get readingLogAttempts => 'Attempts';@override- String get transcriptionDownloadFailed => 'Download failed. Check your connection and try again.';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribe => 'Transcribe';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcribing => 'Transcribing...';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionDisabledHint => 'Turn on bookmark transcription in Settings, under Advanced.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNoModelDownloaded => 'Download a transcription model in Settings first.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNotDownloadedBook => 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionNoMetadataMsg => 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionBusyMsg => 'Already transcribing something. Give it a moment.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionFailedMsg => 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmptyHint => 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionIntroBody => 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get transcriptionUseEbookText => 'Use the ebook\'s exact text when it can be matched';+ String get readingLogAllTime => 'All time';@override- String get lyricsMode => 'Live transcript';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogThisYear => 'This year';@override- String get lyricsFontSize => 'Line size';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortDay => 'Day';@override- String get lyricsFullCoverHint => 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortLength => 'Length';@override- String get lyricsBatteryInfo => 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortChange => 'Change';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortReached => 'Reached';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsClearCacheConfirm => 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogMostFirst => 'Most first';@override- String get lyricsIntroBody => 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogLeastFirst => 'Least first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteBody => 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlong => 'Read along';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get navHoldServerScan => 'Server scan';@override- String get narrationListen => 'Listen';+ String get navHoldScanAll => 'Scan all libraries';@override- String get narrationPlayFromHere => 'Play from here';+ String navHoldScanLibrary(String name) {+ return 'Scan $name';+ }@override- String get narrationPreparing => 'Getting the narration ready';+ String get navHoldScanStarted => 'Scan started';@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanFailed => 'Could not start the scan';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldAdminLogs => 'Server logs';@override- String get narrationDownloadBody => 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationDownloadStarted => 'Downloading the narration. Tap Absorb when it finishes.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextBody => 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldReadBook => 'Read current book';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldBookDetails => 'Current book details';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get syncSourceTitle => 'Which copy should sync keep?';@override- String get narrationUpNextTitle => 'Download what\'s up next';+ String get syncSourceBody => 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String get syncSourceUseServer => 'Server\'s last sync';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';- }+ String get syncSourceUseBackup => 'This backup';@override- String get transcriptionNeedsDownload => 'This needs the audio on your phone. Download it now?';+ String get syncSettingsWhatTravels => 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';@override- String get transcriptionDownloadStarted => 'Downloading. Turn this on again when it finishes';+ String get syncSettingsDownloadWarnTitle => 'Replace this device\'s settings?';@override- String get readAlongFollow => 'Read along follows';+ String get syncSettingsDownloadWarnBody => 'The synced copy will overwrite the settings on this device.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get syncSettingsDownloadWarnConfirm => 'Replace';@override- String get syncReadingListeningHint => 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get readerCopied => 'Copied to clipboard';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get dictionaryNotFound => 'No definition found for this word.';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get dictionaryError => 'Couldn\'t reach the dictionary. Check your connection.';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get dictionaryRetry => 'Retry';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Copy';++ @override+ String get readerTooltipSearch => 'Search';++ @override+ String get readerTooltipDefine => 'Define';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Search this book…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count matches for \"$query\"',+ one: '$count match for \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty => 'Type a word or phrase and tap search.';++ @override+ String readerSearchNoResults(String query) {+ return 'No matches for \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle => 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle => 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer => 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';++ @override+ String get transcriptionNeedModelHint => 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc => 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc => 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint => 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed => 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint => 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded => 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook => 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg => 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg => 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg => 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody => 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';++ @override+ String get transcriptionUseEbookText => 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint => 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo => 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm => 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody => 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody => 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted => 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody => 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';++ @override+ String get narrationUpNextTitle => 'Download what\'s up next';++ @override+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload => 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted => 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint => 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';@overrideString get syncFindingEbook => 'Finding your spot in the ebook';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint => 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';++ @override+ String get findInAudiobook => 'Find in audiobook';++ @override+ String get findInAudiobookSearching => 'Finding this spot in the audiobook...';++ @override+ String get findInAudiobookStillSearching => 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong => 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound => 'Couldn\'t find this spot in the audiobook.';++ @override+ String get transcriptionWhisperInfo => 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';++ @override+ String get transcriptionWhisperLearnMore => 'Learn more about Whisper';++ @override+ String get findInAudiobookIntroBody => 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Keep reading';++ @override+ String get findInAudiobookGoPlayer => 'Open the player';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead => 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead => 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed => 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart => 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle => 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle => 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword => 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff => 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit => 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf => 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit => 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription => 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle => 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit => 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint => 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle => 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview => 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening => 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed => 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection => 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint => 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll => 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle => 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal => 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody => 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules => 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody => 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust => 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired => 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect => 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged => 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink => 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill => 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint => 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed => 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle => 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint => 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody => 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationsMarkAllRead => 'Mark all read';@override- String get syncPosition => 'Sync position';+ String get boNotificationsClearAll => 'Clear all';@override- String get readAlongFollowHint => 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotificationsClearTitle => 'Clear all notifications?';@override- String get readAlongFollowWord => 'Word';+ String get boNotificationsClearBody => 'This removes every notification from your BookOrbit account.';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotificationsEmpty => 'No notifications yet';@override- String get readAlongColor => 'Read along color';+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotificationsUpdateFailed => 'Couldn\'t update notifications on BookOrbit';@override- String get readAlongBackToNarration => 'Back to narration';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';+ }@override- String get findInEbook => 'Find in ebook';+ String get boNotificationsSettings => 'Notification settings';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotificationsSettingsIntro => 'Choose which notifications BookOrbit keeps for you.';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotificationsProblemsHint => 'Problems only notifies you when something fails or needs attention.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotificationLevelOff => 'Off';@override- String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';+ String get boNotificationLevelProblems => 'Problems';@override- String get findInAudiobook => 'Find in audiobook';+ String get boNotificationLevelAll => 'All';@override- String get findInAudiobookSearching => 'Finding this spot in the audiobook...';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get findInAudiobookStillSearching => 'Still searching the audio for this spot...';+ String get boNotificationsSaveFailed => 'Couldn\'t save notification settings';@override- String get findInAudiobookSearchingLong => 'Long chapter, still searching. This can take a minute or two...';+ String get boNotificationGroupLibrary => 'Library';@override- String get findInAudiobookNotFound => 'Couldn\'t find this spot in the audiobook.';+ String get boNotificationGroupFiles => 'Files';@override- String get transcriptionWhisperInfo => 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get transcriptionWhisperLearnMore => 'Learn more about Whisper';+ String get boNotificationGroupPersonal => 'Personal';@override- String get findInAudiobookIntroBody => 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';+ String get boNotifyScanning => 'Library scanning';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyScanningDesc => 'When a library scan finishes, fails, or finds missing books.';@override- String get findInAudiobookStay => 'Keep reading';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get findInAudiobookGoPlayer => 'Open the player';+ String get boNotifyMetadataDesc => 'When metadata lookups for your books finish or fail.';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get catchUpAudioAhead => 'The audiobook is further along. Tap to go there.';+ String get boNotifyAuthorEnrichmentDesc => 'When author biographies and photos finish downloading.';@override- String get catchUpPageAhead => 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get readerShortcutButton => 'Shortcut button';+ String get boNotifyFileWriteBackDesc => 'When edited details are saved into the book files on disk.';@override- String get keepScreenOn => 'Keep screen on';+ String get boNotifyFileRename => 'File renaming';@override- String get keepScreenOnActive => 'Screen stays on';+ String get boNotifyFileRenameDesc => 'When a book file is renamed to match your naming pattern.';@override- String get keepScreenOnUntilClosed => 'Screen stays on until you close the app';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get boNotifyBulkRenameDesc => 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get keepScreenOnOffUntilRestart => 'Off until the app restarts. The Settings switch stays on';+ String get boNotifyMigration => 'Imports';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get boNotifyMigrationDesc => 'When an import from another library app finishes or fails.';@override- String get keepScreenOnPlayerSubtitle => 'The screen stays on while the player is open';+ String get boNotifyBookDock => 'Book Dock';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get boNotifyBookDockDesc => 'When Book Dock finishes adding books or runs into problems.';@override- String get keepScreenOnCarModeSubtitle => 'The screen stays on while car mode is open';+ String get boNotifyBookRequests => 'Book requests';@override- String get loginServerType => 'Server type';+ String get boNotifyBookRequestsDesc => 'When a book request is submitted or decided, or the book becomes available.';@override- String get authBookOrbitDefaultPassword => 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get boNotifyEmail => 'Email delivery';@override- String get authBookOrbitPasswordOff => 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get boNotifyEmailDesc => 'When sending a book by email works or fails.';@override- String get authServerIsBookOrbit => 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get boNotifyAchievements => 'Achievements';@override- String get authServerIsAudiobookshelf => 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get castNotAvailableBookOrbit => 'Casting is not available with BookOrbit servers';+ String get achievementsTitle => 'Achievements';@override- String get loginMagicLink => 'Magic link';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get loginMagicLinkDescription => 'Sign in with a BookOrbit magic link instead of a password.';+ String get achievementsFilterAll => 'All';@override- String get collectionPublicTitle => 'Public';+ String get achievementsFilterEarned => 'Earned';@override- String get collectionPublicSubtitle => 'Everyone on this server can see this collection';+ String get achievementsFilterInProgress => 'In progress';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String get achievementsFilterLocked => 'Locked';++ @override+ String get achievementsCategoryReading => 'Reading';++ @override+ String get achievementsCategoryLibrary => 'Library';++ @override+ String get achievementsCategoryExploration => 'Exploration';++ @override+ String get achievementsCategoryDedication => 'Dedication';++ @override+ String get achievementsCategoryDevices => 'Devices';++ @override+ String get achievementsRarityCommon => 'Common';++ @override+ String get achievementsRarityRare => 'Rare';++ @override+ String get achievementsRarityEpic => 'Epic';++ @override+ String get achievementsRarityLegendary => 'Legendary';++ @override+ String get achievementsLoadFailed => 'Couldn\'t load achievements';++ @override+ String get achievementsNoneMatch => 'No achievements match this filter';++ @override+ String get achievementsSecretName => 'Secret achievement';++ @override+ String get achievementsSecretHint => 'Keep reading to reveal this one.';++ @override+ String achievementsEarnedOn(String date) {+ return 'Earned $date';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get loginRedirectUriBookOrbit => 'Redirect URI: bookorbit://oauth2-callback';+ String get achievementsTiers => 'Tiers';@override- String get readStatusTitle => 'Reading status';+ String get achievementsAllTiers => 'Every tier earned';@override- String get readStatusHint => 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusOnHold => 'On hold';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusRereading => 'Rereading';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusRead => 'Read';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get personalNoteTitle => 'Your note';+ String get achievementsHowToGetIt => 'How to get it';@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get coverSlotBook => 'Book cover';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle => 'How the buttons on the player card are filled';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview => 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening => 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';}@override- String get comicBookmarkRemoveFailed => 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';+ }@override- String get comicNeedsConnection => 'This comic opens page by page from your server, so it needs a connection.';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String get comicNoPages => 'No pages found in this comic.';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';+ }++ @override+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }++ @override+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }++ @override+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }++ @override+ String get achievementsSwitch => 'Achievements';++ @override+ String get achievementsSwitchSubtitle => 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed => 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/l10n/app_localizations_zh.dart b/lib/l10n/app_localizations_zh.dartindex d822e1c1..48f3a0a0 100644--- a/lib/l10n/app_localizations_zh.dart+++ b/lib/l10n/app_localizations_zh.dart@@ -98,6 +98,19 @@ class AppLocalizationsZh extends AppLocalizations {@overrideString get whatsNewButton => 'See what\'s new';+ @override+ String get whatsNewKeepShowing => 'Show this after every update';++ @override+ String get whatsNewKeepShowingHint => 'You can turn it back on in Settings';++ @override+ String get settingsWhatsNew => 'Show what\'s new after updates';++ @override+ String get settingsWhatsNewSubtitle =>+ 'After Absorb updates, a popup links to the release notes';+@overrideString get gotIt => '知道了';@@ -4059,6 +4072,24 @@ class AppLocalizationsZh extends AppLocalizations {@overrideString get removedFromContinueListening => '已从“继续收听”中移出';+ @override+ String get removeFromContinueReading => 'Remove from Continue Reading';++ @override+ String get removedFromContinueReading => 'Removed from Continue Reading';++ @override+ String get sessionAdd => 'Add session';++ @override+ String get sessionStartLabel => 'Started at';++ @override+ String get sessionAdded => 'Session added';++ @override+ String get sessionAddFailed => 'Could not add the session';+@overrideString get removeSeriesFromContinueSeries => 'Remove from Continue Series';@@ -4758,6 +4789,10 @@ class AppLocalizationsZh extends AppLocalizations {@overrideString get removeDownloadContent => '这将从你的设备中移除。';+ @override+ String get removeWhichDownload =>+ 'The audiobook and the ebook are both on this device. Choose what to remove.';+@overrideString get downloadRemoved => '下载已移除';@@ -5299,6 +5334,53 @@ class AppLocalizationsZh extends AppLocalizations {return '$value kbps';}+ @override+ String get fileInfoTitle => 'File info';++ @override+ String fileInfoFileCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String get fileInfoNone => 'This book has no file details.';++ @override+ String get fileInfoAudio => 'Audio';++ @override+ String get fileInfoEbook => 'Ebook';++ @override+ String get fileInfoOther => 'Other files';++ @override+ String get fileInfoBookOrbitNote =>+ 'BookOrbit doesn\'t report codec or bitrate.';++ @override+ String fileInfoChannels(int count) {+ return '$count channels';+ }++ @override+ String get fileInfoCover => 'Cover';++ @override+ String get fileInfoMetadata => 'Metadata';++ @override+ String get fileInfoSupplement => 'Extra';++ @override+ String get fileInfoPathCopied => 'Path copied';+@overrideString get resetMayNotHaveSynced =>'Reset may not have synced - check your server';@@ -10068,6 +10150,22 @@ class AppLocalizationsZh extends AppLocalizations {@overrideString get readerVolumeNavWhilePlaying => 'Even while audio is playing';+ @override+ String get readerTranslateWith => 'Translate with';++ @override+ String get readerTranslateApp => 'App on this device';++ @override+ String get readerTranslateApple => 'Built into iOS';++ @override+ String get readerTranslateWeb => 'Opens in your browser';++ @override+ String get readerTranslateHint =>+ 'Selected text is sent to the translator you pick.';+@overrideString get readerMoreFonts => 'Download more fonts';@@ -10393,651 +10491,2117 @@ class AppLocalizationsZh extends AppLocalizations {}@override- String get navHoldServerScan => 'Server scan';+ String get activityYourReading => 'Your reading';@override- String get navHoldScanAll => 'Scan all libraries';+ String get activityYourListening => 'Your listening';@override- String navHoldScanLibrary(String name) {- return 'Scan $name';+ String activityLastRead(String when) {+ return 'Last read $when';}@override- String get navHoldScanStarted => 'Scan started';+ String activityLastListened(String when) {+ return 'Last listened $when';+ }@override- String get navHoldScanFailed => 'Could not start the scan';+ String get activityNotStarted => 'Not started';@override- String get navHoldAdminLogs => 'Server logs';+ String get activityNoReading => 'No reading sessions yet';@override- String navHoldAdminPage(String page) {- return 'Admin: $page';- }+ String get activityTime => 'Time';@override- String get navHoldNothingPlaying => 'Nothing to play yet';+ String get activityAverage => 'Avg';@override- String get navHoldReadBook => 'Read current book';+ String get activityProgress => 'Progress';@override- String get navHoldBookDetails => 'Current book details';+ String activityReached(String percent) {+ return '$percent reached';+ }@override- String get syncSourceTitle => 'Which copy should sync keep?';+ String get readingLogTitle => 'Reading log';@override- String get syncSourceBody =>- 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';+ String get readingLogTotalTime => 'Total time';@override- String get syncSourceUseServer => 'Server\'s last sync';+ String get readingLogAverageSession => 'Average session';@override- String get syncSourceUseBackup => 'This backup';+ String get readingLogActiveDays => 'Active days';@override- String get syncSettingsWhatTravels =>- 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';+ String readingLogActiveDaysOf(int active, int total) {+ return '$active of $total';+ }@override- String get syncSettingsDownloadWarnTitle =>- 'Replace this device\'s settings?';+ String get readingLogPace => 'Pace';@override- String get syncSettingsDownloadWarnBody =>- 'The synced copy will overwrite the settings on this device.';+ String readingLogPacePerHour(String percent) {+ return '$percent%/h';+ }@override- String get syncSettingsDownloadWarnConfirm => 'Replace';+ String get readingLogLastRead => 'Last read';@override- String get readerCopied => 'Copied to clipboard';+ String get readingLogStarted => 'Started';@override- String get dictionaryNotFound => 'No definition found for this word.';+ String get readingLogFinished => 'Finished';@override- String get dictionaryError =>- 'Couldn\'t reach the dictionary. Check your connection.';+ String get readingLogNotSet => 'Not set';@override- String get dictionaryRetry => 'Retry';+ String readingLogLeftMinutes(int m) {+ return 'About ${m}m to finish';+ }@override- String get dictionarySearchWeb => 'Search the web';+ String readingLogLeftHours(int h) {+ return 'About ${h}h to finish';+ }@override- String get readerTooltipCopy => 'Copy';+ String readingLogLeftHoursMinutes(int h, int m) {+ return 'About ${h}h ${m}m to finish';+ }@override- String get readerTooltipSearch => 'Search';+ String get readingLogLeftMax => 'Over 99h to finish';@override- String get readerTooltipDefine => 'Define';+ String readingLogUpOnLastWeek(int percent) {+ return 'Up $percent% on the week before';+ }@override- String get readerSearchHint => 'Search this book…';+ String readingLogDownOnLastWeek(int percent) {+ return 'Down $percent% on the week before';+ }@override- String readerSearchMatches(int count, String query) {- String _temp0 = intl.Intl.pluralLogic(- count,- locale: localeName,- other: '$count matches for \"$query\"',- one: '$count match for \"$query\"',- );- return '$_temp0';- }+ String get readingLogNewThisWeek => 'New this week';@override- String get readerSearchEmpty => 'Type a word or phrase and tap search.';+ String get readingLogSameAsLastWeek => 'Same as the week before';@override- String readerSearchNoResults(String query) {- return 'No matches for \"$query\".';- }+ String get readingLogQuietTwoWeeks => 'Nothing in the last two weeks';@override- String get transcriptionTitle => 'Transcription';+ String get readingLogWhereYouRead => 'Where you read it';@override- String get transcriptionAdvancedSubtitle =>- 'For transcribing bookmarks and finding your spot between audiobook and ebook';+ String get readingLogSourceIos => 'iOS app';@override- String get transcriptionEnable => 'Enable transcription';+ String get readingLogSourceAndroid => 'Android app';@override- String get transcriptionEnableSubtitle =>- 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';+ String get readingLogChartTitle => 'Progress over time';@override- String get transcriptionDisclaimer =>- 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';+ String get readingLogChartPosition => 'Position reached';@override- String get transcriptionNeedModelHint =>- 'Download a model below to start transcribing.';+ String get readingLogChartMinutes => 'Minutes';@override- String get transcriptionModelSection => 'Models';+ String get readingLogRecords => 'Records';@override- String get transcriptionModelTiny => 'Tiny';+ String get readingLogLongestSession => 'Longest session';@override- String get transcriptionModelTinyDesc =>- 'Quickest, less accurate. About 31 MB.';+ String get readingLogBestDay => 'Best day';@override- String get transcriptionModelBase => 'Base';+ String get readingLogLongestStreak => 'Longest streak';@override- String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';+ String readingLogStreakDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }@override- String get transcriptionModelSmall => 'Small';+ String get readingLogJumpedBack => 'Jumped back';@override- String get transcriptionModelSmallDesc =>- 'Slower but most accurate - best on a high-end phone. About 182 MB.';+ String readingLogJumpedBackTimes(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count times',+ one: '1 time',+ );+ return '$_temp0';+ }@override- String get transcriptionAutoHint =>- 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';+ String get readingLogFirstOpened => 'First opened';@override- String get transcriptionDownload => 'Download';+ String get readingLogAttempts => 'Attempts';@override- String get transcriptionDownloadFailed =>- 'Download failed. Check your connection and try again.';+ String readingLogAttempt(int index) {+ return 'Attempt $index';+ }@override- String get transcribe => 'Transcribe';+ String readingLogAttemptBegan(int index) {+ return 'Attempt $index began';+ }@override- String get transcribing => 'Transcribing...';+ String get readingLogOutcomeCompleted => 'Completed';@override- String get transcriptionResultTitle => 'Transcript';+ String get readingLogOutcomeSkimmed => 'Skimmed';@override- String get transcriptionSaveToNote => 'Save to note';+ String get readingLogOutcomeAbandoned => 'Abandoned';@override- String get transcriptionSavedToNote => 'Saved to bookmark note';+ String get readingLogOutcomeInProgress => 'In progress';@override- String get transcriptionDisabledHint =>- 'Turn on bookmark transcription in Settings, under Advanced.';+ String readingLogSpanRange(String from, String to) {+ return '$from to $to';+ }@override- String get transcriptionNoModelDownloaded =>- 'Download a transcription model in Settings first.';+ String readingLogSpanSince(String from) {+ return 'Since $from';+ }@override- String get transcriptionNotDownloadedBook =>- 'Download this book or connect to your server to transcribe it.';+ String readingLogSpanEnded(String to) {+ return 'Ended $to';+ }@override- String get transcriptionNoMetadataMsg =>- 'Can\'t locate this spot in the download. Try re-downloading the book.';+ String get readingLogSpanUnknown => 'No dates recorded';@override- String get transcriptionBusyMsg =>- 'Already transcribing something. Give it a moment.';+ String readingLogSessionCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count sessions',+ one: '1 session',+ );+ return '$_temp0';+ }@override- String get transcriptionEmptyMsg => 'No speech was found at this spot.';+ String readingLogShowing(int shown, int total) {+ return '$shown of $total';+ }@override- String get transcriptionFailedMsg =>- 'Couldn\'t transcribe this spot. Please try again.';+ String readingLogGapDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days without reading',+ one: '1 day without reading',+ );+ return '$_temp0';+ }@override- String get transcriptionPlaySnippet => 'Listen';+ String get readingLogEmpty => 'No sessions recorded yet';@override- String get transcriptionPauseSnippet => 'Pause';+ String get readingLogEmptyHint =>+ 'Sessions show up here as you read or listen, from any app or device that syncs with BookOrbit.';@override- String get transcriptionIntroBody =>- 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';+ String get readingLogNoMatches => 'No sessions in this range';@override- String get transcriptionUseEbookText =>- 'Use the ebook\'s exact text when it can be matched';+ String get readingLogAllTime => 'All time';@override- String get lyricsMode => 'Live transcript';+ String get readingLogLast30 => 'Last 30 days';@override- String get lyricsListeningAhead => 'Listening ahead...';+ String get readingLogLast90 => 'Last 90 days';@override- String get lyricsDisplaySection => 'Live transcript';+ String get readingLogThisYear => 'This year';@override- String get lyricsFontSize => 'Line size';+ String get readingLogAllFormats => 'All formats';@override- String get lyricsMaxLines => 'Lines shown';+ String get readingLogSortBy => 'Sort by';@override- String get lyricsFullCover => 'Use the whole cover';+ String get readingLogSortDay => 'Day';@override- String get lyricsFullCoverHint =>- 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';+ String get readingLogSortLength => 'Length';@override- String get lyricsBatteryInfo =>- 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';+ String get readingLogSortChange => 'Change';@override- String get lyricsClearCache => 'Clear transcript cache';+ String get readingLogSortReached => 'Reached';@override- String lyricsClearCacheHint(String size) {- return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';- }+ String get readingLogNewestFirst => 'Newest first';@override- String get lyricsClearCacheConfirm =>- 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';+ String get readingLogOldestFirst => 'Oldest first';@override- String get lyricsCacheCleared => 'Transcript cache cleared';+ String get readingLogMostFirst => 'Most first';@override- String get lyricsIntroBody =>- 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';+ String get readingLogLeastFirst => 'Least first';@override- String lyricsBuildingLead(String percent) {- return 'Getting ahead of the narration... $percent';- }+ String get readingLogDeleteTitle => 'Delete this session?';@override- String lyricsCantKeepUp(String speed) {- return 'Can\'t transcribe as fast as you\'re listening at $speed';- }+ String get readingLogDeleteBody =>+ 'It comes off the book\'s reading log and your stats on BookOrbit.';@override- String get lyricsTurnOn => 'Turn on';+ String get readingLogDeleteFailed => 'Couldn\'t delete the session';@override- String get readAlong => 'Read along';+ String get readingLogLoadFailed => 'Couldn\'t load the reading log';@override- String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';+ String get navHoldServerScan => 'Server scan';@override- String get narrationListen => 'Listen';+ String get navHoldScanAll => 'Scan all libraries';@override- String get narrationPlayFromHere => 'Play from here';+ String navHoldScanLibrary(String name) {+ return 'Scan $name';+ }@override- String get narrationPreparing => 'Getting the narration ready';+ String get navHoldScanStarted => 'Scan started';@override- String get narrationNone => 'This ebook has no narration to play';+ String get navHoldScanFailed => 'Could not start the scan';@override- String get narrationDownloadTitle => 'Download to listen';+ String get navHoldAdminLogs => 'Server logs';@override- String get narrationDownloadBody =>- 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';+ String navHoldAdminPage(String page) {+ return 'Admin: $page';+ }@override- String get narrationDownloadStarted =>- 'Downloading the narration. Tap Absorb when it finishes.';+ String get navHoldNothingPlaying => 'Nothing to play yet';@override- String get narrationTextBody =>- 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';+ String get navHoldReadBook => 'Read current book';@override- String get narrationTextLoading => 'Getting the words from the book';+ String get navHoldBookDetails => 'Current book details';@override- String get downloadToAbsorb => 'Download to Absorb';+ String get syncSourceTitle => 'Which copy should sync keep?';++ @override+ String get syncSourceBody =>+ 'This backup turned settings sync on. Use the server\'s last sync, or make this backup the source of truth? Choosing the backup replaces the copy on the server for all your synced devices.';++ @override+ String get syncSourceUseServer => 'Server\'s last sync';++ @override+ String get syncSourceUseBackup => 'This backup';++ @override+ String get syncSettingsWhatTravels =>+ 'Your preferences, per-book speeds, home layout, Absorbing order, notes and ebook highlights travel. Logins, download folders, auto-download switches, reader looks and anything not yet sent to your server stay on this device.';++ @override+ String get syncSettingsDownloadWarnTitle =>+ 'Replace this device\'s settings?';++ @override+ String get syncSettingsDownloadWarnBody =>+ 'The synced copy will overwrite the settings on this device.';++ @override+ String get syncSettingsDownloadWarnConfirm => 'Replace';++ @override+ String get readerCopied => 'Copied to clipboard';++ @override+ String get dictionaryNotFound => 'No definition found for this word.';++ @override+ String get dictionaryError =>+ 'Couldn\'t reach the dictionary. Check your connection.';++ @override+ String get dictionaryRetry => 'Retry';++ @override+ String get dictionarySearchWeb => 'Search the web';++ @override+ String get readerTooltipCopy => 'Copy';++ @override+ String get readerTooltipSearch => 'Search';++ @override+ String get readerTooltipDefine => 'Define';++ @override+ String get readerTooltipTranslate => 'Translate';++ @override+ String get readerSearchHint => 'Search this book…';++ @override+ String readerSearchMatches(int count, String query) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count matches for \"$query\"',+ one: '$count match for \"$query\"',+ );+ return '$_temp0';+ }++ @override+ String get readerSearchEmpty => 'Type a word or phrase and tap search.';++ @override+ String readerSearchNoResults(String query) {+ return 'No matches for \"$query\".';+ }++ @override+ String get transcriptionTitle => 'Transcription';++ @override+ String get transcriptionAdvancedSubtitle =>+ 'For transcribing bookmarks and finding your spot between audiobook and ebook';++ @override+ String get transcriptionEnable => 'Enable transcription';++ @override+ String get transcriptionEnableSubtitle =>+ 'Adds Transcribe to bookmarks, Find position in ebook to the player, and Find in audiobook to the reader';++ @override+ String get transcriptionDisclaimer =>+ 'Runs entirely on your device, nothing is sent anywhere. It uses extra battery and processing while it works, and only downloaded books can be transcribed.';++ @override+ String get transcriptionNeedModelHint =>+ 'Download a model below to start transcribing.';++ @override+ String get transcriptionModelSection => 'Models';++ @override+ String get transcriptionModelTiny => 'Tiny';++ @override+ String get transcriptionModelTinyDesc =>+ 'Quickest, less accurate. About 31 MB.';++ @override+ String get transcriptionModelBase => 'Base';++ @override+ String get transcriptionModelBaseDesc => 'A good middle ground. About 57 MB.';++ @override+ String get transcriptionModelSmall => 'Small';++ @override+ String get transcriptionModelSmallDesc =>+ 'Slower but most accurate - best on a high-end phone. About 182 MB.';++ @override+ String get transcriptionAutoHint =>+ 'With more than one downloaded, each job picks between them. Books with an ebook get the quickest one, since the exact words come from the ebook anyway. Books without one get the most accurate - except read along, which stays below Small so it can keep up with the narration.';++ @override+ String get transcriptionDownload => 'Download';++ @override+ String get transcriptionDownloadFailed =>+ 'Download failed. Check your connection and try again.';++ @override+ String get transcribe => 'Transcribe';++ @override+ String get transcribing => 'Transcribing...';++ @override+ String get transcriptionResultTitle => 'Transcript';++ @override+ String get transcriptionSaveToNote => 'Save to note';++ @override+ String get transcriptionSavedToNote => 'Saved to bookmark note';++ @override+ String get transcriptionDisabledHint =>+ 'Turn on bookmark transcription in Settings, under Advanced.';++ @override+ String get transcriptionNoModelDownloaded =>+ 'Download a transcription model in Settings first.';++ @override+ String get transcriptionNotDownloadedBook =>+ 'Download this book or connect to your server to transcribe it.';++ @override+ String get transcriptionNoMetadataMsg =>+ 'Can\'t locate this spot in the download. Try re-downloading the book.';++ @override+ String get transcriptionBusyMsg =>+ 'Already transcribing something. Give it a moment.';++ @override+ String get transcriptionEmptyMsg => 'No speech was found at this spot.';++ @override+ String get transcriptionFailedMsg =>+ 'Couldn\'t transcribe this spot. Please try again.';++ @override+ String get transcriptionPlaySnippet => 'Listen';++ @override+ String get transcriptionPauseSnippet => 'Pause';++ @override+ String get transcriptionIntroBody =>+ 'This listens to the chosen amount of audio, starting just before the bookmark, and turns it into text on your device. Longer clips take longer, and transcription isn\'t 100% accurate. The text is saved into the bookmark\'s note when it\'s done, ready to fix up or share.';++ @override+ String get transcriptionUseEbookText =>+ 'Use the ebook\'s exact text when it can be matched';++ @override+ String get lyricsMode => 'Live transcript';++ @override+ String get lyricsListeningAhead => 'Listening ahead...';++ @override+ String get lyricsDisplaySection => 'Live transcript';++ @override+ String get lyricsFontSize => 'Line size';++ @override+ String get lyricsMaxLines => 'Lines shown';++ @override+ String get lyricsFullCover => 'Use the whole cover';++ @override+ String get lyricsFullCoverHint =>+ 'Shows the transcript in place of the artwork while it runs, fitting as many lines as there is room for.';++ @override+ String get lyricsBatteryInfo =>+ 'Live transcript and read along use extra battery and processing while they run. On phones with slower processors, lines can take longer to appear.';++ @override+ String get lyricsClearCache => 'Clear transcript cache';++ @override+ String lyricsClearCacheHint(String size) {+ return '$size of saved transcript lines. Cleared books and episodes are transcribed again as you listen.';+ }++ @override+ String get lyricsClearCacheConfirm =>+ 'Delete the saved transcripts for every book and episode? They rebuild automatically as you listen.';++ @override+ String get lyricsCacheCleared => 'Transcript cache cleared';++ @override+ String get lyricsIntroBody =>+ 'This listens a little ahead of the narration and shows each line as it is spoken, transcribed on your phone - nothing leaves the device. After turning it on, hold off on pressing play for a few seconds while it gets ahead. The transcript appears once its head start is ready, and starting paused gives it the smoothest run. It uses extra battery and processing while it runs.';++ @override+ String lyricsBuildingLead(String percent) {+ return 'Getting ahead of the narration... $percent';+ }++ @override+ String lyricsCantKeepUp(String speed) {+ return 'Can\'t transcribe as fast as you\'re listening at $speed';+ }++ @override+ String get lyricsTurnOn => 'Turn on';++ @override+ String get readAlong => 'Read along';++ @override+ String get readAlongNeedsPlaying => 'Play this book\'s audiobook first';++ @override+ String get narrationListen => 'Listen';++ @override+ String get narrationPlayFromHere => 'Play from here';++ @override+ String get narrationPreparing => 'Getting the narration ready';++ @override+ String get narrationNone => 'This ebook has no narration to play';++ @override+ String get narrationDownloadTitle => 'Download to listen';++ @override+ String get narrationDownloadBody =>+ 'This book is an EPUB3 that reads itself aloud. Audiobookshelf can\'t stream its narration, so the audio needs to be downloaded before it plays.';++ @override+ String get narrationDownloadStarted =>+ 'Downloading the narration. Tap Absorb when it finishes.';++ @override+ String get narrationTextBody =>+ 'This book\'s EPUB has its own words for every moment of the audio, so the text is copied straight from the book. Pick how much to add to the bookmark\'s note.';++ @override+ String get narrationTextLoading => 'Getting the words from the book';++ @override+ String get downloadToAbsorb => 'Download to Absorb';@overrideString get narrationUpNextTitle => 'Download what\'s up next';@override- String narrationUpNextBody(String title) {- return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';- }+ String narrationUpNextBody(String title) {+ return '$title is next in your queue. It\'s an EPUB3 that reads itself aloud, so it needs to be downloaded before it can play.';+ }++ @override+ String narrationQueueStopped(String title) {+ return 'Stopped before $title. Download it to keep going.';+ }++ @override+ String get transcriptionNeedsDownload =>+ 'This needs the audio on your phone. Download it now?';++ @override+ String get transcriptionDownloadStarted =>+ 'Downloading. Turn this on again when it finishes';++ @override+ String get readAlongFollow => 'Read along follows';++ @override+ String get syncReadingListening => 'Keep reading and listening in sync';++ @override+ String get syncReadingListeningHint =>+ 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';++ @override+ String get syncEbookMoved => 'Ebook moved to where you stopped listening';++ @override+ String get syncAudioMoved => 'Audiobook moved to where you stopped reading';++ @override+ String get syncAudioOffer => 'Tap to jump to where you stopped reading';++ @override+ String get syncFindingAudio => 'Finding your page in the audiobook';++ @override+ String get syncFindingEbook => 'Finding your spot in the ebook';++ @override+ String get syncFailed => 'Couldn\'t sync your place';++ @override+ String get syncAlreadyTogether => 'Already in sync';++ @override+ String get syncPosition => 'Sync position';++ @override+ String get readAlongFollowHint =>+ 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';++ @override+ String get readAlongFollowWord => 'Word';++ @override+ String get readAlongFollowSentence => 'Sentence';++ @override+ String get readAlongColor => 'Read along color';++ @override+ String get readAlongLost => 'Can\'t find the narration on the page';++ @override+ String get readAlongBackToNarration => 'Back to narration';++ @override+ String get findInEbook => 'Find in ebook';++ @override+ String get findInEbookSearching => 'Finding this spot in the ebook...';++ @override+ String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';++ @override+ String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';++ @override+ String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';++ @override+ String get findInAudiobook => 'Find in audiobook';++ @override+ String get findInAudiobookSearching =>+ 'Finding this spot in the audiobook...';++ @override+ String get findInAudiobookStillSearching =>+ 'Still searching the audio for this spot...';++ @override+ String get findInAudiobookSearchingLong =>+ 'Long chapter, still searching. This can take a minute or two...';++ @override+ String get findInAudiobookNotFound =>+ 'Couldn\'t find this spot in the audiobook.';++ @override+ String get transcriptionWhisperInfo =>+ 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';++ @override+ String get transcriptionWhisperLearnMore => 'Learn more about Whisper';++ @override+ String get findInAudiobookIntroBody =>+ 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';++ @override+ String get findInAudiobookAfterLabel => 'When the spot is found';++ @override+ String get findInAudiobookStay => 'Keep reading';++ @override+ String get findInAudiobookGoPlayer => 'Open the player';++ @override+ String get findInAudiobookPlaying => 'Playing this passage in the audiobook';++ @override+ String get catchUpAudioAhead =>+ 'The audiobook is further along. Tap to go there.';++ @override+ String get catchUpPageAhead =>+ 'This page is ahead of the audiobook. Tap to move the audiobook here.';++ @override+ String get readerShortcutButton => 'Shortcut button';++ @override+ String get keepScreenOn => 'Keep screen on';++ @override+ String get keepScreenOnActive => 'Screen stays on';++ @override+ String get keepScreenOnUntilClosed =>+ 'Screen stays on until you close the app';++ @override+ String get keepScreenOnOff => 'Screen can turn off again';++ @override+ String get keepScreenOnOffUntilRestart =>+ 'Off until the app restarts. The Settings switch stays on';++ @override+ String get keepScreenOnPlayer => 'Keep the screen on in the player';++ @override+ String get keepScreenOnPlayerSubtitle =>+ 'The screen stays on while the player is open';++ @override+ String get keepScreenOnCarMode => 'Keep the screen on in car mode';++ @override+ String get keepScreenOnCarModeSubtitle =>+ 'The screen stays on while car mode is open';++ @override+ String get loginServerType => 'Server type';++ @override+ String get authBookOrbitDefaultPassword =>+ 'This account still has its default password. Change it in BookOrbit, then sign in again.';++ @override+ String get authBookOrbitPasswordOff =>+ 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';++ @override+ String get authServerIsBookOrbit =>+ 'This is a BookOrbit server. Choose BookOrbit above the server address.';++ @override+ String get authServerIsAudiobookshelf =>+ 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';++ @override+ String get castNotAvailableBookOrbit =>+ 'Casting is not available with BookOrbit servers';++ @override+ String get loginMagicLink => 'Magic link';++ @override+ String get loginMagicLinkDescription =>+ 'Sign in with a BookOrbit magic link, or paste a password link to set your password.';++ @override+ String get collectionPublicTitle => 'Public';++ @override+ String get collectionPublicSubtitle =>+ 'Everyone on this server can see this collection';++ @override+ String loginSignInWithProvider(String provider) {+ return 'Sign in with $provider';+ }++ @override+ String get loginSignInWithSso => 'Sign in with SSO';++ @override+ String get loginChooseSsoProvider => 'Choose how to sign in';++ @override+ String get loginRedirectUriBookOrbit =>+ 'Redirect URI: bookorbit://oauth2-callback';++ @override+ String get readStatusTitle => 'Reading status';++ @override+ String get readStatusHint =>+ 'BookOrbit keeps a status you pick here until you change it.';++ @override+ String get readStatusUnread => 'Unread';++ @override+ String get readStatusWantToRead => 'Want to read';++ @override+ String get readStatusReading => 'Reading';++ @override+ String get readStatusOnHold => 'On hold';++ @override+ String get readStatusRereading => 'Rereading';++ @override+ String get readStatusRead => 'Read';++ @override+ String get readStatusSkimmed => 'Skimmed';++ @override+ String get readStatusAbandoned => 'Abandoned';++ @override+ String get personalNoteTitle => 'Your note';++ @override+ String get personalNoteAdd => 'Add a private note';++ @override+ String get personalNoteHint => 'Only you can see this note.';++ @override+ String get moreLikeThis => 'More like this';++ @override+ String get coverSlotAudiobook => 'Audiobook cover';++ @override+ String get coverSlotBook => 'Book cover';++ @override+ String get cardButtonFill => 'Button background';++ @override+ String get cardButtonFillSubtitle =>+ 'How the buttons on the player card are filled';++ @override+ String get cardButtonFillClear => 'Clear';++ @override+ String get cardButtonFillSubtle => 'Subtle';++ @override+ String get cardButtonFillSolid => 'Solid';++ @override+ String get loginBookOrbitPreview =>+ 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';++ @override+ String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';++ @override+ String get authSignedOutKeepListening =>+ 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';++ @override+ String signedOutSyncNote(String username, String server) {+ return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ }++ @override+ String get comicReadingDirection => 'Reading direction';++ @override+ String comicPageNumber(int page) {+ return 'Page $page';+ }++ @override+ String get comicBookmarkRemoveFailed =>+ 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';++ @override+ String get comicLeftToRight => 'Left to right';++ @override+ String get comicRightToLeft => 'Right to left (manga)';++ @override+ String get comicNeedsConnection =>+ 'This comic opens page by page from your server, so it needs a connection.';++ @override+ String get comicNoPages => 'No pages found in this comic.';++ @override+ String get boAdminTitle => 'Server admin';++ @override+ String get boAdminSubtitle => 'Users and libraries on this BookOrbit server';++ @override+ String get boAdminUsers => 'Users';++ @override+ String get boAdminLibraries => 'Libraries';++ @override+ String boAdminUserCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count people',+ one: '1 person',+ );+ return '$_temp0';+ }++ @override+ String boAdminLibraryCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count libraries',+ one: '1 library',+ );+ return '$_temp0';+ }++ @override+ String get boAdminSaved => 'Saved';++ @override+ String get boAdminFailed => 'That didn\'t work. Try again.';++ @override+ String get boAdminOffline => 'Couldn\'t reach the server.';++ @override+ String get boUsersSearch => 'Search users';++ @override+ String get boUsersNone => 'No users here';++ @override+ String get boUsersFilterAll => 'All';++ @override+ String get boUsersFilterAdmins => 'Admins';++ @override+ String get boUsersFilterActive => 'Active';++ @override+ String get boUsersFilterInactive => 'Inactive';++ @override+ String get boUsersFilterAttention => 'Needs attention';++ @override+ String get boUserBadgeAdmin => 'Admin';++ @override+ String get boUserBadgeInactive => 'Inactive';++ @override+ String get boUserBadgeLocked => 'Locked';++ @override+ String get boUserBadgeNoPassword => 'No password yet';++ @override+ String boUserLastActive(String date) {+ return 'Last active $date';+ }++ @override+ String get boUserNeverSignedIn => 'Never signed in';++ @override+ String get boUserNew => 'New user';++ @override+ String get boUserCreate => 'Create';++ @override+ String get boUserUsername => 'Username';++ @override+ String get boUserUsernameHint =>+ 'At least 3 characters. It cannot be changed later.';++ @override+ String get boUserName => 'Name';++ @override+ String get boUserEmail => 'Email';++ @override+ String get boUserEmailInvalid => 'Enter a valid email address';++ @override+ String get boUserActive => 'Active';++ @override+ String get boUserActiveSubtitle => 'Inactive users can\'t sign in';++ @override+ String get boUserAdmin => 'Administrator';++ @override+ String get boUserAdminSubtitle => 'Full access to everything on the server';++ @override+ String get boUserAdminHasAll =>+ 'Administrators have every permission and see every library.';++ @override+ String get boUserPermissions => 'Permissions';++ @override+ String get boUserPresetNone => 'None';++ @override+ String get boUserPresetStandard => 'Standard';++ @override+ String get boUserPresetEverything => 'Everything';++ @override+ String get boUserLibraries => 'Libraries';++ @override+ String get boUserLibrariesHint => 'The libraries this person can see.';++ @override+ String get boUserPasswordLink => 'Send password link';++ @override+ String get boUserPasswordLinkSubtitle =>+ 'A link to set a new password, valid for 15 minutes';++ @override+ String get boUserExternal =>+ 'Signs in through single sign-on, so the password is managed there.';++ @override+ String get boUserUnlock => 'Unlock account';++ @override+ String get boUserUnlocked => 'Account unlocked';++ @override+ String get boUserDelete => 'Delete user';++ @override+ String boUserDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boUserDeleteBody =>+ 'Their account and everything they have on this server are removed. This cannot be undone.';++ @override+ String get boUserDeleted => 'User deleted';++ @override+ String get boUserLinkTitle => 'Password link';++ @override+ String boUserLinkBody(String name) {+ return 'Share this link with $name. It lets them set a password and works for 15 minutes.';+ }++ @override+ String get boPasswordRules =>+ 'At least 8 characters, with an uppercase letter, a lowercase letter and a number.';++ @override+ String get boSetPasswordTitle => 'Set your password';++ @override+ String get boSetPasswordSubmit => 'Set password and sign in';++ @override+ String boSetPasswordLinkBody(String username, String server) {+ return 'Choose a password for $username on $server.';+ }++ @override+ String boSetPasswordLinkBodyNoName(String server) {+ return 'Choose a password for your account on $server.';+ }++ @override+ String get boSetPasswordStartingBody =>+ 'This account still has the password it was created with. Choose a new one to finish signing in.';++ @override+ String get boSetPasswordTrust =>+ 'Only continue if you trust who sent this link.';++ @override+ String get boPasswordLinkExpired =>+ 'This link has expired or was already used. Ask your server admin for a new one.';++ @override+ String boPasswordSetSignInFailed(String error) {+ return 'Your password is set, but signing in failed: $error';+ }++ @override+ String get boChangePasswordSubtitle => 'Update your BookOrbit password';++ @override+ String get boPasswordChangeEffect =>+ 'Changing your password signs out your other BookOrbit sessions. This device stays signed in.';++ @override+ String get boPasswordChanged =>+ 'Password changed. Other signed-in devices were signed out.';++ @override+ String boPasswordShareDescription(String username) {+ return 'Send this link or have $username scan the QR code to choose a password and sign in to Absorb. It works for 15 minutes.';+ }++ @override+ String boPasswordShareWarning(String username) {+ return 'Anyone with this link can choose the password for $username until it is used or expires.';+ }++ @override+ String get setupLinkCopyWebLink => 'Copy web link';++ @override+ String get boUserLinkCopy => 'Copy link';++ @override+ String get boUserLinkCopied => 'Link copied';++ @override+ String get boUserLinkShare => 'Share';++ @override+ String get boUserNoLink =>+ 'The user was added, but the server sent no password link. Send one from their page.';++ @override+ String get boPermGroupLibrary => 'Library and books';++ @override+ String get boPermGroupRequests => 'Book requests';++ @override+ String get boPermGroupDevices => 'Devices';++ @override+ String get boPermGroupIntegrations => 'Reading integrations';++ @override+ String get boPermGroupDock => 'Book Dock';++ @override+ String get boPermGroupEmail => 'Email and notifications';++ @override+ String get boPermGroupAdmin => 'Administration';++ @override+ String get boPermLibraryDownload => 'Download books';++ @override+ String get boPermLibraryUpload => 'Upload books';++ @override+ String get boPermLibraryEditMetadata => 'Edit metadata';++ @override+ String get boPermLibraryDeleteBooks => 'Delete books';++ @override+ String get boPermBookRequestAccess => 'Request books';++ @override+ String get boPermBookRequestAutoApprove => 'Requests approved automatically';++ @override+ String get boPermBookRequestSelfFulfill =>+ 'Download requested books directly';++ @override+ String get boPermManageBookRequests => 'Manage book requests';++ @override+ String get boPermKoboSync => 'Kobo sync';++ @override+ String get boPermKoreaderSync => 'KOReader sync';++ @override+ String get boPermOpdsAccess => 'OPDS access';++ @override+ String get boPermHardcoverSync => 'Hardcover sync';++ @override+ String get boPermReadwiseSync => 'Readwise sync';++ @override+ String get boPermStorygraphSync => 'StoryGraph sync';++ @override+ String get boPermBookDockAccess => 'Use the Book Dock';++ @override+ String get boPermManageBookDock => 'Manage the Book Dock';++ @override+ String get boPermEmailSend => 'Send books by email';++ @override+ String get boPermNotificationAccess => 'Notifications';++ @override+ String get boPermManageEmail => 'Manage email';++ @override+ String get boPermManageLibraries => 'Manage libraries';++ @override+ String get boPermManageMetadataConfig => 'Metadata settings';++ @override+ String get boPermManageIcons => 'Manage icons';++ @override+ String get boPermManageUsers => 'Manage users';++ @override+ String get boPermViewUserActivity => 'View user activity';++ @override+ String get boPermViewAuditLog => 'View the audit log';++ @override+ String get boPermManageAppSettings => 'App settings';++ @override+ String get boLibsNone => 'No libraries yet';++ @override+ String boLibBookCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books',+ one: '1 book',+ );+ return '$_temp0';+ }++ @override+ String get boLibScanNow => 'Scan now';++ @override+ String get boLibScanStarted => 'Scan started';++ @override+ String get boLibScanning => 'Scanning';++ @override+ String boLibLastScan(String date, int added, int updated, int missing) {+ return 'Scanned $date: $added added, $updated updated, $missing missing';+ }++ @override+ String get boLibScanFailed => 'The last scan failed';++ @override+ String get boLibNeverScanned => 'Not scanned yet';++ @override+ String get boLibNew => 'New library';++ @override+ String get boLibName => 'Name';++ @override+ String get boLibNeedName => 'Give the library a name';++ @override+ String get boLibIcon => 'Icon';++ @override+ String get boLibFolders => 'Folders';++ @override+ String get boLibFoldersHint =>+ 'Folders on the server where this library\'s books live.';++ @override+ String get boLibNeedFolder => 'Add at least one folder';++ @override+ String get boLibAddFolder => 'Add folder';++ @override+ String boLibFolderFiles(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count files',+ one: '1 file',+ );+ return '$_temp0';+ }++ @override+ String boLibFolderInUse(String library) {+ return 'Already in $library';+ }++ @override+ String get boLibFolderUnreadable => 'The server can\'t read this folder';++ @override+ String get boLibFolderRescan => 'Changing the folders rescans the library.';++ @override+ String get boLibOrganization => 'Books are stored as';++ @override+ String get boLibPerFolder => 'One book per folder';++ @override+ String get boLibPerFile => 'One book per file';++ @override+ String get boLibOrganizationFixed =>+ 'This cannot be changed after the library is created.';++ @override+ String get boLibWatch => 'Watch for changes';++ @override+ String get boLibWatchSubtitle =>+ 'Pick up new and changed files as they appear';++ @override+ String get boLibSchedule => 'Scheduled scan';++ @override+ String get boLibScheduleOff => 'Off';++ @override+ String get boLibScheduleDaily => 'Daily';++ @override+ String get boLibScheduleWeekly => 'Weekly';++ @override+ String boLibScheduleCustom(String cron) {+ return 'Custom ($cron)';+ }++ @override+ String get boLibScheduleHint => 'Runs at 3 AM server time.';++ @override+ String get boLibCovers => 'Cover shape';++ @override+ String get boLibCoverBook => 'Book (2:3)';++ @override+ String get boLibCoverSquare => 'Square (1:1)';++ @override+ String get boLibAccess => 'Who can see it';++ @override+ String get boLibAccessHint =>+ 'Administrators see every library. Others need access here.';++ @override+ String get boLibAccessNone => 'Only administrators so far';++ @override+ String get boLibAccessAdd => 'Add person';++ @override+ String get boLibAccessEveryoneHas => 'Everyone already has access';++ @override+ String get boLibLevelViewer => 'Viewer';++ @override+ String get boLibLevelEditor => 'Editor';++ @override+ String get boLibLevelOwner => 'Owner';++ @override+ String get boLibAccessRemove => 'Remove access';++ @override+ String get boLibDelete => 'Delete library';++ @override+ String boLibDeleteTitle(String name) {+ return 'Delete $name?';+ }++ @override+ String get boLibDeleteBody =>+ 'The library is removed from BookOrbit, with its books\' progress and highlights. The files on the server stay where they are.';++ @override+ String get boLibDeleted => 'Library deleted';++ @override+ String get boFolderPickTitle => 'Choose a folder';++ @override+ String get boFolderUseThis => 'Use this folder';++ @override+ String get boFolderEmpty => 'No folders inside';++ @override+ String get statsTotalTime => 'TOTAL TIME';++ @override+ String get statsTotalReadingTime => 'TOTAL READING TIME';++ @override+ String statsDaysOfTime(String days) {+ return 'That\'s $days days';+ }++ @override+ String statsHoursOfTime(String hours) {+ return 'That\'s $hours hours';+ }++ @override+ String get statsMediaAll => 'All';++ @override+ String get statsMediaListening => 'Listening';++ @override+ String get statsMediaReading => 'Reading';++ @override+ String statsZoneMismatch(String server, String phone) {+ return 'BookOrbit counts your days in $server, but this phone is set to $phone. Time late in the day can land on the wrong day.';+ }++ @override+ String statsZoneUse(String zone) {+ return 'Use $zone';+ }++ @override+ String statsZoneSaved(String zone) {+ return 'BookOrbit now uses $zone. Older days can take a few minutes to catch up.';+ }++ @override+ String get statsZoneFailed => 'Couldn\'t change the time zone on BookOrbit';++ @override+ String get statsTimeOfDay => 'Time of day';++ @override+ String statsBusiestAround(String time) {+ return 'Busiest around $time';+ }++ @override+ String get statsFinishedByMonth => 'Books finished by month';++ @override+ String statsFinishedLast12(int count) {+ return '$count in the last 12 months';+ }++ @override+ String get statsWhereTitle => 'Where you listen and read';++ @override+ String get statsLast12Months => 'Last 12 months';++ @override+ String get statsHabits => 'Habits';++ @override+ String get statsTypicalSession => 'Typical session';++ @override+ String get statsProgressPerSession => 'Progress per session';++ @override+ String get statsTimeToFinish => 'Time to finish';++ @override+ String statsDayCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count days',+ one: '1 day',+ );+ return '$_temp0';+ }++ @override+ String get statsBooksStarted => 'Books started';++ @override+ String get statsBooksInProgress => 'In progress';++ @override+ String get statsAverageProgress => 'Average progress';++ @override+ String get statsTopBooks => 'Top books';++ @override+ String get statsYearRead => 'Read';++ @override+ String boNotificationsUnread(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count unread',+ one: '1 unread',+ zero: 'Nothing new',+ );+ return '$_temp0';+ }++ @override+ String get boNotificationsMarkAllRead => 'Mark all read';++ @override+ String get boNotificationsClearAll => 'Clear all';++ @override+ String get boNotificationsClearTitle => 'Clear all notifications?';++ @override+ String get boNotificationsClearBody =>+ 'This removes every notification from your BookOrbit account.';++ @override+ String get boNotificationsEmpty => 'No notifications yet';++ @override+ String get boNotificationsLoadFailed => 'Couldn\'t load notifications';++ @override+ String get boNotificationsUpdateFailed =>+ 'Couldn\'t update notifications on BookOrbit';@override- String narrationQueueStopped(String title) {- return 'Stopped before $title. Download it to keep going.';+ String boNotificationsOccurrences(int count) {+ return 'Happened $count times';}@override- String get transcriptionNeedsDownload =>- 'This needs the audio on your phone. Download it now?';+ String get boNotificationsSettings => 'Notification settings';@override- String get transcriptionDownloadStarted =>- 'Downloading. Turn this on again when it finishes';+ String get boNotificationsSettingsIntro =>+ 'Choose which notifications BookOrbit keeps for you.';@override- String get readAlongFollow => 'Read along follows';+ String get boNotificationsProblemsHint =>+ 'Problems only notifies you when something fails or needs attention.';@override- String get syncReadingListening => 'Keep reading and listening in sync';+ String get boNotificationLevelOff => 'Off';@override- String get syncReadingListeningHint =>- 'For books with an audiobook and an ebook. When you stop listening, the ebook moves to where you stopped. When you leave the reader, the audiobook moves to your page. Only moves forward.';+ String get boNotificationLevelProblems => 'Problems';@override- String get syncEbookMoved => 'Ebook moved to where you stopped listening';+ String get boNotificationLevelAll => 'All';@override- String get syncAudioMoved => 'Audiobook moved to where you stopped reading';+ String get boNotificationsSaved => 'Notification settings saved';@override- String get syncAudioOffer => 'Tap to jump to where you stopped reading';+ String get boNotificationsSaveFailed =>+ 'Couldn\'t save notification settings';@override- String get syncFindingAudio => 'Finding your page in the audiobook';+ String get boNotificationGroupLibrary => 'Library';@override- String get syncFindingEbook => 'Finding your spot in the ebook';+ String get boNotificationGroupFiles => 'Files';@override- String get syncFailed => 'Couldn\'t sync your place';+ String get boNotificationGroupIntegrations => 'Integrations';@override- String get syncAlreadyTogether => 'Already in sync';+ String get boNotificationGroupPersonal => 'Personal';@override- String get syncPosition => 'Sync position';+ String get boNotifyScanning => 'Library scanning';@override- String get readAlongFollowHint =>- 'Word timing is worked out between the transcript\'s timestamps, so it can drift slightly inside a sentence.';+ String get boNotifyScanningDesc =>+ 'When a library scan finishes, fails, or finds missing books.';@override- String get readAlongFollowWord => 'Word';+ String get boNotifyMetadata => 'Metadata fetching';@override- String get readAlongFollowSentence => 'Sentence';+ String get boNotifyMetadataDesc =>+ 'When metadata lookups for your books finish or fail.';@override- String get readAlongColor => 'Read along color';+ String get boNotifyAuthorEnrichment => 'Author details';@override- String get readAlongLost => 'Can\'t find the narration on the page';+ String get boNotifyAuthorEnrichmentDesc =>+ 'When author biographies and photos finish downloading.';@override- String get readAlongBackToNarration => 'Back to narration';+ String get boNotifyFileWriteBack => 'Saving to files';@override- String get findInEbook => 'Find in ebook';+ String get boNotifyFileWriteBackDesc =>+ 'When edited details are saved into the book files on disk.';@override- String get findInEbookSearching => 'Finding this spot in the ebook...';+ String get boNotifyFileRename => 'File renaming';@override- String get findInEbookNotFound => 'Couldn\'t find this spot in the ebook.';+ String get boNotifyFileRenameDesc =>+ 'When a book file is renamed to match your naming pattern.';@override- String get findInEbookNeedsEpub => 'Find in ebook needs an EPUB ebook.';+ String get boNotifyBulkRename => 'Bulk renaming';@override- String get findInEbookNoEbook => 'This book doesn\'t have an ebook.';+ String get boNotifyBulkRenameDesc =>+ 'When renaming many books, or moving books between libraries, finishes or fails.';@override- String get findInAudiobook => 'Find in audiobook';+ String get boNotifyMigration => 'Imports';@override- String get findInAudiobookSearching =>- 'Finding this spot in the audiobook...';+ String get boNotifyMigrationDesc =>+ 'When an import from another library app finishes or fails.';@override- String get findInAudiobookStillSearching =>- 'Still searching the audio for this spot...';+ String get boNotifyBookDock => 'Book Dock';@override- String get findInAudiobookSearchingLong =>- 'Long chapter, still searching. This can take a minute or two...';+ String get boNotifyBookDockDesc =>+ 'When Book Dock finishes adding books or runs into problems.';@override- String get findInAudiobookNotFound =>- 'Couldn\'t find this spot in the audiobook.';+ String get boNotifyBookRequests => 'Book requests';@override- String get transcriptionWhisperInfo =>- 'Transcription is powered by Whisper, an open speech recognition model that listens to the narration and writes out the words - all on this device.';+ String get boNotifyBookRequestsDesc =>+ 'When a book request is submitted or decided, or the book becomes available.';@override- String get transcriptionWhisperLearnMore => 'Learn more about Whisper';+ String get boNotifyEmail => 'Email delivery';@override- String get findInAudiobookIntroBody =>- 'This listens to the audiobook near where you\'re reading and matches it to this passage, all on your device. It can take up to a minute. If the spot can\'t be matched confidently, nothing moves.';+ String get boNotifyEmailDesc =>+ 'When sending a book by email works or fails.';@override- String get findInAudiobookAfterLabel => 'When the spot is found';+ String get boNotifyAchievements => 'Achievements';@override- String get findInAudiobookStay => 'Keep reading';+ String get boNotifyAchievementsDesc => 'When you unlock a new achievement.';@override- String get findInAudiobookGoPlayer => 'Open the player';+ String get achievementsTitle => 'Achievements';@override- String get findInAudiobookPlaying => 'Playing this passage in the audiobook';+ String achievementsEarnedSummary(int earned, int total) {+ return '$earned of $total earned';+ }@override- String get catchUpAudioAhead =>- 'The audiobook is further along. Tap to go there.';+ String get achievementsFilterAll => 'All';@override- String get catchUpPageAhead =>- 'This page is ahead of the audiobook. Tap to move the audiobook here.';+ String get achievementsFilterEarned => 'Earned';@override- String get readerShortcutButton => 'Shortcut button';+ String get achievementsFilterInProgress => 'In progress';@override- String get keepScreenOn => 'Keep screen on';+ String get achievementsFilterLocked => 'Locked';@override- String get keepScreenOnActive => 'Screen stays on';+ String get achievementsCategoryReading => 'Reading';@override- String get keepScreenOnUntilClosed =>- 'Screen stays on until you close the app';+ String get achievementsCategoryLibrary => 'Library';@override- String get keepScreenOnOff => 'Screen can turn off again';+ String get achievementsCategoryExploration => 'Exploration';@override- String get keepScreenOnOffUntilRestart =>- 'Off until the app restarts. The Settings switch stays on';+ String get achievementsCategoryDedication => 'Dedication';@override- String get keepScreenOnPlayer => 'Keep the screen on in the player';+ String get achievementsCategoryDevices => 'Devices';@override- String get keepScreenOnPlayerSubtitle =>- 'The screen stays on while the player is open';+ String get achievementsRarityCommon => 'Common';@override- String get keepScreenOnCarMode => 'Keep the screen on in car mode';+ String get achievementsRarityRare => 'Rare';@override- String get keepScreenOnCarModeSubtitle =>- 'The screen stays on while car mode is open';+ String get achievementsRarityEpic => 'Epic';@override- String get loginServerType => 'Server type';+ String get achievementsRarityLegendary => 'Legendary';@override- String get authBookOrbitDefaultPassword =>- 'This account still has its default password. Change it in BookOrbit, then sign in again.';+ String get achievementsLoadFailed => 'Couldn\'t load achievements';@override- String get authBookOrbitPasswordOff =>- 'Password sign-in is turned off on this server. Sign in with a magic link or single sign-on.';+ String get achievementsNoneMatch => 'No achievements match this filter';@override- String get authServerIsBookOrbit =>- 'This is a BookOrbit server. Choose BookOrbit above the server address.';+ String get achievementsSecretName => 'Secret achievement';@override- String get authServerIsAudiobookshelf =>- 'This is an Audiobookshelf server. Choose Audiobookshelf above the server address.';+ String get achievementsSecretHint => 'Keep reading to reveal this one.';@override- String get castNotAvailableBookOrbit =>- 'Casting is not available with BookOrbit servers';+ String achievementsEarnedOn(String date) {+ return 'Earned $date';+ }@override- String get loginMagicLink => 'Magic link';+ String achievementsWhileReading(String title) {+ return 'While reading $title';+ }@override- String get loginMagicLinkDescription =>- 'Sign in with a BookOrbit magic link instead of a password.';+ String achievementsTierOf(int earned, int total) {+ return 'Tier $earned of $total';+ }@override- String get collectionPublicTitle => 'Public';+ String get achievementsTiers => 'Tiers';@override- String get collectionPublicSubtitle =>- 'Everyone on this server can see this collection';+ String get achievementsAllTiers => 'Every tier earned';@override- String loginSignInWithProvider(String provider) {- return 'Sign in with $provider';+ String achievementsProgress(String current, String threshold) {+ return '$current / $threshold';}@override- String get loginSignInWithSso => 'Sign in with SSO';+ String achievementsProgressBooks(String current, String threshold) {+ return '$current / $threshold books';+ }@override- String get loginChooseSsoProvider => 'Choose how to sign in';+ String achievementsProgressPages(String current, String threshold) {+ return '$current / $threshold pages';+ }@override- String get loginRedirectUriBookOrbit =>- 'Redirect URI: bookorbit://oauth2-callback';+ String achievementsProgressHours(String current, String threshold) {+ return '$current / $threshold hours';+ }@override- String get readStatusTitle => 'Reading status';+ String achievementsProgressAnnotations(String current, String threshold) {+ return '$current / $threshold highlights and notes';+ }@override- String get readStatusHint =>- 'BookOrbit keeps a status you pick here until you change it.';+ String achievementsProgressRatings(String current, String threshold) {+ return '$current / $threshold ratings';+ }@override- String get readStatusUnread => 'Unread';+ String achievementsProgressGenres(String current, String threshold) {+ return '$current / $threshold genres';+ }@override- String get readStatusWantToRead => 'Want to read';+ String achievementsProgressLanguages(String current, String threshold) {+ return '$current / $threshold languages';+ }@override- String get readStatusReading => 'Reading';+ String achievementsProgressDays(String current, String threshold) {+ return '$current / $threshold days';+ }@override- String get readStatusOnHold => 'On hold';+ String get achievementsHowToGetIt => 'How to get it';@override- String get readStatusRereading => 'Rereading';+ String achievementsHintReadingPace(int count, int days) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You read $count hours in the last $days days.',+ one: 'You read 1 hour in the last $days days.',+ );+ return '$_temp0';+ }@override- String get readStatusRead => 'Read';+ String achievementsHintEtaDays(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count days at this pace.',+ one: 'About 1 day at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusSkimmed => 'Skimmed';+ String achievementsHintEtaWeeks(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count weeks at this pace.',+ one: 'About 1 week at this pace.',+ );+ return '$_temp0';+ }@override- String get readStatusAbandoned => 'Abandoned';+ String achievementsHintEtaMonths(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'About $count months at this pace.',+ one: 'About 1 month at this pace.',+ );+ return '$_temp0';+ }@override- String get personalNoteTitle => 'Your note';+ String achievementsHintDecadeUnread(int count, String decade) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${decade}s are waiting on your shelves.',+ one: '1 book from the ${decade}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteAdd => 'Add a private note';+ String achievementsHintCenturyUnread(int count, String century) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books from the ${century}s are waiting on your shelves.',+ one: '1 book from the ${century}s is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get personalNoteHint => 'Only you can see this note.';+ String achievementsHintStalled(String title, String percent, String date) {+ return '$title is $percent read and was started on $date.';+ }@override- String get moreLikeThis => 'More like this';+ String achievementsHintStalledNoProgress(String title, String date) {+ return '$title was started on $date.';+ }@override- String get coverSlotAudiobook => 'Audiobook cover';+ String get achievementsHintUntitledBook => 'A book in progress';@override- String get coverSlotBook => 'Book cover';+ String achievementsHintNearlyFinished(int count, String percent) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in progress are past $percent.',+ one: '1 book in progress is past $percent.',+ );+ return '$_temp0';+ }@override- String get cardButtonFill => 'Button background';+ String achievementsHintUnrated(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books you finished have no rating yet.',+ one: '1 book you finished has no rating yet.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtitle =>- 'How the buttons on the player card are filled';+ String achievementsHintShortBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books under $pages pages are waiting on your shelves.',+ one: '1 book under $pages pages is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillClear => 'Clear';+ String achievementsHintAlreadyStarted(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count are already in progress.',+ one: '1 is already in progress.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSubtle => 'Subtle';+ String achievementsHintLongBooks(int count, String pages) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other:+ '$count books of $pages pages or more are waiting on your shelves.',+ one: '1 book of $pages pages or more is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get cardButtonFillSolid => 'Solid';+ String achievementsHintOldBooks(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books published before $year are waiting on your shelves.',+ one: '1 book published before $year is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get loginBookOrbitPreview =>- 'BookOrbit support is new. Playback, downloads and browsing work, but some screens may still look or act like Audiobookshelf. Follow the progress on GitHub, and let us know if something seems off.';+ String achievementsHintAuthorUnread(String author, int finished, int count) {+ return '$author: $finished finished, $count more on your shelves.';+ }@override- String get signedOutTapToSignIn => 'Signed out. Tap to sign in again.';+ String achievementsHintLanguageUnread(int count, String language) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count books in $language are waiting on your shelves.',+ one: '1 book in $language is waiting on your shelves.',+ );+ return '$_temp0';+ }@override- String get authSignedOutKeepListening =>- 'You\'ve been signed out. Downloads still play. Tap the red cloud to sign in again.';+ String achievementsHintMonthsRead(int count, String year) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'You have read in $count months of $year so far.',+ one: 'You have read in 1 month of $year so far.',+ );+ return '$_temp0';+ }@override- String signedOutSyncNote(String username, String server) {- return 'What you listen to while signed out is kept on this phone and syncs when you sign back in as $username on $server. Any way of signing in to that account works.';+ String achievementsHintMonthsLeft(int count, String months) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$months are left.',+ one: '$months is left.',+ );+ return '$_temp0';}@override- String get comicReadingDirection => 'Reading direction';+ String achievementsHintNoLongBook(String pages) {+ return 'No book on your shelves has $pages pages or more yet.';+ }@override- String comicPageNumber(int page) {- return 'Page $page';+ String achievementsHintNothingBefore(String year) {+ return 'Nothing on your shelves was published before $year.';}@override- String get comicBookmarkRemoveFailed =>- 'Couldn\'t remove the bookmark from the server. Try again when you\'re online.';+ String achievementsHintTooFewDecades(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count decades so far.',+ one: 'Your shelves span only 1 decade so far.',+ );+ return '$_temp0';+ }@override- String get comicLeftToRight => 'Left to right';+ String achievementsHintTooFewCenturies(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Your shelves span only $count centuries so far.',+ one: 'Your shelves span only 1 century so far.',+ );+ return '$_temp0';+ }@override- String get comicRightToLeft => 'Right to left (manga)';+ String achievementsHintMissedMonth(String month, String year) {+ return 'You did not read in $month, so $year is out of reach. The count starts again in January.';+ }@override- String get comicNeedsConnection =>- 'This comic opens page by page from your server, so it needs a connection.';+ String get achievementsSwitch => 'Achievements';@override- String get comicNoPages => 'No pages found in this comic.';+ String get achievementsSwitchSubtitle =>+ 'Track achievements on BookOrbit. Turning this off hides them here and on the web.';++ @override+ String get achievementsTurnedOn => 'Achievements turned on';++ @override+ String get achievementsTurnedOff => 'Achievements turned off';++ @override+ String get achievementsSwitchFailed =>+ 'Couldn\'t change achievements on BookOrbit';}diff --git a/lib/main.dart b/lib/main.dartindex c26de5e6..2d00dd80 100644--- a/lib/main.dart+++ b/lib/main.dart@@ -21,6 +21,7 @@ import 'providers/auth_provider.dart';import 'providers/library_provider.dart';import 'services/audio_player_service.dart';import 'services/api_service.dart';+import 'services/narration_service.dart';import 'services/download_service.dart';import 'services/progress_sync_service.dart';import 'services/local_session_service.dart';@@ -208,6 +209,9 @@ void main() async {HttpOverrides.global = _CertOverrides();final widgetsBinding = WidgetsFlutterBinding.ensureInitialized();ReadListenSync.instance.start();+ BookOrbitApiService.placeReadingSpot = NarrationService.readingSpotSeconds;+ BookOrbitApiService.keptNarration = NarrationService.instance.localOverlay;+ ApiService.pageReadElsewhere = NarrationService.pageReadElsewhere;try {await NarratedBooks.load().timeout(const Duration(seconds: 2));} catch (_) {}diff --git a/lib/providers/auth_provider.dart b/lib/providers/auth_provider.dartindex 84b1d247..b8a6b1a8 100644--- a/lib/providers/auth_provider.dart+++ b/lib/providers/auth_provider.dart@@ -4,6 +4,7 @@ import 'package:connectivity_plus/connectivity_plus.dart';import 'package:flutter/material.dart';import 'package:shared_preferences/shared_preferences.dart';import '../services/api_service.dart';+import '../services/bookorbit_admin.dart';import '../services/auth_tokens.dart';import '../services/android_auto_service.dart';import '../services/book_search_index.dart';@@ -96,6 +97,19 @@ class AuthProvider extends ChangeNotifier {String? get userId => _userId;String? get defaultLibraryId => _defaultLibraryId;String? get errorMessage => _errorMessage;++ /// The last sign-in was turned away because the BookOrbit account still+ /// has the password it was created with.+ bool get needsNewBookOrbitPassword => _needsNewBookOrbitPassword;+ bool _needsNewBookOrbitPassword = false;++ /// BookOrbit accounts from single sign-on and shared accounts have no+ /// password of their own to change.+ bool get canChangeBookOrbitPassword {+ if (!isBookOrbit) return false;+ final method = (_userJson?['bookOrbit'] as Map?)?['provisioningMethod'];+ return method != 'oidc' && method != 'shared';+ }Map<String, dynamic>? get userJson => _userJson;Map<String, dynamic>? get serverSettings => _serverSettings;String? get serverVersion => _serverVersion;@@ -109,6 +123,10 @@ class AuthProvider extends ChangeNotifier {bool get isRoot => _userJson?['type'] == 'root';+ /// What a BookOrbit user may administer on the server. Null on+ /// Audiobookshelf, whose admins use [isAdmin].+ BookOrbitAdminAccess? get bookOrbitAdmin => isBookOrbit ? BookOrbitAdminAccess.fromUser(_userJson) : null;+bool get canAccessExplicitContent {final perms = _userJson?['permissions'] as Map<String, dynamic>?;return perms?['accessExplicitContent'] == true;@@ -361,12 +379,9 @@ class AuthProvider extends ChangeNotifier {final url = _serverUrl;final token = _accessToken;if (url == null || token == null) return;- if (_backend.isBookOrbit) {- WearAuthService.instance.clear();- return;- }WearAuthService.instance.publish(serverUrl: url,+ backend: _backend.key,accessToken: token,refreshToken: _refreshToken,username: _username ?? '',@@ -386,8 +401,26 @@ class AuthProvider extends ChangeNotifier {server,username,);- if (tokens?.accessToken == null || tokens!.accessToken == _accessToken)+ if (tokens?.accessToken == null) return;+ if (tokens!.accessToken == _accessToken) {+ // A launch that read a pair the watch path stored never passed it+ // through a rotation, so the saved account can still hold the spent+ // one, and switching back to that account later would send it.+ if (username != null) {+ await UserAccountService().updateTokens(+ server,+ username,+ tokens.accessToken!,+ refreshToken: tokens.refreshToken,+ );+ }return;+ }+ debugPrint(+ '[Auth] Taking the token pair stored outside the app (watch or '+ 'background): access=${ApiService.tokenFp(tokens.accessToken)} '+ 'refresh=${ApiService.tokenFp(tokens.refreshToken)}',+ );await _onTokensRefreshed(server,username,@@ -569,61 +602,7 @@ class AuthProvider extends ChangeNotifier {// Load local server configawait _loadLocalServerSettings();- // Check if server is actually reachable. With a local address set,- // local and remote are pinged together: local answering inside two- // seconds wins outright, otherwise launch carries on with the remote- // answer and a local reply inside six seconds still switches the app- // over quietly. No WiFi gate any more - a local address can sit- // behind a VPN or Tailscale and answer on cellular, and a LAN address- // off its network just fails in the background at no cost to launch.- var reachable = false;- if (_localServerEnabled && _localServerUrl.isNotEmpty) {- final connectivity = await Connectivity().checkConnectivity();- debugPrint(- '[Auth] Local server enabled, pinging local and remote together '- '(net=${connectivity.map((c) => c.name).join(',')}) (${sw.elapsedMilliseconds}ms)',- );- final localPing = ApiService.pingServer(- _localServerUrl,- customHeaders: _customHeaders,- ).timeout(const Duration(seconds: 6), onTimeout: () => false);- // Cap at 5s so a silently-dropping reverse proxy or dead network- // path doesn't hold up app launch. The health-check timer will- // re-probe every 60s once we're past startup, so a transient- // false-offline self-corrects quickly.- final remotePing = ApiService.pingServer(- restoredUrl,- customHeaders: _customHeaders,- ).timeout(const Duration(seconds: 5), onTimeout: () => false);- final localReachable = await localPing.timeout(- const Duration(seconds: 2),- onTimeout: () => false,- );- if (localReachable) {- debugPrint(- '[Auth] Local server reachable - using local (${sw.elapsedMilliseconds}ms)',- );- _useLocalServer = true;- reachable = true;- } else {- unawaited(localPing.then(_adoptLateLocalAnswer));- reachable = await remotePing;- debugPrint(- '[Auth] remote ping result: reachable=$reachable (${sw.elapsedMilliseconds}ms)',- );- }- } else {- debugPrint(- '[Auth] pinging remote server... (${sw.elapsedMilliseconds}ms)',- );- reachable = await ApiService.pingServer(- restoredUrl,- customHeaders: _customHeaders,- ).timeout(const Duration(seconds: 5), onTimeout: () => false);- debugPrint(- '[Auth] remote ping result: reachable=$reachable (${sw.elapsedMilliseconds}ms)',- );- }+ final reachable = await _pingServers(restoredUrl, sw);_serverReachable = reachable;// Fetch full user info (needed for isAdmin, permissions, etc.)@@ -701,6 +680,10 @@ class AuthProvider extends ChangeNotifier {bool _ensuringUserInfo = false;+ // Bumped whenever the signed-in account changes, so an answer that was+ // still on its way for the account before can't land on the next one.+ int _accountGen = 0;+/// Public entry point for the reconnect paths (e.g. LibraryProvider going/// back online for a remote server, which doesn't flow through the/// `_serverReachable` setter). No-op once the user info is already loaded.@@ -717,6 +700,7 @@ class AuthProvider extends ChangeNotifier {if (!isAuthenticated || _accessToken == null || activeServerUrl == null)return;_ensuringUserInfo = true;+ final gen = _accountGen;try {final api = _createSessionApi(baseUrl: activeServerUrl!,@@ -725,6 +709,7 @@ class AuthProvider extends ChangeNotifier {isLegacyToken: _isLegacyToken,);final auth = await api.authorize();+ if (gen != _accountGen) return;if (auth != null) {final user = auth['user'] as Map<String, dynamic>?;if (user != null) {@@ -741,6 +726,7 @@ class AuthProvider extends ChangeNotifier {if (defaultLib != null) _defaultLibraryId = defaultLib;} else {final me = await api.getMe();+ if (gen != _accountGen) return;if (me != null) {_userJson = me;_userId = me['id'] as String?;@@ -772,7 +758,9 @@ class AuthProvider extends ChangeNotifier {String? magicLink,AppLocalizations? l,}) async {+ _accountGen++;_errorMessage = null;+ _needsNewBookOrbitPassword = false;final url = normalizeServerUrl(serverUrl);@@ -809,6 +797,7 @@ class AuthProvider extends ChangeNotifier {return false;}if (result?['bookOrbitDefaultPassword'] == true) {+ _needsNewBookOrbitPassword = true;_errorMessage = l?.authBookOrbitDefaultPassword ??'This account still has its default password. Change it in BookOrbit, then sign in again.';return false;@@ -980,6 +969,7 @@ class AuthProvider extends ChangeNotifier {ServerBackend backend = ServerBackend.audiobookshelf,AppLocalizations? l,}) async {+ _accountGen++;_errorMessage = null;final url = normalizeServerUrl(serverUrl);@@ -1236,6 +1226,59 @@ class AuthProvider extends ChangeNotifier {/// The launch-time local ping answering after the two-second decision/// already went to remote. Switch quietly; the library reloads on the/// local address through the usual auth notification.+ /// Whether the account's server answers, asking its local address too+ /// when one is set. Local answering inside two seconds wins outright,+ /// otherwise this goes with the remote answer and a local reply inside six+ /// seconds still switches over quietly. No WiFi gate - a local address can+ /// sit behind a VPN or Tailscale and answer on cellular, and a LAN address+ /// off its network just fails in the background. The remote ping is capped+ /// at five seconds so a silently dropping proxy or dead network path can't+ /// hold up a launch or an account switch; the health check re-probes every+ /// minute, so a false offline corrects itself.+ Future<bool> _pingServers(String remoteUrl, Stopwatch sw) async {+ if (_localServerEnabled && _localServerUrl.isNotEmpty) {+ final connectivity = await Connectivity().checkConnectivity();+ debugPrint(+ '[Auth] Local server enabled, pinging local and remote together '+ '(net=${connectivity.map((c) => c.name).join(',')}) (${sw.elapsedMilliseconds}ms)',+ );+ final localPing = ApiService.pingServer(+ _localServerUrl,+ customHeaders: _customHeaders,+ ).timeout(const Duration(seconds: 6), onTimeout: () => false);+ final remotePing = ApiService.pingServer(+ remoteUrl,+ customHeaders: _customHeaders,+ ).timeout(const Duration(seconds: 5), onTimeout: () => false);+ final localReachable = await localPing.timeout(+ const Duration(seconds: 2),+ onTimeout: () => false,+ );+ if (localReachable) {+ debugPrint(+ '[Auth] Local server reachable - using local (${sw.elapsedMilliseconds}ms)',+ );+ _useLocalServer = true;+ return true;+ }+ unawaited(localPing.then(_adoptLateLocalAnswer));+ final reachable = await remotePing;+ debugPrint(+ '[Auth] remote ping result: reachable=$reachable (${sw.elapsedMilliseconds}ms)',+ );+ return reachable;+ }+ debugPrint('[Auth] pinging remote server... (${sw.elapsedMilliseconds}ms)');+ final reachable = await ApiService.pingServer(+ remoteUrl,+ customHeaders: _customHeaders,+ ).timeout(const Duration(seconds: 5), onTimeout: () => false);+ debugPrint(+ '[Auth] remote ping result: reachable=$reachable (${sw.elapsedMilliseconds}ms)',+ );+ return reachable;+ }+void _adoptLateLocalAnswer(bool reachable) {if (!reachable || _useLocalServer) return;if (!_localServerEnabled || _localServerUrl.isEmpty || _serverUrl == null) {@@ -1318,13 +1361,14 @@ class AuthProvider extends ChangeNotifier {/// Logout and clear stored session./// Fetch server version asynchronously (non-blocking).void _fetchServerVersion(String url) async {+ final gen = _accountGen;try {final version = await ApiService.getServerVersion(url,customHeaders: _customHeaders,backend: _backend,);- if (version != null) {+ if (version != null && gen == _accountGen) {_serverVersion = version;notifyListeners();}@@ -1338,6 +1382,7 @@ class AuthProvider extends ChangeNotifier {bool allDevices = false,}) async {if (revokeServerSession) await adoptCompanionTokens();+ _accountGen++;_signedOut = false;// Stop any active playback@@ -1434,6 +1479,7 @@ class AuthProvider extends ChangeNotifier {/// app reloads with the new user's data.Future<bool> switchToAccount(SavedAccount account) async {if (account.token.isEmpty) return false;+ final gen = ++_accountGen;await adoptCompanionTokens();// Stop current playback@@ -1527,58 +1573,67 @@ class AuthProvider extends ChangeNotifier {await HomeWidgetService().clearStats();HomeWidgetService().refreshStats(force: true);- // Verify the token still works and get user info- try {- final api = _createSessionApi(- baseUrl: _serverUrl!,- token: _accessToken!,- refreshToken: _refreshToken,- isLegacyToken: _isLegacyToken,- );- final auth = await api.authorize();- if (auth != null) {- final user = auth['user'] as Map<String, dynamic>?;- if (user != null) {- _userJson = user;- _userId = user['id'] as String?;- }- final devicesRaw = auth['ereaderDevices'] as List<dynamic>?;- if (devicesRaw != null) {- _ereaderDevices = devicesRaw.cast<Map<String, dynamic>>();- await _persistEreaderDevices();- }- _applyAuthorizeServerInfo(auth, _serverUrl!);- } else {- final me = await api.getMe();- if (me != null) {- _userJson = me;- _userId = me['id'] as String?;- }- }- } catch (_) {- _serverReachable = false;- }-+ // Ping first, the way a launch does. Without it a server this phone+ // can't reach (a home address while away) sat through every sign-in+ // call's own timeout, over a minute, and then still counted as reachable+ // instead of opening offline.await _loadLocalServerSettings();_useLocalServer = false;- // Check if local server should be active (same logic as tryRestoreSession)- if (_localServerEnabled && _localServerUrl.isNotEmpty) {- final connectivity = await Connectivity().checkConnectivity();- if (connectivity.contains(ConnectivityResult.wifi)) {- final localReachable = await ApiService.pingServer(- _localServerUrl,- customHeaders: _customHeaders,- ).timeout(const Duration(seconds: 2), onTimeout: () => false);- if (localReachable) {- debugPrint(- '[Auth] switchToAccount: local server reachable - using local',- );- _useLocalServer = true;+ final sw = Stopwatch()..start();+ _serverReachable = await _pingServers(_serverUrl!, sw);+ debugPrint('[Auth] switchToAccount: reachable=$_serverReachable (${sw.elapsedMilliseconds}ms)');++ if (_serverReachable) {+ try {+ final api = _createSessionApi(+ baseUrl: activeServerUrl!,+ token: _accessToken!,+ refreshToken: _refreshToken,+ isLegacyToken: _isLegacyToken,+ );+ final auth = await api.authorize();+ if (gen != _accountGen) return false;+ if (auth != null) {+ final user = auth['user'] as Map<String, dynamic>?;+ if (user != null) {+ _userJson = user;+ _userId = user['id'] as String?;+ }+ final devicesRaw = auth['ereaderDevices'] as List<dynamic>?;+ if (devicesRaw != null) {+ _ereaderDevices = devicesRaw.cast<Map<String, dynamic>>();+ await _persistEreaderDevices();+ }+ _applyAuthorizeServerInfo(auth, activeServerUrl!);+ final defaultLib = auth['userDefaultLibraryId'] as String?;+ if (defaultLib != null) _defaultLibraryId = defaultLib;+ } else {+ final me = await api.getMe();+ if (gen != _accountGen) return false;+ if (me != null) {+ _userJson = me;+ _userId = me['id'] as String?;+ }}+ } catch (_) {+ _serverReachable = false;+ }+ _fetchServerVersion(activeServerUrl!);+ // The server answered the ping but not with the user (a refresh that+ // ran out, a slow reply): try again shortly rather than leaving the+ // admin pages hidden until the next minute's check.+ if (_serverReachable && _userJson == null) {+ debugPrint('[Auth] switchToAccount: no user info yet - trying again shortly');+ Future.delayed(const Duration(seconds: 5), () {+ if (gen == _accountGen) unawaited(_ensureUserInfo());+ });}}- _fetchServerVersion(activeServerUrl!);- await apiService?.ensureMediaReady();+ try {+ await apiService?.ensureMediaReady();+ } catch (e) {+ debugPrint('[Auth] Media proxy did not start: $e');+ }_pushSessionToWear();notifyListeners();return true;diff --git a/lib/screens/achievements_screen.dart b/lib/screens/achievements_screen.dartnew file mode 100644index 00000000..047b1f9b--- /dev/null+++ b/lib/screens/achievements_screen.dart@@ -0,0 +1,738 @@+import 'dart:math' as math;++import 'package:flutter/material.dart';+import 'package:intl/intl.dart';+import 'package:provider/provider.dart';++import '../l10n/app_localizations.dart';+import '../providers/auth_provider.dart';+import '../services/achievements.dart';+import '../widgets/absorb_page_header.dart';+import '../widgets/book_detail_sheet.dart' show showBookDetailSheet;++/// The account's BookOrbit achievements: what is earned, what is close, and+/// how to get the rest, grouped the way BookOrbit's web app groups them.+class AchievementsScreen extends StatefulWidget {+ const AchievementsScreen({super.key});++ static Future<void> open(BuildContext context) => Navigator.push(+ context,+ MaterialPageRoute(builder: (_) => const AchievementsScreen()),+ );++ @override+ State<AchievementsScreen> createState() => _AchievementsScreenState();+}++class _AchievementsScreenState extends State<AchievementsScreen> {+ AchievementCatalogue? _catalogue;+ Map<String, AchievementHint> _hints = {};+ bool _loading = true;+ AchievementBucket? _filter;++ @override+ void initState() {+ super.initState();+ WidgetsBinding.instance.addPostFrameCallback((_) => _reload());+ }++ Future<void> _reload({bool fresh = false}) async {+ final api = context.read<AuthProvider>().apiService;+ if (api == null) return;+ setState(() => _loading = true);+ final results = await Future.wait([api.achievements(fresh: fresh), api.achievementHints()]);+ if (!mounted) return;+ setState(() {+ _loading = false;+ _catalogue = results[0] as AchievementCatalogue? ?? _catalogue;+ _hints = {for (final h in results[1] as List<AchievementHint>) h.key: h};+ });+ }++ AchievementHint? _hintFor(AchievementEntry e) {+ final key = e.isSet ? e.nextUnearned?.key : (e.tiers.first.earned ? null : e.tiers.first.key);+ return key == null ? null : _hints[key];+ }++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ final catalogue = _catalogue;+ final entries = catalogue?.entries ?? const <AchievementEntry>[];+ final counts = {+ for (final b in AchievementBucket.values) b: entries.where((e) => e.bucket == b).length,+ };+ final shown = entries.where((e) => _filter == null || e.bucket == _filter).toList();++ return Scaffold(+ backgroundColor: Theme.of(context).scaffoldBackgroundColor,+ body: SafeArea(+ child: Column(children: [+ Padding(+ padding: const EdgeInsets.fromLTRB(20, 12, 8, 0),+ child: Row(children: [+ Expanded(child: AbsorbPageHeader(title: l.achievementsTitle, padding: EdgeInsets.zero)),+ IconButton(+ icon: Icon(Icons.close_rounded, color: cs.onSurfaceVariant),+ onPressed: () => Navigator.pop(context),+ ),+ ]),+ ),+ const SizedBox(height: 8),+ if (_loading) const LinearProgressIndicator(minHeight: 2),+ Expanded(+ child: RefreshIndicator(+ onRefresh: () => _reload(fresh: true),+ child: catalogue == null+ ? ListView(children: [+ const SizedBox(height: 120),+ if (!_loading) ...[+ Icon(Icons.cloud_off_rounded, size: 40, color: cs.onSurfaceVariant.withValues(alpha: 0.4)),+ const SizedBox(height: 12),+ Center(+ child: Text(l.achievementsLoadFailed,+ style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.6))),+ ),+ ],+ ])+ : CustomScrollView(+ physics: const AlwaysScrollableScrollPhysics(),+ slivers: [+ SliverToBoxAdapter(child: _summary(cs, tt, l, catalogue)),+ SliverToBoxAdapter(child: _filters(l, entries.length, counts)),+ if (shown.isEmpty)+ SliverToBoxAdapter(+ child: Padding(+ padding: const EdgeInsets.all(48),+ child: Center(+ child: Text(l.achievementsNoneMatch,+ style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.6))),+ ),+ ),+ ),+ for (final category in [+ ...achievementCategories,+ ...{for (final e in shown) e.category}.where((c) => !achievementCategories.contains(c)),+ ])+ ..._section(cs, tt, l, category, entries, shown.where((e) => e.category == category).toList()),+ const SliverPadding(padding: EdgeInsets.only(bottom: 80)),+ ],+ ),+ ),+ ),+ ]),+ ),+ );+ }++ Widget _summary(ColorScheme cs, TextTheme tt, AppLocalizations l, AchievementCatalogue c) {+ final share = c.totalAvailable == 0 ? 0.0 : c.totalEarned / c.totalAvailable;+ return Padding(+ padding: const EdgeInsets.fromLTRB(16, 8, 16, 0),+ child: Container(+ padding: const EdgeInsets.all(16),+ decoration: BoxDecoration(+ borderRadius: BorderRadius.circular(18),+ gradient: LinearGradient(+ begin: Alignment.topLeft,+ end: Alignment.bottomRight,+ colors: [cs.primary.withValues(alpha: 0.14), cs.primary.withValues(alpha: 0.04)],+ ),+ border: Border.all(color: cs.primary.withValues(alpha: 0.15)),+ ),+ child: Row(children: [+ Container(+ width: 48,+ height: 48,+ decoration: BoxDecoration(color: cs.primary.withValues(alpha: 0.15), borderRadius: BorderRadius.circular(14)),+ child: Icon(Icons.emoji_events_rounded, color: cs.primary, size: 26),+ ),+ const SizedBox(width: 14),+ Expanded(+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(l.achievementsEarnedSummary(c.totalEarned, c.totalAvailable),+ style: tt.titleMedium?.copyWith(fontWeight: FontWeight.w700)),+ const SizedBox(height: 8),+ ClipRRect(+ borderRadius: BorderRadius.circular(4),+ child: LinearProgressIndicator(+ value: share,+ minHeight: 6,+ backgroundColor: cs.primary.withValues(alpha: 0.12),+ ),+ ),+ ]),+ ),+ ]),+ ),+ );+ }++ Widget _filters(AppLocalizations l, int all, Map<AchievementBucket, int> counts) {+ Widget chip(AchievementBucket? bucket, String label, int count) => Padding(+ padding: const EdgeInsets.only(right: 8),+ child: ChoiceChip(+ label: Text('$label $count'),+ selected: _filter == bucket,+ onSelected: (_) => setState(() => _filter = bucket),+ ),+ );+ return SingleChildScrollView(+ scrollDirection: Axis.horizontal,+ padding: const EdgeInsets.fromLTRB(16, 14, 8, 4),+ child: Row(children: [+ chip(null, l.achievementsFilterAll, all),+ chip(AchievementBucket.earned, l.achievementsFilterEarned, counts[AchievementBucket.earned]!),+ chip(AchievementBucket.inProgress, l.achievementsFilterInProgress, counts[AchievementBucket.inProgress]!),+ chip(AchievementBucket.locked, l.achievementsFilterLocked, counts[AchievementBucket.locked]!),+ ]),+ );+ }++ List<Widget> _section(ColorScheme cs, TextTheme tt, AppLocalizations l, String category,+ List<AchievementEntry> all, List<AchievementEntry> shown) {+ if (shown.isEmpty) return const [];+ final inCategory = all.where((e) => e.category == category);+ final earned = inCategory.fold<int>(0, (n, e) => n + e.earnedCount);+ final total = inCategory.fold<int>(0, (n, e) => n + e.tiers.length);+ return [+ SliverToBoxAdapter(+ child: Padding(+ padding: const EdgeInsets.fromLTRB(20, 20, 20, 10),+ child: Row(children: [+ Expanded(+ child: Text(achievementCategoryLabel(l, category).toUpperCase(),+ style: tt.labelSmall?.copyWith(+ color: cs.onSurfaceVariant.withValues(alpha: 0.7), fontWeight: FontWeight.w700, letterSpacing: 0.6)),+ ),+ Text('$earned / $total', style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.6))),+ ]),+ ),+ ),+ SliverPadding(+ padding: const EdgeInsets.symmetric(horizontal: 12),+ sliver: SliverGrid(+ gridDelegate: const SliverGridDelegateWithMaxCrossAxisExtent(+ maxCrossAxisExtent: 130,+ mainAxisExtent: 156,+ crossAxisSpacing: 4,+ mainAxisSpacing: 4,+ ),+ delegate: SliverChildBuilderDelegate(+ (context, i) => _MedalTile(+ entry: shown[i],+ onTap: () => AchievementDetailSheet.show(context, shown[i], _hintFor(shown[i])),+ ),+ childCount: shown.length,+ ),+ ),+ ),+ ];+ }+}++String achievementCategoryLabel(AppLocalizations l, String category) => switch (category) {+ 'reading' => l.achievementsCategoryReading,+ 'library' => l.achievementsCategoryLibrary,+ 'exploration' => l.achievementsCategoryExploration,+ 'dedication' => l.achievementsCategoryDedication,+ 'devices' => l.achievementsCategoryDevices,+ _ => category,+ };++String achievementRarityLabel(AppLocalizations l, AchievementRarity r) => switch (r) {+ AchievementRarity.common => l.achievementsRarityCommon,+ AchievementRarity.rare => l.achievementsRarityRare,+ AchievementRarity.epic => l.achievementsRarityEpic,+ AchievementRarity.legendary => l.achievementsRarityLegendary,+ };++Color achievementRarityColor(AchievementRarity r) => switch (r) {+ AchievementRarity.common => const Color(0xFF7C8B99),+ AchievementRarity.rare => const Color(0xFF3B82F6),+ AchievementRarity.epic => const Color(0xFFA855F7),+ AchievementRarity.legendary => const Color(0xFFF59E0B),+ };++/// BookOrbit names its icons after Lucide's; these are the closest Material+/// ones.+IconData achievementIcon(String name) => switch (name) {+ 'lock' => Icons.lock_rounded,+ 'highlighter' => Icons.border_color_rounded,+ 'star' => Icons.star_rounded,+ 'star-half' => Icons.star_half_rounded,+ 'library' => Icons.local_library_rounded,+ 'globe' => Icons.public_rounded,+ 'flame' => Icons.local_fire_department_rounded,+ 'file-text' => Icons.description_rounded,+ 'files' => Icons.file_copy_rounded,+ 'compass' => Icons.explore_rounded,+ 'clock' => Icons.schedule_rounded,+ 'timer' => Icons.timer_rounded,+ 'hourglass' => Icons.hourglass_bottom_rounded,+ 'book-open' => Icons.menu_book_rounded,+ 'book-marked' => Icons.bookmark_rounded,+ 'bookmark-check' => Icons.bookmark_added_rounded,+ 'book-heart' => Icons.favorite_rounded,+ 'book-x' => Icons.book_rounded,+ 'scroll' || 'scroll-text' || 'feather' => Icons.history_edu_rounded,+ 'calendar' => Icons.calendar_today_rounded,+ 'calendar-range' => Icons.date_range_rounded,+ 'calendar-check' => Icons.event_available_rounded,+ 'zap' => Icons.bolt_rounded,+ 'trophy' => Icons.emoji_events_rounded,+ 'medal' => Icons.military_tech_rounded,+ 'award' => Icons.workspace_premium_rounded,+ 'thumbs-down' => Icons.thumb_down_rounded,+ 'swords' => Icons.shield_rounded,+ 'sunrise' => Icons.wb_twilight_rounded,+ 'sun' => Icons.wb_sunny_rounded,+ 'moon' => Icons.dark_mode_rounded,+ 'sprout' => Icons.eco_rounded,+ 'sparkles' => Icons.auto_awesome_rounded,+ 'party-popper' => Icons.celebration_rounded,+ 'smartphone' => Icons.smartphone_rounded,+ 'repeat' => Icons.repeat_rounded,+ 'rabbit' => Icons.cruelty_free_rounded,+ 'play' => Icons.play_arrow_rounded,+ 'fast-forward' => Icons.fast_forward_rounded,+ 'pen-tool' => Icons.draw_rounded,+ 'pen-line' => Icons.edit_rounded,+ 'palette' => Icons.palette_rounded,+ 'orbit' => Icons.track_changes_rounded,+ 'mountain' => Icons.landscape_rounded,+ 'minimize-2' => Icons.close_fullscreen_rounded,+ 'list-ordered' => Icons.format_list_numbered_rounded,+ 'heart' => Icons.favorite_rounded,+ 'gavel' => Icons.gavel_rounded,+ 'gauge' => Icons.speed_rounded,+ 'folder-open' => Icons.folder_open_rounded,+ 'corner-up-right' => Icons.turn_right_rounded,+ 'coffee' => Icons.coffee_rounded,+ 'arrow-up-down' => Icons.swap_vert_rounded,+ 'arrow-left-right' => Icons.swap_horiz_rounded,+ 'activity' => Icons.show_chart_rounded,+ _ => Icons.emoji_events_rounded,+ };++String _number(num value, String locale) => NumberFormat.decimalPattern(locale).format(value);++/// "120 / 500 pages", counted down to what has been reached.+String achievementProgressText(AppLocalizations l, Achievement a, String? unit, String locale) {+ final current = _number((a.currentProgress ?? 0).floor(), locale);+ final threshold = _number(a.threshold ?? 0, locale);+ return switch (unit) {+ 'books' => l.achievementsProgressBooks(current, threshold),+ 'pages' => l.achievementsProgressPages(current, threshold),+ 'hours' => l.achievementsProgressHours(current, threshold),+ 'annotations' => l.achievementsProgressAnnotations(current, threshold),+ 'ratings' => l.achievementsProgressRatings(current, threshold),+ 'genres' => l.achievementsProgressGenres(current, threshold),+ 'languages' => l.achievementsProgressLanguages(current, threshold),+ 'days' => l.achievementsProgressDays(current, threshold),+ _ => l.achievementsProgress(current, threshold),+ };+}++/// What a hint says, in this app's words. Null for a kind Absorb doesn't+/// know or one missing a value it needs.+({String text, String? note, bool blocked})? achievementHintText(+ AppLocalizations l, AchievementHint h, String locale) {+ final count = h.count;+ String pct(num p) => NumberFormat.percentPattern(locale).format(p / 100);+ String month(int year, int m) => DateFormat.MMMM(locale).format(DateTime(year, m));+ ({String text, String? note, bool blocked}) say(String text, [String? note]) =>+ (text: text, note: note, blocked: false);++ switch (h.kind) {+ case 'reading_pace':+ final hours = h.number('hours'), days = h.number('days'), eta = h.number('etaDays');+ if (hours == null || days == null) return null;+ String? note;+ if (eta != null) {+ note = eta < 14+ ? l.achievementsHintEtaDays(math.max(1, eta.round()))+ : eta < 60+ ? l.achievementsHintEtaWeeks((eta / 7).round())+ : l.achievementsHintEtaMonths((eta / 30).round());+ }+ return say(l.achievementsHintReadingPace(hours.floor(), days.round()), note);+ case 'period_unread':+ final period = h.number('period');+ if (period == null || count == null) return null;+ return say(h.values['years'] == 100+ ? l.achievementsHintCenturyUnread(count, '${period.round()}')+ : l.achievementsHintDecadeUnread(count, '${period.round()}'));+ case 'stalled_book':+ final started = DateTime.tryParse(h.text('startedAt') ?? '')?.toLocal();+ if (started == null) return null;+ final title = h.text('title') ?? l.achievementsHintUntitledBook;+ final date = DateFormat.yMMMd(locale).format(started);+ final percent = h.number('percent');+ return say(percent == null+ ? l.achievementsHintStalledNoProgress(title, date)+ : l.achievementsHintStalled(title, pct(percent), date));+ case 'nearly_finished':+ final min = h.number('minPercent');+ if (min == null || count == null) return null;+ return say(l.achievementsHintNearlyFinished(count, pct(min)));+ case 'unrated_finished':+ if (count == null) return null;+ return say(l.achievementsHintUnrated(count));+ case 'short_books':+ final pages = h.number('maxPages'), started = h.number('inProgress');+ if (pages == null || count == null) return null;+ return say(l.achievementsHintShortBooks(count, _number(pages, locale)),+ started != null && started > 0 ? l.achievementsHintAlreadyStarted(started.round()) : null);+ case 'long_books':+ final pages = h.number('minPages');+ if (pages == null || count == null) return null;+ return say(l.achievementsHintLongBooks(count, _number(pages, locale)));+ case 'old_books':+ final year = h.number('year');+ if (year == null || count == null) return null;+ return say(l.achievementsHintOldBooks(count, '${year.round()}'));+ case 'author_unread':+ final author = h.text('author'), finished = h.number('finished');+ if (author == null || finished == null || count == null) return null;+ return say(l.achievementsHintAuthorUnread(author, finished.round(), count));+ case 'language_unread':+ final language = h.text('language');+ if (language == null || count == null) return null;+ return say(l.achievementsHintLanguageUnread(count, language));+ case 'months_left':+ final year = h.number('year')?.round(), read = h.number('monthsRead');+ final months = [+ for (final m in (h.values['months'] is List ? h.values['months'] as List : const []))+ if (m is int && m >= 1 && m <= 12) m,+ ];+ if (year == null || read == null || months.isEmpty) return null;+ return say(l.achievementsHintMonthsRead(read.round(), '$year'),+ l.achievementsHintMonthsLeft(months.length, months.map((m) => month(year, m)).join(', ')));+ case 'unavailable':+ final text = switch (h.values['reason']) {+ 'no_long_book' when h.number('pages') != null =>+ l.achievementsHintNoLongBook(_number(h.number('pages')!, locale)),+ 'nothing_before_year' when h.number('year') != null =>+ l.achievementsHintNothingBefore('${h.number('year')!.round()}'),+ 'too_few_periods' when h.number('reachable') != null => h.values['years'] == 100+ ? l.achievementsHintTooFewCenturies(h.number('reachable')!.round())+ : l.achievementsHintTooFewDecades(h.number('reachable')!.round()),+ 'missed_month' when h.number('year') != null && h.number('month') != null =>+ l.achievementsHintMissedMonth(+ month(h.number('year')!.round(), h.number('month')!.round().clamp(1, 12)), '${h.number('year')!.round()}'),+ _ => null,+ };+ return text == null ? null : (text: text, note: null, blocked: true);+ }+ return null;+}++class _Medal extends StatelessWidget {+ final Achievement face;+ final bool earned;+ final double? progress;+ final double size;++ const _Medal({required this.face, required this.earned, this.progress, this.size = 64});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final color = achievementRarityColor(face.rarity);+ final ring = size + 8;+ return SizedBox(+ width: ring,+ height: ring,+ child: Stack(alignment: Alignment.center, children: [+ if (progress != null)+ SizedBox(+ width: ring,+ height: ring,+ child: CircularProgressIndicator(+ value: progress,+ strokeWidth: 3,+ color: cs.primary,+ backgroundColor: cs.onSurface.withValues(alpha: 0.08),+ ),+ ),+ Container(+ width: size,+ height: size,+ decoration: BoxDecoration(+ shape: BoxShape.circle,+ gradient: earned+ ? LinearGradient(+ begin: Alignment.topLeft,+ end: Alignment.bottomRight,+ colors: [color.withValues(alpha: 0.95), Color.lerp(color, Colors.black, 0.3)!],+ )+ : null,+ color: earned ? null : cs.surfaceContainerHighest,+ border: Border.all(+ color: earned ? color.withValues(alpha: 0.5) : cs.onSurface.withValues(alpha: 0.08), width: 2),+ ),+ child: Icon(+ face.lockedSecret ? Icons.lock_rounded : achievementIcon(face.iconName),+ size: size * 0.45,+ color: earned ? Colors.white : cs.onSurfaceVariant.withValues(alpha: 0.5),+ ),+ ),+ ]),+ );+ }+}++class _MedalTile extends StatelessWidget {+ final AchievementEntry entry;+ final VoidCallback onTap;++ const _MedalTile({required this.entry, required this.onTap});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ final locale = Localizations.localeOf(context).toString();+ final face = entry.face;+ final next = entry.nextUnearned;+ final name = face.lockedSecret ? l.achievementsSecretName : face.name;+ final String subtitle;+ if (entry.isSet) {+ subtitle = l.achievementsTierOf(entry.earnedCount, entry.tiers.length);+ } else if (face.earned && face.awardedAt != null) {+ subtitle = DateFormat.yMMMd(locale).format(face.awardedAt!);+ } else if (next?.progress != null && (next!.currentProgress ?? 0) > 0) {+ subtitle = achievementProgressText(l, next, entry.unit, locale);+ } else {+ subtitle = '';+ }++ return InkWell(+ borderRadius: BorderRadius.circular(14),+ onTap: onTap,+ child: Padding(+ padding: const EdgeInsets.fromLTRB(4, 8, 4, 4),+ child: Column(children: [+ _Medal(+ face: face,+ earned: entry.highestEarned != null,+ progress: entry.complete ? null : next?.progress,+ ),+ const SizedBox(height: 8),+ Text(name,+ maxLines: 2,+ overflow: TextOverflow.ellipsis,+ textAlign: TextAlign.center,+ style: tt.labelMedium?.copyWith(fontWeight: FontWeight.w600, height: 1.15)),+ if (subtitle.isNotEmpty) ...[+ const SizedBox(height: 2),+ Text(subtitle,+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ textAlign: TextAlign.center,+ style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.7), fontSize: 10.5)),+ ],+ ]),+ ),+ );+ }+}++class AchievementDetailSheet extends StatelessWidget {+ final AchievementEntry entry;+ final AchievementHint? hint;++ const AchievementDetailSheet({super.key, required this.entry, this.hint});++ static Future<void> show(BuildContext context, AchievementEntry entry, AchievementHint? hint) =>+ showModalBottomSheet<void>(+ context: context,+ isScrollControlled: true,+ useSafeArea: true,+ backgroundColor: Theme.of(context).colorScheme.surfaceContainerHigh,+ shape: const RoundedRectangleBorder(borderRadius: BorderRadius.vertical(top: Radius.circular(20))),+ builder: (_) => AchievementDetailSheet(entry: entry, hint: hint),+ );++ void _openBook(BuildContext context, int id) {+ Navigator.pop(context);+ showBookDetailSheet(context, '$id');+ }++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ final locale = Localizations.localeOf(context).toString();+ final face = entry.face;+ final secret = face.lockedSecret;+ final next = entry.nextUnearned;+ final hintView = hint == null ? null : achievementHintText(l, hint!, locale);+ final rarity = achievementRarityColor(face.rarity);++ return DraggableScrollableSheet(+ expand: false,+ initialChildSize: entry.isSet || hintView != null ? 0.7 : 0.5,+ maxChildSize: 0.95,+ builder: (context, controller) => ListView(+ controller: controller,+ padding: const EdgeInsets.fromLTRB(20, 12, 20, 32),+ children: [+ Center(+ child: Container(+ width: 36,+ height: 4,+ decoration: BoxDecoration(+ color: cs.onSurface.withValues(alpha: 0.12), borderRadius: BorderRadius.circular(2)),+ ),+ ),+ const SizedBox(height: 20),+ Center(+ child: _Medal(+ face: face,+ earned: entry.highestEarned != null,+ progress: entry.complete ? null : next?.progress,+ size: 88,+ ),+ ),+ const SizedBox(height: 14),+ Text(secret ? l.achievementsSecretName : face.name,+ textAlign: TextAlign.center, style: tt.titleLarge?.copyWith(fontWeight: FontWeight.w700)),+ const SizedBox(height: 8),+ Wrap(alignment: WrapAlignment.center, spacing: 8, runSpacing: 6, children: [+ if (!secret)+ Container(+ padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 3),+ decoration: BoxDecoration(color: rarity.withValues(alpha: 0.15), borderRadius: BorderRadius.circular(6)),+ child: Text(achievementRarityLabel(l, face.rarity),+ style: tt.labelSmall?.copyWith(color: rarity, fontWeight: FontWeight.w700)),+ ),+ Container(+ padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 3),+ decoration: BoxDecoration(+ color: cs.onSurface.withValues(alpha: 0.06), borderRadius: BorderRadius.circular(6)),+ child: Text(achievementCategoryLabel(l, entry.category),+ style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant, fontWeight: FontWeight.w600)),+ ),+ if (entry.isSet)+ Container(+ padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 3),+ decoration: BoxDecoration(+ color: cs.onSurface.withValues(alpha: 0.06), borderRadius: BorderRadius.circular(6)),+ child: Text(l.achievementsTierOf(entry.earnedCount, entry.tiers.length),+ style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant, fontWeight: FontWeight.w600)),+ ),+ ]),+ const SizedBox(height: 12),+ Text(secret ? l.achievementsSecretHint : face.description,+ textAlign: TextAlign.center, style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant)),+ if (face.earned && face.awardedAt != null) ...[+ const SizedBox(height: 10),+ Text(l.achievementsEarnedOn(DateFormat.yMMMd(locale).format(face.awardedAt!)),+ textAlign: TextAlign.center, style: tt.labelMedium?.copyWith(color: cs.onSurfaceVariant)),+ ],+ if (face.earned && face.contextBookTitle != null)+ Center(+ child: TextButton.icon(+ onPressed: face.contextBookId == null ? null : () => _openBook(context, face.contextBookId!),+ icon: const Icon(Icons.menu_book_rounded, size: 16),+ label: Text(l.achievementsWhileReading(face.contextBookTitle!), textAlign: TextAlign.center),+ ),+ ),+ if (entry.complete && entry.isSet) ...[+ const SizedBox(height: 16),+ Center(+ child: Text(l.achievementsAllTiers,+ style: tt.labelLarge?.copyWith(color: cs.primary, fontWeight: FontWeight.w700)),+ ),+ ] else if (!secret && next?.progress != null) ...[+ const SizedBox(height: 18),+ Row(children: [+ Expanded(+ child: Text(entry.isSet ? next!.name : '',+ style: tt.labelMedium?.copyWith(fontWeight: FontWeight.w600)),+ ),+ Text(achievementProgressText(l, next!, entry.unit, locale),+ style: tt.labelMedium?.copyWith(color: cs.onSurfaceVariant)),+ ]),+ const SizedBox(height: 6),+ ClipRRect(+ borderRadius: BorderRadius.circular(4),+ child: LinearProgressIndicator(+ value: next.progress,+ minHeight: 6,+ backgroundColor: cs.onSurface.withValues(alpha: 0.08),+ ),+ ),+ ],+ if (hintView != null) ...[+ const SizedBox(height: 22),+ Text(l.achievementsHowToGetIt.toUpperCase(),+ style: tt.labelSmall?.copyWith(+ color: cs.onSurfaceVariant.withValues(alpha: 0.7), fontWeight: FontWeight.w700, letterSpacing: 0.6)),+ const SizedBox(height: 8),+ Container(+ padding: const EdgeInsets.all(14),+ decoration: BoxDecoration(color: cs.surfaceContainerHighest, borderRadius: BorderRadius.circular(14)),+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Row(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Icon(hintView.blocked ? Icons.info_outline_rounded : Icons.lightbulb_outline_rounded,+ size: 18, color: hintView.blocked ? cs.onSurfaceVariant : cs.primary),+ const SizedBox(width: 10),+ Expanded(child: Text(hintView.text, style: tt.bodyMedium)),+ ]),+ if (hintView.note != null)+ Padding(+ padding: const EdgeInsets.only(left: 28, top: 4),+ child: Text(hintView.note!, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ if (hint!.books.isNotEmpty)+ Padding(+ padding: const EdgeInsets.only(left: 24, top: 8),+ child: Wrap(spacing: 8, runSpacing: 6, children: [+ for (final b in hint!.books)+ ActionChip(+ avatar: const Icon(Icons.menu_book_rounded, size: 16),+ label: Text(b.title ?? l.achievementsHintUntitledBook,+ maxLines: 1, overflow: TextOverflow.ellipsis),+ onPressed: () => _openBook(context, b.id),+ ),+ ]),+ ),+ ]),+ ),+ ],+ if (entry.isSet) ...[+ const SizedBox(height: 22),+ Text(l.achievementsTiers.toUpperCase(),+ style: tt.labelSmall?.copyWith(+ color: cs.onSurfaceVariant.withValues(alpha: 0.7), fontWeight: FontWeight.w700, letterSpacing: 0.6)),+ const SizedBox(height: 4),+ for (final t in entry.tiers)+ ListTile(+ contentPadding: EdgeInsets.zero,+ dense: true,+ leading: Icon(+ t.earned ? Icons.check_circle_rounded : Icons.radio_button_unchecked_rounded,+ color: t.earned ? achievementRarityColor(t.rarity) : cs.onSurfaceVariant.withValues(alpha: 0.4),+ ),+ title: Text(t.name, style: tt.bodyMedium?.copyWith(fontWeight: FontWeight.w600)),+ subtitle: Text(t.description, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ trailing: Text(+ t.earned && t.awardedAt != null+ ? DateFormat.yMMMd(locale).format(t.awardedAt!)+ : achievementRarityLabel(l, t.rarity),+ style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.7)),+ ),+ ),+ ],+ ],+ ),+ );+ }+}diff --git a/lib/screens/app_shell.dart b/lib/screens/app_shell.dartindex bf5ebe00..c547f5cd 100644--- a/lib/screens/app_shell.dart+++ b/lib/screens/app_shell.dart@@ -39,6 +39,9 @@ import 'admin_users_screen.dart';import 'bookmarks_screen.dart';import 'downloads_screen.dart';import 'upcoming_releases_screen.dart';+import 'server_notifications_screen.dart';+import '../services/bookorbit_notification_socket.dart';+import '../services/server_notifications.dart';import '../services/ebook_cache.dart';import '../widgets/action_pill.dart';import '../widgets/book_detail_sheet.dart' show showBookDetailSheet;@@ -363,6 +366,8 @@ class _AppShellState extends State<AppShell>void initState() {super.initState();_instance = this;+ _incomingNotifications =+ BookOrbitNotificationSocket.instance.incoming.listen(showIncomingNotificationToast);EreaderVolumeNav.ensureHandler();PlayerScreenWake.start();if (!widget.startOnAbsorbing) _loadStartScreen();@@ -475,8 +480,11 @@ class _AppShellState extends State<AppShell>await UpdateDialog.show(context, info);}+ StreamSubscription<ServerNotification>? _incomingNotifications;+@overridevoid dispose() {+ _incomingNotifications?.cancel();_fadeController.dispose();_detachNavBarListener();_navBarAnimController.dispose();diff --git a/lib/screens/bookorbit_admin_screen.dart b/lib/screens/bookorbit_admin_screen.dartnew file mode 100644index 00000000..dd344bd5--- /dev/null+++ b/lib/screens/bookorbit_admin_screen.dart@@ -0,0 +1,200 @@+import 'package:flutter/material.dart';+import 'package:provider/provider.dart';++import '../l10n/app_localizations.dart';+import '../providers/auth_provider.dart';+import '../services/api_service.dart';+import '../services/bookorbit_admin.dart';+import '../widgets/absorb_page_header.dart';+import '../widgets/overlay_toast.dart';+import 'bookorbit_libraries_screen.dart';+import 'bookorbit_users_screen.dart';++/// BookOrbit server administration: users and libraries.+class BookOrbitAdminScreen extends StatefulWidget {+ const BookOrbitAdminScreen({super.key});++ @override+ State<BookOrbitAdminScreen> createState() => _BookOrbitAdminScreenState();+}++class _BookOrbitAdminScreenState extends State<BookOrbitAdminScreen> {+ int? _users;+ int? _libraries;++ @override+ void initState() {+ super.initState();+ _loadCounts();+ }++ Future<void> _loadCounts() async {+ final auth = context.read<AuthProvider>();+ final api = auth.apiService;+ final access = auth.bookOrbitAdmin;+ if (api is! BookOrbitApiService || access == null) return;+ try {+ if (access.manageUsers) {+ final counts = await api.adminUserCounts();+ if (mounted) setState(() => _users = counts.total);+ }+ if (access.manageLibraries) {+ final libs = await api.adminLibraries();+ if (mounted) setState(() => _libraries = libs.length);+ }+ } on BookOrbitAdminError {+ // The counts are only a nicety on the tiles.+ }+ }++ Future<void> _open(Widget screen) async {+ await Navigator.push(context, MaterialPageRoute(builder: (_) => screen));+ _loadCounts();+ }++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final l = AppLocalizations.of(context)!;+ final access = context.watch<AuthProvider>().bookOrbitAdmin;++ return Scaffold(+ backgroundColor: Theme.of(context).scaffoldBackgroundColor,+ body: SafeArea(+ child: ListView(+ padding: const EdgeInsets.fromLTRB(16, 12, 16, 24),+ children: [+ Row(children: [+ Expanded(child: AbsorbPageHeader(title: l.boAdminTitle, padding: const EdgeInsets.only(left: 4))),+ IconButton(+ icon: Icon(Icons.close_rounded, color: cs.onSurfaceVariant),+ onPressed: () => Navigator.pop(context),+ ),+ ]),+ const SizedBox(height: 12),+ if (access?.manageUsers == true)+ _HubTile(+ icon: Icons.people_alt_rounded,+ title: l.boAdminUsers,+ subtitle: _users == null ? null : l.boAdminUserCount(_users!),+ onTap: () => _open(const BookOrbitUsersScreen()),+ ),+ if (access?.manageLibraries == true)+ _HubTile(+ icon: Icons.local_library_rounded,+ title: l.boAdminLibraries,+ subtitle: _libraries == null ? null : l.boAdminLibraryCount(_libraries!),+ onTap: () => _open(const BookOrbitLibrariesScreen()),+ ),+ ],+ ),+ ),+ );+ }+}++class _HubTile extends StatelessWidget {+ final IconData icon;+ final String title;+ final String? subtitle;+ final VoidCallback onTap;++ const _HubTile({required this.icon, required this.title, this.subtitle, required this.onTap});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ return Padding(+ padding: const EdgeInsets.only(bottom: 10),+ child: Material(+ color: cs.surfaceContainerHigh,+ borderRadius: BorderRadius.circular(16),+ child: ListTile(+ shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)),+ contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 6),+ leading: Icon(icon, color: cs.primary),+ title: Text(title, style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w600)),+ subtitle: subtitle == null+ ? null+ : Text(subtitle!, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ trailing: Icon(Icons.chevron_right_rounded, color: cs.onSurfaceVariant),+ onTap: onTap,+ ),+ ),+ );+ }+}++/// The API for the signed-in BookOrbit server, for the admin screens.+BookOrbitApiService? boAdminApi(BuildContext context) {+ final api = context.read<AuthProvider>().apiService;+ return api is BookOrbitApiService ? api : null;+}++/// Shows why an admin request failed, in BookOrbit's words when it gave any.+void showBoAdminError(BuildContext context, Object error) {+ if (!context.mounted) return;+ final l = AppLocalizations.of(context)!;+ final message = error is BookOrbitAdminError+ ? (error.status == 0 ? l.boAdminOffline : (error.message ?? l.boAdminFailed))+ : l.boAdminFailed;+ showOverlayToast(context, message, icon: Icons.error_outline_rounded);+}++String boPermissionGroupLabel(AppLocalizations l, String key) => switch (key) {+ 'library' => l.boPermGroupLibrary,+ 'requests' => l.boPermGroupRequests,+ 'devices' => l.boPermGroupDevices,+ 'integrations' => l.boPermGroupIntegrations,+ 'dock' => l.boPermGroupDock,+ 'email' => l.boPermGroupEmail,+ 'admin' => l.boPermGroupAdmin,+ _ => key,+ };++String boPermissionLabel(AppLocalizations l, String permission) => switch (permission) {+ 'library_download' => l.boPermLibraryDownload,+ 'library_upload' => l.boPermLibraryUpload,+ 'library_edit_metadata' => l.boPermLibraryEditMetadata,+ 'library_delete_books' => l.boPermLibraryDeleteBooks,+ 'book_request_access' => l.boPermBookRequestAccess,+ 'book_request_auto_approve' => l.boPermBookRequestAutoApprove,+ 'book_request_self_fulfill' => l.boPermBookRequestSelfFulfill,+ 'manage_book_requests' => l.boPermManageBookRequests,+ 'kobo_sync' => l.boPermKoboSync,+ 'koreader_sync' => l.boPermKoreaderSync,+ 'opds_access' => l.boPermOpdsAccess,+ 'hardcover_sync' => l.boPermHardcoverSync,+ 'readwise_sync' => l.boPermReadwiseSync,+ 'storygraph_sync' => l.boPermStorygraphSync,+ 'book_dock_access' => l.boPermBookDockAccess,+ 'manage_book_dock' => l.boPermManageBookDock,+ 'email_send' => l.boPermEmailSend,+ 'notification_access' => l.boPermNotificationAccess,+ 'manage_email' => l.boPermManageEmail,+ 'manage_libraries' => l.boPermManageLibraries,+ 'manage_metadata_config' => l.boPermManageMetadataConfig,+ 'manage_icons' => l.boPermManageIcons,+ 'manage_users' => l.boPermManageUsers,+ 'view_user_activity' => l.boPermViewUserActivity,+ 'view_audit_log' => l.boPermViewAuditLog,+ 'manage_app_settings' => l.boPermManageAppSettings,+ _ => permission,+ };++/// A stand-in for BookOrbit's library icon (a Lucide name).+IconData boLibraryIcon(String name) => switch (name) {+ 'BookOpen' => Icons.menu_book_rounded,+ 'Book' => Icons.book_rounded,+ 'BookMarked' => Icons.bookmark_rounded,+ 'Headphones' => Icons.headphones_rounded,+ 'GraduationCap' => Icons.school_rounded,+ 'Baby' => Icons.child_care_rounded,+ 'Sparkles' => Icons.auto_awesome_rounded,+ 'Rocket' => Icons.rocket_launch_rounded,+ 'Ghost' => Icons.blur_on_rounded,+ 'Heart' => Icons.favorite_rounded,+ 'Swords' => Icons.shield_rounded,+ _ => Icons.local_library_rounded,+ };diff --git a/lib/screens/bookorbit_libraries_screen.dart b/lib/screens/bookorbit_libraries_screen.dartnew file mode 100644index 00000000..b220b478--- /dev/null+++ b/lib/screens/bookorbit_libraries_screen.dart@@ -0,0 +1,888 @@+import 'dart:async';++import 'package:flutter/material.dart';++import '../l10n/app_localizations.dart';+import '../services/api_service.dart';+import '../services/bookorbit_admin.dart';+import '../widgets/absorb_page_header.dart';+import '../widgets/overlay_toast.dart';+import 'bookorbit_admin_screen.dart';++/// The libraries on the BookOrbit server, for people who manage them.+class BookOrbitLibrariesScreen extends StatefulWidget {+ const BookOrbitLibrariesScreen({super.key});++ @override+ State<BookOrbitLibrariesScreen> createState() => _BookOrbitLibrariesScreenState();+}++class _BookOrbitLibrariesScreenState extends State<BookOrbitLibrariesScreen> {+ List<BoLibrary> _libraries = [];+ Map<int, BoLibraryOverview> _overview = {};+ final Set<int> _starting = {};+ bool _loading = true;+ Timer? _poll;++ @override+ void initState() {+ super.initState();+ _reload();+ }++ @override+ void dispose() {+ _poll?.cancel();+ super.dispose();+ }++ Future<void> _reload() async {+ final api = boAdminApi(context);+ if (api == null) return;+ setState(() => _loading = true);+ try {+ final libs = await api.adminLibraries();+ Map<int, BoLibraryOverview> overview = {};+ try {+ overview = await api.adminLibraryOverview();+ } on BookOrbitAdminError {+ // Counts and scans are extras; the list stands without them.+ }+ if (!mounted) return;+ setState(() {+ _libraries = libs;+ _overview = overview;+ });+ _pollWhileScanning();+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ } finally {+ if (mounted) setState(() => _loading = false);+ }+ }++ /// Keeps the scan lines current while any library is scanning.+ void _pollWhileScanning() {+ final scanning = _overview.values.any((o) => o.lastScan?.running == true) || _starting.isNotEmpty;+ if (!scanning) {+ _poll?.cancel();+ _poll = null;+ return;+ }+ _poll ??= Timer.periodic(const Duration(seconds: 5), (_) async {+ final api = boAdminApi(context);+ if (api == null || !mounted) return;+ try {+ final overview = await api.adminLibraryOverview();+ if (!mounted) return;+ setState(() {+ _overview = overview;+ _starting.removeWhere((id) => overview[id]?.lastScan?.running == true);+ });+ } on BookOrbitAdminError {+ return;+ }+ _pollWhileScanning();+ });+ }++ Future<void> _scan(BoLibrary lib) async {+ final api = boAdminApi(context);+ final l = AppLocalizations.of(context)!;+ if (api == null) return;+ try {+ await api.adminScanLibrary(lib.id);+ if (!mounted) return;+ setState(() => _starting.add(lib.id));+ showOverlayToast(context, l.boLibScanStarted, icon: Icons.sync_rounded);+ _pollWhileScanning();+ // A scan that finishes before the first look leaves nothing running to+ // wait on, so stop waiting after a while either way.+ Timer(const Duration(seconds: 20), () {+ if (mounted) setState(() => _starting.remove(lib.id));+ });+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ }+ }++ Future<void> _reorder(int oldIndex, int newIndex) async {+ final api = boAdminApi(context);+ if (api == null) return;+ setState(() {+ if (newIndex > oldIndex) newIndex -= 1;+ _libraries.insert(newIndex, _libraries.removeAt(oldIndex));+ });+ try {+ await api.adminReorderLibraries([for (final lib in _libraries) lib.id]);+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ _reload();+ }+ }++ Future<void> _open([BoLibrary? lib]) async {+ final changed = await Navigator.push<bool>(+ context, MaterialPageRoute(builder: (_) => _BookOrbitLibraryScreen(library: lib)));+ if (changed == true) _reload();+ }++ String _status(AppLocalizations l, BoLibrary lib) {+ final o = _overview[lib.id];+ final count = l.boLibBookCount(o?.totalBooks ?? lib.bookCount ?? 0);+ final scan = o?.lastScan;+ final String scanText;+ if (_starting.contains(lib.id) || scan?.running == true) {+ scanText = l.boLibScanning;+ } else if (scan == null) {+ scanText = l.boLibNeverScanned;+ } else if (scan.failed) {+ scanText = l.boLibScanFailed;+ } else {+ final at = scan.completedAt ?? scan.startedAt;+ scanText = at == null+ ? l.boLibNeverScanned+ : l.boLibLastScan(l.backupDateFormat(at.month, at.day, at.year), scan.added, scan.updated, scan.missing);+ }+ return '$count\n$scanText';+ }++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;++ return Scaffold(+ backgroundColor: Theme.of(context).scaffoldBackgroundColor,+ body: SafeArea(+ child: Column(children: [+ Padding(+ padding: const EdgeInsets.fromLTRB(20, 12, 8, 0),+ child: Row(children: [+ Expanded(child: AbsorbPageHeader(title: l.boAdminLibraries, padding: EdgeInsets.zero)),+ IconButton(+ icon: Icon(Icons.add_rounded, color: cs.primary),+ tooltip: l.boLibNew,+ onPressed: () => _open(),+ ),+ IconButton(+ icon: Icon(Icons.close_rounded, color: cs.onSurfaceVariant),+ onPressed: () => Navigator.pop(context),+ ),+ ]),+ ),+ const SizedBox(height: 8),+ if (_loading) const LinearProgressIndicator(minHeight: 2),+ Expanded(+ child: RefreshIndicator(+ onRefresh: _reload,+ child: _libraries.isEmpty && !_loading+ ? ListView(children: [+ const SizedBox(height: 120),+ Center(+ child: Text(l.boLibsNone,+ style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.6))),+ ),+ ])+ : ReorderableListView.builder(+ padding: const EdgeInsets.fromLTRB(16, 8, 16, 80),+ itemCount: _libraries.length,+ onReorder: _reorder,+ buildDefaultDragHandles: false,+ itemBuilder: (context, i) {+ final lib = _libraries[i];+ final busy = _starting.contains(lib.id) || _overview[lib.id]?.lastScan?.running == true;+ return Container(+ key: ValueKey(lib.id),+ margin: const EdgeInsets.only(bottom: 10),+ decoration:+ BoxDecoration(color: cs.surfaceContainerHigh, borderRadius: BorderRadius.circular(16)),+ child: ListTile(+ onTap: () => _open(lib),+ leading: Icon(boLibraryIcon(lib.icon), color: cs.primary),+ title: Text(lib.name, style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w600)),+ subtitle: Text(_status(l, lib),+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.75))),+ isThreeLine: true,+ trailing: Row(mainAxisSize: MainAxisSize.min, children: [+ busy+ ? const Padding(+ padding: EdgeInsets.all(12),+ child: SizedBox(+ width: 20, height: 20, child: CircularProgressIndicator(strokeWidth: 2)),+ )+ : IconButton(+ icon: Icon(Icons.sync_rounded, color: cs.onSurfaceVariant),+ tooltip: l.boLibScanNow,+ onPressed: () => _scan(lib),+ ),+ ReorderableDragStartListener(+ index: i,+ child: Icon(Icons.drag_handle_rounded, color: cs.onSurface.withValues(alpha: 0.3)),+ ),+ ]),+ ),+ );+ },+ ),+ ),+ ),+ ]),+ ),+ );+ }+}++class _BookOrbitLibraryScreen extends StatefulWidget {+ final BoLibrary? library;+ const _BookOrbitLibraryScreen({this.library});++ @override+ State<_BookOrbitLibraryScreen> createState() => _BookOrbitLibraryScreenState();+}++class _BookOrbitLibraryScreenState extends State<_BookOrbitLibraryScreen> {+ late final _name = TextEditingController(text: widget.library?.name ?? '');+ late String _icon = widget.library?.icon ?? 'Library';+ late List<String> _folders = [...?widget.library?.folders];+ late String _organization = widget.library?.organizationMode ?? 'book_per_folder';+ late bool _watch = widget.library?.watch ?? true;+ late String? _cron = widget.library?.autoScanCron;+ late String _cover = widget.library?.coverAspectRatio ?? '2/3';+ final Map<String, BoFolderCheck> _checks = {};+ List<BoLibraryAccess> _access = const [];+ bool _saving = false;+ bool _changed = false;++ BoLibrary? get _lib => widget.library;+ bool get _isNew => _lib == null;++ @override+ void initState() {+ super.initState();+ _name.addListener(() => setState(() {}));+ if (!_isNew) {+ _loadFull();+ _loadAccess();+ }+ }++ @override+ void dispose() {+ _name.dispose();+ super.dispose();+ }++ /// The list may come without every field (someone who manages libraries+ /// but isn't an admin), so read the library itself.+ Future<void> _loadFull() async {+ final api = boAdminApi(context);+ if (api == null) return;+ try {+ final full = await api.adminLibrary(_lib!.id);+ if (!mounted) return;+ setState(() {+ _folders = [...full.folders];+ _watch = full.watch;+ _cron = full.autoScanCron;+ _cover = full.coverAspectRatio;+ _organization = full.organizationMode;+ if (!boLibraryIcons.contains(_icon)) _icon = full.icon;+ });+ _checkFolders(_folders);+ } on BookOrbitAdminError {+ return;+ }+ }++ Future<void> _loadAccess() async {+ final api = boAdminApi(context);+ if (api == null) return;+ try {+ final access = await api.adminLibraryAccess(_lib!.id);+ if (mounted) setState(() => _access = access);+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ }+ }++ Future<void> _checkFolders(List<String> paths) async {+ final api = boAdminApi(context);+ if (api == null || paths.isEmpty) return;+ try {+ final checks = await api.adminCheckFolders(paths, libraryId: _lib?.id);+ if (!mounted) return;+ setState(() {+ for (final c in checks) {+ _checks[c.path] = c;+ }+ });+ } on BookOrbitAdminError {+ return;+ }+ }++ Future<void> _addFolder() async {+ final picked = await Navigator.push<String>(+ context, MaterialPageRoute(builder: (_) => const _BookOrbitFolderPicker()));+ if (picked == null || _folders.contains(picked)) return;+ setState(() => _folders = [..._folders, picked]);+ _checkFolders([picked]);+ }++ bool get _sameFolders {+ final saved = _lib?.folders ?? const [];+ return saved.length == _folders.length && saved.toSet().containsAll(_folders);+ }++ bool get _dirty {+ final lib = _lib;+ if (lib == null) return true;+ return _name.text.trim() != lib.name ||+ _icon != lib.icon ||+ !_sameFolders ||+ _watch != lib.watch ||+ _cron != lib.autoScanCron ||+ _cover != lib.coverAspectRatio;+ }++ Future<void> _save() async {+ final api = boAdminApi(context);+ final l = AppLocalizations.of(context)!;+ if (api == null) return;+ final name = _name.text.trim();+ if (name.isEmpty) {+ showOverlayToast(context, l.boLibNeedName, icon: Icons.error_outline_rounded);+ return;+ }+ if (_folders.isEmpty) {+ showOverlayToast(context, l.boLibNeedFolder, icon: Icons.error_outline_rounded);+ return;+ }+ setState(() => _saving = true);+ try {+ final lib = _lib;+ if (lib == null) {+ await api.adminCreateLibrary(+ name: name,+ icon: _icon,+ folders: _folders,+ organizationMode: _organization,+ coverAspectRatio: _cover,+ watch: _watch,+ autoScanCron: _cron,+ );+ } else {+ await api.adminUpdateLibrary(+ lib.id,+ name: name != lib.name ? name : null,+ icon: _icon != lib.icon ? _icon : null,+ folders: _sameFolders ? null : _folders,+ coverAspectRatio: _cover != lib.coverAspectRatio ? _cover : null,+ watch: _watch != lib.watch ? _watch : null,+ setAutoScan: _cron != lib.autoScanCron,+ autoScanCron: _cron,+ );+ }+ if (!mounted) return;+ showOverlayToast(context, l.boAdminSaved, icon: Icons.check_circle_outline_rounded);+ Navigator.pop(context, true);+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ } finally {+ if (mounted) setState(() => _saving = false);+ }+ }++ Future<void> _delete() async {+ final api = boAdminApi(context);+ final l = AppLocalizations.of(context)!;+ final lib = _lib;+ if (api == null || lib == null) return;+ final ok = await showDialog<bool>(+ context: context,+ builder: (ctx) => AlertDialog(+ title: Text(l.boLibDeleteTitle(lib.name)),+ content: Text(l.boLibDeleteBody),+ actions: [+ TextButton(onPressed: () => Navigator.pop(ctx, false), child: Text(l.cancel)),+ FilledButton(+ style: FilledButton.styleFrom(backgroundColor: Theme.of(ctx).colorScheme.error),+ onPressed: () => Navigator.pop(ctx, true),+ child: Text(l.delete),+ ),+ ],+ ),+ );+ if (ok != true || !mounted) return;+ try {+ await api.adminDeleteLibrary(lib.id);+ if (!mounted) return;+ showOverlayToast(context, l.boLibDeleted, icon: Icons.check_circle_outline_rounded);+ Navigator.pop(context, true);+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ }+ }++ Future<void> _setLevel(BoLibraryAccess a, String level) async {+ final api = boAdminApi(context);+ if (api == null || a.level == level) return;+ try {+ await api.adminSetLibraryAccess(_lib!.id, a.userId, level);+ _changed = true;+ await _loadAccess();+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ }+ }++ Future<void> _removeAccess(BoLibraryAccess a) async {+ final api = boAdminApi(context);+ if (api == null) return;+ try {+ await api.adminRemoveLibraryAccess(_lib!.id, a.userId);+ _changed = true;+ await _loadAccess();+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ }+ }++ Future<void> _addAccess() async {+ final api = boAdminApi(context);+ final l = AppLocalizations.of(context)!;+ if (api == null) return;+ List<BoAssignableUser> people;+ try {+ people = await api.adminAssignableUsers();+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ return;+ }+ final have = {for (final a in _access) a.userId};+ final options = [for (final p in people) if (!have.contains(p.id)) p];+ if (!mounted) return;+ if (options.isEmpty) {+ showOverlayToast(context, l.boLibAccessEveryoneHas, icon: Icons.info_outline_rounded);+ return;+ }+ final picked = await showModalBottomSheet<BoAssignableUser>(+ context: context,+ showDragHandle: true,+ builder: (ctx) => SafeArea(+ child: ListView(shrinkWrap: true, children: [+ for (final p in options)+ ListTile(+ leading: const Icon(Icons.person_outline_rounded),+ title: Text(p.name),+ subtitle: Text('@${p.username}'),+ onTap: () => Navigator.pop(ctx, p),+ ),+ ]),+ ),+ );+ if (picked == null) return;+ try {+ await api.adminSetLibraryAccess(_lib!.id, picked.id, 'viewer');+ _changed = true;+ await _loadAccess();+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ }+ }++ String _levelLabel(AppLocalizations l, String level) => switch (level) {+ 'editor' => l.boLibLevelEditor,+ 'owner' => l.boLibLevelOwner,+ _ => l.boLibLevelViewer,+ };++ String _scheduleKey() {+ final cron = _cron;+ if (cron == null || cron.isEmpty) return 'off';+ for (final e in boScanSchedules.entries) {+ if (e.value == cron) return e.key;+ }+ return 'custom';+ }++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ final schedule = _scheduleKey();+ final icons = [...boLibraryIcons, if (!boLibraryIcons.contains(_icon)) _icon];++ return PopScope(+ canPop: false,+ onPopInvokedWithResult: (didPop, _) {+ if (!didPop) Navigator.pop(context, _changed);+ },+ child: Scaffold(+ backgroundColor: Theme.of(context).scaffoldBackgroundColor,+ body: SafeArea(+ child: Column(children: [+ Padding(+ padding: const EdgeInsets.fromLTRB(8, 8, 8, 0),+ child: Row(children: [+ IconButton(+ icon: const Icon(Icons.arrow_back_rounded),+ onPressed: () => Navigator.pop(context, _changed),+ ),+ const SizedBox(width: 4),+ Expanded(+ child: AbsorbPageHeader(+ title: _isNew ? l.boLibNew : (_lib!.name), padding: EdgeInsets.zero),+ ),+ FilledButton(+ onPressed: _dirty && !_saving ? _save : null,+ child: Text(_isNew ? l.boUserCreate : l.save),+ ),+ const SizedBox(width: 8),+ ]),+ ),+ if (_saving) const LinearProgressIndicator(minHeight: 2),+ Expanded(+ child: ListView(+ padding: const EdgeInsets.fromLTRB(16, 12, 16, 32),+ children: [+ _Card(children: [+ TextField(controller: _name, decoration: InputDecoration(labelText: l.boLibName)),+ const SizedBox(height: 14),+ Text(l.boLibIcon, style: tt.labelLarge?.copyWith(color: cs.onSurfaceVariant)),+ const SizedBox(height: 6),+ Wrap(spacing: 6, runSpacing: 6, children: [+ for (final name in icons)+ ChoiceChip(+ label: Icon(boLibraryIcon(name), size: 20),+ selected: _icon == name,+ showCheckmark: false,+ onSelected: (_) => setState(() => _icon = name),+ ),+ ]),+ ]),+ _Card(title: l.boLibFolders, hint: l.boLibFoldersHint, children: [+ for (final f in _folders) _folderTile(l, cs, tt, f),+ TextButton.icon(+ onPressed: _addFolder,+ icon: const Icon(Icons.create_new_folder_outlined),+ label: Text(l.boLibAddFolder),+ ),+ if (!_isNew && !_sameFolders)+ Padding(+ padding: const EdgeInsets.fromLTRB(4, 0, 4, 4),+ child: Text(l.boLibFolderRescan, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ ]),+ if (_isNew)+ _Card(title: l.boLibOrganization, hint: l.boLibOrganizationFixed, children: [+ RadioGroup<String>(+ groupValue: _organization,+ onChanged: (v) => setState(() => _organization = v ?? _organization),+ child: Column(children: [+ RadioListTile<String>(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ value: 'book_per_folder',+ title: Text(l.boLibPerFolder),+ ),+ RadioListTile<String>(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ value: 'book_per_file',+ title: Text(l.boLibPerFile),+ ),+ ]),+ ),+ ]),+ _Card(children: [+ SwitchListTile(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ title: Text(l.boLibWatch),+ subtitle: Text(l.boLibWatchSubtitle),+ value: _watch,+ onChanged: (v) => setState(() => _watch = v),+ ),+ ListTile(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ title: Text(l.boLibSchedule),+ subtitle: schedule == 'daily' || schedule == 'weekly' ? Text(l.boLibScheduleHint) : null,+ trailing: DropdownButton<String>(+ value: schedule,+ underline: const SizedBox.shrink(),+ onChanged: (v) => setState(() {+ if (v == 'off') _cron = null;+ if (v != null && boScanSchedules.containsKey(v)) _cron = boScanSchedules[v];+ }),+ items: [+ DropdownMenuItem(value: 'off', child: Text(l.boLibScheduleOff)),+ DropdownMenuItem(value: 'daily', child: Text(l.boLibScheduleDaily)),+ DropdownMenuItem(value: 'weekly', child: Text(l.boLibScheduleWeekly)),+ if (schedule == 'custom')+ DropdownMenuItem(value: 'custom', child: Text(l.boLibScheduleCustom(_cron ?? ''))),+ ],+ ),+ ),+ ListTile(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ title: Text(l.boLibCovers),+ ),+ Padding(+ padding: const EdgeInsets.fromLTRB(4, 0, 4, 8),+ child: SegmentedButton<String>(+ segments: [+ ButtonSegment(value: '2/3', label: Text(l.boLibCoverBook)),+ ButtonSegment(value: '1/1', label: Text(l.boLibCoverSquare)),+ ],+ selected: {_cover},+ onSelectionChanged: (s) => setState(() => _cover = s.first),+ ),+ ),+ ]),+ if (!_isNew)+ _Card(title: l.boLibAccess, hint: l.boLibAccessHint, children: [+ if (_access.isEmpty)+ Padding(+ padding: const EdgeInsets.all(4),+ child: Text(l.boLibAccessNone, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ for (final a in _access)+ ListTile(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ leading: const Icon(Icons.person_outline_rounded),+ title: Text(a.name),+ subtitle: Text('@${a.username}'),+ trailing: PopupMenuButton<String>(+ onSelected: (v) => v == 'remove' ? _removeAccess(a) : _setLevel(a, v),+ itemBuilder: (_) => [+ for (final level in boAccessLevels)+ CheckedPopupMenuItem(+ value: level, checked: a.level == level, child: Text(_levelLabel(l, level))),+ const PopupMenuDivider(),+ PopupMenuItem(+ value: 'remove',+ child: Text(l.boLibAccessRemove, style: TextStyle(color: cs.error)),+ ),+ ],+ child: Padding(+ padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 6),+ child: Row(mainAxisSize: MainAxisSize.min, children: [+ Text(_levelLabel(l, a.level), style: tt.labelLarge),+ const Icon(Icons.arrow_drop_down_rounded),+ ]),+ ),+ ),+ ),+ TextButton.icon(+ onPressed: _addAccess,+ icon: const Icon(Icons.person_add_alt_1_rounded),+ label: Text(l.boLibAccessAdd),+ ),+ ]),+ if (!_isNew)+ _Card(children: [+ ListTile(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ leading: Icon(Icons.delete_outline_rounded, color: cs.error),+ title: Text(l.boLibDelete, style: TextStyle(color: cs.error)),+ onTap: _delete,+ ),+ ]),+ ],+ ),+ ),+ ]),+ ),+ ),+ );+ }++ Widget _folderTile(AppLocalizations l, ColorScheme cs, TextTheme tt, String path) {+ final check = _checks[path];+ String? note;+ Color? noteColor;+ if (check != null) {+ if (!check.accessible) {+ note = check.error ?? l.boLibFolderUnreadable;+ noteColor = cs.error;+ } else if (check.overlapLibrary != null && check.overlapLibrary!.isNotEmpty) {+ note = l.boLibFolderInUse(check.overlapLibrary!);+ noteColor = cs.tertiary;+ } else {+ note = l.boLibFolderFiles(check.fileCount);+ }+ }+ return ListTile(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ leading: const Icon(Icons.folder_outlined),+ title: Text(path, style: tt.bodyMedium),+ subtitle: note == null ? null : Text(note, style: tt.bodySmall?.copyWith(color: noteColor ?? cs.onSurfaceVariant)),+ trailing: IconButton(+ icon: const Icon(Icons.close_rounded),+ onPressed: () => setState(() => _folders = [..._folders]..remove(path)),+ ),+ );+ }+}++class _Card extends StatelessWidget {+ final String? title;+ final String? hint;+ final List<Widget> children;++ const _Card({this.title, this.hint, required this.children});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ return Padding(+ padding: const EdgeInsets.only(bottom: 12),+ child: Container(+ padding: const EdgeInsets.fromLTRB(12, 12, 12, 8),+ decoration: BoxDecoration(color: cs.surfaceContainerHigh, borderRadius: BorderRadius.circular(16)),+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ if (title != null)+ Padding(+ padding: const EdgeInsets.symmetric(horizontal: 4),+ child: Text(title!, style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w600)),+ ),+ if (hint != null)+ Padding(+ padding: const EdgeInsets.fromLTRB(4, 2, 4, 0),+ child: Text(hint!, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ if (title != null || hint != null) const SizedBox(height: 6),+ ...children,+ ]),+ ),+ );+ }+}++/// Walks the server's library area to pick a folder.+class _BookOrbitFolderPicker extends StatefulWidget {+ const _BookOrbitFolderPicker();++ @override+ State<_BookOrbitFolderPicker> createState() => _BookOrbitFolderPickerState();+}++class _BookOrbitFolderPickerState extends State<_BookOrbitFolderPicker> {+ String? _root;+ String? _path;+ List<BoFolder> _folders = const [];+ bool _loading = true;++ @override+ void initState() {+ super.initState();+ _start();+ }++ Future<void> _start() async {+ final api = boAdminApi(context);+ if (api == null) return;+ try {+ final root = await api.adminFolderRoot();+ if (!mounted) return;+ _root = root;+ await _go(root);+ } catch (e) {+ if (mounted) {+ showBoAdminError(context, e);+ setState(() => _loading = false);+ }+ }+ }++ Future<void> _go(String path) async {+ final api = boAdminApi(context);+ if (api == null) return;+ setState(() => _loading = true);+ try {+ final folders = await api.adminFolders(path);+ if (!mounted) return;+ setState(() {+ _path = path;+ _folders = folders..sort((a, b) => a.name.toLowerCase().compareTo(b.name.toLowerCase()));+ });+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ } finally {+ if (mounted) setState(() => _loading = false);+ }+ }++ bool get _atRoot => _path == null || _path == _root;++ String _parent(String path) {+ final trimmed = path.endsWith('/') && path.length > 1 ? path.substring(0, path.length - 1) : path;+ final cut = trimmed.lastIndexOf('/');+ return cut <= 0 ? '/' : trimmed.substring(0, cut);+ }++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ return PopScope(+ canPop: _atRoot,+ onPopInvokedWithResult: (didPop, _) {+ if (!didPop && _path != null) _go(_parent(_path!));+ },+ child: Scaffold(+ backgroundColor: Theme.of(context).scaffoldBackgroundColor,+ body: SafeArea(+ child: Column(children: [+ Padding(+ padding: const EdgeInsets.fromLTRB(8, 8, 8, 0),+ child: Row(children: [+ IconButton(+ icon: const Icon(Icons.arrow_back_rounded),+ onPressed: () => _atRoot ? Navigator.pop(context) : _go(_parent(_path!)),+ ),+ const SizedBox(width: 4),+ Expanded(child: AbsorbPageHeader(title: l.boFolderPickTitle, padding: EdgeInsets.zero)),+ ]),+ ),+ Padding(+ padding: const EdgeInsets.fromLTRB(20, 4, 20, 8),+ child: Text(_path ?? '', style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ if (_loading) const LinearProgressIndicator(minHeight: 2),+ Expanded(+ child: _folders.isEmpty && !_loading+ ? Center(+ child: Text(l.boFolderEmpty,+ style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.6))))+ : ListView.builder(+ padding: const EdgeInsets.fromLTRB(8, 0, 8, 16),+ itemCount: _folders.length,+ itemBuilder: (context, i) => ListTile(+ leading: const Icon(Icons.folder_rounded),+ title: Text(_folders[i].name),+ trailing: const Icon(Icons.chevron_right_rounded),+ onTap: () => _go(_folders[i].path),+ ),+ ),+ ),+ Padding(+ padding: const EdgeInsets.fromLTRB(16, 8, 16, 16),+ child: SizedBox(+ width: double.infinity,+ child: FilledButton.icon(+ onPressed: _path == null ? null : () => Navigator.pop(context, _path),+ icon: const Icon(Icons.check_rounded),+ label: Text(l.boFolderUseThis),+ ),+ ),+ ),+ ]),+ ),+ ),+ );+ }+}diff --git a/lib/screens/bookorbit_set_password_screen.dart b/lib/screens/bookorbit_set_password_screen.dartnew file mode 100644index 00000000..5ce01e5f--- /dev/null+++ b/lib/screens/bookorbit_set_password_screen.dart@@ -0,0 +1,242 @@+import 'package:flutter/material.dart';+import 'package:flutter/services.dart';+import 'package:provider/provider.dart';++import '../l10n/app_localizations.dart';+import '../providers/auth_provider.dart';+import '../services/api_service.dart';+import '../services/server_backend.dart';++/// Picks a new password for a BookOrbit account, then signs in with it.+/// Pops true once signed in.+class BookOrbitSetPasswordScreen extends StatefulWidget {+ final String serverUrl;+ final Map<String, String> customHeaders;++ /// Asked for when null.+ final String? username;++ /// The token from a password link.+ final String? token;++ /// The password the account was created with, when there's no link.+ final String? currentPassword;++ const BookOrbitSetPasswordScreen.fromLink({+ super.key,+ required this.serverUrl,+ required String this.token,+ this.username,+ this.customHeaders = const {},+ }) : currentPassword = null;++ const BookOrbitSetPasswordScreen.replaceStarting({+ super.key,+ required this.serverUrl,+ required String this.username,+ required String this.currentPassword,+ this.customHeaders = const {},+ }) : token = null;++ @override+ State<BookOrbitSetPasswordScreen> createState() => _BookOrbitSetPasswordScreenState();+}++class _BookOrbitSetPasswordScreenState extends State<BookOrbitSetPasswordScreen> {+ final _username = TextEditingController();+ final _password = TextEditingController();+ final _confirm = TextEditingController();+ bool _obscure = true;+ bool _busy = false;+ String? _error;++ // Once BookOrbit takes the new password the link is used up, so a retry+ // only signs in again.+ bool _passwordSet = false;++ bool get _fromLink => widget.token != null;++ String get _serverLabel {+ final uri = Uri.tryParse(widget.serverUrl);+ if (uri == null || uri.host.isEmpty) return widget.serverUrl;+ return [+ uri.host,+ if (uri.hasPort) ':${uri.port}',+ if (uri.path.isNotEmpty && uri.path != '/') uri.path,+ ].join();+ }++ @override+ void initState() {+ super.initState();+ _username.text = widget.username ?? '';+ }++ @override+ void dispose() {+ _username.dispose();+ _password.dispose();+ _confirm.dispose();+ super.dispose();+ }++ Future<void> _submit() async {+ final l = AppLocalizations.of(context)!;+ final username = _username.text.trim();+ if (username.isEmpty || _password.text.isEmpty || _confirm.text.isEmpty) {+ setState(() => _error = l.passwordFieldsRequired);+ return;+ }+ if (!_passwordSet) {+ if (_password.text != _confirm.text) {+ setState(() => _error = l.passwordsDoNotMatch);+ return;+ }+ if (!BookOrbitApiService.passwordAcceptable(_password.text)) {+ setState(() => _error = l.boPasswordRules);+ return;+ }+ }+ setState(() {+ _busy = true;+ _error = null;+ });++ if (!_passwordSet) {+ final r = _fromLink+ ? await BookOrbitApiService.setPasswordFromLink(+ serverUrl: widget.serverUrl,+ token: widget.token!,+ newPassword: _password.text,+ customHeaders: widget.customHeaders,+ )+ : await BookOrbitApiService.replaceStartingPassword(+ serverUrl: widget.serverUrl,+ username: username,+ currentPassword: widget.currentPassword!,+ newPassword: _password.text,+ customHeaders: widget.customHeaders,+ );+ if (!mounted) return;+ if (!r.ok) {+ setState(() {+ _busy = false;+ _error = _describe(l, r.status, r.message);+ });+ return;+ }+ _passwordSet = true;+ }++ final auth = context.read<AuthProvider>();+ final signedIn = await auth.login(+ serverUrl: widget.serverUrl,+ username: username,+ password: _password.text,+ customHeaders: widget.customHeaders,+ backend: ServerBackend.bookorbit,+ l: l,+ );+ if (!mounted) return;+ if (signedIn) {+ TextInput.finishAutofillContext();+ Navigator.pop(context, true);+ return;+ }+ setState(() {+ _busy = false;+ _error = l.boPasswordSetSignInFailed(auth.errorMessage ?? l.loginFailed);+ });+ }++ String _describe(AppLocalizations l, int status, String? message) {+ if (status == 0) return l.authCannotReachServer(_serverLabel);+ if (_fromLink && status == 400 && (message ?? '').contains('reset token')) {+ return l.boPasswordLinkExpired;+ }+ if (!_fromLink && status == 401) return l.authInvalidUsernameOrPassword;+ return message ?? l.passwordChangeFailed;+ }++ @override+ Widget build(BuildContext context) {+ final l = AppLocalizations.of(context)!;+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final name = widget.username;+ return Scaffold(+ appBar: AppBar(title: Text(l.boSetPasswordTitle)),+ body: AutofillGroup(+ child: ListView(+ padding: const EdgeInsets.all(20),+ children: [+ Text(+ !_fromLink+ ? l.boSetPasswordStartingBody+ : name == null+ ? l.boSetPasswordLinkBodyNoName(_serverLabel)+ : l.boSetPasswordLinkBody(name, _serverLabel),+ style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant),+ ),+ if (_fromLink) ...[+ const SizedBox(height: 8),+ Text(l.boSetPasswordTrust, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ],+ const SizedBox(height: 20),+ TextField(+ key: const Key('boSetPasswordUsername'),+ controller: _username,+ readOnly: name != null,+ enabled: !_busy && !_passwordSet,+ autocorrect: false,+ enableSuggestions: false,+ autofillHints: const [AutofillHints.username],+ decoration: InputDecoration(labelText: l.loginUsername),+ ),+ const SizedBox(height: 16),+ TextField(+ key: const Key('boSetPasswordNew'),+ controller: _password,+ enabled: !_busy && !_passwordSet,+ obscureText: _obscure,+ autofillHints: const [AutofillHints.newPassword],+ decoration: InputDecoration(+ labelText: l.newPassword,+ helperText: l.boPasswordRules,+ helperMaxLines: 3,+ suffixIcon: IconButton(+ icon: Icon(_obscure ? Icons.visibility_outlined : Icons.visibility_off_outlined),+ onPressed: () => setState(() => _obscure = !_obscure),+ ),+ ),+ ),+ const SizedBox(height: 16),+ TextField(+ key: const Key('boSetPasswordConfirm'),+ controller: _confirm,+ enabled: !_busy && !_passwordSet,+ obscureText: _obscure,+ autofillHints: const [AutofillHints.newPassword],+ decoration: InputDecoration(labelText: l.confirmNewPassword),+ onSubmitted: (_) => _busy ? null : _submit(),+ ),+ if (_error != null) ...[+ const SizedBox(height: 16),+ Text(_error!, style: tt.bodyMedium?.copyWith(color: cs.error)),+ ],+ const SizedBox(height: 24),+ FilledButton.icon(+ key: const Key('boSetPasswordSubmit'),+ onPressed: _busy ? null : _submit,+ style: FilledButton.styleFrom(minimumSize: const Size.fromHeight(48)),+ icon: _busy+ ? const SizedBox(width: 18, height: 18, child: CircularProgressIndicator(strokeWidth: 2))+ : const Icon(Icons.login_rounded),+ label: Text(_passwordSet ? l.loginSignIn : l.boSetPasswordSubmit),+ ),+ ],+ ),+ ),+ );+ }+}diff --git a/lib/screens/bookorbit_users_screen.dart b/lib/screens/bookorbit_users_screen.dartnew file mode 100644index 00000000..87bdfc16--- /dev/null+++ b/lib/screens/bookorbit_users_screen.dart@@ -0,0 +1,964 @@+import 'dart:async';++import 'package:flutter/material.dart';+import 'package:flutter/services.dart';+import 'package:provider/provider.dart';+import 'package:share_plus/share_plus.dart';++import '../l10n/app_localizations.dart';+import '../providers/auth_provider.dart';+import '../services/api_service.dart';+import '../services/bookorbit_admin.dart';+import '../services/setup_link_service.dart';+import '../utils/share_origin.dart';+import '../widgets/absorb_page_header.dart';+import '../widgets/adaptive_modal.dart';+import '../widgets/overlay_toast.dart';+import '../widgets/setup_link_share_sheet.dart';+import 'bookorbit_admin_screen.dart';++/// Everyone on the BookOrbit server, for people who manage users.+class BookOrbitUsersScreen extends StatefulWidget {+ const BookOrbitUsersScreen({super.key});++ @override+ State<BookOrbitUsersScreen> createState() => _BookOrbitUsersScreenState();+}++class _BookOrbitUsersScreenState extends State<BookOrbitUsersScreen> {+ final _scroll = ScrollController();+ final _search = TextEditingController();+ Timer? _searchDelay;+ BoUserFilter _filter = BoUserFilter.all;+ BoUserCounts _counts = const BoUserCounts();+ final List<BoUser> _users = [];+ int _total = 0;+ int _page = 0;+ bool _loading = false;+ int _loadId = 0;++ @override+ void initState() {+ super.initState();+ _scroll.addListener(() {+ if (_scroll.position.extentAfter < 400) _loadMore();+ });+ _reload();+ }++ @override+ void dispose() {+ _scroll.dispose();+ _search.dispose();+ _searchDelay?.cancel();+ super.dispose();+ }++ Future<void> _reload() async {+ final api = boAdminApi(context);+ if (api == null) return;+ final id = ++_loadId;+ setState(() {+ _loading = true;+ _page = 0;+ });+ try {+ final results = await Future.wait([+ api.adminUsers(search: _search.text, filter: _filter),+ api.adminUserCounts(),+ ]);+ if (!mounted || id != _loadId) return;+ final page = results[0] as BoUserPage;+ setState(() {+ _users+ ..clear()+ ..addAll(page.users);+ _total = page.total;+ _counts = results[1] as BoUserCounts;+ });+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ } finally {+ if (mounted && id == _loadId) setState(() => _loading = false);+ }+ }++ Future<void> _loadMore() async {+ if (_loading || _users.length >= _total) return;+ final api = boAdminApi(context);+ if (api == null) return;+ final id = _loadId;+ setState(() => _loading = true);+ try {+ final page = await api.adminUsers(page: _page + 1, search: _search.text, filter: _filter);+ if (!mounted || id != _loadId) return;+ setState(() {+ _page++;+ _users.addAll(page.users);+ _total = page.total;+ });+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ } finally {+ if (mounted && id == _loadId) setState(() => _loading = false);+ }+ }++ void _searchChanged(String _) {+ _searchDelay?.cancel();+ _searchDelay = Timer(const Duration(milliseconds: 350), _reload);+ }++ Future<void> _open(BoUser user) async {+ final changed = await Navigator.push<bool>(+ context, MaterialPageRoute(builder: (_) => _BookOrbitUserScreen(user: user)));+ if (changed == true) _reload();+ }++ Future<void> _create() async {+ final created = await Navigator.push<bool>(+ context, MaterialPageRoute(builder: (_) => const _BookOrbitNewUserScreen()));+ if (created == true) _reload();+ }++ String _filterLabel(AppLocalizations l, BoUserFilter f) => switch (f) {+ BoUserFilter.all => l.boUsersFilterAll,+ BoUserFilter.admins => l.boUsersFilterAdmins,+ BoUserFilter.active => l.boUsersFilterActive,+ BoUserFilter.inactive => l.boUsersFilterInactive,+ BoUserFilter.attention => l.boUsersFilterAttention,+ };++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;++ return Scaffold(+ backgroundColor: Theme.of(context).scaffoldBackgroundColor,+ body: SafeArea(+ child: Column(children: [+ Padding(+ padding: const EdgeInsets.fromLTRB(20, 12, 8, 0),+ child: Row(children: [+ Expanded(child: AbsorbPageHeader(title: l.boAdminUsers, padding: EdgeInsets.zero)),+ IconButton(+ icon: Icon(Icons.person_add_alt_1_rounded, color: cs.primary),+ tooltip: l.boUserNew,+ onPressed: _create,+ ),+ IconButton(+ icon: Icon(Icons.close_rounded, color: cs.onSurfaceVariant),+ onPressed: () => Navigator.pop(context),+ ),+ ]),+ ),+ Padding(+ padding: const EdgeInsets.fromLTRB(16, 8, 16, 4),+ child: TextField(+ controller: _search,+ onChanged: _searchChanged,+ textInputAction: TextInputAction.search,+ decoration: InputDecoration(+ hintText: l.boUsersSearch,+ prefixIcon: const Icon(Icons.search_rounded),+ filled: true,+ isDense: true,+ border: OutlineInputBorder(borderRadius: BorderRadius.circular(14), borderSide: BorderSide.none),+ ),+ ),+ ),+ SizedBox(+ height: 48,+ child: ListView(+ scrollDirection: Axis.horizontal,+ padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 6),+ children: [+ for (final f in BoUserFilter.values)+ Padding(+ padding: const EdgeInsets.only(right: 8),+ child: ChoiceChip(+ label: Text('${_filterLabel(l, f)} ${_counts.of(f)}'),+ selected: _filter == f,+ onSelected: (_) {+ if (_filter == f) return;+ setState(() => _filter = f);+ _reload();+ },+ ),+ ),+ ],+ ),+ ),+ if (_loading) const LinearProgressIndicator(minHeight: 2),+ Expanded(+ child: RefreshIndicator(+ onRefresh: _reload,+ child: _users.isEmpty && !_loading+ ? ListView(children: [+ const SizedBox(height: 120),+ Center(+ child: Text(l.boUsersNone,+ style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.6))),+ ),+ ])+ : ListView.builder(+ controller: _scroll,+ padding: const EdgeInsets.fromLTRB(16, 8, 16, 32),+ itemCount: _users.length,+ itemBuilder: (context, i) => _UserTile(user: _users[i], onTap: () => _open(_users[i])),+ ),+ ),+ ),+ ]),+ ),+ );+ }+}++class _UserTile extends StatelessWidget {+ final BoUser user;+ final VoidCallback onTap;++ const _UserTile({required this.user, required this.onTap});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ final last = user.lastActive;+ return Padding(+ padding: const EdgeInsets.only(bottom: 8),+ child: Material(+ color: cs.surfaceContainerHigh,+ borderRadius: BorderRadius.circular(16),+ child: InkWell(+ borderRadius: BorderRadius.circular(16),+ onTap: onTap,+ child: Padding(+ padding: const EdgeInsets.fromLTRB(14, 12, 10, 12),+ child: Row(children: [+ _Avatar(name: user.name),+ const SizedBox(width: 12),+ Expanded(+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(user.name, style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w600)),+ Text('@${user.username}', style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ const SizedBox(height: 4),+ Wrap(spacing: 6, runSpacing: 4, children: [+ if (user.isSuperuser) _Badge(l.boUserBadgeAdmin, cs.primary),+ if (!user.active) _Badge(l.boUserBadgeInactive, cs.onSurfaceVariant),+ if (user.locked) _Badge(l.boUserBadgeLocked, cs.error),+ if (user.isDefaultPassword) _Badge(l.boUserBadgeNoPassword, cs.tertiary),+ Text(+ last == null ? l.boUserNeverSignedIn : l.boUserLastActive(_date(l, last)),+ style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.7)),+ ),+ ]),+ ]),+ ),+ Icon(Icons.chevron_right_rounded, color: cs.onSurfaceVariant),+ ]),+ ),+ ),+ ),+ );+ }+}++String _date(AppLocalizations l, DateTime d) => l.backupDateFormat(d.month, d.day, d.year);++class _Avatar extends StatelessWidget {+ final String name;+ const _Avatar({required this.name});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final initial = name.trim().isEmpty ? '?' : name.trim()[0].toUpperCase();+ return CircleAvatar(+ radius: 20,+ backgroundColor: cs.primaryContainer,+ child: Text(initial, style: TextStyle(color: cs.onPrimaryContainer, fontWeight: FontWeight.w700)),+ );+ }+}++class _Badge extends StatelessWidget {+ final String label;+ final Color color;+ const _Badge(this.label, this.color);++ @override+ Widget build(BuildContext context) {+ return Container(+ padding: const EdgeInsets.symmetric(horizontal: 7, vertical: 2),+ decoration: BoxDecoration(+ color: color.withValues(alpha: 0.12),+ borderRadius: BorderRadius.circular(8),+ ),+ child: Text(label,+ style: Theme.of(context).textTheme.labelSmall?.copyWith(color: color, fontWeight: FontWeight.w600)),+ );+ }+}++/// Grouped permission checkboxes with BookOrbit's presets on top.+class _PermissionPicker extends StatelessWidget {+ final Set<String> selected;+ final bool enabled;+ final ValueChanged<Set<String>> onChanged;++ const _PermissionPicker({required this.selected, required this.onChanged, this.enabled = true});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ final all = boAllPermissions;+ Widget preset(String label, Set<String> perms) {+ final on = selected.length == perms.length && selected.containsAll(perms);+ return Padding(+ padding: const EdgeInsets.only(right: 8),+ child: ChoiceChip(+ label: Text(label),+ selected: on,+ onSelected: enabled ? (_) => onChanged({...perms}) : null,+ ),+ );+ }++ return Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Padding(+ padding: const EdgeInsets.symmetric(horizontal: 4),+ child: Wrap(children: [+ preset(l.boUserPresetNone, const {}),+ preset(l.boUserPresetStandard, boStandardPermissions),+ preset(l.boUserPresetEverything, all),+ ]),+ ),+ for (final group in boPermissionGroups) ...[+ Padding(+ padding: const EdgeInsets.fromLTRB(4, 14, 4, 2),+ child: Text(boPermissionGroupLabel(l, group.key),+ style: tt.labelLarge?.copyWith(color: cs.primary, fontWeight: FontWeight.w600)),+ ),+ for (final p in group.permissions)+ CheckboxListTile(+ dense: true,+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ value: selected.contains(p),+ title: Text(boPermissionLabel(l, p)),+ onChanged: enabled+ ? (v) => onChanged(v == true ? {...selected, p} : ({...selected}..remove(p)))+ : null,+ ),+ ],+ ]);+ }+}++class _LibraryPicker extends StatelessWidget {+ final List<BoLibrary> libraries;+ final Set<int> selected;+ final bool enabled;+ final ValueChanged<Set<int>> onChanged;++ const _LibraryPicker({+ required this.libraries,+ required this.selected,+ required this.onChanged,+ this.enabled = true,+ });++ @override+ Widget build(BuildContext context) {+ return Column(children: [+ for (final lib in libraries)+ CheckboxListTile(+ dense: true,+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ secondary: Icon(boLibraryIcon(lib.icon)),+ value: selected.contains(lib.id),+ title: Text(lib.name),+ onChanged: enabled+ ? (v) => onChanged(v == true ? {...selected, lib.id} : ({...selected}..remove(lib.id)))+ : null,+ ),+ ]);+ }+}++class _Section extends StatelessWidget {+ final String? title;+ final String? hint;+ final List<Widget> children;++ const _Section({this.title, this.hint, required this.children});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ return Padding(+ padding: const EdgeInsets.only(bottom: 12),+ child: Container(+ padding: const EdgeInsets.fromLTRB(12, 12, 12, 8),+ decoration: BoxDecoration(color: cs.surfaceContainerHigh, borderRadius: BorderRadius.circular(16)),+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ if (title != null)+ Padding(+ padding: const EdgeInsets.symmetric(horizontal: 4),+ child: Text(title!, style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w600)),+ ),+ if (hint != null)+ Padding(+ padding: const EdgeInsets.fromLTRB(4, 2, 4, 0),+ child: Text(hint!, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ const SizedBox(height: 6),+ ...children,+ ]),+ ),+ );+ }+}++/// Shares a password link as an Absorb link and QR code, so [username] picks+/// their password in Absorb and is signed straight in. The server's own web+/// link stays a tap away.+Future<void> _showPasswordLink(BuildContext context, String username, String link) {+ final l = AppLocalizations.of(context)!;+ final auth = context.read<AuthProvider>();+ final parts = BookOrbitApiService.passwordLink(link);+ final serverUrl = auth.serverUrl;+ if (parts == null || serverUrl == null) return _showWebPasswordLink(context, username, link);+ final setupLink = SetupLinkService.createBookOrbitPasswordLink(+ serverUrl: serverUrl,+ username: username,+ token: parts.token,+ customHeaders: auth.customHeaders,+ );+ Future<void> copy(BuildContext sheetContext, String text) async {+ await Clipboard.setData(ClipboardData(text: text));+ if (sheetContext.mounted) {+ showOverlayToast(sheetContext, l.setupLinkCopied, icon: Icons.content_copy_rounded);+ }+ }++ return showAdaptiveActionMenu<void>(+ context: context,+ isScrollControlled: true,+ useSafeArea: true,+ showDragHandle: false,+ desktopWidth: 560,+ desktopScrollWrap: false,+ builder: (sheetContext) => SetupLinkShareSheet(+ username: username,+ setupLink: setupLink,+ description: l.boPasswordShareDescription(username),+ warning: l.boPasswordShareWarning(username),+ onShare: () => Share.share(+ setupLink.toString(),+ subject: l.setupLinkShareSubject(username),+ sharePositionOrigin: shareOriginFor(sheetContext),+ ),+ onCopy: () => copy(sheetContext, setupLink.toString()),+ onCopyWebLink: () => copy(sheetContext, link),+ ),+ );+}++/// The plain web link, for a link Absorb can't read.+Future<void> _showWebPasswordLink(BuildContext context, String name, String link) {+ final l = AppLocalizations.of(context)!;+ return showDialog<void>(+ context: context,+ builder: (ctx) => AlertDialog(+ title: Text(l.boUserLinkTitle),+ content: Column(mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(l.boUserLinkBody(name)),+ const SizedBox(height: 12),+ SelectableText(link, style: Theme.of(ctx).textTheme.bodySmall),+ ]),+ actions: [+ TextButton(+ onPressed: () async {+ await Clipboard.setData(ClipboardData(text: link));+ if (ctx.mounted) {+ showOverlayToast(ctx, l.boUserLinkCopied, icon: Icons.check_circle_outline_rounded);+ }+ },+ child: Text(l.boUserLinkCopy),+ ),+ TextButton(onPressed: () => Share.share(link), child: Text(l.boUserLinkShare)),+ FilledButton(onPressed: () => Navigator.pop(ctx), child: Text(l.done)),+ ],+ ),+ );+}++class _BookOrbitUserScreen extends StatefulWidget {+ final BoUser user;+ const _BookOrbitUserScreen({required this.user});++ @override+ State<_BookOrbitUserScreen> createState() => _BookOrbitUserScreenState();+}++class _BookOrbitUserScreenState extends State<_BookOrbitUserScreen> {+ late final _name = TextEditingController(text: widget.user.name);+ late final _email = TextEditingController(text: widget.user.email ?? '');+ late bool _active = widget.user.active;+ late bool _superuser = widget.user.isSuperuser;+ late Set<String> _permissions = {...widget.user.permissions}..remove('*');+ Set<int> _libraries = {};+ Set<int> _savedLibraries = {};+ List<BoLibrary> _allLibraries = const [];+ bool _loading = true;+ bool _saving = false;+ bool _changed = false;++ BoUser get _u => widget.user;++ @override+ void initState() {+ super.initState();+ _name.addListener(_touch);+ _email.addListener(_touch);+ _load();+ }++ @override+ void dispose() {+ _name.dispose();+ _email.dispose();+ super.dispose();+ }++ void _touch() => setState(() {});++ Future<void> _load() async {+ final api = boAdminApi(context);+ if (api == null) return;+ try {+ final libs = await api.adminLibraries();+ final mine = _u.isSuperuser ? <int>[] : await api.adminUserLibraries(_u.id);+ if (!mounted) return;+ setState(() {+ _allLibraries = libs;+ _libraries = {...mine};+ _savedLibraries = {...mine};+ });+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ } finally {+ if (mounted) setState(() => _loading = false);+ }+ }++ bool get _dirty =>+ _name.text.trim() != _u.name ||+ _email.text.trim() != (_u.email ?? '') ||+ _active != _u.active ||+ _superuser != _u.isSuperuser ||+ !_samePerms ||+ !(_libraries.length == _savedLibraries.length && _libraries.containsAll(_savedLibraries));++ bool get _samePerms {+ final saved = {..._u.permissions}..remove('*');+ return saved.length == _permissions.length && saved.containsAll(_permissions);+ }++ Future<void> _save() async {+ final api = boAdminApi(context);+ final l = AppLocalizations.of(context)!;+ if (api == null) return;+ final email = _email.text.trim();+ if (email.isNotEmpty && !_validEmail(email)) {+ showOverlayToast(context, l.boUserEmailInvalid, icon: Icons.error_outline_rounded);+ return;+ }+ setState(() => _saving = true);+ try {+ final name = _name.text.trim();+ if (name != _u.name || email != (_u.email ?? '') || _active != _u.active) {+ await api.adminUpdateUser(+ _u.id,+ name: name != _u.name && name.isNotEmpty ? name : null,+ email: email != (_u.email ?? '') && email.isNotEmpty ? email : null,+ active: _active != _u.active ? _active : null,+ );+ }+ if (_superuser != _u.isSuperuser) await api.adminSetUserSuperuser(_u.id, _superuser);+ if (!_superuser) {+ if (!_samePerms || _superuser != _u.isSuperuser) await api.adminSetUserPermissions(_u.id, _permissions);+ if (!(_libraries.length == _savedLibraries.length && _libraries.containsAll(_savedLibraries)) ||+ _superuser != _u.isSuperuser) {+ await api.adminSetUserLibraries(_u.id, _libraries.toList());+ }+ }+ _changed = true;+ if (!mounted) return;+ showOverlayToast(context, l.boAdminSaved, icon: Icons.check_circle_outline_rounded);+ Navigator.pop(context, true);+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ } finally {+ if (mounted) setState(() => _saving = false);+ }+ }++ Future<void> _sendLink() async {+ final api = boAdminApi(context);+ if (api == null) return;+ try {+ final link = await api.adminResetPassword(_u.id);+ if (!mounted) return;+ if (link == null) {+ showBoAdminError(context, const BookOrbitAdminError(-1));+ return;+ }+ await _showPasswordLink(context, _u.username, link);+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ }+ }++ Future<void> _unlock() async {+ final api = boAdminApi(context);+ final l = AppLocalizations.of(context)!;+ if (api == null) return;+ try {+ await api.adminUnlockUser(_u.id);+ _changed = true;+ if (mounted) showOverlayToast(context, l.boUserUnlocked, icon: Icons.lock_open_rounded);+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ }+ }++ Future<void> _delete() async {+ final api = boAdminApi(context);+ final l = AppLocalizations.of(context)!;+ if (api == null) return;+ final ok = await showDialog<bool>(+ context: context,+ builder: (ctx) => AlertDialog(+ title: Text(l.boUserDeleteTitle(_u.name)),+ content: Text(l.boUserDeleteBody),+ actions: [+ TextButton(onPressed: () => Navigator.pop(ctx, false), child: Text(l.cancel)),+ FilledButton(+ style: FilledButton.styleFrom(backgroundColor: Theme.of(ctx).colorScheme.error),+ onPressed: () => Navigator.pop(ctx, true),+ child: Text(l.delete),+ ),+ ],+ ),+ );+ if (ok != true || !mounted) return;+ try {+ await api.adminDeleteUser(_u.id);+ if (!mounted) return;+ showOverlayToast(context, l.boUserDeleted, icon: Icons.check_circle_outline_rounded);+ Navigator.pop(context, true);+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ }+ }++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ final me = context.watch<AuthProvider>().bookOrbitAdmin;+ final self = me?.userId == '${_u.id}';+ final iAmSuperuser = me?.isSuperuser == true;+ // Only administrators may change administrators.+ final editable = iAmSuperuser || !_u.isSuperuser;++ // Back hands the list whether anything changed (an unlock saves at once).+ return PopScope(+ canPop: false,+ onPopInvokedWithResult: (didPop, _) {+ if (!didPop) Navigator.pop(context, _changed);+ },+ child: Scaffold(+ backgroundColor: Theme.of(context).scaffoldBackgroundColor,+ body: SafeArea(+ child: Column(children: [+ Padding(+ padding: const EdgeInsets.fromLTRB(8, 8, 8, 0),+ child: Row(children: [+ IconButton(+ icon: const Icon(Icons.arrow_back_rounded),+ onPressed: () => Navigator.pop(context, _changed),+ ),+ const SizedBox(width: 4),+ _Avatar(name: _u.name),+ const SizedBox(width: 12),+ Expanded(+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(_u.name, style: tt.titleMedium?.copyWith(fontWeight: FontWeight.w700)),+ Text('@${_u.username}', style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ]),+ ),+ if (editable)+ FilledButton(+ onPressed: _dirty && !_saving ? _save : null,+ child: Text(l.save),+ ),+ const SizedBox(width: 8),+ ]),+ ),+ if (_loading || _saving) const LinearProgressIndicator(minHeight: 2),+ Expanded(+ child: ListView(+ padding: const EdgeInsets.fromLTRB(16, 12, 16, 32),+ children: [+ _Section(children: [+ TextField(+ controller: _name,+ enabled: editable,+ decoration: InputDecoration(labelText: l.boUserName),+ ),+ const SizedBox(height: 8),+ TextField(+ controller: _email,+ enabled: editable,+ keyboardType: TextInputType.emailAddress,+ decoration: InputDecoration(labelText: l.boUserEmail),+ ),+ const SizedBox(height: 4),+ if (!self)+ SwitchListTile(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ title: Text(l.boUserActive),+ subtitle: Text(l.boUserActiveSubtitle),+ value: _active,+ onChanged: editable ? (v) => setState(() => _active = v) : null,+ ),+ if (!self && iAmSuperuser)+ SwitchListTile(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ title: Text(l.boUserAdmin),+ subtitle: Text(l.boUserAdminSubtitle),+ value: _superuser,+ onChanged: (v) => setState(() => _superuser = v),+ ),+ ]),+ if (_superuser)+ _Section(title: l.boUserPermissions, hint: l.boUserAdminHasAll, children: const [])+ else ...[+ _Section(title: l.boUserPermissions, children: [+ _PermissionPicker(+ selected: _permissions,+ enabled: editable && !self,+ onChanged: (p) => setState(() => _permissions = p),+ ),+ ]),+ if (_allLibraries.isNotEmpty)+ _Section(title: l.boUserLibraries, hint: l.boUserLibrariesHint, children: [+ _LibraryPicker(+ libraries: _allLibraries,+ selected: _libraries,+ enabled: editable,+ onChanged: (s) => setState(() => _libraries = s),+ ),+ ]),+ ],+ if (editable)+ _Section(children: [+ if (_u.external)+ Padding(+ padding: const EdgeInsets.all(4),+ child: Text(l.boUserExternal, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ )+ else+ ListTile(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ leading: const Icon(Icons.link_rounded),+ title: Text(l.boUserPasswordLink),+ subtitle: Text(l.boUserPasswordLinkSubtitle),+ onTap: _sendLink,+ ),+ if (_u.locked)+ ListTile(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ leading: const Icon(Icons.lock_open_rounded),+ title: Text(l.boUserUnlock),+ onTap: _unlock,+ ),+ if (!self)+ ListTile(+ contentPadding: const EdgeInsets.symmetric(horizontal: 4),+ leading: Icon(Icons.delete_outline_rounded, color: cs.error),+ title: Text(l.boUserDelete, style: TextStyle(color: cs.error)),+ onTap: _delete,+ ),+ ]),+ ],+ ),+ ),+ ]),+ ),+ ),+ );+ }+}++bool _validEmail(String s) => RegExp(r'^[^@\s]+@[^@\s]+\.[^@\s]+$').hasMatch(s);++class _BookOrbitNewUserScreen extends StatefulWidget {+ const _BookOrbitNewUserScreen();++ @override+ State<_BookOrbitNewUserScreen> createState() => _BookOrbitNewUserScreenState();+}++class _BookOrbitNewUserScreenState extends State<_BookOrbitNewUserScreen> {+ final _username = TextEditingController();+ final _name = TextEditingController();+ final _email = TextEditingController();+ Set<String> _permissions = {...boStandardPermissions};+ Set<int> _libraries = {};+ List<BoLibrary> _allLibraries = const [];+ bool _saving = false;++ @override+ void initState() {+ super.initState();+ for (final c in [_username, _name, _email]) {+ c.addListener(() => setState(() {}));+ }+ _load();+ }++ @override+ void dispose() {+ _username.dispose();+ _name.dispose();+ _email.dispose();+ super.dispose();+ }++ Future<void> _load() async {+ final api = boAdminApi(context);+ if (api == null) return;+ try {+ final libs = await api.adminLibraries();+ List<int> defaults;+ try {+ defaults = await api.adminDefaultLibraryAccess();+ } on BookOrbitAdminError {+ defaults = const [];+ }+ if (!mounted) return;+ setState(() {+ _allLibraries = libs;+ _libraries = {...defaults};+ });+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ }+ }++ bool get _ready =>+ _username.text.trim().length >= 3 && _name.text.trim().isNotEmpty && _validEmail(_email.text.trim());++ Future<void> _create() async {+ final api = boAdminApi(context);+ final l = AppLocalizations.of(context)!;+ if (api == null) return;+ setState(() => _saving = true);+ try {+ final created = await api.adminCreateUser(+ username: _username.text,+ name: _name.text,+ email: _email.text,+ permissions: _permissions,+ libraryIds: _libraries.toList(),+ );+ if (!mounted) return;+ final link = created.resetUrl;+ if (link != null) {+ await _showPasswordLink(context, created.username, link);+ } else {+ showOverlayToast(context, l.boUserNoLink, icon: Icons.info_outline_rounded);+ }+ if (mounted) Navigator.pop(context, true);+ } catch (e) {+ if (mounted) showBoAdminError(context, e);+ } finally {+ if (mounted) setState(() => _saving = false);+ }+ }++ @override+ Widget build(BuildContext context) {+ final l = AppLocalizations.of(context)!;+ final emailText = _email.text.trim();++ return Scaffold(+ backgroundColor: Theme.of(context).scaffoldBackgroundColor,+ body: SafeArea(+ child: Column(children: [+ Padding(+ padding: const EdgeInsets.fromLTRB(8, 8, 8, 0),+ child: Row(children: [+ IconButton(icon: const Icon(Icons.arrow_back_rounded), onPressed: () => Navigator.pop(context)),+ const SizedBox(width: 4),+ Expanded(child: AbsorbPageHeader(title: l.boUserNew, padding: EdgeInsets.zero)),+ FilledButton(onPressed: _ready && !_saving ? _create : null, child: Text(l.boUserCreate)),+ const SizedBox(width: 8),+ ]),+ ),+ if (_saving) const LinearProgressIndicator(minHeight: 2),+ Expanded(+ child: ListView(+ padding: const EdgeInsets.fromLTRB(16, 12, 16, 32),+ children: [+ _Section(children: [+ TextField(+ controller: _username,+ autocorrect: false,+ decoration: InputDecoration(labelText: l.boUserUsername, helperText: l.boUserUsernameHint),+ ),+ const SizedBox(height: 8),+ TextField(controller: _name, decoration: InputDecoration(labelText: l.boUserName)),+ const SizedBox(height: 8),+ TextField(+ controller: _email,+ keyboardType: TextInputType.emailAddress,+ autocorrect: false,+ decoration: InputDecoration(+ labelText: l.boUserEmail,+ errorText: emailText.isNotEmpty && !_validEmail(emailText) ? l.boUserEmailInvalid : null,+ ),+ ),+ const SizedBox(height: 4),+ ]),+ _Section(title: l.boUserPermissions, children: [+ _PermissionPicker(selected: _permissions, onChanged: (p) => setState(() => _permissions = p)),+ ]),+ if (_allLibraries.isNotEmpty)+ _Section(title: l.boUserLibraries, hint: l.boUserLibrariesHint, children: [+ _LibraryPicker(+ libraries: _allLibraries,+ selected: _libraries,+ onChanged: (s) => setState(() => _libraries = s),+ ),+ ]),+ ],+ ),+ ),+ ]),+ ),+ );+ }+}diff --git a/lib/screens/change_password_screen.dart b/lib/screens/change_password_screen.dartindex 4a1a293a..9f1393a7 100644--- a/lib/screens/change_password_screen.dart+++ b/lib/screens/change_password_screen.dart@@ -47,6 +47,15 @@ class _ChangePasswordScreenState extends State<ChangePasswordScreen> {);return;}+ final bookOrbit = context.read<AuthProvider>().isBookOrbit;+ if (bookOrbit && !BookOrbitApiService.passwordAcceptable(_newController.text)) {+ showOverlayToast(+ context,+ l.boPasswordRules,+ icon: Icons.error_outline_rounded,+ );+ return;+ }final api = context.read<AuthProvider>().apiService;if (api == null) return;@@ -61,7 +70,7 @@ class _ChangePasswordScreenState extends State<ChangePasswordScreen> {case PasswordChangeStatus.success:showOverlayToast(context,- l.passwordChanged,+ bookOrbit ? l.boPasswordChanged : l.passwordChanged,icon: Icons.check_circle_outline_rounded,);Navigator.pop(context, true);@@ -83,7 +92,7 @@ class _ChangePasswordScreenState extends State<ChangePasswordScreen> {case PasswordChangeStatus.failed:showOverlayToast(context,- l.passwordChangeFailed,+ bookOrbit ? result.message ?? l.passwordChangeFailed : l.passwordChangeFailed,icon: Icons.error_outline_rounded,);break;@@ -93,13 +102,14 @@ class _ChangePasswordScreenState extends State<ChangePasswordScreen> {@overrideWidget build(BuildContext context) {final l = AppLocalizations.of(context)!;+ final bookOrbit = context.watch<AuthProvider>().isBookOrbit;return Scaffold(appBar: AppBar(title: Text(l.changePasswordTitle)),body: ListView(padding: const EdgeInsets.all(20),children: [Text(- l.passwordChangeEffect,+ bookOrbit ? l.boPasswordChangeEffect : l.passwordChangeEffect,style: Theme.of(context).textTheme.bodyMedium?.copyWith(color: Theme.of(context).colorScheme.onSurfaceVariant,),@@ -118,7 +128,11 @@ class _ChangePasswordScreenState extends State<ChangePasswordScreen> {controller: _newController,obscureText: true,autofillHints: const [AutofillHints.newPassword],- decoration: InputDecoration(labelText: l.newPassword),+ decoration: InputDecoration(+ labelText: l.newPassword,+ helperText: bookOrbit ? l.boPasswordRules : null,+ helperMaxLines: 3,+ ),),const SizedBox(height: 16),TextField(diff --git a/lib/screens/login_screen.dart b/lib/screens/login_screen.dartindex b07bd050..12eccd56 100644--- a/lib/screens/login_screen.dart+++ b/lib/screens/login_screen.dart@@ -15,8 +15,8 @@ import '../services/log_service.dart';import '../services/oidc_service.dart';import '../services/server_backend.dart';import '../services/settings_sync_service.dart';-import '../services/setup_link_service.dart';import '../services/user_account_service.dart';+import 'bookorbit_set_password_screen.dart';import '../widgets/absorb_wave_icon.dart';import '../widgets/overlay_toast.dart';import '../widgets/setup_link_login.dart';@@ -293,6 +293,15 @@ class _LoginScreenState extends State<LoginScreen>Future<void> _handleLogin() async {final apiKey = _apiKeyController.text.trim();+ if (_backend.isBookOrbit && BookOrbitApiService.passwordLink(apiKey) != null) {+ final link = Uri.parse(apiKey);+ _apiKeyController.clear();+ setState(() {});+ final signedIn = await handleSetupLinkLogin(context, link, customHeaders: _collectHeaders());+ if (signedIn && mounted && Navigator.of(context).canPop()) Navigator.of(context).pop();+ return;+ }+// A magic link carries its server, so an empty address can come from it.final linkServer = _backend.isBookOrbit && _serverController.text.trim().isEmpty? BookOrbitApiService.serverFromMagicLink(apiKey)@@ -360,7 +369,23 @@ class _LoginScreenState extends State<LoginScreen>if (mounted) {setState(() => _isConnecting = false);- if (!success) {+ if (!success && auth.needsNewBookOrbitPassword) {+ final signedIn = await Navigator.of(context).push<bool>(MaterialPageRoute(+ builder: (_) => BookOrbitSetPasswordScreen.replaceStarting(+ serverUrl: fullUrl,+ username: _usernameController.text.trim(),+ currentPassword: _passwordController.text,+ customHeaders: headers,+ ),+ ));+ if (!mounted) return;+ if (signedIn == true) {+ _passwordController.clear();+ if (Navigator.of(context).canPop()) Navigator.of(context).pop();+ } else {+ setState(() => _loginError = auth.errorMessage ?? AppLocalizations.of(context)!.loginFailed);+ }+ } else if (!success) {setState(() {_loginError = auth.errorMessage ?? AppLocalizations.of(context)!.loginFailed;});@@ -1266,12 +1291,10 @@ class _LoginScreenState extends State<LoginScreen>builder: (dialogContext) => StatefulBuilder(builder: (context, setDialogState) {void submit() {- final uri = Uri.tryParse(controller.text.trim());- try {- if (uri == null) throw const SetupLinkException('Invalid link');- SetupLinkService.parseLink(uri);- Navigator.pop(dialogContext, uri);- } on SetupLinkException {+ final text = controller.text.trim();+ if (isLoginLink(text)) {+ Navigator.pop(dialogContext, Uri.parse(text));+ } else {setDialogState(() => errorText = l.setupLinkInvalid);}}@@ -1326,7 +1349,7 @@ class _LoginScreenState extends State<LoginScreen>);controller.dispose();if (link == null || !mounted) return;- await handleSetupLinkLogin(context, link);+ await handleSetupLinkLogin(context, link, customHeaders: _collectHeaders());}Future<void> _quickSwitch(SavedAccount account) async {diff --git a/lib/screens/reading_log_screen.dart b/lib/screens/reading_log_screen.dartnew file mode 100644index 00000000..7796eb7c--- /dev/null+++ b/lib/screens/reading_log_screen.dart@@ -0,0 +1,1312 @@+import 'dart:math' as math;++import 'package:flutter/material.dart';+import 'package:intl/intl.dart';+import 'package:provider/provider.dart';++import '../l10n/app_localizations.dart';+import '../providers/auth_provider.dart';+import '../providers/library_provider.dart';+import '../services/book_stats_service.dart';+import '../services/api_service.dart';+import '../services/bookorbit_mapper.dart';+import '../utils/read_status.dart';+import '../widgets/book_activity_card.dart';+import '../widgets/overlay_toast.dart';++enum _Range { all, last30, last90, thisYear }++/// A book's reading log on BookOrbit, after the web app's Reading Log tab:+/// where the book stands, records, attempts, and every session on it from+/// any app or device.+class ReadingLogScreen extends StatefulWidget {+ final String itemId;+ final String title;+ final Map<String, dynamic>? item;+ final Color? accent;+ const ReadingLogScreen({super.key, required this.itemId, required this.title, this.item, this.accent});++ @override+ State<ReadingLogScreen> createState() => _ReadingLogScreenState();+}++class _ReadingLogScreenState extends State<ReadingLogScreen> {+ static const _pageSize = 25;++ BookOrbitApiService? _api;+ List<Map<String, dynamic>> _sessions = [];+ int _total = 0;+ Map<String, dynamic>? _stats;+ List<Map<String, dynamic>> _attempts = [];+ bool _loading = true;+ bool _loadingMore = false;+ bool _failed = false;+ _Range _range = _Range.all;+ String? _format;+ String _sortBy = 'startedAt';+ bool _desc = true;+ final Set<String> _formatsSeen = {};++ /// Bumped on every reload, so an answer to an older filter is dropped.+ int _generation = 0;++ @override+ void initState() {+ super.initState();+ final api = context.read<AuthProvider>().apiService;+ _api = api is BookOrbitApiService ? api : null;+ _load();+ _loadAttempts();+ }++ DateTime? get _from {+ final now = DateTime.now();+ return switch (_range) {+ _Range.all => null,+ _Range.last30 => now.subtract(const Duration(days: 30)),+ _Range.last90 => now.subtract(const Duration(days: 90)),+ _Range.thisYear => DateTime(now.year),+ };+ }++ bool get _chronological => _sortBy == 'startedAt';++ static List<Map<String, dynamic>> _items(Map<String, dynamic> res) =>+ (res['items'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>().toList();++ void _noteFormats(Iterable<Map<String, dynamic>> sessions) {+ for (final s in sessions) {+ final f = (s['format'] as String?)?.toLowerCase();+ if (f != null && f.isNotEmpty) _formatsSeen.add(f);+ }+ }++ Future<void> _load({bool silent = false}) async {+ final api = _api;+ if (api == null) {+ setState(() {+ _loading = false;+ _failed = true;+ });+ return;+ }+ final gen = ++_generation;+ if (!silent) setState(() => _loading = true);+ try {+ final res = await api.readingLog(widget.itemId,+ pageSize: _pageSize, sortBy: _sortBy, descending: _desc, from: _from, format: _format);+ if (!mounted || gen != _generation) return;+ setState(() {+ _sessions = _items(res);+ _total = (res['total'] as num?)?.toInt() ?? _sessions.length;+ _stats = (res['stats'] as Map?)?.cast<String, dynamic>();+ if (_format == null) _noteFormats(_sessions);+ _loading = false;+ _failed = false;+ });+ } catch (e) {+ debugPrint('[ReadingLog] ${widget.itemId}: $e');+ if (!mounted || gen != _generation) return;+ setState(() {+ _loading = false;+ _failed = _stats == null;+ });+ if (!_failed) showOverlayToast(context, AppLocalizations.of(context)!.readingLogLoadFailed);+ }+ }++ Future<void> _loadMore() async {+ final api = _api;+ if (api == null || _loading || _loadingMore || _sessions.length >= _total) return;+ final gen = _generation;+ setState(() => _loadingMore = true);+ try {+ final res = await api.readingLog(widget.itemId,+ page: _sessions.length ~/ _pageSize + 1,+ pageSize: _pageSize,+ sortBy: _sortBy,+ descending: _desc,+ from: _from,+ format: _format);+ if (!mounted || gen != _generation) return;+ final seen = {for (final s in _sessions) s['id']};+ setState(() {+ final more = _items(res).where((s) => !seen.contains(s['id'])).toList();+ _sessions = [..._sessions, ...more];+ _total = (res['total'] as num?)?.toInt() ?? _total;+ if (_format == null) _noteFormats(more);+ });+ } catch (e) {+ debugPrint('[ReadingLog] more for ${widget.itemId}: $e');+ if (mounted) showOverlayToast(context, AppLocalizations.of(context)!.readingLogLoadFailed);+ } finally {+ if (mounted) setState(() => _loadingMore = false);+ }+ }++ Future<void> _loadAttempts() async {+ final api = _api;+ if (api == null) return;+ try {+ final list = await api.readingAttempts(widget.itemId);+ if (mounted) setState(() => _attempts = list);+ } catch (e) {+ debugPrint('[ReadingLog] attempts for ${widget.itemId}: $e');+ }+ }++ Future<void> _refresh() => Future.wait([_load(silent: true), _loadAttempts()]);++ void _setFilter({_Range? range, String? format, bool clearFormat = false}) {+ setState(() {+ if (range != null) _range = range;+ if (clearFormat) {+ _format = null;+ } else if (format != null) {+ _format = format;+ }+ });+ _load();+ }++ void _setSort(String value) {+ setState(() {+ if (value == 'desc' || value == 'asc') {+ _desc = value == 'desc';+ } else {+ _sortBy = value;+ _desc = true;+ }+ });+ _load();+ }++ Future<void> _delete(Map<String, dynamic> s) async {+ final l = AppLocalizations.of(context)!;+ final api = _api;+ if (api == null) return;+ final ok = await showDialog<bool>(+ context: context,+ builder: (ctx) => AlertDialog(+ title: Text(l.readingLogDeleteTitle),+ content: Text(l.readingLogDeleteBody),+ actions: [+ TextButton(onPressed: () => Navigator.pop(ctx, false), child: Text(l.cancel)),+ TextButton(onPressed: () => Navigator.pop(ctx, true), child: Text(l.delete)),+ ],+ ),+ );+ if (ok != true || !mounted) return;+ final done = await api.deleteListeningSession('bo-session-${s['id']}', itemId: widget.itemId);+ if (!mounted) return;+ if (!done) {+ showOverlayToast(context, l.readingLogDeleteFailed);+ return;+ }+ setState(() {+ _sessions = _sessions.where((x) => x['id'] != s['id']).toList();+ _total = math.max(0, _total - 1);+ });+ await _refresh();+ if (!mounted) return;+ final auth = context.read<AuthProvider>();+ BookStatsService.instance.ensureLoaded(widget.itemId, api, isAdmin: auth.isAdmin, force: true);+ }++ @override+ Widget build(BuildContext context) {+ final l = AppLocalizations.of(context)!;+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final accent = widget.accent ?? cs.primary;+ return Scaffold(+ appBar: AppBar(+ title: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(l.readingLogTitle),+ Text(widget.title,+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ]),+ actions: [+ PopupMenuButton<String>(+ tooltip: l.readingLogSortBy,+ icon: const Icon(Icons.sort_rounded),+ onSelected: _setSort,+ itemBuilder: (_) => [+ for (final e in {+ 'startedAt': l.readingLogSortDay,+ 'durationSeconds': l.readingLogSortLength,+ 'progressDelta': l.readingLogSortChange,+ 'endProgress': l.readingLogSortReached,+ }.entries)+ CheckedPopupMenuItem(value: e.key, checked: _sortBy == e.key, child: Text(e.value)),+ const PopupMenuDivider(),+ CheckedPopupMenuItem(+ value: 'desc',+ checked: _desc,+ child: Text(_chronological ? l.readingLogNewestFirst : l.readingLogMostFirst)),+ CheckedPopupMenuItem(+ value: 'asc',+ checked: !_desc,+ child: Text(_chronological ? l.readingLogOldestFirst : l.readingLogLeastFirst)),+ ],+ ),+ ],+ ),+ body: _failed+ ? Center(+ child: Padding(+ padding: const EdgeInsets.all(24),+ child: Column(mainAxisSize: MainAxisSize.min, children: [+ Text(l.readingLogLoadFailed, style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant)),+ const SizedBox(height: 12),+ FilledButton.tonal(onPressed: _load, child: Text(l.retry)),+ ]),+ ),+ )+ : _stats == null+ ? const Center(child: CircularProgressIndicator())+ : RefreshIndicator(+ onRefresh: _refresh,+ child: ListView(+ padding: EdgeInsets.fromLTRB(16, 8, 16, 24 + MediaQuery.of(context).padding.bottom),+ children: [+ _vitals(context, l, cs, tt, accent),+ if (_hasChart) ...[+ const SizedBox(height: 12),+ _chart(context, l, cs, tt, accent),+ ],+ if (_recordRows(context, l).isNotEmpty) ...[+ const SizedBox(height: 12),+ _records(context, l, cs, tt, accent),+ ],+ if (_attempts.isNotEmpty) ...[+ const SizedBox(height: 12),+ _attemptsCard(context, l, cs, tt, accent),+ ],+ const SizedBox(height: 12),+ _ledger(context, l, cs, tt, accent),+ ],+ ),+ ),+ );+ }++ Widget _card(ColorScheme cs, {required Widget child, EdgeInsets padding = const EdgeInsets.fromLTRB(14, 12, 14, 12)}) =>+ Container(+ padding: padding,+ decoration: BoxDecoration(+ color: cs.onSurface.withValues(alpha: 0.04),+ borderRadius: BorderRadius.circular(16),+ border: Border.all(color: cs.onSurface.withValues(alpha: 0.08)),+ ),+ child: child,+ );++ Widget _heading(String text, ColorScheme cs, TextTheme tt, {Widget? trailing}) => Row(children: [+ Text(text.toUpperCase(),+ style: tt.labelSmall?.copyWith(+ fontSize: 10, letterSpacing: 1, fontWeight: FontWeight.w600, color: cs.onSurfaceVariant)),+ if (trailing != null) ...[const SizedBox(width: 8), Expanded(child: trailing)],+ ]);++ Widget _line(String label, Widget value, ColorScheme cs, TextTheme tt, {bool first = false}) => Container(+ height: 30,+ decoration: BoxDecoration(+ border: first ? null : Border(top: BorderSide(color: cs.onSurface.withValues(alpha: 0.06))),+ ),+ child: Row(children: [+ Text(label, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ const Spacer(),+ DefaultTextStyle.merge(+ style: tt.bodySmall?.copyWith(fontWeight: FontWeight.w600, color: cs.onSurface),+ child: value,+ ),+ ]),+ );++ // Vitals++ _Insights get _insights => _Insights.of(_stats);++ double get _currentProgress {+ final lib = context.read<LibraryProvider>();+ final logged = (_stats?['latestEndProgress'] as num?)?.toDouble() ?? 0;+ return [+ lib.getProgress(widget.itemId) * 100,+ lib.getEbookProgress(widget.itemId) * 100,+ logged,+ ].reduce(math.max).clamp(0.0, 100.0);+ }++ Map<String, dynamic>? get _readStatus =>+ ((widget.item?['bookOrbit'] as Map?)?['readStatus'] as Map?)?.cast<String, dynamic>();++ String _date(BuildContext context, DateTime d, {bool year = true}) {+ final locale = Localizations.localeOf(context).toString();+ return year && d.year != DateTime.now().year ? DateFormat.yMMMd(locale).format(d) : DateFormat.MMMd(locale).format(d);+ }++ /// A reading date as BookOrbit stores it: the day is what counts.+ static DateTime? _day(Object? v) {+ if (v is! String || v.length < 10) return null;+ return DateTime.tryParse(v.substring(0, 10));+ }++ String? _eta(AppLocalizations l, String status) {+ if (status == 'read' || status == 'abandoned') return null;+ final pace = _insights.pace;+ if (pace == null) return null;+ final remaining = 100 - _currentProgress;+ if (remaining <= 0) return null;+ final minutes = remaining / pace * 60;+ if (!minutes.isFinite || minutes <= 0) return null;+ if (minutes > 99 * 60) return l.readingLogLeftMax;+ final rounded = math.max(5, (minutes / 5).round() * 5);+ final h = rounded ~/ 60;+ final m = rounded % 60;+ if (h == 0) return l.readingLogLeftMinutes(m);+ if (m == 0) return l.readingLogLeftHours(h);+ return l.readingLogLeftHoursMinutes(h, m);+ }++ String _formatsLine() {+ final files = ((widget.item?['bookOrbit'] as Map?)?['files'] as List<dynamic>? ?? const []).whereType<Map>();+ return files+ .where((f) => f['role'] == 'primary' || f['role'] == 'content')+ .map((f) => (f['format'] as String?)?.toUpperCase())+ .whereType<String>()+ .toSet()+ .join(' · ');+ }++ List<String> get _formats {+ final files = ((widget.item?['bookOrbit'] as Map?)?['files'] as List<dynamic>? ?? const []).whereType<Map>();+ final out = <String>{+ for (final f in files)+ if ((f['role'] == 'primary' || f['role'] == 'content') && f['format'] is String) (f['format'] as String).toLowerCase(),+ ..._formatsSeen,+ }.toList()+ ..sort();+ return out;+ }++ Widget _vitals(BuildContext context, AppLocalizations l, ColorScheme cs, TextTheme tt, Color accent) {+ final s = _stats!;+ final i = _insights;+ final rs = _readStatus;+ final status = rs?['status'] as String? ?? 'unread';+ final progress = _currentProgress;+ final eta = _eta(l, status);+ final formats = _formatsLine();+ final started = _day(rs?['startedAt']);+ final finished = _day(rs?['finishedAt']);+ final lastAt = BookOrbitMapper.ms(s['lastSessionAt']);+ final m = i.momentum;+ final momentumIcon = !m.hasActivity || (m.percent == 0 && !m.isNew)+ ? Icon(Icons.remove_rounded, size: 14, color: cs.onSurfaceVariant)+ : m.up+ ? Icon(Icons.trending_up_rounded, size: 14, color: accent)+ : const Icon(Icons.trending_down_rounded, size: 14, color: Colors.amber);+ final momentumText = !m.hasActivity+ ? l.readingLogQuietTwoWeeks+ : m.isNew+ ? l.readingLogNewThisWeek+ : m.percent == 0+ ? l.readingLogSameAsLastWeek+ : m.up+ ? l.readingLogUpOnLastWeek(m.percent!)+ : l.readingLogDownOnLastWeek(m.percent!.abs());+ final sources = (s['bySource'] as List<dynamic>? ?? const []).whereType<Map>().toList();+ return _card(cs,+ child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [+ Row(children: [+ SizedBox(+ width: 58,+ height: 58,+ child: Stack(alignment: Alignment.center, children: [+ SizedBox.expand(+ child: CircularProgressIndicator(+ value: progress / 100,+ strokeWidth: 5,+ color: accent,+ backgroundColor: cs.onSurface.withValues(alpha: 0.08),+ ),+ ),+ Text(activityPercent(progress), style: tt.labelMedium?.copyWith(fontWeight: FontWeight.w700)),+ ]),+ ),+ const SizedBox(width: 14),+ Expanded(+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Row(children: [+ Icon(readStatusIcon(status), size: 16, color: accent),+ const SizedBox(width: 6),+ Flexible(+ child: Text(readStatusLabel(l, status),+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w600)),+ ),+ ]),+ if (eta != null || formats.isNotEmpty) ...[+ const SizedBox(height: 4),+ Row(children: [+ if (eta != null) ...[+ Icon(Icons.schedule_rounded, size: 13, color: cs.onSurfaceVariant),+ const SizedBox(width: 4),+ ],+ Flexible(+ child: Text(eta ?? formats,+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ ]),+ ],+ ]),+ ),+ ]),+ const SizedBox(height: 10),+ _line(l.readingLogStarted, Text(started == null ? l.readingLogNotSet : _date(context, started)), cs, tt,+ first: true),+ _line(l.readingLogFinished, Text(finished == null ? l.readingLogNotSet : _date(context, finished)), cs, tt),+ Divider(height: 12, color: cs.onSurface.withValues(alpha: 0.12)),+ _line(+ l.readingLogTotalTime,+ Row(mainAxisSize: MainAxisSize.min, children: [+ Tooltip(message: momentumText, child: momentumIcon),+ const SizedBox(width: 4),+ Text(activityDuration(l, (s['totalSeconds'] as num?)?.toDouble() ?? 0)),+ ]),+ cs,+ tt,+ first: true,+ ),+ _line(l.bookStatsSessions, Text('${(s['totalSessions'] as num?)?.toInt() ?? 0}'), cs, tt),+ _line(l.readingLogAverageSession, Text(activityDuration(l, (s['avgDurationSeconds'] as num?)?.toDouble() ?? 0)),+ cs, tt),+ _line(+ l.readingLogActiveDays,+ Text(i.spanDays > 0 ? l.readingLogActiveDaysOf(i.activeDays, i.spanDays) : '0'),+ cs,+ tt),+ _line(l.readingLogPace,+ Text(i.pace == null ? '-' : l.readingLogPacePerHour(i.pace!.toStringAsFixed(1))), cs, tt),+ _line(l.readingLogLastRead, Text(lastAt == null ? '-' : activityAgo(context, l, lastAt)), cs, tt),+ if (sources.length >= 2) ...[+ const SizedBox(height: 12),+ _heading(l.readingLogWhereYouRead, cs, tt),+ const SizedBox(height: 8),+ _sourceSplit(context, l, cs, tt, sources),+ ],+ ]));+ }++ Widget _sourceSplit(BuildContext context, AppLocalizations l, ColorScheme cs, TextTheme tt, List<Map> sources) {+ final total = sources.fold<double>(0, (a, s) => a + ((s['totalSeconds'] as num?)?.toDouble() ?? 0));+ return Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [+ ClipRRect(+ borderRadius: BorderRadius.circular(3),+ child: SizedBox(+ height: 6,+ child: Row(children: [+ for (final s in sources)+ if (((s['totalSeconds'] as num?)?.toDouble() ?? 0) > 0)+ Expanded(+ flex: math.max(1, (((s['totalSeconds'] as num).toDouble()) / math.max(1, total) * 1000).round()),+ child: ColoredBox(color: _bucketColor(cs, '${s['bucket']}')),+ ),+ ]),+ ),+ ),+ const SizedBox(height: 6),+ for (final s in sources)+ Padding(+ padding: const EdgeInsets.symmetric(vertical: 3),+ child: Row(children: [+ Container(+ width: 8,+ height: 8,+ decoration: BoxDecoration(color: _bucketColor(cs, '${s['bucket']}'), shape: BoxShape.circle)),+ const SizedBox(width: 8),+ Expanded(child: Text(_bucketLabel(l, '${s['bucket']}'), style: tt.bodySmall)),+ Text(+ '${activityDuration(l, (s['totalSeconds'] as num?)?.toDouble() ?? 0)} · '+ '${l.readingLogSessionCount((s['totalSessions'] as num?)?.toInt() ?? 0)}',+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant),+ ),+ ]),+ ),+ ]);+ }++ static String _bucket(Object? source) => switch (source) {+ 'ios' || 'watchos' || 'android' || 'koreader' || 'kobo' => source as String,+ _ => 'bookorbit',+ };++ static String _bucketLabel(AppLocalizations l, String bucket) => switch (bucket) {+ 'ios' => l.readingLogSourceIos,+ 'android' => l.readingLogSourceAndroid,+ 'watchos' => 'Apple Watch',+ 'koreader' => 'KOReader',+ 'kobo' => 'Kobo',+ _ => 'BookOrbit',+ };++ static Color _bucketColor(ColorScheme cs, String bucket) => switch (bucket) {+ 'ios' => const Color(0xFF4C8DF6),+ 'android' => const Color(0xFF3DBE6E),+ 'watchos' => const Color(0xFFF2994A),+ 'koreader' => const Color(0xFFA77BE0),+ 'kobo' => const Color(0xFF2FB5C4),+ _ => cs.primary,+ };++ // Chart++ bool get _hasChart {+ final s = _stats;+ if (s == null) return false;+ return (s['dailySummary'] as List?)?.isNotEmpty == true || (s['progressSummary'] as List?)?.isNotEmpty == true;+ }++ Widget _chart(BuildContext context, AppLocalizations l, ColorScheme cs, TextTheme tt, Color accent) {+ final s = _stats!;+ final locale = Localizations.localeOf(context).toString();+ final minutesByDay = <String, double>{+ for (final d in (s['dailySummary'] as List<dynamic>? ?? const []).whereType<Map>())+ '${d['day']}': (d['totalMinutes'] as num?)?.toDouble() ?? 0,+ };+ final progressByDay = <String, double>{+ for (final d in (s['progressSummary'] as List<dynamic>? ?? const []).whereType<Map>())+ if (d['endProgress'] is num) '${d['day']}': (d['endProgress'] as num).toDouble(),+ };+ final labels = <String>[];+ final minutes = <double>[];+ final progress = <double?>[];+ final days = {...minutesByDay.keys, ...progressByDay.keys}.toList()..sort();+ // A book read in one sitting has a single day to plot, so it goes+ // session by session instead.+ final oneDay = _sessions.length >= 2 &&+ _sessions+ .map((x) => DateTime.tryParse('${x['startedAt']}')?.toLocal())+ .whereType<DateTime>()+ .map(BookActivity.dayKey)+ .toSet()+ .length ==+ 1;+ if (oneDay) {+ final timeline = [..._sessions]+ ..sort((a, b) => '${a['startedAt']}'.compareTo('${b['startedAt']}'));+ for (final x in timeline) {+ final at = DateTime.tryParse('${x['startedAt']}')?.toLocal();+ labels.add(at == null ? '' : DateFormat.jm(locale).format(at));+ minutes.add(((x['durationSeconds'] as num?)?.toDouble() ?? 0) / 60);+ progress.add((x['endProgress'] as num?)?.toDouble());+ }+ } else {+ for (final d in days) {+ final at = DateTime.tryParse(d);+ labels.add(at == null ? d : DateFormat.MMMd(locale).format(at));+ minutes.add(minutesByDay[d] ?? 0);+ progress.add(progressByDay[d]);+ }+ }+ final i = _insights;+ final muted = tt.labelSmall?.copyWith(color: cs.onSurfaceVariant);+ return _card(cs,+ child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [+ _heading(l.readingLogChartTitle, cs, tt,+ trailing: i.spanDays > 1+ ? Text(l.readingLogActiveDaysOf(i.activeDays, i.spanDays),+ textAlign: TextAlign.end, style: muted)+ : null),+ const SizedBox(height: 12),+ SizedBox(+ height: 140,+ child: CustomPaint(+ painter: _ProgressChartPainter(+ minutes: minutes,+ progress: progress,+ line: accent,+ bar: accent.withValues(alpha: 0.28),+ grid: cs.onSurface.withValues(alpha: 0.08),+ ),+ ),+ ),+ const SizedBox(height: 6),+ if (labels.isNotEmpty)+ Row(children: [+ Text(labels.first, style: muted),+ const Spacer(),+ if (labels.length > 1) Text(labels.last, style: muted),+ ]),+ const SizedBox(height: 8),+ Wrap(spacing: 16, runSpacing: 4, children: [+ _legend(Container(width: 14, height: 2, color: accent), l.readingLogChartPosition, muted),+ _legend(+ Container(+ width: 10,+ height: 10,+ decoration: BoxDecoration(+ color: accent.withValues(alpha: 0.28), borderRadius: BorderRadius.circular(2))),+ l.readingLogChartMinutes,+ muted),+ ]),+ ]));+ }++ Widget _legend(Widget swatch, String text, TextStyle? style) =>+ Row(mainAxisSize: MainAxisSize.min, children: [swatch, const SizedBox(width: 6), Text(text, style: style)]);++ // Records++ List<(IconData, String, String, String?)> _recordRows(BuildContext context, AppLocalizations l) {+ final s = _stats;+ if (s == null) return const [];+ final i = _insights;+ final out = <(IconData, String, String, String?)>[];+ final longest = (s['longestSessionSeconds'] as num?)?.toDouble() ?? 0;+ if (longest > 0) {+ final at = DateTime.tryParse('${s['longestSessionAt']}')?.toLocal();+ out.add((+ Icons.timer_outlined,+ l.readingLogLongestSession,+ activityDuration(l, longest),+ at == null ? null : _date(context, at, year: false),+ ));+ }+ if (i.bestDay != null) {+ out.add((Icons.emoji_events_outlined, l.readingLogBestDay, activityDuration(l, i.bestDay!.value * 60), null));+ }+ if (i.longestStreak > 0) {+ out.add((+ Icons.local_fire_department_outlined,+ l.readingLogLongestStreak,+ l.readingLogStreakDays(i.longestStreak),+ null,+ ));+ }+ if (i.pace != null) {+ out.add((Icons.bolt_rounded, l.readingLogPace, l.readingLogPacePerHour(i.pace!.toStringAsFixed(1)), null));+ }+ final back = (s['backtrackCount'] as num?)?.toInt() ?? 0;+ if (back > 0) {+ out.add((Icons.u_turn_left_rounded, l.readingLogJumpedBack, l.readingLogJumpedBackTimes(back), null));+ }+ final first = DateTime.tryParse('${s['firstSessionAt']}')?.toLocal();+ if (first != null) {+ out.add((Icons.calendar_today_outlined, l.readingLogFirstOpened, _date(context, first), null));+ }+ return out;+ }++ Widget _records(BuildContext context, AppLocalizations l, ColorScheme cs, TextTheme tt, Color accent) {+ final rows = _recordRows(context, l);+ return _card(cs,+ child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [+ _heading(l.readingLogRecords, cs, tt),+ const SizedBox(height: 6),+ for (var n = 0; n < rows.length; n++)+ Container(+ height: 30,+ decoration: BoxDecoration(+ border: n == 0 ? null : Border(top: BorderSide(color: cs.onSurface.withValues(alpha: 0.06))),+ ),+ child: Row(children: [+ Container(+ width: 18,+ height: 18,+ decoration: BoxDecoration(+ color: accent.withValues(alpha: 0.15),+ borderRadius: BorderRadius.circular(4),+ ),+ child: Icon(rows[n].$1, size: 12, color: accent),+ ),+ const SizedBox(width: 8),+ Expanded(+ child: Text(rows[n].$2,+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ Text(rows[n].$3, style: tt.bodySmall?.copyWith(fontWeight: FontWeight.w600)),+ if (rows[n].$4 != null) ...[+ const SizedBox(width: 6),+ Text(rows[n].$4!, style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant)),+ ],+ ]),+ ),+ ]));+ }++ // Attempts++ List<Map<String, dynamic>> get _attemptsInOrder => [..._attempts]..sort((a, b) {+ final da = '${a['startedOn'] ?? a['endedOn'] ?? ''}';+ final db = '${b['startedOn'] ?? b['endedOn'] ?? ''}';+ if (da != db) return da.compareTo(db);+ return ((a['id'] as num?) ?? 0).compareTo((b['id'] as num?) ?? 0);+ });++ int? _attemptOrdinal(Object? id) {+ final ordered = _attemptsInOrder;+ final i = ordered.indexWhere((a) => a['id'] == id);+ return i < 0 ? null : i + 1;+ }++ String _span(BuildContext context, AppLocalizations l, Map<String, dynamic> a) {+ final from = _day(a['startedOn']);+ final to = _day(a['endedOn']);+ if (from != null && to != null) return l.readingLogSpanRange(_date(context, from), _date(context, to));+ if (from != null) return l.readingLogSpanSince(_date(context, from));+ if (to != null) return l.readingLogSpanEnded(_date(context, to));+ return l.readingLogSpanUnknown;+ }++ String _outcome(AppLocalizations l, Map<String, dynamic> a) => switch (a['outcome']) {+ 'completed' => l.readingLogOutcomeCompleted,+ 'skimmed' => l.readingLogOutcomeSkimmed,+ 'abandoned' => l.readingLogOutcomeAbandoned,+ _ => l.readingLogOutcomeInProgress,+ };++ Widget _attemptsCard(BuildContext context, AppLocalizations l, ColorScheme cs, TextTheme tt, Color accent) {+ final ordered = _attemptsInOrder.reversed.toList();+ return _card(cs,+ child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [+ _heading(l.readingLogAttempts, cs, tt),+ const SizedBox(height: 4),+ for (var n = 0; n < ordered.length; n++)+ Container(+ padding: const EdgeInsets.symmetric(vertical: 8),+ decoration: BoxDecoration(+ border: n == 0 ? null : Border(top: BorderSide(color: cs.onSurface.withValues(alpha: 0.06))),+ ),+ child: Row(children: [+ Expanded(+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Wrap(spacing: 8, runSpacing: 4, crossAxisAlignment: WrapCrossAlignment.center, children: [+ Text(l.readingLogAttempt(ordered.length - n),+ style: tt.bodyMedium?.copyWith(fontWeight: FontWeight.w600)),+ Container(+ padding: const EdgeInsets.symmetric(horizontal: 6, vertical: 2),+ decoration: BoxDecoration(+ color: (ordered[n]['outcome'] == null ? accent : cs.onSurfaceVariant)+ .withValues(alpha: 0.12),+ borderRadius: BorderRadius.circular(4),+ ),+ child: Text(_outcome(l, ordered[n]),+ style: tt.labelSmall?.copyWith(+ color: ordered[n]['outcome'] == null ? accent : cs.onSurfaceVariant)),+ ),+ ]),+ const SizedBox(height: 2),+ Text(_span(context, l, ordered[n]),+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ]),+ ),+ Text(+ '${l.readingLogSessionCount((ordered[n]['totalSessions'] as num?)?.toInt() ?? 0)}\n'+ '${activityDuration(l, (ordered[n]['totalSeconds'] as num?)?.toDouble() ?? 0)}',+ textAlign: TextAlign.end,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant),+ ),+ ]),+ ),+ ]));+ }++ // Sessions++ Widget _ledger(BuildContext context, AppLocalizations l, ColorScheme cs, TextTheme tt, Color accent) {+ final muted = tt.labelSmall?.copyWith(color: cs.onSurfaceVariant);+ final formats = _formats;+ final filtered = _range != _Range.all || _format != null;+ final mixed = _sessions.map((s) => s['format']).whereType<String>().toSet().length > 1;+ return _card(cs,+ padding: const EdgeInsets.fromLTRB(0, 12, 0, 6),+ child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [+ Padding(+ padding: const EdgeInsets.symmetric(horizontal: 14),+ child: _heading(l.bookStatsSessions, cs, tt,+ trailing: Text(+ _total == 0+ ? ''+ : _sessions.length < _total+ ? l.readingLogShowing(_sessions.length, _total)+ : '$_total',+ style: muted,+ )),+ ),+ const SizedBox(height: 8),+ SizedBox(+ height: 34,+ child: ListView(+ scrollDirection: Axis.horizontal,+ padding: const EdgeInsets.symmetric(horizontal: 14),+ children: [+ for (final r in _Range.values) ...[+ ChoiceChip(+ label: Text(switch (r) {+ _Range.all => l.readingLogAllTime,+ _Range.last30 => l.readingLogLast30,+ _Range.last90 => l.readingLogLast90,+ _Range.thisYear => l.readingLogThisYear,+ }),+ selected: _range == r,+ visualDensity: VisualDensity.compact,+ onSelected: (_) => _setFilter(range: r),+ ),+ const SizedBox(width: 6),+ ],+ ],+ ),+ ),+ if (formats.length >= 2) ...[+ const SizedBox(height: 6),+ SizedBox(+ height: 34,+ child: ListView(+ scrollDirection: Axis.horizontal,+ padding: const EdgeInsets.symmetric(horizontal: 14),+ children: [+ ChoiceChip(+ label: Text(l.readingLogAllFormats),+ selected: _format == null,+ visualDensity: VisualDensity.compact,+ onSelected: (_) => _setFilter(clearFormat: true),+ ),+ for (final f in formats) ...[+ const SizedBox(width: 6),+ ChoiceChip(+ label: Text(f.toUpperCase()),+ selected: _format == f,+ visualDensity: VisualDensity.compact,+ onSelected: (_) => _setFilter(format: f),+ ),+ ],+ ],+ ),+ ),+ ],+ const SizedBox(height: 8),+ if (_loading) const LinearProgressIndicator(minHeight: 2) else const SizedBox(height: 2),+ if (_sessions.isEmpty && !_loading)+ Padding(+ padding: const EdgeInsets.fromLTRB(20, 24, 20, 24),+ child: Column(children: [+ Text(filtered ? l.readingLogNoMatches : l.readingLogEmpty,+ textAlign: TextAlign.center, style: tt.bodyMedium?.copyWith(fontWeight: FontWeight.w600)),+ if (!filtered) ...[+ const SizedBox(height: 6),+ Text(l.readingLogEmptyHint,+ textAlign: TextAlign.center, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ],+ ]),+ )+ else+ Opacity(+ opacity: _loading ? 0.5 : 1,+ child: Column(+ crossAxisAlignment: CrossAxisAlignment.stretch,+ children: _rows(context, l, cs, tt, accent, mixed),+ ),+ ),+ if (_sessions.length < _total && !_loading)+ Center(+ child: TextButton(+ onPressed: _loadingMore ? null : _loadMore,+ child: _loadingMore+ ? const SizedBox(width: 16, height: 16, child: CircularProgressIndicator(strokeWidth: 2))+ : Text(l.showMore),+ ),+ ),+ ]));+ }++ static String _localDay(Object? iso) {+ final d = DateTime.tryParse('$iso')?.toLocal();+ return d == null ? '' : BookActivity.dayKey(d);+ }++ List<Widget> _rows(BuildContext context, AppLocalizations l, ColorScheme cs, TextTheme tt, Color accent, bool mixed) {+ final locale = Localizations.localeOf(context).toString();+ final muted = tt.labelSmall?.copyWith(color: cs.onSurfaceVariant);+ final out = <Widget>[];+ String? previousDay;+ for (var n = 0; n < _sessions.length; n++) {+ final s = _sessions[n];+ final day = _localDay(s['startedAt']);+ if (_chronological && n > 0) {+ final previous = _sessions[n - 1];+ if (s['attemptId'] != previous['attemptId']) {+ final newer = _desc ? previous['attemptId'] : s['attemptId'];+ if (newer != null) out.add(_attemptMarker(context, l, cs, tt, accent, newer));+ }+ final a = DateTime.tryParse(_localDay(previous['startedAt']));+ final b = DateTime.tryParse(day);+ if (a != null && b != null) {+ final gap = a.difference(b).inDays.abs() - 1;+ if (gap >= 3) out.add(_gapMarker(l, cs, tt, gap));+ }+ }+ if (_chronological && day != previousDay) {+ final d = DateTime.tryParse(day);+ if (d != null) {+ out.add(Padding(+ padding: const EdgeInsets.fromLTRB(14, 10, 14, 2),+ child: Text(+ d.year == DateTime.now().year ? DateFormat.MMMEd(locale).format(d) : DateFormat.yMMMEd(locale).format(d),+ style: tt.labelMedium?.copyWith(fontWeight: FontWeight.w700),+ ),+ ));+ }+ }+ previousDay = day;+ out.add(_sessionRow(context, l, cs, tt, accent, s, mixed, muted));+ }+ final last = _sessions.isEmpty ? null : _sessions.last;+ if (_chronological && _desc && last?['attemptId'] != null && _sessions.length >= _total) {+ out.add(_attemptMarker(context, l, cs, tt, accent, last!['attemptId']));+ }+ return out;+ }++ Widget _gapMarker(AppLocalizations l, ColorScheme cs, TextTheme tt, int days) => Padding(+ padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 8),+ child: Row(children: [+ Expanded(child: Divider(color: cs.onSurface.withValues(alpha: 0.12))),+ Padding(+ padding: const EdgeInsets.symmetric(horizontal: 10),+ child: Text(l.readingLogGapDays(days), style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ Expanded(child: Divider(color: cs.onSurface.withValues(alpha: 0.12))),+ ]),+ );++ Widget _attemptMarker(+ BuildContext context, AppLocalizations l, ColorScheme cs, TextTheme tt, Color accent, Object? attemptId) {+ final ordinal = _attemptOrdinal(attemptId);+ if (ordinal == null) return const SizedBox.shrink();+ final attempt = _attempts.firstWhere((a) => a['id'] == attemptId);+ final from = _day(attempt['startedOn']);+ return Container(+ margin: const EdgeInsets.only(top: 8),+ padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 6),+ decoration: BoxDecoration(+ color: accent.withValues(alpha: 0.06),+ border: Border(top: BorderSide(color: accent.withValues(alpha: 0.4))),+ ),+ child: Row(children: [+ Icon(Icons.replay_rounded, size: 13, color: accent),+ const SizedBox(width: 6),+ Text(l.readingLogAttemptBegan(ordinal),+ style: tt.labelSmall?.copyWith(fontWeight: FontWeight.w700, color: accent)),+ if (from != null) ...[+ const SizedBox(width: 6),+ Text(_date(context, from), style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant)),+ ],+ ]),+ );+ }++ Widget _sessionRow(BuildContext context, AppLocalizations l, ColorScheme cs, TextTheme tt, Color accent,+ Map<String, dynamic> s, bool mixed, TextStyle? muted) {+ final locale = Localizations.localeOf(context).toString();+ final at = DateTime.tryParse('${s['startedAt']}')?.toLocal();+ final delta = (s['progressDelta'] as num?)?.toDouble();+ final end = (s['endProgress'] as num?)?.toDouble();+ final change = delta == null+ ? '-'+ : delta.abs() < 0.05+ ? '0%'+ : '${delta > 0 ? '+' : ''}${delta.toStringAsFixed(1)}%';+ final changeColor = (delta ?? 0) > 0.05+ ? accent+ : (delta ?? 0) < -0.05+ ? Colors.amber.shade700+ : cs.onSurfaceVariant;+ final bucket = _bucket(s['source']);+ final bold = tt.labelSmall?.copyWith(fontWeight: FontWeight.w700, color: cs.onSurface);+ return Padding(+ padding: const EdgeInsets.fromLTRB(14, 0, 2, 0),+ child: Row(children: [+ Tooltip(+ message: _bucketLabel(l, bucket),+ child: Container(+ width: 7,+ height: 7,+ decoration: BoxDecoration(color: _bucketColor(cs, bucket), shape: BoxShape.circle)),+ ),+ const SizedBox(width: 7),+ SizedBox(+ width: 62,+ child: Text(+ at == null+ ? '-'+ : _chronological+ ? DateFormat.jm(locale).format(at)+ : DateFormat.MMMd(locale).format(at),+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: muted,+ ),+ ),+ if (mixed)+ SizedBox(+ width: 40,+ child: Align(+ alignment: Alignment.centerLeft,+ child: s['format'] is String ? FormatChip(format: s['format'] as String) : null,+ ),+ ),+ SizedBox(+ width: 50,+ child: Text(activityDuration(l, (s['durationSeconds'] as num?)?.toDouble() ?? 0),+ maxLines: 1, style: bold),+ ),+ SizedBox(+ width: 48,+ child: Text(change, maxLines: 1, style: bold?.copyWith(color: changeColor)),+ ),+ Expanded(child: _PositionBar(end: end, delta: delta ?? 0, accent: accent)),+ SizedBox(+ width: 40,+ child: Text(end == null ? '-' : '${end.toStringAsFixed(0)}%',+ maxLines: 1, textAlign: TextAlign.end, style: bold?.copyWith(color: cs.onSurfaceVariant)),+ ),+ IconButton(+ tooltip: l.delete,+ visualDensity: VisualDensity.compact,+ iconSize: 16,+ color: cs.onSurfaceVariant,+ onPressed: () => _delete(s),+ icon: const Icon(Icons.delete_outline_rounded),+ ),+ ]),+ );+ }+}++/// The stretch of the book one session covered, with a tick where it ended.+class _PositionBar extends StatelessWidget {+ final double? end;+ final double delta;+ final Color accent;+ const _PositionBar({required this.end, required this.delta, required this.accent});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ return LayoutBuilder(builder: (context, c) {+ final w = c.maxWidth;+ final children = <Widget>[+ Positioned.fill(+ child: DecoratedBox(+ decoration: BoxDecoration(+ color: cs.onSurface.withValues(alpha: 0.08),+ borderRadius: BorderRadius.circular(3),+ ),+ ),+ ),+ ];+ final e = end;+ if (e != null) {+ final to = e.clamp(0.0, 100.0);+ final from = (to - delta).clamp(0.0, 100.0);+ final low = math.min(from, to);+ // A session that ends at the very end still needs a visible mark.+ final width = math.max(1.5, (from - to).abs());+ final left = math.min(low, 100 - width);+ children+ ..add(Positioned(+ left: w * left / 100,+ width: w * width / 100,+ top: 0,+ bottom: 0,+ child: DecoratedBox(+ decoration: BoxDecoration(+ color: delta < -0.5 ? Colors.amber : accent,+ borderRadius: BorderRadius.circular(3),+ ),+ ),+ ))+ ..add(Positioned(+ left: (w * to / 100 - 1).clamp(0.0, math.max(0.0, w - 2)),+ width: 2,+ top: 0,+ bottom: 0,+ child: ColoredBox(color: cs.onSurface.withValues(alpha: 0.7)),+ ));+ }+ return Padding(+ padding: const EdgeInsets.symmetric(horizontal: 6),+ child: SizedBox(height: 6, child: Stack(children: children)),+ );+ });+ }+}++/// Bars for the minutes on each day (or session), and a line through the+/// position each one reached.+class _ProgressChartPainter extends CustomPainter {+ final List<double> minutes;+ final List<double?> progress;+ final Color line;+ final Color bar;+ final Color grid;+ _ProgressChartPainter({+ required this.minutes,+ required this.progress,+ required this.line,+ required this.bar,+ required this.grid,+ });++ @override+ void paint(Canvas canvas, Size size) {+ final n = minutes.length;+ if (n == 0) return;+ final gridPaint = Paint()+ ..color = grid+ ..strokeWidth = 1;+ for (final f in [0.0, 0.5, 1.0]) {+ final y = size.height * f;+ canvas.drawLine(Offset(0, y), Offset(size.width, y), gridPaint);+ }+ final slot = size.width / n;+ final peak = minutes.fold<double>(1, math.max);+ final barPaint = Paint()..color = bar;+ final barWidth = math.min(18.0, slot * 0.6);+ for (var i = 0; i < n; i++) {+ if (minutes[i] <= 0) continue;+ final h = size.height * 0.9 * minutes[i] / peak;+ final x = slot * i + (slot - barWidth) / 2;+ canvas.drawRRect(+ RRect.fromRectAndRadius(Rect.fromLTWH(x, size.height - h, barWidth, h), const Radius.circular(2)),+ barPaint,+ );+ }+ final linePaint = Paint()+ ..color = line+ ..strokeWidth = 2+ ..style = PaintingStyle.stroke+ ..strokeJoin = StrokeJoin.round;+ final dot = Paint()..color = line;+ final path = Path();+ var started = false;+ for (var i = 0; i < n; i++) {+ final p = progress[i];+ if (p == null) continue;+ final o = Offset(slot * i + slot / 2, size.height * (1 - p.clamp(0, 100) / 100));+ if (started) {+ path.lineTo(o.dx, o.dy);+ } else {+ path.moveTo(o.dx, o.dy);+ started = true;+ }+ canvas.drawCircle(o, n > 40 ? 1.5 : 2.5, dot);+ }+ canvas.drawPath(path, linePaint);+ }++ @override+ bool shouldRepaint(_ProgressChartPainter old) =>+ old.minutes != minutes || old.progress != progress || old.line != line || old.bar != bar || old.grid != grid;+}++class _Momentum {+ final bool hasActivity;+ final bool isNew;+ final bool up;+ final int? percent;+ const _Momentum({this.hasActivity = false, this.isNew = false, this.up = false, this.percent});+}++/// What no single field of BookOrbit's summary says outright: active days,+/// streaks, the best day, a pace that is safe to show, and how this week+/// compares with the one before.+class _Insights {+ final int activeDays;+ final int spanDays;+ final int longestStreak;+ final MapEntry<String, double>? bestDay;+ final double? pace;+ final _Momentum momentum;+ const _Insights({+ this.activeDays = 0,+ this.spanDays = 0,+ this.longestStreak = 0,+ this.bestDay,+ this.pace,+ this.momentum = const _Momentum(),+ });++ /// A pace over a few seconds is noise, not a rate.+ static const _minPaceSeconds = 600;++ static DateTime _utc(String day) {+ final d = DateTime.parse(day);+ return DateTime.utc(d.year, d.month, d.day);+ }++ static _Insights of(Map<String, dynamic>? stats) {+ if (stats == null) return const _Insights();+ final days = <MapEntry<String, double>>[+ for (final d in (stats['dailySummary'] as List<dynamic>? ?? const []).whereType<Map>())+ if (((d['totalMinutes'] as num?) ?? 0) > 0 && DateTime.tryParse('${d['day']}') != null)+ MapEntry('${d['day']}', (d['totalMinutes'] as num).toDouble()),+ ]..sort((a, b) => a.key.compareTo(b.key));+ var span = 0;+ var streak = 0;+ MapEntry<String, double>? best;+ if (days.isNotEmpty) {+ span = _utc(days.last.key).difference(_utc(days.first.key)).inDays + 1;+ streak = 1;+ var run = 1;+ for (var i = 1; i < days.length; i++) {+ final gap = _utc(days[i].key).difference(_utc(days[i - 1].key)).inDays;+ run = gap == 1 ? run + 1 : 1;+ streak = math.max(streak, run);+ }+ for (final d in days) {+ if (best == null || d.value > best.value) best = d;+ }+ }+ double? pace;+ final delta = (stats['paceProgressDelta'] as num?)?.toDouble() ?? 0;+ final seconds = (stats['paceDurationSeconds'] as num?)?.toDouble() ?? 0;+ if (delta > 0 && seconds >= _minPaceSeconds) pace = delta / (seconds / 3600);++ final byDay = {for (final d in days) d.key: d.value};+ final now = DateTime.now().toUtc();+ final today = DateTime.utc(now.year, now.month, now.day);+ var recent = 0.0;+ var previous = 0.0;+ for (var o = 0; o < 7; o++) {+ recent += byDay[BookActivity.dayKey(today.subtract(Duration(days: o)))] ?? 0;+ previous += byDay[BookActivity.dayKey(today.subtract(Duration(days: o + 7)))] ?? 0;+ }+ final _Momentum momentum;+ if (recent == 0 && previous == 0) {+ momentum = const _Momentum();+ } else if (previous <= 0) {+ momentum = const _Momentum(hasActivity: true, isNew: true, up: true);+ } else {+ final pct = ((recent - previous) / previous * 100).round();+ momentum = _Momentum(hasActivity: true, up: pct > 0, percent: pct);+ }+ return _Insights(+ activeDays: days.length,+ spanDays: span,+ longestStreak: streak,+ bestDay: best,+ pace: pace,+ momentum: momentum,+ );+ }+}diff --git a/lib/screens/server_notifications_screen.dart b/lib/screens/server_notifications_screen.dartnew file mode 100644index 00000000..f54fbae9--- /dev/null+++ b/lib/screens/server_notifications_screen.dart@@ -0,0 +1,588 @@+import 'dart:async';++import 'package:flutter/material.dart';+import 'package:intl/intl.dart';+import 'package:provider/provider.dart';++import '../l10n/app_localizations.dart';+import '../main.dart' show rootNavigatorKey;+import '../providers/auth_provider.dart';+import '../services/api_service.dart';+import '../services/bookorbit_notification_socket.dart';+import '../services/server_notifications.dart';+import '../widgets/absorb_page_header.dart';+import '../widgets/book_detail_sheet.dart' show showBookDetailSheet;+import '../widgets/overlay_toast.dart';+import 'achievements_screen.dart';+import 'book_requests_screen.dart';++/// A notification that just came in, shown as a toast wherever the app is.+/// Tapping it opens the list. The list itself shows new ones as they come.+void showIncomingNotificationToast(ServerNotification n) {+ if (ServerNotificationsScreen._open > 0) return;+ final navigator = rootNavigatorKey.currentState;+ if (navigator == null) return;+ showNavigatorOverlayToast(+ navigator,+ n.message == null ? n.title : '${n.title}: ${n.message}',+ icon: notificationCategoryIcon(n.category),+ onTap: () => navigator.push(MaterialPageRoute(builder: (_) => const ServerNotificationsScreen())),+ );+}++/// The notifications BookOrbit keeps for the signed-in user, like the bell+/// in its web app: read, dismiss, clear, and pick which ones it sends.+class ServerNotificationsScreen extends StatefulWidget {+ const ServerNotificationsScreen({super.key});++ static int _open = 0;++ static Future<void> open(BuildContext context) => Navigator.push(+ context,+ MaterialPageRoute(builder: (_) => const ServerNotificationsScreen()),+ );++ @override+ State<ServerNotificationsScreen> createState() => _ServerNotificationsScreenState();+}++class _ServerNotificationsScreenState extends State<ServerNotificationsScreen> {+ static const _pageSize = 30;++ final _scroll = ScrollController();+ List<ServerNotification> _items = [];+ int _total = 0;+ bool _loading = true;+ bool _loadingMore = false;+ bool _failed = false;+ final _live = <StreamSubscription<ServerNotification>>[];++ ApiService? get _api => context.read<AuthProvider>().apiService;++ @override+ void initState() {+ super.initState();+ ServerNotificationsScreen._open++;+ _scroll.addListener(_maybeLoadMore);+ final feed = BookOrbitNotificationSocket.instance;+ _live+ ..add(feed.incoming.listen((n) => _arrived(n, isNew: true)))+ ..add(feed.updated.listen((n) => _arrived(n, isNew: false)));+ WidgetsBinding.instance.addPostFrameCallback((_) => _reload());+ }++ @override+ void dispose() {+ ServerNotificationsScreen._open--;+ for (final s in _live) {+ s.cancel();+ }+ _scroll.dispose();+ super.dispose();+ }++ /// A notification from the live feed goes to the top, replacing its old+ /// row when it is one that happened again.+ void _arrived(ServerNotification n, {required bool isNew}) {+ if (!mounted) return;+ final had = _items.any((i) => i.id == n.id);+ setState(() {+ _items = [n, ..._items.where((i) => i.id != n.id)];+ if (!had && isNew) _total++;+ });+ }++ Future<void> _reload() async {+ final api = _api;+ if (api == null) return;+ setState(() => _loading = true);+ final page = await api.serverNotifications(limit: _pageSize);+ if (!mounted) return;+ setState(() {+ _loading = false;+ _failed = page == null;+ if (page != null) {+ _items = page.items;+ _total = page.total;+ }+ });+ }++ void _maybeLoadMore() {+ if (_loadingMore || _items.length >= _total) return;+ if (_scroll.position.extentAfter > 400) return;+ _loadMore();+ }++ Future<void> _loadMore() async {+ final api = _api;+ if (api == null) return;+ _loadingMore = true;+ final page = await api.serverNotifications(limit: _pageSize, offset: _items.length);+ _loadingMore = false;+ if (!mounted || page == null) return;+ final seen = {for (final n in _items) n.id};+ setState(() {+ _items = [..._items, ...page.items.where((n) => !seen.contains(n.id))];+ _total = page.total;+ });+ }++ void _failedToast() {+ if (!mounted) return;+ showOverlayToast(context, AppLocalizations.of(context)!.boNotificationsUpdateFailed,+ icon: Icons.error_outline_rounded);+ }++ Future<void> _open(ServerNotification n) async {+ final api = _api;+ if (api == null) return;+ if (!n.read) {+ setState(() => _items = [for (final i in _items) i.id == n.id ? i.copyWith(read: true) : i]);+ if (!await api.markNotificationRead(n.id)) {+ if (!mounted) return;+ setState(() => _items = [for (final i in _items) i.id == n.id ? i.copyWith(read: false) : i]);+ _failedToast();+ return;+ }+ }+ if (!mounted) return;+ final link = n.link;+ switch (link?.kind) {+ case NotificationLinkKind.book:+ showBookDetailSheet(context, link!.bookId!);+ case NotificationLinkKind.requests:+ BookRequestsScreen.open(context, openList: true);+ case NotificationLinkKind.achievements:+ AchievementsScreen.open(context);+ case null:+ break;+ }+ }++ Future<void> _dismiss(ServerNotification n) async {+ final api = _api;+ if (api == null) return;+ final index = _items.indexWhere((i) => i.id == n.id);+ if (index < 0) return;+ setState(() {+ _items = [..._items]..removeAt(index);+ _total = (_total - 1).clamp(0, 1 << 30);+ });+ if (await api.dismissNotification(n.id)) return;+ if (!mounted) return;+ setState(() {+ _items = [..._items]..insert(index.clamp(0, _items.length), n);+ _total++;+ });+ _failedToast();+ }++ Future<void> _markAllRead() async {+ final api = _api;+ if (api == null) return;+ final before = _items;+ setState(() => _items = [for (final i in _items) i.copyWith(read: true)]);+ if (await api.markAllNotificationsRead()) return;+ if (!mounted) return;+ setState(() => _items = before);+ _failedToast();+ }++ Future<void> _clearAll() async {+ final api = _api;+ if (api == null) return;+ final l = AppLocalizations.of(context)!;+ final ok = await showDialog<bool>(+ context: context,+ builder: (ctx) => AlertDialog(+ title: Text(l.boNotificationsClearTitle),+ content: Text(l.boNotificationsClearBody),+ actions: [+ TextButton(onPressed: () => Navigator.pop(ctx, false), child: Text(l.cancel)),+ FilledButton(+ style: FilledButton.styleFrom(backgroundColor: Theme.of(ctx).colorScheme.error),+ onPressed: () => Navigator.pop(ctx, true),+ child: Text(l.boNotificationsClearAll),+ ),+ ],+ ),+ );+ if (ok != true || !mounted) return;+ final before = (_items, _total);+ setState(() {+ _items = [];+ _total = 0;+ });+ if (await api.clearNotifications()) return;+ if (!mounted) return;+ setState(() {+ _items = before.$1;+ _total = before.$2;+ });+ _failedToast();+ }++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ final hasUnread = _items.any((n) => !n.read);++ return Scaffold(+ backgroundColor: Theme.of(context).scaffoldBackgroundColor,+ body: SafeArea(+ child: Column(children: [+ Padding(+ padding: const EdgeInsets.fromLTRB(20, 12, 8, 0),+ child: Row(children: [+ Expanded(child: AbsorbPageHeader(title: l.notifications, padding: EdgeInsets.zero)),+ PopupMenuButton<String>(+ icon: Icon(Icons.more_vert_rounded, color: cs.onSurfaceVariant),+ onSelected: (v) {+ switch (v) {+ case 'read':+ _markAllRead();+ case 'clear':+ _clearAll();+ case 'settings':+ NotificationSettingsSheet.show(context);+ }+ },+ itemBuilder: (_) => [+ PopupMenuItem(value: 'read', enabled: hasUnread, child: Text(l.boNotificationsMarkAllRead)),+ PopupMenuItem(value: 'clear', enabled: _items.isNotEmpty, child: Text(l.boNotificationsClearAll)),+ PopupMenuItem(value: 'settings', child: Text(l.boNotificationsSettings)),+ ],+ ),+ IconButton(+ icon: Icon(Icons.close_rounded, color: cs.onSurfaceVariant),+ onPressed: () => Navigator.pop(context),+ ),+ ]),+ ),+ const SizedBox(height: 8),+ if (_loading) const LinearProgressIndicator(minHeight: 2),+ Expanded(+ child: RefreshIndicator(+ onRefresh: _reload,+ child: _items.isEmpty && !_loading+ ? ListView(children: [+ const SizedBox(height: 120),+ Icon(_failed ? Icons.cloud_off_rounded : Icons.notifications_none_rounded,+ size: 40, color: cs.onSurfaceVariant.withValues(alpha: 0.4)),+ const SizedBox(height: 12),+ Center(+ child: Text(_failed ? l.boNotificationsLoadFailed : l.boNotificationsEmpty,+ style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.6))),+ ),+ ])+ : ListView.builder(+ controller: _scroll,+ physics: const AlwaysScrollableScrollPhysics(),+ padding: const EdgeInsets.fromLTRB(16, 8, 16, 80),+ itemCount: _items.length + (_items.length < _total ? 1 : 0),+ itemBuilder: (context, i) {+ if (i >= _items.length) {+ return const Padding(+ padding: EdgeInsets.all(16),+ child: Center(child: SizedBox(width: 20, height: 20, child: CircularProgressIndicator(strokeWidth: 2))),+ );+ }+ final n = _items[i];+ return Dismissible(+ key: ValueKey('notification-${n.id}'),+ direction: DismissDirection.endToStart,+ onDismissed: (_) => _dismiss(n),+ background: Container(+ margin: const EdgeInsets.only(bottom: 10),+ alignment: Alignment.centerRight,+ padding: const EdgeInsets.only(right: 20),+ decoration: BoxDecoration(+ color: cs.errorContainer, borderRadius: BorderRadius.circular(16)),+ child: Icon(Icons.delete_outline_rounded, color: cs.onErrorContainer),+ ),+ child: _NotificationTile(notification: n, onTap: () => _open(n)),+ );+ },+ ),+ ),+ ),+ ]),+ ),+ );+ }+}++IconData notificationCategoryIcon(String? category) => switch (category) {+ 'scanning' => Icons.document_scanner_rounded,+ 'metadata' => Icons.sell_rounded,+ 'authorEnrichment' => Icons.people_alt_rounded,+ 'fileWriteBack' => Icons.save_alt_rounded,+ 'fileRename' || 'bulkRename' => Icons.drive_file_rename_outline_rounded,+ 'migration' => Icons.sync_alt_rounded,+ 'bookDock' => Icons.move_to_inbox_rounded,+ 'bookRequests' => Icons.library_add_rounded,+ 'email' => Icons.mail_outline_rounded,+ 'achievements' => Icons.emoji_events_rounded,+ 'podcasts' => Icons.podcasts_rounded,+ _ => Icons.notifications_rounded,+ };++String notificationTimeAgo(AppLocalizations l, DateTime? when, String locale) {+ if (when == null) return '';+ final diff = DateTime.now().difference(when);+ if (diff.inMinutes < 1) return l.justNow;+ if (diff.inMinutes < 60) return l.minutesAgo(diff.inMinutes);+ if (diff.inHours < 24) return l.hoursAgo(diff.inHours);+ if (diff.inDays < 7) return l.daysAgo(diff.inDays);+ return DateFormat.yMMMd(locale).format(when);+}++class _NotificationTile extends StatelessWidget {+ final ServerNotification notification;+ final VoidCallback onTap;++ const _NotificationTile({required this.notification, required this.onTap});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ final n = notification;+ final color = switch (n.severity) {+ NotificationSeverity.success => cs.primary,+ NotificationSeverity.warning => Colors.amber.shade700,+ NotificationSeverity.error => cs.error,+ };+ final when = notificationTimeAgo(l, n.when, Localizations.localeOf(context).toString());++ return Padding(+ padding: const EdgeInsets.only(bottom: 10),+ child: Material(+ color: n.read ? cs.surfaceContainer : cs.surfaceContainerHigh,+ borderRadius: BorderRadius.circular(16),+ child: InkWell(+ borderRadius: BorderRadius.circular(16),+ onTap: onTap,+ child: Padding(+ padding: const EdgeInsets.fromLTRB(14, 12, 14, 12),+ child: Row(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Container(+ width: 36,+ height: 36,+ decoration: BoxDecoration(color: color.withValues(alpha: 0.14), borderRadius: BorderRadius.circular(10)),+ child: Icon(notificationCategoryIcon(n.category), size: 19, color: color),+ ),+ const SizedBox(width: 12),+ Expanded(+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(n.title,+ style: tt.bodyMedium?.copyWith(fontWeight: n.read ? FontWeight.w500 : FontWeight.w700)),+ if (n.message != null) ...[+ const SizedBox(height: 2),+ Text(n.message!,+ maxLines: 4,+ overflow: TextOverflow.ellipsis,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ],+ const SizedBox(height: 4),+ Text(+ [when, if (n.count > 1) l.boNotificationsOccurrences(n.count)].where((s) => s.isNotEmpty).join(' · '),+ style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.6)),+ ),+ ]),+ ),+ if (!n.read)+ Padding(+ padding: const EdgeInsets.only(left: 8, top: 4),+ child: Container(+ width: 8,+ height: 8,+ decoration: BoxDecoration(color: cs.primary, shape: BoxShape.circle),+ ),+ ),+ ]),+ ),+ ),+ ),+ );+ }+}++/// Which notifications BookOrbit keeps for this account, by category, the+/// way its web app's notification settings set them.+class NotificationSettingsSheet extends StatefulWidget {+ const NotificationSettingsSheet({super.key});++ static Future<void> show(BuildContext context) => showModalBottomSheet<void>(+ context: context,+ isScrollControlled: true,+ useSafeArea: true,+ backgroundColor: Theme.of(context).colorScheme.surfaceContainerHigh,+ shape: const RoundedRectangleBorder(borderRadius: BorderRadius.vertical(top: Radius.circular(20))),+ builder: (_) => const NotificationSettingsSheet(),+ );++ @override+ State<NotificationSettingsSheet> createState() => _NotificationSettingsSheetState();+}++class _NotificationSettingsSheetState extends State<NotificationSettingsSheet> {+ Map<String, String>? _levels;+ bool _requests = false;+ bool _failed = false;++ @override+ void initState() {+ super.initState();+ _load();+ }++ Future<void> _load() async {+ final api = context.read<AuthProvider>().apiService;+ if (api == null) return;+ final (levels, access) = await (api.notificationLevels(), api.bookRequestAccess()).wait;+ if (!mounted) return;+ setState(() {+ _levels = levels;+ _requests = access.canRequest;+ _failed = levels == null;+ });+ }++ Future<void> _set(String category, String level) async {+ final api = context.read<AuthProvider>().apiService;+ final levels = _levels;+ if (api == null || levels == null) return;+ final before = levels[category];+ setState(() => _levels = {...levels, category: level});+ if (await api.setNotificationLevels({category: level})) return;+ if (!mounted) return;+ setState(() => _levels = {..._levels!, category: ?before});+ showOverlayToast(context, AppLocalizations.of(context)!.boNotificationsSaveFailed,+ icon: Icons.error_outline_rounded);+ }++ String _groupLabel(AppLocalizations l, String group) => switch (group) {+ 'library' => l.boNotificationGroupLibrary,+ 'files' => l.boNotificationGroupFiles,+ 'integrations' => l.boNotificationGroupIntegrations,+ _ => l.boNotificationGroupPersonal,+ };++ (String, String) _categoryText(AppLocalizations l, String category) => switch (category) {+ 'scanning' => (l.boNotifyScanning, l.boNotifyScanningDesc),+ 'metadata' => (l.boNotifyMetadata, l.boNotifyMetadataDesc),+ 'authorEnrichment' => (l.boNotifyAuthorEnrichment, l.boNotifyAuthorEnrichmentDesc),+ 'fileWriteBack' => (l.boNotifyFileWriteBack, l.boNotifyFileWriteBackDesc),+ 'fileRename' => (l.boNotifyFileRename, l.boNotifyFileRenameDesc),+ 'bulkRename' => (l.boNotifyBulkRename, l.boNotifyBulkRenameDesc),+ 'migration' => (l.boNotifyMigration, l.boNotifyMigrationDesc),+ 'bookDock' => (l.boNotifyBookDock, l.boNotifyBookDockDesc),+ 'bookRequests' => (l.boNotifyBookRequests, l.boNotifyBookRequestsDesc),+ 'email' => (l.boNotifyEmail, l.boNotifyEmailDesc),+ 'achievements' => (l.boNotifyAchievements, l.boNotifyAchievementsDesc),+ _ => (category, ''),+ };++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ final levels = _levels;++ return DraggableScrollableSheet(+ expand: false,+ initialChildSize: 0.85,+ maxChildSize: 0.95,+ builder: (context, controller) => ListView(+ controller: controller,+ padding: const EdgeInsets.fromLTRB(20, 12, 20, 32),+ children: [+ Center(+ child: Container(+ width: 36,+ height: 4,+ decoration: BoxDecoration(+ color: cs.onSurface.withValues(alpha: 0.12), borderRadius: BorderRadius.circular(2)),+ ),+ ),+ const SizedBox(height: 16),+ Text(l.boNotificationsSettings, style: tt.titleMedium?.copyWith(fontWeight: FontWeight.w700)),+ const SizedBox(height: 4),+ Text(l.boNotificationsSettingsIntro, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ const SizedBox(height: 2),+ Text(l.boNotificationsProblemsHint,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant.withValues(alpha: 0.7))),+ if (levels == null && !_failed)+ const Padding(padding: EdgeInsets.all(32), child: Center(child: CircularProgressIndicator())),+ if (_failed)+ Padding(+ padding: const EdgeInsets.all(32),+ child: Center(child: Text(l.boNotificationsLoadFailed, style: tt.bodyMedium)),+ ),+ if (levels != null)+ for (final MapEntry(key: group, value: categories) in notificationCategoryGroups.entries) ...[+ const SizedBox(height: 20),+ Text(_groupLabel(l, group).toUpperCase(),+ style: tt.labelSmall?.copyWith(+ color: cs.onSurfaceVariant.withValues(alpha: 0.6), fontWeight: FontWeight.w600, letterSpacing: 0.5)),+ for (final category in categories)+ if (category != 'bookRequests' || _requests)+ _categoryRow(cs, tt, l, category, levels[category] ?? notificationLevelAll),+ ],+ ],+ ),+ );+ }++ Widget _categoryRow(ColorScheme cs, TextTheme tt, AppLocalizations l, String category, String level) {+ final (label, description) = _categoryText(l, category);+ final problems = notificationCategoryHasProblems(category);+ final options = [+ notificationLevelOff,+ if (problems) notificationLevelProblems,+ notificationLevelAll,+ ];+ final shown = options.contains(level) ? level : notificationLevelAll;+ return Padding(+ padding: const EdgeInsets.only(top: 12),+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Row(children: [+ Icon(notificationCategoryIcon(category), size: 18, color: cs.onSurfaceVariant),+ const SizedBox(width: 10),+ Expanded(child: Text(label, style: tt.bodyMedium?.copyWith(fontWeight: FontWeight.w600))),+ ]),+ if (description.isNotEmpty)+ Padding(+ padding: const EdgeInsets.only(left: 28, top: 2),+ child: Text(description, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ Padding(+ padding: const EdgeInsets.only(left: 28, top: 8),+ child: SegmentedButton<String>(+ showSelectedIcon: false,+ style: const ButtonStyle(visualDensity: VisualDensity.compact),+ segments: [+ for (final o in options)+ ButtonSegment(+ value: o,+ label: Text(switch (o) {+ notificationLevelOff => l.boNotificationLevelOff,+ notificationLevelProblems => l.boNotificationLevelProblems,+ _ => l.boNotificationLevelAll,+ }),+ ),+ ],+ selected: {shown},+ onSelectionChanged: (s) => _set(category, s.first),+ ),+ ),+ ]),+ );+ }+}diff --git a/lib/screens/settings_screen.dart b/lib/screens/settings_screen.dartindex 3668d395..8ac2fc0e 100644--- a/lib/screens/settings_screen.dart+++ b/lib/screens/settings_screen.dart@@ -28,7 +28,13 @@ import '../widgets/update_dialog.dart';import '../widgets/nav_hold_options.dart';import '../widgets/now_playing_text_sheet.dart';import '../screens/admin_screen.dart';+import '../screens/bookorbit_admin_screen.dart';import '../screens/book_requests_screen.dart';+import '../screens/achievements_screen.dart';+import '../screens/server_notifications_screen.dart';+import '../services/achievements.dart';+import '../services/bookorbit_notification_socket.dart';+import '../services/api_service.dart';import '../screens/downloads_screen.dart';import '../screens/bookmarks_screen.dart';import '../screens/backup_sync_screen.dart';@@ -51,6 +57,7 @@ import '../widgets/overlay_toast.dart';import '../widgets/tips_sheet.dart';import '../widgets/feature_hint.dart';import '../widgets/welcome_sheet.dart';+import '../widgets/whats_new_prompt.dart';import '../widgets/rmab_config_sheet.dart';import '../widgets/server_connection_editor.dart';import '../widgets/server_admin_status_badges.dart';@@ -198,8 +205,11 @@ class _SettingsScreenState extends State<SettingsScreen> {// Recent sessions is intentionally absent: it infinite-scrolls, so it is// pinned to the bottom of the stats page and can't be reordered or hidden.static const _statsSectionIds = [- 'hero', 'goals', 'periods', 'activity', 'chart', 'heatmap', 'dayofweek', 'top', 'yearreview',+ 'hero', 'goals', 'periods', 'activity', 'chart', 'heatmap', 'dayofweek', 'timeofday', 'top',+ 'finished', 'sources', 'habits', 'yearreview',];+ // Only BookOrbit has the numbers behind these.+ static const _bookOrbitStatsSections = {'timeofday', 'finished', 'sources', 'habits'};int _streamingCacheSizeMb = 0;bool _localServerEnabled = false;String _localServerUrl = '';@@ -209,6 +219,94 @@ class _SettingsScreenState extends State<SettingsScreen> {String? _rmabBaseUrl;bool _bookRequestsOn = false;+ ApiService? _inboxApi;+ bool _boNotificationsOn = false;+ int? _boUnread;+ bool? _boAchievementsOn;+ AchievementCatalogue? _boAchievements;++ /// BookOrbit's notification badge and achievement count for the tiles under+ /// the account card.+ Future<void> _loadBookOrbitInbox() async {+ final auth = context.read<AuthProvider>();+ final api = auth.apiService;+ _inboxApi = api;+ if (api == null || !auth.isBookOrbit) {+ if (_boNotificationsOn || _boAchievementsOn != null) {+ setState(() {+ _boNotificationsOn = false;+ _boUnread = null;+ _boAchievementsOn = null;+ _boAchievements = null;+ });+ }+ return;+ }+ final (notificationsOn, achievementsOn) = await (api.hasServerNotifications(), api.achievementsEnabled()).wait;+ final (unread, catalogue) = await (+ notificationsOn ? api.unreadNotificationCount() : Future<int?>.value(),+ achievementsOn == true ? api.achievements() : Future<AchievementCatalogue?>.value(),+ ).wait;+ if (!mounted || _inboxApi != api) return;+ if (unread != null) BookOrbitNotificationSocket.instance.unread.value = (api: api, count: unread);+ setState(() {+ _boNotificationsOn = notificationsOn;+ _boUnread = unread;+ _boAchievementsOn = achievementsOn;+ _boAchievements = catalogue;+ });+ }++ Future<void> _setAchievementsOn(bool on) async {+ final api = context.read<AuthProvider>().apiService;+ if (api == null) return;+ final l = AppLocalizations.of(context)!;+ final before = _boAchievementsOn;+ setState(() => _boAchievementsOn = on);+ if (await api.setAchievementsEnabled(on)) {+ if (!mounted) return;+ showOverlayToast(context, on ? l.achievementsTurnedOn : l.achievementsTurnedOff,+ icon: Icons.check_circle_outline_rounded);+ _loadBookOrbitInbox();+ return;+ }+ if (!mounted) return;+ setState(() => _boAchievementsOn = before);+ showOverlayToast(context, l.achievementsSwitchFailed, icon: Icons.error_outline_rounded);+ }++ Widget _inboxTile(ColorScheme cs, TextTheme tt,+ {required IconData icon, required String title, required String subtitle, bool dot = false, required VoidCallback onTap}) {+ return Material(+ color: cs.surfaceContainerHigh,+ borderRadius: BorderRadius.circular(14),+ child: InkWell(+ borderRadius: BorderRadius.circular(14),+ onTap: onTap,+ child: Padding(+ padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 12),+ child: Row(children: [+ Badge(+ isLabelVisible: dot,+ smallSize: 8,+ child: Icon(icon, color: cs.primary, size: 22),+ ),+ const SizedBox(width: 12),+ Expanded(+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(title, maxLines: 1, overflow: TextOverflow.ellipsis,+ style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w600)),+ if (subtitle.isNotEmpty)+ Text(subtitle, maxLines: 1, overflow: TextOverflow.ellipsis,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ]),+ ),+ ]),+ ),+ ),+ );+ }+Future<void> _loadBookRequests() async {final api = context.read<AuthProvider>().apiService;final on = api != null && (await api.bookRequestAccess()).canRequest;@@ -255,11 +353,16 @@ class _SettingsScreenState extends State<SettingsScreen> {});}+ bool _whatsNewOn = true;+@overridevoid initState() {super.initState();_localServerController = TextEditingController();_loadSettings();+ WhatsNewPrompt.isEnabled().then((on) {+ if (mounted) setState(() => _whatsNewOn = on);+ });_loadBookRequests();_loadAdminIssueCount();_refreshSyncStatus();@@ -785,10 +888,17 @@ class _SettingsScreenState extends State<SettingsScreen> {PlayerSettings.setStatsBookGoal(_statsBookGoal);}- List<String> get _mergedStatsOrder => [- ..._statsSectionOrder.where(_statsSectionIds.contains),- ..._statsSectionIds.where((id) => !_statsSectionOrder.contains(id)),- ];+ List<String> get _mergedStatsOrder {+ final bookOrbit = context.read<AuthProvider>().isBookOrbit;+ final ids = [+ for (final id in _statsSectionIds)+ if (bookOrbit || !_bookOrbitStatsSections.contains(id)) id,+ ];+ return [+ ..._statsSectionOrder.where(ids.contains),+ ...ids.where((id) => !_statsSectionOrder.contains(id)),+ ];+ }String _statsSectionLabel(AppLocalizations l, String id) {switch (id) {@@ -799,6 +909,10 @@ class _SettingsScreenState extends State<SettingsScreen> {case 'chart': return l.statsChartTitle;case 'heatmap': return l.statsChartHeatmap;case 'dayofweek': return l.statsDayOfWeek;+ case 'timeofday': return l.statsTimeOfDay;+ case 'finished': return l.statsFinishedByMonth;+ case 'sources': return l.statsWhereTitle;+ case 'habits': return l.statsHabits;case 'top': return l.statsMostListened;case 'yearreview': return 'Year in Review';}@@ -814,6 +928,10 @@ class _SettingsScreenState extends State<SettingsScreen> {case 'chart': return Icons.bar_chart_rounded;case 'heatmap': return Icons.calendar_view_month_rounded;case 'dayofweek': return Icons.view_week_rounded;+ case 'timeofday': return Icons.schedule_rounded;+ case 'finished': return Icons.event_available_rounded;+ case 'sources': return Icons.devices_rounded;+ case 'habits': return Icons.insights_rounded;case 'top': return Icons.star_outline_rounded;case 'yearreview': return Icons.auto_awesome_rounded;}@@ -930,7 +1048,13 @@ class _SettingsScreenState extends State<SettingsScreen> {await PlayerSettings.setEpisodeNotifIntervalMinutes(picked);await EpisodeNotificationService.syncRegistration();// Make sure notifications are allowed when turning the feature on.- if (picked > 0) await Permission.notification.request();+ if (picked > 0) {+ if (Platform.isIOS) {+ await EpisodeNotificationService.requestIosPermission();+ } else {+ await Permission.notification.request();+ }+ }}Future<void> _pickPodcastTabLibrary(List<Map<String, dynamic>> podcastLibs) async {@@ -1634,6 +1758,12 @@ class _SettingsScreenState extends State<SettingsScreen> {if (mounted) _loadCurrentLibraryOverrides(lib.selectedLibraryId!);});}+ if (auth.apiService != _inboxApi) {+ _inboxApi = auth.apiService;+ WidgetsBinding.instance.addPostFrameCallback((_) {+ if (mounted) _loadBookOrbitInbox();+ });+ }return Scaffold(body: Container(@@ -1804,6 +1934,47 @@ class _SettingsScreenState extends State<SettingsScreen> {),),+ if (auth.isBookOrbit && (_boNotificationsOn || _boAchievementsOn == true))+ Padding(+ padding: const EdgeInsets.fromLTRB(16, 12, 16, 0),+ child: Row(children: [+ if (_boNotificationsOn)+ Expanded(+ child: ValueListenableBuilder(+ valueListenable: BookOrbitNotificationSocket.instance.unread,+ builder: (context, _, _) {+ final unread =+ BookOrbitNotificationSocket.instance.unreadFor(auth.apiService) ?? _boUnread;+ return _inboxTile(cs, tt,+ icon: Icons.notifications_rounded,+ title: l.notifications,+ subtitle: unread == null ? '' : l.boNotificationsUnread(unread),+ dot: (unread ?? 0) > 0,+ onTap: () async {+ await ServerNotificationsScreen.open(context);+ if (mounted) _loadBookOrbitInbox();+ });+ },+ ),+ ),+ if (_boNotificationsOn && _boAchievementsOn == true) const SizedBox(width: 10),+ if (_boAchievementsOn == true)+ Expanded(+ child: _inboxTile(cs, tt,+ icon: Icons.emoji_events_rounded,+ title: l.achievementsTitle,+ subtitle: _boAchievements == null+ ? ''+ : l.achievementsEarnedSummary(+ _boAchievements!.totalEarned, _boAchievements!.totalAvailable),+ onTap: () async {+ await AchievementsScreen.open(context);+ if (mounted) _loadBookOrbitInbox();+ }),+ ),+ ]),+ ),+// ── Admin Controls ──if (auth.isAdmin)Padding(@@ -1852,6 +2023,40 @@ class _SettingsScreenState extends State<SettingsScreen> {),),+ if (auth.bookOrbitAdmin?.any == true)+ Padding(+ padding: const EdgeInsets.fromLTRB(16, 16, 16, 0),+ child: Material(+ color: cs.surfaceContainerHigh,+ borderRadius: BorderRadius.circular(14),+ child: InkWell(+ borderRadius: BorderRadius.circular(14),+ onTap: () => Navigator.push(context, MaterialPageRoute(+ builder: (_) => const BookOrbitAdminScreen(),+ )),+ child: Padding(+ padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 14),+ child: Row(+ children: [+ Icon(Icons.admin_panel_settings_rounded, color: cs.primary, size: 22),+ const SizedBox(width: 14),+ Expanded(child: Column(+ crossAxisAlignment: CrossAxisAlignment.start,+ children: [+ Text(l.serverAdmin, style: tt.titleSmall?.copyWith(+ fontWeight: FontWeight.w600)),+ Text(l.boAdminSubtitle,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ],+ )),+ Icon(Icons.chevron_right_rounded, color: cs.onSurfaceVariant.withValues(alpha: 0.5)),+ ],+ ),+ ),+ ),+ ),+ ),+const SizedBox(height: 20),// ── Appearance ──@@ -4169,7 +4374,7 @@ class _SettingsScreenState extends State<SettingsScreen> {}},),- if (Platform.isAndroid) ...[+ if (Platform.isAndroid || Platform.isIOS) ...[const Divider(height: 1, indent: 16, endIndent: 16),ListTile(leading: const Icon(Icons.notifications_active_outlined),@@ -4180,6 +4385,8 @@ class _SettingsScreenState extends State<SettingsScreen> {trailing: Icon(Icons.chevron_right_rounded, color: cs.onSurfaceVariant),onTap: _loaded ? _pickEpisodeNotifInterval : null,),+ ],+ if (Platform.isAndroid) ...[const Divider(height: 1, indent: 16, endIndent: 16),ListTile(leading: const Icon(Icons.battery_saver_outlined),@@ -4231,6 +4438,18 @@ class _SettingsScreenState extends State<SettingsScreen> {},),const Divider(height: 1, indent: 16, endIndent: 16),+ SwitchListTile(+ secondary: Icon(Icons.new_releases_outlined, color: cs.onSurfaceVariant),+ title: Text(l.settingsWhatsNew),+ subtitle: Text(l.settingsWhatsNewSubtitle,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ value: _whatsNewOn,+ onChanged: (v) {+ setState(() => _whatsNewOn = v);+ WhatsNewPrompt.setEnabled(v);+ },+ ),+ const Divider(height: 1, indent: 16, endIndent: 16),ListTile(leading: Icon(Icons.bug_report_outlined, color: cs.onSurfaceVariant),title: Text(l.bugsAndFeatureRequests),@@ -5087,7 +5306,7 @@ class _SettingsScreenState extends State<SettingsScreen> {),const SizedBox(height: 12),Divider(height: 1, indent: 20, endIndent: 20, color: cs.onSurface.withValues(alpha: 0.06)),- if (!auth.isBookOrbit) ...[+ if (!auth.isBookOrbit || auth.canChangeBookOrbitPassword) ...[InkWell(onTap: () {Navigator.pop(ctx);@@ -5102,12 +5321,14 @@ class _SettingsScreenState extends State<SettingsScreen> {const SizedBox(width: 14),Expanded(child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [Text(l.changePasswordTitle, style: tt.bodyMedium?.copyWith(fontWeight: FontWeight.w600)),- Text(l.changePasswordSubtitle, style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant)),+ Text(auth.isBookOrbit ? l.boChangePasswordSubtitle : l.changePasswordSubtitle,+ style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant)),])),Icon(Icons.chevron_right_rounded, size: 18, color: cs.onSurfaceVariant),]),),),+ if (!auth.isBookOrbit)InkWell(onTap: () {Navigator.pop(ctx);@@ -5130,6 +5351,54 @@ class _SettingsScreenState extends State<SettingsScreen> {),Divider(height: 1, indent: 20, endIndent: 20, color: cs.onSurface.withValues(alpha: 0.06)),],+ if (auth.isBookOrbit && (_boAchievementsOn != null || _boNotificationsOn)) ...[+ if (_boNotificationsOn)+ InkWell(+ onTap: () {+ Navigator.pop(ctx);+ NotificationSettingsSheet.show(context);+ },+ child: Padding(+ padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 12),+ child: Row(children: [+ Icon(Icons.notifications_active_rounded, size: 20, color: cs.onSurfaceVariant),+ const SizedBox(width: 14),+ Expanded(child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(l.boNotificationsSettings, style: tt.bodyMedium?.copyWith(fontWeight: FontWeight.w600)),+ Text(l.boNotificationsSettingsIntro, style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant)),+ ])),+ Icon(Icons.chevron_right_rounded, size: 18, color: cs.onSurfaceVariant),+ ]),+ ),+ ),+ if (_boAchievementsOn != null)+ StatefulBuilder(+ builder: (sheetContext, setSheet) {+ Future<void> toggle(bool on) async {+ final change = _setAchievementsOn(on);+ setSheet(() {});+ await change;+ if (sheetContext.mounted) setSheet(() {});+ }+ return InkWell(+ onTap: () => toggle(!(_boAchievementsOn ?? true)),+ child: Padding(+ padding: const EdgeInsets.fromLTRB(20, 8, 12, 8),+ child: Row(children: [+ Icon(Icons.emoji_events_rounded, size: 20, color: cs.onSurfaceVariant),+ const SizedBox(width: 14),+ Expanded(child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(l.achievementsSwitch, style: tt.bodyMedium?.copyWith(fontWeight: FontWeight.w600)),+ Text(l.achievementsSwitchSubtitle, style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant)),+ ])),+ Switch(value: _boAchievementsOn ?? true, onChanged: toggle),+ ]),+ ),+ );+ },+ ),+ Divider(height: 1, indent: 20, endIndent: 20, color: cs.onSurface.withValues(alpha: 0.06)),+ ],// Other accountsif (otherAccounts.isNotEmpty) ...[const SizedBox(height: 4),diff --git a/lib/screens/stats_screen.dart b/lib/screens/stats_screen.dartindex 6136954a..c7e746bc 100644--- a/lib/screens/stats_screen.dart+++ b/lib/screens/stats_screen.dart@@ -1,12 +1,15 @@+import 'dart:async';import 'dart:convert';import 'dart:math';import 'package:cached_network_image/cached_network_image.dart';import 'package:flutter/material.dart';+import 'package:intl/intl.dart';import 'package:provider/provider.dart';import 'package:shared_preferences/shared_preferences.dart';import '../providers/auth_provider.dart';import '../providers/library_provider.dart';import '../services/audio_player_service.dart';+import '../services/device_time_zone.dart';import '../services/scoped_prefs.dart';import '../services/user_account_service.dart';import '../widgets/absorb_page_header.dart';@@ -54,12 +57,21 @@ class _StatsScreenState extends State<StatsScreen>Map<String, dynamic>? _yirData;bool _yirLoading = false;int? _yirLoadedYear;+ // BookOrbit keeps listening and reading apart: 'all', 'listening' or+ // 'reading'.+ String _media = 'all';+ static const _kMedia = 'stats_media';+ ({String server, String phone})? _zoneMismatch;+ String? _zoneChecked;+ bool _zoneSaving = false;+ static const _kZoneDismissed = 'stats_zone_note_dismissed';late AnimationController _animController;// Recent sessions stays out of the reorderable sections: it loads more as// you scroll, so anything placed under it would never be reachable.static const _defaultSectionOrder = [- 'hero', 'goals', 'periods', 'activity', 'chart', 'heatmap', 'dayofweek', 'top', 'yearreview',+ 'hero', 'goals', 'periods', 'activity', 'chart', 'heatmap', 'dayofweek', 'timeofday', 'top',+ 'finished', 'sources', 'habits', 'yearreview',];static const _monthNames = [@@ -85,6 +97,44 @@ class _StatsScreenState extends State<StatsScreen>PlayerSettings.settingsChanged.addListener(_onSettingsChanged);_loadStats();_loadGoalSettings();+ SharedPreferences.getInstance().then((prefs) {+ final media = prefs.getString(_kMedia);+ if (mounted && media != null && media != _media) setState(() => _media = media);+ });+ }++ void _setMedia(String media) {+ if (media == _media) return;+ setState(() {+ _media = media;+ _selectedDayKey = null;+ _selectedSection = null;+ });+ _animController+ ..reset()+ ..forward();+ SharedPreferences.getInstance().then((prefs) => prefs.setString(_kMedia, media));+ }++ /// The days the screen counts. On BookOrbit that is listening, reading or+ /// both, as picked at the top; elsewhere whatever the server sent.+ Map<String, dynamic> _countedDays(Map<String, dynamic> stats) {+ final bo = stats['bookOrbit'];+ if (bo is Map) {+ final picked = switch (_media) {+ 'listening' => bo['listenDays'],+ 'reading' => bo['readDays'],+ _ => null,+ };+ if (picked is Map<String, dynamic>) return picked;+ }+ return _extractDailyMap(stats);+ }++ int get _bookGoalOrServer {+ if (_bookGoal > 0) return _bookGoal;+ final bo = _stats?['bookOrbit'];+ return bo is Map ? (bo['goalBooks'] as num?)?.toInt() ?? 0 : 0;}@override@@ -355,6 +405,7 @@ class _StatsScreenState extends State<StatsScreen>prefs.setString(statsCacheKey, jsonEncode(stats));}+ if (stats != null) unawaited(_checkTimeZone(stats));if (mounted) {setState(() {_stats = stats ?? _stats; // keep cached if network failed@@ -456,8 +507,16 @@ class _StatsScreenState extends State<StatsScreen>}Widget _buildContent(ColorScheme cs, TextTheme tt, AppLocalizations l) {- final totalSeconds = _safeNum(_stats!['totalTime']);- final dailyMap = _extractDailyMap(_stats!);+ final bo = _stats!['bookOrbit'] as Map<String, dynamic>?;+ final dailyMap = _countedDays(_stats!);+ final totalSeconds = bo != null+ ? dailyMap.values.fold<double>(0, (sum, v) => sum + _safeNum(v))+ : _safeNum(_stats!['totalTime']);+ final hourValues = bo == null ? const <double>[] : _hourValues(bo['hours'] as List<dynamic>? ?? const []);+ final finishedMonths = bo == null ? const <({DateTime month, int count})>[] : _finishedMonths(bo);+ final sources = (bo?['sources'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>().toList();+ final habits = bo == null ? const <Widget>[] : _habitRows(cs, tt, l, bo);+ final genres = (bo?['genres'] as List<dynamic>? ?? const []).whereType<Map>().take(5).toList();final today = _todaySeconds(dailyMap);final thisWeek = _weekSeconds(dailyMap);final thisMonth = _monthSeconds(dailyMap);@@ -478,11 +537,11 @@ class _StatsScreenState extends State<StatsScreen>final sections = <String, List<Widget>>{'hero': [- _heroStat(tt, cs, l, totalSeconds),+ _heroStat(tt, cs, l, totalSeconds, bookOrbit: bo != null),const SizedBox(height: 16),],'goals': [- if (_goalMinutes.values.any((m) => m > 0) || _bookGoal > 0) ...[+ if (_goalMinutes.values.any((m) => m > 0) || _bookGoalOrServer > 0) ...[_goalCard(cs, tt, l, today, thisWeek, thisMonth),const SizedBox(height: 16),],@@ -601,11 +660,52 @@ class _StatsScreenState extends State<StatsScreen>_dayOfWeekChart(cs, tt, l, dailyMap),const SizedBox(height: 28),],+ 'timeofday': [+ if (hourValues.any((v) => v > 0)) ...[+ _sectionTitle(tt, cs, l.statsTimeOfDay),+ const SizedBox(height: 10),+ _timeOfDayChart(cs, tt, l, hourValues),+ const SizedBox(height: 28),+ ],+ ],'top': [if (topItems.isNotEmpty) ...[- _sectionTitle(tt, cs, l.statsMostListened),+ // BookOrbit's per-book totals take in reading as well.+ _sectionTitle(tt, cs, bo != null ? l.statsTopBooks : l.statsMostListened),const SizedBox(height: 10),...topItems.map((item) => _topItemCard(tt, cs, l, item)),+ SizedBox(height: genres.isEmpty ? 28 : 14),+ ],+ if (genres.isNotEmpty) ...[+ _yirTopList(cs, tt, l.statsTopGenres, genres, 'genre'),+ const SizedBox(height: 14),+ ],+ ],+ 'finished': [+ if (finishedMonths.any((m) => m.count > 0)) ...[+ _sectionTitle(tt, cs, l.statsFinishedByMonth),+ const SizedBox(height: 10),+ _finishedChart(cs, tt, l, finishedMonths),+ const SizedBox(height: 28),+ ],+ ],+ 'sources': [+ if (sources.isNotEmpty) ...[+ _sectionTitle(tt, cs, l.statsWhereTitle),+ const SizedBox(height: 10),+ _sourcesCard(cs, tt, l, sources),+ const SizedBox(height: 28),+ ],+ ],+ 'habits': [+ if (habits.isNotEmpty) ...[+ _sectionTitle(tt, cs, l.statsHabits),+ const SizedBox(height: 10),+ Container(+ decoration: _cardDeco(cs),+ padding: const EdgeInsets.symmetric(vertical: 4),+ child: Column(children: habits),+ ),const SizedBox(height: 28),],],@@ -626,6 +726,7 @@ class _StatsScreenState extends State<StatsScreen>padding: const EdgeInsets.only(top: 12),),const SizedBox(height: 24),+ if (bo != null) _mediaPicker(cs, tt, l, bo),for (final id in order)if (!_statsHidden.contains(id)) ...sections[id]!,if (_sessions.isNotEmpty) ...[@@ -808,6 +909,332 @@ class _StatsScreenState extends State<StatsScreen>);}+ /// BookOrbit splits days at midnight in the account's time zone (UTC until+ /// someone sets it), so when that differs from the phone's, time late in+ /// the day lands on another day here. Checked once per zone BookOrbit+ /// reports.+ Future<void> _checkTimeZone(Map<String, dynamic>? stats) async {+ final server = (stats?['bookOrbit'] as Map?)?['timezone'] as String?;+ if (server == null || server.isEmpty || server == _zoneChecked) return;+ _zoneChecked = server;+ final phone = await DeviceTimeZone.compare(server);+ final dismissed = (await SharedPreferences.getInstance()).getString(_kZoneDismissed);+ if (!mounted) return;+ final show = phone != null && phone.differs && dismissed != '$server|${phone.id}';+ setState(() => _zoneMismatch = show ? (server: server, phone: phone.id) : null);+ }++ Future<void> _dismissZoneNote() async {+ final z = _zoneMismatch;+ if (z == null) return;+ setState(() => _zoneMismatch = null);+ (await SharedPreferences.getInstance()).setString(_kZoneDismissed, '${z.server}|${z.phone}');+ }++ Future<void> _usePhoneZone(String zone) async {+ final api = context.read<AuthProvider>().apiService;+ if (api == null) return;+ final l = AppLocalizations.of(context)!;+ setState(() => _zoneSaving = true);+ final ok = await api.setAccountTimeZone(zone);+ if (!mounted) return;+ setState(() {+ _zoneSaving = false;+ if (ok) _zoneMismatch = null;+ });+ if (!ok) {+ showOverlayToast(context, l.statsZoneFailed, icon: Icons.error_outline_rounded);+ return;+ }+ showOverlayToast(context, l.statsZoneSaved(zone), icon: Icons.schedule_rounded);+ setState(() => _isLoading = true);+ await _loadStats();+ }++ Widget _zoneNote(ColorScheme cs, TextTheme tt, AppLocalizations l, ({String server, String phone}) z) {+ return Container(+ margin: const EdgeInsets.only(top: 10),+ padding: const EdgeInsets.fromLTRB(12, 10, 4, 2),+ decoration: BoxDecoration(+ color: cs.tertiary.withValues(alpha: 0.08),+ borderRadius: BorderRadius.circular(12),+ border: Border.all(color: cs.tertiary.withValues(alpha: 0.2)),+ ),+ child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [+ Row(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Padding(+ padding: const EdgeInsets.only(top: 2),+ child: Icon(Icons.schedule_rounded, size: 18, color: cs.tertiary),+ ),+ const SizedBox(width: 10),+ Expanded(+ child: Text(l.statsZoneMismatch(z.server, z.phone),+ style: tt.bodySmall?.copyWith(color: cs.onSurface)),+ ),+ IconButton(+ visualDensity: VisualDensity.compact,+ tooltip: MaterialLocalizations.of(context).closeButtonTooltip,+ icon: Icon(Icons.close_rounded, size: 18, color: cs.onSurfaceVariant),+ onPressed: _dismissZoneNote,+ ),+ ]),+ Align(+ alignment: Alignment.centerRight,+ child: TextButton(+ onPressed: _zoneSaving ? null : () => _usePhoneZone(z.phone),+ child: _zoneSaving+ ? const SizedBox(width: 16, height: 16, child: CircularProgressIndicator(strokeWidth: 2))+ : Text(l.statsZoneUse(z.phone)),+ ),+ ),+ ]),+ );+ }++ Widget _mediaPicker(ColorScheme cs, TextTheme tt, AppLocalizations l, Map<String, dynamic> bo) {+ final zone = _zoneMismatch;+ return Padding(+ padding: const EdgeInsets.only(bottom: 20),+ child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [+ SegmentedButton<String>(+ segments: [+ ButtonSegment(value: 'all', label: Text(l.statsMediaAll)),+ ButtonSegment(+ value: 'listening',+ icon: const Icon(Icons.headphones_rounded, size: 16),+ label: Text(l.statsMediaListening)),+ ButtonSegment(+ value: 'reading',+ icon: const Icon(Icons.menu_book_rounded, size: 16),+ label: Text(l.statsMediaReading)),+ ],+ selected: {_media},+ showSelectedIcon: false,+ onSelectionChanged: (s) => _setMedia(s.first),+ ),+ if (zone != null) _zoneNote(cs, tt, l, zone),+ ]),+ );+ }++ /// Time per hour of the day over the last year, for what is picked at the+ /// top.+ List<double> _hourValues(List<dynamic> hours) {+ final values = List<double>.filled(24, 0);+ for (final h in hours.whereType<Map>()) {+ final i = (h['hour'] as num?)?.toInt();+ if (i == null || i < 0 || i > 23) continue;+ values[i] = switch (_media) {+ 'listening' => _safeNum(h['listening']),+ 'reading' => _safeNum(h['reading']),+ _ => _safeNum(h['listening']) + _safeNum(h['reading']),+ };+ }+ return values;+ }++ Widget _timeOfDayChart(ColorScheme cs, TextTheme tt, AppLocalizations l, List<double> values) {+ final maxVal = values.fold(0.0, max);+ final peak = values.indexOf(maxVal);+ final anim = _animValue.value;+ final ml = MaterialLocalizations.of(context);+ final h24 = MediaQuery.of(context).alwaysUse24HourFormat;+ String hourLabel(int h) =>+ ml.formatTimeOfDay(TimeOfDay(hour: h, minute: 0), alwaysUse24HourFormat: h24);+ return Container(+ padding: const EdgeInsets.fromLTRB(12, 14, 12, 8),+ decoration: _cardDeco(cs),+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(l.statsBusiestAround(hourLabel(peak)),+ style: tt.labelMedium?.copyWith(color: cs.primary, fontWeight: FontWeight.w600)),+ const SizedBox(height: 12),+ SizedBox(+ height: 80,+ child: Row(crossAxisAlignment: CrossAxisAlignment.end, children: [+ for (var i = 0; i < 24; i++)+ Expanded(+ child: Padding(+ padding: const EdgeInsets.symmetric(horizontal: 1),+ child: Container(+ height: max((values[i] / maxVal * anim).clamp(0.0, 1.0) * 80, values[i] > 0 ? 3 : 2),+ decoration: BoxDecoration(+ borderRadius: BorderRadius.circular(2),+ color: i == peak+ ? cs.primary.withValues(alpha: 0.7)+ : cs.onSurface.withValues(alpha: 0.12),+ ),+ ),+ ),+ ),+ ]),+ ),+ const SizedBox(height: 6),+ Row(children: [+ for (final h in const [0, 6, 12, 18])+ Expanded(+ child: Text(hourLabel(h),+ style: TextStyle(color: cs.onSurface.withValues(alpha: 0.3), fontSize: 10)),+ ),+ ]),+ ]),+ );+ }++ /// The last twelve months, this one last, with the books finished in each.+ List<({DateTime month, int count})> _finishedMonths(Map<String, dynamic> bo) {+ final counts = <String, int>{};+ for (final m in (bo['finishedMonths'] as List<dynamic>? ?? const []).whereType<Map>()) {+ counts['${m['year']}-${m['month']}'] = (m['count'] as num?)?.toInt() ?? 0;+ }+ final now = DateTime.now();+ ({DateTime month, int count}) entry(DateTime d) => (month: d, count: counts['${d.year}-${d.month}'] ?? 0);+ return [for (var i = 11; i >= 0; i--) entry(DateTime(now.year, now.month - i))];+ }++ Widget _finishedChart(ColorScheme cs, TextTheme tt, AppLocalizations l,+ List<({DateTime month, int count})> months) {+ final maxCount = months.fold(0, (a, m) => max(a, m.count));+ final total = months.fold(0, (a, m) => a + m.count);+ final anim = _animValue.value;+ final locale = Localizations.localeOf(context).toString();+ return Container(+ padding: const EdgeInsets.fromLTRB(12, 14, 12, 8),+ decoration: _cardDeco(cs),+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(l.statsFinishedLast12(total),+ style: tt.labelMedium?.copyWith(color: cs.primary, fontWeight: FontWeight.w600)),+ const SizedBox(height: 12),+ SizedBox(+ height: 96,+ child: Row(crossAxisAlignment: CrossAxisAlignment.end, children: [+ for (var i = 0; i < months.length; i++)+ Expanded(+ child: Padding(+ padding: const EdgeInsets.symmetric(horizontal: 3),+ child: Column(mainAxisAlignment: MainAxisAlignment.end, children: [+ if (months[i].count > 0)+ Padding(+ padding: const EdgeInsets.only(bottom: 4),+ child: Text('${months[i].count}',+ style: TextStyle(+ color: cs.onSurface.withValues(alpha: 0.45),+ fontSize: 9,+ fontWeight: FontWeight.w600)),+ ),+ Container(+ height: max((months[i].count / max(maxCount, 1) * anim).clamp(0.0, 1.0) * 70,+ months[i].count > 0 ? 4 : 2),+ decoration: BoxDecoration(+ borderRadius: BorderRadius.circular(4),+ color: i == months.length - 1+ ? cs.primary.withValues(alpha: 0.7)+ : Colors.green.withValues(alpha: months[i].count > 0 ? 0.45 : 0.12),+ ),+ ),+ ]),+ ),+ ),+ ]),+ ),+ const SizedBox(height: 6),+ Row(children: [+ for (var i = 0; i < months.length; i++)+ Expanded(+ child: Text(DateFormat.MMM(locale).format(months[i].month),+ textAlign: TextAlign.center,+ maxLines: 1,+ overflow: TextOverflow.clip,+ style: TextStyle(+ color: i == months.length - 1+ ? cs.primary.withValues(alpha: 0.8)+ : cs.onSurface.withValues(alpha: 0.3),+ fontSize: 9)),+ ),+ ]),+ ]),+ );+ }++ static String _sourceName(Object? bucket) => switch (bucket) {+ 'android' => 'Android',+ 'ios' => 'iOS',+ 'watchos' => 'Apple Watch',+ 'koreader' => 'KOReader',+ 'kobo' => 'Kobo',+ _ => 'BookOrbit',+ };++ static IconData _sourceIcon(Object? bucket) => switch (bucket) {+ 'android' => Icons.phone_android_rounded,+ 'ios' => Icons.phone_iphone_rounded,+ 'watchos' => Icons.watch_rounded,+ 'koreader' || 'kobo' => Icons.chrome_reader_mode_rounded,+ _ => Icons.language_rounded,+ };++ Widget _sourcesCard(ColorScheme cs, TextTheme tt, AppLocalizations l, List<Map<String, dynamic>> sources) {+ final sorted = [...sources]..sort((a, b) => _safeNum(b['time']).compareTo(_safeNum(a['time'])));+ final total = sorted.fold(0.0, (a, s) => a + _safeNum(s['time']));+ final anim = _animValue.value;+ return Container(+ padding: const EdgeInsets.fromLTRB(14, 12, 14, 12),+ decoration: _cardDeco(cs),+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(l.statsLast12Months,+ style: tt.labelSmall?.copyWith(color: cs.onSurface.withValues(alpha: 0.35))),+ for (final s in sorted) ...[+ const SizedBox(height: 10),+ Row(children: [+ Icon(_sourceIcon(s['bucket']), size: 16, color: cs.primary.withValues(alpha: 0.7)),+ const SizedBox(width: 10),+ Expanded(+ child: Text(_sourceName(s['bucket']),+ style: tt.bodySmall?.copyWith(color: cs.onSurface, fontWeight: FontWeight.w600)),+ ),+ Text(_formatDuration(_safeNum(s['time'])),+ style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant, fontWeight: FontWeight.w600)),+ ]),+ const SizedBox(height: 6),+ ClipRRect(+ borderRadius: BorderRadius.circular(4),+ child: LinearProgressIndicator(+ value: total > 0 ? _safeNum(s['time']) / total * anim : 0,+ minHeight: 6,+ backgroundColor: cs.onSurface.withValues(alpha: 0.06),+ valueColor: AlwaysStoppedAnimation(cs.primary.withValues(alpha: 0.6)),+ ),+ ),+ ],+ ]),+ );+ }++ List<Widget> _habitRows(ColorScheme cs, TextTheme tt, AppLocalizations l, Map<String, dynamic> bo) {+ num? n(String key) => bo[key] as num?;+ final session = switch (_media) {+ 'listening' => n('medianListen'),+ 'reading' => n('medianRead'),+ _ => n('medianSession'),+ };+ String percent(num v) => '${v.toStringAsFixed(v < 10 ? 1 : 0)}%';+ return [+ if (session != null && session > 0)+ _yirRow(cs, tt, Icons.timer_outlined, l.statsTypicalSession, _formatDuration(session.toDouble())),+ if (_media == 'all' && n('medianProgress') != null && n('medianProgress')! > 0)+ _yirRow(cs, tt, Icons.trending_up_rounded, l.statsProgressPerSession, percent(n('medianProgress')!)),+ if (n('medianDaysToFinish') != null)+ _yirRow(cs, tt, Icons.flag_outlined, l.statsTimeToFinish,+ l.statsDayCount(n('medianDaysToFinish')!.round())),+ if ((n('started') ?? 0) > 0) ...[+ _yirRow(cs, tt, Icons.play_arrow_rounded, l.statsBooksStarted, '${n('started')}'),+ if (n('inProgress') != null)+ _yirRow(cs, tt, Icons.auto_stories_outlined, l.statsBooksInProgress, '${n('inProgress')}'),+ if (n('meanProgress') != null)+ _yirRow(cs, tt, Icons.donut_large_rounded, l.statsAverageProgress, percent(n('meanProgress')!)),+ ],+ ];+ }+// --- SECTION TITLE ---Widget _sectionTitle(TextTheme tt, ColorScheme cs, String title) {@@ -896,21 +1323,50 @@ class _StatsScreenState extends State<StatsScreen>body.add(const SizedBox(height: 14));}- body.add(Row(children: [- Expanded(child: _accentStatCard(tt, cs, Icons.headphones_rounded,- cs.primary, _formatDuration(totalSeconds), 'Listened')),- const SizedBox(width: 8),- Expanded(child: _accentStatCard(tt, cs, Icons.menu_book_rounded,- Colors.green, '$finished', 'Books finished')),- ]));- body.add(const SizedBox(height: 8));- body.add(Row(children: [- Expanded(child: _accentStatCard(tt, cs, Icons.play_circle_outline_rounded,- cs.tertiary, '$sessions', 'Sessions')),- const SizedBox(width: 8),- Expanded(child: _accentStatCard(tt, cs, Icons.library_books_rounded,- Colors.teal, '$listened', 'Books listened')),- ]));+ // BookOrbit sends reading time and active days in place of the books+ // listened, which it doesn't keep by year.+ final readSeconds = (d['bookOrbitReadingTime'] as num?)?.toDouble();+ final l = AppLocalizations.of(context)!;+ if (readSeconds != null) {+ body.add(Row(children: [+ Expanded(child: _accentStatCard(tt, cs, Icons.headphones_rounded,+ cs.primary, _formatDuration(totalSeconds), 'Listened')),+ const SizedBox(width: 8),+ Expanded(child: _accentStatCard(tt, cs, Icons.auto_stories_rounded,+ Colors.teal, _formatDuration(readSeconds), l.statsYearRead)),+ ]));+ body.add(const SizedBox(height: 8));+ body.add(Row(children: [+ Expanded(child: _accentStatCard(tt, cs, Icons.menu_book_rounded,+ Colors.green, '$finished', 'Books finished')),+ const SizedBox(width: 8),+ Expanded(child: _accentStatCard(tt, cs, Icons.play_circle_outline_rounded,+ cs.tertiary, '$sessions', 'Sessions')),+ ]));+ body.add(const SizedBox(height: 8));+ body.add(Row(children: [+ Expanded(child: _accentStatCard(tt, cs, Icons.calendar_today_rounded,+ cs.primary, '${(d['bookOrbitActiveDays'] as num?)?.toInt() ?? 0}', l.statsDaysActive)),+ const SizedBox(width: 8),+ const Expanded(child: SizedBox.shrink()),+ ]));+ } else {+ body.add(Row(children: [+ Expanded(child: _accentStatCard(tt, cs, Icons.headphones_rounded,+ cs.primary, _formatDuration(totalSeconds), 'Listened')),+ const SizedBox(width: 8),+ Expanded(child: _accentStatCard(tt, cs, Icons.menu_book_rounded,+ Colors.green, '$finished', 'Books finished')),+ ]));+ body.add(const SizedBox(height: 8));+ body.add(Row(children: [+ Expanded(child: _accentStatCard(tt, cs, Icons.play_circle_outline_rounded,+ cs.tertiary, '$sessions', 'Sessions')),+ const SizedBox(width: 8),+ Expanded(child: _accentStatCard(tt, cs, Icons.library_books_rounded,+ Colors.teal, '$listened', 'Books listened')),+ ]));+ }body.add(const SizedBox(height: 14));final highlights = <Widget>[];@@ -950,10 +1406,17 @@ class _StatsScreenState extends State<StatsScreen>Widget _yirRow(ColorScheme cs, TextTheme tt, IconData icon, String label, String value) {return Padding(padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 11),- child: Row(children: [+ child: LayoutBuilder(builder: (context, c) => Row(children: [Icon(icon, size: 18, color: cs.primary.withValues(alpha: 0.7)),const SizedBox(width: 12),- Text(label, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ // A long label gives way before it pushes the value off the card.+ ConstrainedBox(+ constraints: BoxConstraints(maxWidth: c.maxWidth * 0.55),+ child: Text(label,+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ),const SizedBox(width: 12),Expanded(child: Text(value,@@ -962,7 +1425,7 @@ class _StatsScreenState extends State<StatsScreen>overflow: TextOverflow.ellipsis,style: tt.bodyMedium?.copyWith(color: cs.onSurface, fontWeight: FontWeight.w600)),),- ]),+ ])),);}@@ -1055,7 +1518,9 @@ class _StatsScreenState extends State<StatsScreen>final isDark = Theme.of(context).brightness == Brightness.dark;final doneColor = isDark ? Colors.greenAccent[400]! : Colors.green.shade700;- final hasBookGoal = _bookGoal > 0;+ // Absorb's own book goal, or the yearly goal set in BookOrbit.+ final bookGoal = _bookGoalOrServer;+ final hasBookGoal = bookGoal > 0;final elapsed = {'daily': today, 'weekly': thisWeek, 'monthly': thisMonth};final activeGoals = [@@ -1067,14 +1532,14 @@ class _StatsScreenState extends State<StatsScreen>final ringSize = activeGoals.length > 1 ? 44.0 : 56.0;final double bookProgress =- hasBookGoal ? (_booksFinishedThisYear / _bookGoal).clamp(0.0, 1.0).toDouble() : 0.0;- final bookReached = hasBookGoal && _booksFinishedThisYear >= _bookGoal;+ hasBookGoal ? (_booksFinishedThisYear / bookGoal).clamp(0.0, 1.0).toDouble() : 0.0;+ final bookReached = hasBookGoal && _booksFinishedThisYear >= bookGoal;final now = DateTime.now();final dayOfYear = now.difference(DateTime(now.year, 1, 1)).inDays + 1;final daysInYear =DateTime(now.year, 12, 31).difference(DateTime(now.year, 1, 1)).inDays + 1;final projectedBooks = (_booksFinishedThisYear * daysInYear / dayOfYear).round();- final onTrack = projectedBooks >= _bookGoal;+ final onTrack = projectedBooks >= bookGoal;return Container(padding: const EdgeInsets.all(16),@@ -1101,7 +1566,7 @@ class _StatsScreenState extends State<StatsScreen>style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w700, color: cs.onSurface))),Text(- l.statsBookChallengeProgress(_booksFinishedThisYear, _bookGoal),+ l.statsBookChallengeProgress(_booksFinishedThisYear, bookGoal),style: tt.bodySmall?.copyWith(color: bookReached ? doneColor : cs.onSurfaceVariant),),@@ -1138,7 +1603,16 @@ class _StatsScreenState extends State<StatsScreen>// --- HERO STAT ---- Widget _heroStat(TextTheme tt, ColorScheme cs, AppLocalizations l, double totalSeconds) {+ Widget _heroStat(TextTheme tt, ColorScheme cs, AppLocalizations l, double totalSeconds,+ {bool bookOrbit = false}) {+ final audioOnly = !bookOrbit || _media == 'listening';+ final label = !bookOrbit+ ? l.statsTotalListeningTime+ : switch (_media) {+ 'listening' => l.statsTotalListeningTime,+ 'reading' => l.statsTotalReadingTime,+ _ => l.statsTotalTime,+ };final hours = (totalSeconds / 3600).floor();final minutes = ((totalSeconds % 3600) / 60).floor();final anim = _animValue.value;@@ -1158,7 +1632,7 @@ class _StatsScreenState extends State<StatsScreen>border: Border.all(color: cs.primary.withValues(alpha: flatNotifier.value ? 0.08 : 0.15)),),child: Column(children: [- Text(l.statsTotalListeningTime,+ Text(label,style: tt.labelSmall?.copyWith(color: cs.onSurface.withValues(alpha: 0.35),letterSpacing: 2,@@ -1197,18 +1671,21 @@ class _StatsScreenState extends State<StatsScreen>],),const SizedBox(height: 10),- Text(_daysEquivalent(totalSeconds, l),+ Text(_daysEquivalent(totalSeconds, l, audio: audioOnly),style: tt.bodySmall?.copyWith(color: cs.onSurface.withValues(alpha: 0.25))),]),);}- String _daysEquivalent(double seconds, AppLocalizations l) {+ String _daysEquivalent(double seconds, AppLocalizations l, {bool audio = true}) {final days = seconds / 86400;- if (days >= 1) return l.statsDaysOfAudio(days.toStringAsFixed(1));- final hours = seconds / 3600;- return l.statsHoursOfAudio(hours.toStringAsFixed(1));+ if (days >= 1) {+ final d = days.toStringAsFixed(1);+ return audio ? l.statsDaysOfAudio(d) : l.statsDaysOfTime(d);+ }+ final hours = (seconds / 3600).toStringAsFixed(1);+ return audio ? l.statsHoursOfAudio(hours) : l.statsHoursOfTime(hours);}// --- ACCENT STAT CARD ---@@ -1526,6 +2003,8 @@ class _StatsScreenState extends State<StatsScreen>Future<List<Map<String, dynamic>>> _loadSessionsForDay(DateTime day) async {final api = context.read<AuthProvider>().apiService;if (api == null) return const [];+ final byDay = await api.getListeningSessionsForDay(day);+ if (byDay != null) return byDay;const pageSize = 100;final target = DateTime(day.year, day.month, day.day);@@ -1823,6 +2302,9 @@ class SessionDetailsSheetState extends State<SessionDetailsSheet> {Future<void> _editSession() async {final l = AppLocalizations.of(context)!;final s = widget.session;+ // BookOrbit sessions are logged without an end point (one moves a book's+ // read status there), so only their length and day change.+ final withEnd = !context.read<AuthProvider>().isBookOrbit;final origListening = _n(s['timeListening']).round();final origCurrent = _n(s['currentTime']).round();final origUpdatedMs = s['updatedAt'] is num@@ -1876,6 +2358,7 @@ class SessionDetailsSheetState extends State<SessionDetailsSheet> {border: const OutlineInputBorder()),)),]),+ if (withEnd) ...[const SizedBox(height: 16),Align(alignment: Alignment.centerLeft,@@ -1926,6 +2409,7 @@ class SessionDetailsSheetState extends State<SessionDetailsSheet> {color: Theme.of(dialogCtx).colorScheme.onSurfaceVariant,),),+ ],const SizedBox(height: 12),Row(children: [Text(l.sessionDayLabel,@@ -2047,7 +2531,7 @@ class SessionDetailsSheetState extends State<SessionDetailsSheet> {return;}setState(() => _saving = true);- final ok = await api.deleteListeningSession(id);+ final ok = await api.deleteListeningSession(id, itemId: widget.session['libraryItemId'] as String?);if (!mounted) return;if (ok) {showOverlayToast(context, l.sessionDeleted, icon: Icons.delete_outline_rounded);diff --git a/lib/services/achievements.dart b/lib/services/achievements.dartnew file mode 100644index 00000000..66805f48--- /dev/null+++ b/lib/services/achievements.dart@@ -0,0 +1,262 @@+/// BookOrbit achievements: the catalogue with what the user has earned, tier+/// sets grouped the way BookOrbit's web app groups them, and the "how to get+/// it" hints. Follows packages/types/src/achievement.ts and+/// client/src/features/achievements.+library;++const achievementCategories = ['reading', 'library', 'exploration', 'dedication', 'devices'];++enum AchievementRarity { common, rare, epic, legendary }++enum AchievementBucket { earned, inProgress, locked }++/// What each tier set counts. The server sends tiers, not a unit.+const achievementSetUnits = <String, String>{+ 'books_finished': 'books',+ 'pages_read': 'pages',+ 'hours_read': 'hours',+ 'long_book': 'pages',+ 'library_builder': 'books',+ 'annotator': 'annotations',+ 'critic': 'ratings',+ 'genre_explorer': 'genres',+ 'polyglot': 'languages',+ 'streak': 'days',+};++class Achievement {+ final String key;+ final String? groupKey;+ final int? tier;+ final String category;+ final String name;+ final String description;+ final String iconName;+ final AchievementRarity rarity;+ final double? threshold;+ final bool hidden;+ final int sortOrder;+ final bool earned;+ final DateTime? awardedAt;+ final int? contextBookId;+ final String? contextBookTitle;+ final double? currentProgress;++ const Achievement({+ required this.key,+ this.groupKey,+ this.tier,+ required this.category,+ required this.name,+ required this.description,+ required this.iconName,+ this.rarity = AchievementRarity.common,+ this.threshold,+ this.hidden = false,+ this.sortOrder = 0,+ this.earned = false,+ this.awardedAt,+ this.contextBookId,+ this.contextBookTitle,+ this.currentProgress,+ });++ /// Not earned and not shown yet. The server hides its name too.+ bool get lockedSecret => hidden && !earned;++ /// 0 to 1 toward unlocking, or null when nothing is counting.+ double? get progress {+ final t = threshold, c = currentProgress;+ if (earned || t == null || t <= 0 || c == null) return null;+ return (c / t).clamp(0.0, 1.0);+ }++ static Achievement? fromJson(Object? raw) {+ if (raw is! Map) return null;+ final key = raw['key'];+ if (key is! String || key.isEmpty) return null;+ final title = raw['contextBookTitle'];+ return Achievement(+ key: key,+ groupKey: raw['groupKey'] as String?,+ tier: (raw['tier'] as num?)?.toInt(),+ category: '${raw['category'] ?? ''}',+ name: '${raw['name'] ?? ''}',+ description: '${raw['description'] ?? ''}',+ iconName: '${raw['iconName'] ?? ''}',+ rarity: AchievementRarity.values.asNameMap()[raw['rarity']] ?? AchievementRarity.common,+ threshold: (raw['threshold'] as num?)?.toDouble(),+ hidden: raw['hidden'] == true,+ sortOrder: (raw['sortOrder'] as num?)?.toInt() ?? 0,+ earned: raw['earned'] == true,+ awardedAt: DateTime.tryParse('${raw['awardedAt'] ?? ''}')?.toLocal(),+ contextBookId: (raw['contextBookId'] as num?)?.toInt(),+ contextBookTitle: title is String && title.trim().isNotEmpty ? title : null,+ currentProgress: (raw['currentProgress'] as num?)?.toDouble(),+ );+ }+}++/// One medal: a tier set shown as its best earned tier, or a single+/// achievement on its own.+class AchievementEntry {+ final String id;+ final String category;++ /// Lowest tier first. A single achievement is its only tier.+ final List<Achievement> tiers;+ final bool isSet;++ const AchievementEntry({required this.id, required this.category, required this.tiers, required this.isSet});++ int get earnedCount => tiers.where((t) => t.earned).length;+ bool get complete => earnedCount == tiers.length;++ Achievement? get highestEarned {+ for (final t in tiers.reversed) {+ if (t.earned) return t;+ }+ return null;+ }++ Achievement? get nextUnearned {+ for (final t in tiers) {+ if (!t.earned) return t;+ }+ return null;+ }++ /// The tier whose name, icon and rarity the medal shows.+ Achievement get face => highestEarned ?? tiers.first;++ String? get unit => isSet ? achievementSetUnits[id] : null;++ int get sortOrder => tiers.first.sortOrder;++ /// The newest unlock among its tiers, for sorting recent ones first.+ DateTime? get lastAwardedAt {+ DateTime? latest;+ for (final t in tiers) {+ final at = t.awardedAt;+ if (at != null && (latest == null || at.isAfter(latest))) latest = at;+ }+ return latest;+ }++ AchievementBucket get bucket {+ if (complete) return AchievementBucket.earned;+ if (isSet) {+ if (earnedCount > 0 || (nextUnearned?.currentProgress ?? 0) > 0) return AchievementBucket.inProgress;+ return AchievementBucket.locked;+ }+ final only = tiers.first;+ if (!only.lockedSecret && (only.currentProgress ?? 0) > 0) return AchievementBucket.inProgress;+ return AchievementBucket.locked;+ }+}++class AchievementCatalogue {+ final List<Achievement> achievements;+ final int totalEarned;+ final int totalAvailable;++ const AchievementCatalogue({required this.achievements, required this.totalEarned, required this.totalAvailable});++ static AchievementCatalogue fromJson(Map<String, dynamic> json) {+ final all = <Achievement>[];+ for (final c in (json['categories'] as List? ?? const [])) {+ if (c is! Map) continue;+ for (final a in (c['achievements'] as List? ?? const [])) {+ final item = Achievement.fromJson(a);+ if (item != null) all.add(item);+ }+ }+ return AchievementCatalogue(+ achievements: all,+ totalEarned: (json['totalEarned'] as num?)?.toInt() ?? all.where((a) => a.earned).length,+ totalAvailable: (json['totalAvailable'] as num?)?.toInt() ?? all.length,+ );+ }++ /// Tier sets folded into one entry each, in BookOrbit's order.+ List<AchievementEntry> get entries {+ final sets = <String, List<Achievement>>{};+ final result = <AchievementEntry>[];+ for (final a in achievements) {+ if (a.groupKey != null && a.tier != null) {+ sets.putIfAbsent(a.groupKey!, () => []).add(a);+ } else {+ result.add(AchievementEntry(id: a.key, category: a.category, tiers: [a], isSet: false));+ }+ }+ for (final MapEntry(key: groupKey, value: tiers) in sets.entries) {+ tiers.sort((a, b) => (a.tier ?? 0).compareTo(b.tier ?? 0));+ result.add(AchievementEntry(id: groupKey, category: tiers.first.category, tiers: tiers, isSet: true));+ }+ result.sort((a, b) => a.sortOrder.compareTo(b.sortOrder));+ return result;+ }+}++/// A book a hint points at.+class AchievementHintBook {+ final int id;+ final String? title;+ const AchievementHintBook(this.id, this.title);+}++/// How to get the next unlock, for the achievement [key]. Which [kind]s+/// exist grows over time; a kind Absorb doesn't know shows nothing.+class AchievementHint {+ final String key;+ final String kind;+ final int? count;+ final List<AchievementHintBook> books;+ final Map<String, dynamic> values;++ const AchievementHint({+ required this.key,+ required this.kind,+ this.count,+ this.books = const [],+ this.values = const {},+ });++ num? number(String name) {+ final v = values[name];+ return v is num && v.isFinite ? v : null;+ }++ String? text(String name) {+ final v = values[name];+ return v is String && v.trim().isNotEmpty ? v : null;+ }++ /// The book a "continue" action would open.+ int? get resumeBookId {+ final r = values['resume'];+ return r is Map ? (r['bookId'] as num?)?.toInt() : null;+ }++ static AchievementHint? fromJson(Object? raw) {+ if (raw is! Map) return null;+ final key = raw['key'], kind = raw['kind'];+ if (key is! String || kind is! String) return null;+ final ids = raw['bookIds'] is List ? raw['bookIds'] as List : const [];+ final titles = raw['bookTitles'] is List ? raw['bookTitles'] as List : const [];+ final books = <AchievementHintBook>[];+ for (var i = 0; i < ids.length && books.length < 3; i++) {+ final id = (ids[i] as num?)?.toInt();+ if (id == null || id <= 0) continue;+ final title = i < titles.length ? titles[i] : null;+ books.add(AchievementHintBook(id, title is String && title.trim().isNotEmpty ? title : null));+ }+ return AchievementHint(+ key: key,+ kind: kind,+ count: (raw['count'] as num?)?.toInt(),+ books: books,+ values: raw['values'] is Map ? Map<String, dynamic>.from(raw['values'] as Map) : const {},+ );+ }+}diff --git a/lib/services/api_service.dart b/lib/services/api_service.dartindex 7d48c046..0483d366 100644--- a/lib/services/api_service.dart+++ b/lib/services/api_service.dart@@ -5,22 +5,29 @@ import 'package:flutter/foundation.dart';import 'package:http/http.dart' as http;import 'package:shared_preferences/shared_preferences.dart';import 'package:package_info_plus/package_info_plus.dart';+import 'achievements.dart';import 'auth_tokens.dart';import 'book_dock.dart';import 'book_requests.dart';+import 'bookorbit_admin.dart';import 'bookorbit_match.dart';import 'bookorbit_mapper.dart';import 'media_overlay.dart';import 'narrated_books.dart';+import 'narration_stream.dart';import 'bookorbit_media_proxy_stub.dart'if (dart.library.io) 'bookorbit_media_proxy.dart';import 'player_settings.dart';+import 'scoped_prefs.dart';+import 'server_notifications.dart';import 'server_backend.dart';import 'socket_service.dart';import '../models/auth_session.dart';import '../utils/server_url.dart';+import '../utils/percent_escapes.dart';part 'bookorbit_api_service.dart';+part 'bookorbit_admin_api.dart';/// Outcome of a local-session upsert. [serverTooOld] flags a 404/501 (the/// server predates /api/session/local) so the caller can fall back to the@@ -396,6 +403,29 @@ class ApiService {/// Removes a server ebook bookmark. True when it's gone (or never existed).Future<bool> deleteEbookBookmark(String itemId, String bookmarkId) async => false;+ /// Whether the server keeps ebook highlights too, so they sync both ways.+ bool get keepsEbookHighlights => false;++ /// The server's highlights in a book, as {id, cfi, fileId, text, color,+ /// note, chapter, at}, or null when it keeps none or can't be reached.+ /// With [fileId], a server that can also places highlights made in other+ /// copies of the book (a Kobo's or KOReader's) on that file.+ Future<List<Map<String, dynamic>>?> ebookHighlights(String itemId, {String? fileId}) async => null;++ /// Saves a highlight in the book file [fileId] on the server. Returns its+ /// server id, or null when the server keeps none or the save failed.+ Future<String?> addEbookHighlight(String itemId, String fileId,+ {required String cfi, required String text, required String color, String? note, String? chapter}) async =>+ null;++ /// Sets a server highlight's color and note. True when saved, or when the+ /// highlight is already gone there.+ Future<bool> updateEbookHighlight(String itemId, String highlightId, {required String color, String? note}) async =>+ false;++ /// Removes a server highlight. True when it's gone (or never existed).+ Future<bool> deleteEbookHighlight(String itemId, String highlightId) async => false;+/// The cover slots a book uses on BookOrbit ('audio', 'ebook'). Empty on/// Audiobookshelf, which has one cover per item.Future<List<String>> coverSlots(String itemId) async => const [];@@ -424,6 +454,20 @@ class ApiService {/// Headers for a download of [url] built by [buildDownloadFileUrl].Map<String, String> downloadHeadersFor(String url) => mediaHeaders;+ /// Sign-in headers for a download the server turned away because the ones+ /// it started with ran out.+ Future<Map<String, String>> renewedMediaHeaders() async {+ await _ensureFreshAccessToken();+ return mediaHeaders;+ }++ /// The access token, renewed first when it is about to run out, for a+ /// connection that signs in with the token itself.+ Future<String> freshAccessToken() async {+ await _ensureFreshAccessToken();+ return _accessToken;+ }+/// Where a narrated EPUB downloads whole from, and the headers it needs,/// for the download that takes its audio out on the phone.Future<({String url, Map<String, String> headers})> narratedEpubDownload(String itemId, String ino) async {@@ -483,6 +527,33 @@ class ApiService {/// Audiobookshelf.Future<BookRequestAccess> bookRequestAccess() async => BookRequestAccess.none;+ /// Whether the account has a notification list on the server. Only+ /// BookOrbit keeps one.+ Future<bool> hasServerNotifications() async => false;++ /// A page of the account's notifications, newest first.+ Future<({List<ServerNotification> items, int total})?> serverNotifications({int limit = 20, int offset = 0}) async =>+ null;++ Future<int?> unreadNotificationCount() async => null;+ Future<bool> markNotificationRead(int id) async => false;+ Future<bool> markAllNotificationsRead() async => false;+ Future<bool> dismissNotification(int id) async => false;+ Future<bool> clearNotifications() async => false;++ /// The level each notification category is set to, by category.+ Future<Map<String, String>?> notificationLevels() async => null;+ Future<bool> setNotificationLevels(Map<String, String> levels) async => false;++ /// Whether the account keeps achievements, null where there are none.+ /// BookOrbit's own account switch, so it reads the same everywhere.+ Future<bool?> achievementsEnabled() async => null;+ Future<bool> setAchievementsEnabled(bool enabled) async => false;++ /// The account's achievements. Only BookOrbit has them.+ Future<AchievementCatalogue?> achievements({bool fresh = false}) async => null;+ Future<List<AchievementHint>> achievementHints() async => const [];+/// One page of the account's own requests, or everyone's with [all].Future<({List<BookRequest> items, int total})?> bookRequests({bool all = false,@@ -1616,6 +1687,14 @@ class ApiService {return null;}+ /// One day's sessions, for a server that lists them by day. Null means+ /// page through [getListeningSessions] instead.+ Future<List<Map<String, dynamic>>?> getListeningSessionsForDay(DateTime day) async => null;++ /// Sets the time zone the server splits this account's days in, for a+ /// server that keeps one. False when it couldn't.+ Future<bool> setAccountTimeZone(String zone) async => false;+Future<List<Map<String, dynamic>>?> getItemListeningSessions(String libraryItemId, {String? episodeId,@@ -2325,7 +2404,7 @@ class ApiService {...session,'deviceInfo': reading ? _readingDeviceInfo : _deviceInfo,'mediaPlayer': reading ? readingMediaPlayer : 'exo-player',- 'playMethod': 3, // LOCAL+ 'playMethod': session['playMethod'] ?? 3, // LOCAL unless streamed};final resp = await _authPost(Uri.parse('$_cleanBaseUrl/api/session/local'),@@ -2359,7 +2438,7 @@ class ApiService {try {final body = {'sessions': sessions- .map((s) => {...s, 'mediaPlayer': 'exo-player', 'playMethod': 3})+ .map((s) => {...s, 'mediaPlayer': 'exo-player', 'playMethod': s['playMethod'] ?? 3}).toList(),'deviceInfo': _deviceInfo,};@@ -2490,9 +2569,45 @@ class ApiService {}}+ /// Logs a listen that happened away from the app, to catch up a book's+ /// listening time. It ends at the book's saved spot so the book keeps its+ /// place.+ Future<bool> addListeningSession({+ required String itemId,+ required DateTime startedAt,+ required int seconds,+ }) async {+ final item = await getLibraryItem(itemId);+ final media = item?['media'] as Map<String, dynamic>?;+ final meta = media?['metadata'] as Map<String, dynamic>?;+ final progress = item?['userMediaProgress'] as Map<String, dynamic>?;+ final at = (progress?['currentTime'] as num?)?.toDouble() ?? 0;+ final ended = startedAt.add(Duration(seconds: seconds));+ String two(int v) => v.toString().padLeft(2, '0');+ const weekdays = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'];+ final result = await syncLocalSession({+ 'id': BookOrbitApiService._uuid(),+ 'libraryItemId': itemId,+ 'episodeId': null,+ 'mediaType': 'book',+ 'displayTitle': meta?['title'],+ 'displayAuthor': meta?['authorName'],+ 'duration': (media?['duration'] as num?)?.toDouble() ?? 0,+ 'startTime': math.max(0.0, at - seconds),+ 'currentTime': at,+ 'timeListening': seconds,+ 'startedAt': startedAt.millisecondsSinceEpoch,+ 'updatedAt': ended.millisecondsSinceEpoch,+ 'date': '${startedAt.year}-${two(startedAt.month)}-${two(startedAt.day)}',+ 'dayOfWeek': weekdays[startedAt.weekday - 1],+ });+ return result.ok;+ }+/// Delete a listening session. Needs the user's delete permission on the- /// server (403 otherwise). Returns true on success.- Future<bool> deleteListeningSession(String sessionId) async {+ /// server (403 otherwise). Returns true on success. [itemId] is the book+ /// the session belongs to, which BookOrbit needs.+ Future<bool> deleteListeningSession(String sessionId, {String? itemId}) async {try {final resp = await _authDelete(Uri.parse('$_cleanBaseUrl/api/sessions/$sessionId'),@@ -2516,12 +2631,30 @@ class ApiService {Uri.parse('$_cleanBaseUrl/api/me/progress/$progressPath'),timeout: const Duration(seconds: 10));if (resp.statusCode == 200) {- return jsonDecode(resp.body) as Map<String, dynamic>;+ return await _withPageReadElsewhere(itemId, jsonDecode(resp.body) as Map<String, dynamic>);}} catch (_) {}return null;}+ /// The narration time of the page a narrated book was read to on another+ /// device, when that page is the newer place. Set by the app at start.+ static Future<double?> Function(String itemId, Map<String, dynamic> progress)? pageReadElsewhere;++ /// Audiobookshelf sees only the ebook in a narrated EPUB, so reading it in+ /// its web reader moves the page and leaves the audio behind. A newer page+ /// ahead of the audio is where listening picks up.+ Future<Map<String, dynamic>> _withPageReadElsewhere(String itemId, Map<String, dynamic> progress) async {+ final place = pageReadElsewhere;+ if (place == null || isBookOrbit || !NarratedBooks.contains(itemId)) return progress;+ try {+ final at = await place(itemId, progress);+ return at == null ? progress : {...progress, 'currentTime': at};+ } catch (_) {+ return progress;+ }+ }+/// The server's place in an item's ebook, for opening the reader there:/// ebookLocation, ebookProgress and, when the server keeps one apart from/// listening, ebookUpdatedAt (ms).diff --git a/lib/services/book_stats_service.dart b/lib/services/book_stats_service.dartindex 5fb6b07e..1ff4bb07 100644--- a/lib/services/book_stats_service.dart+++ b/lib/services/book_stats_service.dart@@ -3,8 +3,156 @@ import 'dart:convert';import 'package:flutter/foundation.dart';import 'api_service.dart';+import 'bookorbit_mapper.dart';+import 'narrated_books.dart';import 'scoped_prefs.dart';+/// One session as the book's activity card lists it.+class BookActivityRow {+ final int? at;+ final double seconds;++ /// Percent of the book the session ended at, when it is known.+ final double? reached;+ final String? format;+ final bool reading;+ const BookActivityRow({this.at, required this.seconds, this.reached, this.format, this.reading = false});++ Map<String, dynamic> toJson() => {'a': at, 's': seconds, 'r': reached, 'f': format, 'rd': reading};++ static BookActivityRow fromJson(Map<String, dynamic> j) => BookActivityRow(+ at: (j['a'] as num?)?.toInt(),+ seconds: (j['s'] as num?)?.toDouble() ?? 0,+ reached: (j['r'] as num?)?.toDouble(),+ format: j['f'] as String?,+ reading: j['rd'] == true,+ );+}++/// A book's own activity, summed up the way BookOrbit's "Your reading" card+/// does it: totals, how far the latest session got, minutes per day and the+/// latest few sessions.+class BookActivity {+ final int sessions;+ final double seconds;++ /// Percent reached by the latest session that recorded one.+ final double? progress;+ final int? lastAt;+ final Map<String, double> minutesByDay;+ final List<BookActivityRow> recent;+ const BookActivity({+ required this.sessions,+ required this.seconds,+ this.progress,+ this.lastAt,+ this.minutesByDay = const {},+ this.recent = const [],+ });++ double get avgSeconds => sessions == 0 ? 0 : seconds / sessions;++ static const int _rows = 5;++ static String dayKey(DateTime d) =>+ '${d.year}-${d.month.toString().padLeft(2, '0')}-${d.day.toString().padLeft(2, '0')}';++ /// From BookOrbit's own reading log, whose summary covers every session+ /// even when the page holds only the latest.+ static BookActivity fromBookOrbit(Map<String, dynamic> log) {+ final stats = log['stats'] as Map? ?? const {};+ final days = <String, double>{};+ for (final d in (stats['dailySummary'] as List<dynamic>? ?? const []).whereType<Map>()) {+ final day = d['day'] as String?;+ if (day != null) days[day] = (d['totalMinutes'] as num?)?.toDouble() ?? 0;+ }+ final items = (log['items'] as List<dynamic>? ?? const []).whereType<Map>();+ return BookActivity(+ sessions: (stats['totalSessions'] as num?)?.toInt() ?? 0,+ seconds: (stats['totalSeconds'] as num?)?.toDouble() ?? 0,+ progress: (stats['latestEndProgress'] as num?)?.toDouble(),+ lastAt: BookOrbitMapper.ms(stats['lastSessionAt']),+ minutesByDay: days,+ recent: [+ for (final s in items.take(_rows))+ BookActivityRow(+ at: BookOrbitMapper.ms(s['startedAt']),+ seconds: (s['durationSeconds'] as num?)?.toDouble() ?? 0,+ reached: (s['endProgress'] as num?)?.toDouble(),+ format: s['format'] as String?,+ reading: s['sessionType'] == 'read' ||+ (s['sessionType'] == null && !BookOrbitMapper.isAudioFormat(s['format'] as String?)),+ ),+ ],+ );+ }++ /// From Audiobookshelf listening sessions, newest first. A session's own+ /// length is the book's; [bookSeconds] stands in where the server kept none+ /// (an EPUB's narration is sized as the ebook, at zero).+ static BookActivity fromSessions(List<Map<String, dynamic>> sessions, {double? bookSeconds}) {+ var total = 0.0;+ int? last;+ double? progress;+ final days = <String, double>{};+ final rows = <BookActivityRow>[];+ for (final s in sessions) {+ final seconds = (s['timeListening'] as num?)?.toDouble() ?? 0;+ total += seconds;+ final started = (s['startedAt'] as num?)?.toInt();+ final at = (s['updatedAt'] as num?)?.toInt() ?? started;+ if (at != null && (last == null || at > last)) last = at;+ final when = started ?? at;+ final day = s['date'] as String? ??+ (when == null ? null : dayKey(DateTime.fromMillisecondsSinceEpoch(when)));+ if (day != null) days[day] = (days[day] ?? 0) + seconds / 60;+ final reading = s['mediaPlayer'] == ApiService.readingMediaPlayer;+ final own = (s['duration'] as num?)?.toDouble() ?? 0;+ final length = own > 0 ? own : (bookSeconds ?? 0);+ final position = (s['currentTime'] as num?)?.toDouble();+ final reached = reading || length <= 0 || position == null+ ? null+ : (position / length * 100).clamp(0.0, 100.0);+ progress ??= reached;+ if (rows.length < _rows) {+ rows.add(BookActivityRow(at: when, seconds: seconds, reached: reached, reading: reading));+ }+ }+ return BookActivity(+ sessions: sessions.length,+ seconds: total,+ progress: progress,+ lastAt: last,+ minutesByDay: days,+ recent: rows,+ );+ }++ Map<String, dynamic> toJson() => {+ 'n': sessions,+ 's': seconds,+ 'p': progress,+ 'l': lastAt,+ 'd': minutesByDay,+ 'r': [for (final r in recent) r.toJson()],+ };++ static BookActivity fromJson(Map<String, dynamic> j) => BookActivity(+ sessions: (j['n'] as num?)?.toInt() ?? 0,+ seconds: (j['s'] as num?)?.toDouble() ?? 0,+ progress: (j['p'] as num?)?.toDouble(),+ lastAt: (j['l'] as num?)?.toInt(),+ minutesByDay: {+ for (final e in ((j['d'] as Map?) ?? const {}).entries)+ '${e.key}': (e.value as num?)?.toDouble() ?? 0,+ },+ recent: (j['r'] as List<dynamic>? ?? const [])+ .whereType<Map<String, dynamic>>()+ .map(BookActivityRow.fromJson)+ .toList(),+ );+}+/// One other user's standing on a book, from the admin scan.class BookUserStat {final String username;@@ -56,6 +204,7 @@ class BookStats extends ChangeNotifier {int mySessions = 0;int? myFirst;int? myLast;+ BookActivity? activity;bool isAdmin = false;bool serverLoading = false;@@ -118,6 +267,44 @@ class BookStatsService {Future<void> _load(BookStats s, ApiService api, bool isAdmin) async {await _loadCache(s);+ if (api is BookOrbitApiService) {+ await _loadBookOrbit(s, api);+ } else {+ await _loadOwn(s, api);+ }+ s.isAdmin = isAdmin;+ s.bump();+ if (isAdmin) {+ await _loadServerWide(s, api);+ } else {+ s.checkedAt = DateTime.now().millisecondsSinceEpoch;+ await _saveCache(s);+ }+ s._loadedAt = DateTime.now();+ s.bump();+ }++ /// BookOrbit keeps its own log of every session on the book, reading and+ /// listening alike, with a summary of all of them.+ Future<void> _loadBookOrbit(BookStats s, BookOrbitApiService api) async {+ try {+ final log = await api.readingLog(s.itemId);+ final a = BookActivity.fromBookOrbit(log);+ s.activity = a;+ s.sessions = const [];+ s.mySeconds = a.seconds;+ s.mySessions = a.sessions;+ s.myFirst = BookOrbitMapper.ms((log['stats'] as Map?)?['firstSessionAt']);+ s.myLast = a.lastAt;+ s.failed = false;+ } catch (e) {+ debugPrint('[BookStats] reading log failed for ${s.itemId}: $e');+ s.failed = s.activity == null;+ }+ s.loading = false;+ }++ Future<void> _loadOwn(BookStats s, ApiService api) async {final sessions = await api.getMyItemListeningSessions(s.itemId,episodeId: s.episodeId,@@ -144,22 +331,14 @@ class BookStatsService {return tb.compareTo(ta);});s.sessions = list;+ s.activity = BookActivity.fromSessions(list,+ bookSeconds: s.episodeId == null ? NarratedBooks.duration(s.itemId) : null);s.mySeconds = total;s.mySessions = list.length;s.myFirst = first;s.myLast = last;s.loading = false;s.failed = false;- s.isAdmin = isAdmin;- s.bump();- if (isAdmin) {- await _loadServerWide(s, api);- } else {- s.checkedAt = DateTime.now().millisecondsSinceEpoch;- await _saveCache(s);- }- s._loadedAt = DateTime.now();- s.bump();}/// Last visit's numbers, shown instantly so nothing is empty while the@@ -178,6 +357,8 @@ class BookStatsService {s.myFirst = (me['f'] as num?)?.toInt();s.myLast = (me['l'] as num?)?.toInt();}+ final act = j['act'];+ if (act is Map<String, dynamic>) s.activity = BookActivity.fromJson(act);s.users = (j['users'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>().map(BookUserStat.fromJson)@@ -196,6 +377,7 @@ class BookStatsService {'f': s.myFirst,'l': s.myLast,},+ if (s.activity != null) 'act': s.activity!.toJson(),'users': [for (final u in s.users) u.toJson()],});await ScopedPrefs.setString(s.cacheKey, payload);diff --git a/lib/services/bookorbit_admin.dart b/lib/services/bookorbit_admin.dartnew file mode 100644index 00000000..fd39ef42--- /dev/null+++ b/lib/services/bookorbit_admin.dart@@ -0,0 +1,375 @@+/// BookOrbit server administration: the people on it and its libraries.+/// The calls live on BookOrbitApiService (bookorbit_admin_api.dart).+library;++/// An admin request BookOrbit turned down, with its own reason when it gave+/// one ("Only administrators can edit administrator accounts").+class BookOrbitAdminError implements Exception {+ final int status;+ final String? message;++ const BookOrbitAdminError(this.status, [this.message]);++ @override+ String toString() => 'BookOrbit admin $status: ${message ?? ''}';+}++/// What the signed-in BookOrbit user may administer.+class BookOrbitAdminAccess {+ final bool isSuperuser;+ final bool manageUsers;+ final bool manageLibraries;+ final String userId;++ const BookOrbitAdminAccess({+ required this.isSuperuser,+ required this.manageUsers,+ required this.manageLibraries,+ required this.userId,+ });++ bool get any => isSuperuser || manageUsers || manageLibraries;++ static BookOrbitAdminAccess? fromUser(Map<String, dynamic>? user) {+ final bo = user?['bookOrbit'];+ if (bo is! Map) return null;+ final superuser = bo['isSuperuser'] == true;+ final perms = {for (final p in (bo['permissions'] as List? ?? const [])) '$p'};+ return BookOrbitAdminAccess(+ isSuperuser: superuser,+ manageUsers: superuser || perms.contains('manage_users'),+ manageLibraries: superuser || perms.contains('manage_libraries'),+ userId: '${user?['id'] ?? ''}',+ );+ }+}++DateTime? _date(Object? v) => v is String ? DateTime.tryParse(v)?.toLocal() : null;+int _int(Object? v) => v is num ? v.toInt() : int.tryParse('$v') ?? 0;+Set<String> _strings(Object? v) => {for (final s in (v is List ? v : const [])) '$s'};++/// One row of the user list.+class BoUser {+ final int id;+ final String username;+ final String name;+ final String? email;+ final bool active;+ final bool isSuperuser;+ final bool isDefaultPassword;+ final DateTime? lockedUntil;+ final DateTime? lastActive;+ final DateTime? createdAt;+ final Set<String> permissions;+ final int libraryAccessCount;+ final String? provisioningMethod;++ const BoUser({+ required this.id,+ required this.username,+ required this.name,+ this.email,+ this.active = true,+ this.isSuperuser = false,+ this.isDefaultPassword = false,+ this.lockedUntil,+ this.lastActive,+ this.createdAt,+ this.permissions = const {},+ this.libraryAccessCount = 0,+ this.provisioningMethod,+ });++ bool get locked => lockedUntil != null && lockedUntil!.isAfter(DateTime.now());++ /// Signed in through a single sign-on provider, so BookOrbit can't send+ /// it a password link.+ bool get external => provisioningMethod != null && provisioningMethod != 'local';++ factory BoUser.fromJson(Map<String, dynamic> j) => BoUser(+ id: _int(j['id']),+ username: '${j['username'] ?? ''}',+ name: '${j['name'] ?? j['username'] ?? ''}',+ email: j['email'] as String?,+ active: j['active'] != false,+ isSuperuser: j['isSuperuser'] == true,+ isDefaultPassword: j['isDefaultPassword'] == true,+ lockedUntil: _date(j['lockedUntil']),+ lastActive: _date(j['lastAuthenticatedAt']),+ createdAt: _date(j['createdAt']),+ permissions: _strings(j['permissions']),+ libraryAccessCount: _int(j['libraryAccessCount']),+ provisioningMethod: j['provisioningMethod'] as String?,+ );+}++class BoUserPage {+ final List<BoUser> users;+ final int total;+ const BoUserPage(this.users, this.total);+}++/// The filters on the user list, as BookOrbit names them.+enum BoUserFilter { all, admins, active, inactive, attention }++class BoUserCounts {+ final int total;+ final int admins;+ final int active;+ final int inactive;+ final int attention;++ const BoUserCounts({this.total = 0, this.admins = 0, this.active = 0, this.inactive = 0, this.attention = 0});++ factory BoUserCounts.fromJson(Map<String, dynamic> j) => BoUserCounts(+ total: _int(j['total']),+ admins: _int(j['admins']),+ active: _int(j['active']),+ inactive: _int(j['inactive']),+ attention: _int(j['attention']),+ );++ int of(BoUserFilter f) => switch (f) {+ BoUserFilter.all => total,+ BoUserFilter.admins => admins,+ BoUserFilter.active => active,+ BoUserFilter.inactive => inactive,+ BoUserFilter.attention => attention,+ };+}++/// A new account, and the link that lets its owner set a password. The link+/// lasts 15 minutes.+class BoCreatedUser {+ final int id;+ final String username;+ final String? resetUrl;+ const BoCreatedUser(this.id, this.username, this.resetUrl);+}++/// A permission group as BookOrbit's own admin page lays them out.+class BoPermissionGroup {+ final String key;+ final List<String> permissions;+ const BoPermissionGroup(this.key, this.permissions);+}++/// Podcasts are switched off in BookOrbit, so their permissions are left out.+const boPermissionGroups = [+ BoPermissionGroup('library', ['library_download', 'library_upload', 'library_edit_metadata', 'library_delete_books']),+ BoPermissionGroup('requests', [+ 'book_request_access',+ 'book_request_auto_approve',+ 'book_request_self_fulfill',+ 'manage_book_requests',+ ]),+ BoPermissionGroup('devices', ['kobo_sync', 'koreader_sync', 'opds_access']),+ BoPermissionGroup('integrations', ['hardcover_sync', 'readwise_sync', 'storygraph_sync']),+ BoPermissionGroup('dock', ['book_dock_access', 'manage_book_dock']),+ BoPermissionGroup('email', ['email_send', 'notification_access', 'manage_email']),+ BoPermissionGroup('admin', [+ 'manage_libraries',+ 'manage_metadata_config',+ 'manage_icons',+ 'manage_users',+ 'view_user_activity',+ 'view_audit_log',+ 'manage_app_settings',+ ]),+];++/// BookOrbit's "Standard" preset.+const boStandardPermissions = {+ 'library_download',+ 'kobo_sync',+ 'koreader_sync',+ 'hardcover_sync',+ 'readwise_sync',+ 'storygraph_sync',+ 'opds_access',+};++Set<String> get boAllPermissions => {for (final g in boPermissionGroups) ...g.permissions};++/// Requests that need others, added the way BookOrbit adds them itself.+Set<String> boWithRequiredPermissions(Set<String> picked) {+ const needsAccess = {'book_request_auto_approve', 'book_request_self_fulfill', 'manage_book_requests'};+ return {...picked, if (picked.any(needsAccess.contains)) 'book_request_access'};+}++class BoScan {+ final String status;+ final String? triggeredBy;+ final DateTime? startedAt;+ final DateTime? completedAt;+ final int added;+ final int updated;+ final int missing;+ final String? error;++ const BoScan({+ required this.status,+ this.triggeredBy,+ this.startedAt,+ this.completedAt,+ this.added = 0,+ this.updated = 0,+ this.missing = 0,+ this.error,+ });++ bool get running => status == 'running';+ bool get failed => status == 'failed';++ static BoScan? fromJson(Object? j) {+ if (j is! Map) return null;+ return BoScan(+ status: '${j['status'] ?? ''}',+ triggeredBy: j['triggeredBy'] as String?,+ startedAt: _date(j['startedAt']),+ completedAt: _date(j['completedAt']),+ added: _int(j['addedCount']),+ updated: _int(j['updatedCount']),+ missing: _int(j['missingCount']),+ error: j['errorMessage'] as String?,+ );+ }+}++class BoLibrary {+ final int id;+ final String name;+ final String icon;+ final String type;+ final int displayOrder;+ final String coverAspectRatio;+ final bool watch;+ final String? autoScanCron;+ final String organizationMode;+ final List<String> folders;+ final int? bookCount;++ const BoLibrary({+ required this.id,+ required this.name,+ this.icon = 'Library',+ this.type = 'books',+ this.displayOrder = 0,+ this.coverAspectRatio = '2/3',+ this.watch = false,+ this.autoScanCron,+ this.organizationMode = 'book_per_folder',+ this.folders = const [],+ this.bookCount,+ });++ factory BoLibrary.fromJson(Map<String, dynamic> j) => BoLibrary(+ id: _int(j['id']),+ name: '${j['name'] ?? ''}',+ icon: (j['icon'] as String?) ?? 'Library',+ type: (j['type'] as String?) ?? 'books',+ displayOrder: _int(j['displayOrder']),+ coverAspectRatio: (j['coverAspectRatio'] as String?) ?? '2/3',+ watch: j['watch'] == true,+ autoScanCron: j['autoScanCronExpression'] as String?,+ organizationMode: (j['organizationMode'] as String?) ?? 'book_per_folder',+ folders: [+ for (final f in (j['folders'] as List? ?? const []))+ if (f is Map && f['role'] != 'local') '${f['path']}' else if (f is String) f,+ ],+ bookCount: j['bookCount'] is num ? (j['bookCount'] as num).toInt() : null,+ );+}++class BoLibraryOverview {+ final int libraryId;+ final int totalBooks;+ final int totalSizeBytes;+ final BoScan? lastScan;++ const BoLibraryOverview(this.libraryId, this.totalBooks, this.totalSizeBytes, this.lastScan);++ factory BoLibraryOverview.fromJson(Map<String, dynamic> j) => BoLibraryOverview(+ _int(j['libraryId']),+ _int(j['totalBooks']),+ _int(j['totalSizeBytes']),+ BoScan.fromJson(j['lastScan']),+ );+}++/// One person's access to a library: viewer, editor or owner.+class BoLibraryAccess {+ final int userId;+ final String username;+ final String name;+ final String level;++ const BoLibraryAccess(this.userId, this.username, this.name, this.level);++ factory BoLibraryAccess.fromJson(Map<String, dynamic> j) => BoLibraryAccess(+ _int(j['userId']),+ '${j['username'] ?? ''}',+ '${j['name'] ?? j['username'] ?? ''}',+ '${j['accessLevel'] ?? 'viewer'}',+ );+}++const boAccessLevels = ['viewer', 'editor', 'owner'];++/// Someone who can be given access to a library: active, and not an admin+/// (admins see every library).+class BoAssignableUser {+ final int id;+ final String username;+ final String name;+ const BoAssignableUser(this.id, this.username, this.name);+}++/// A folder in the server's library area.+class BoFolder {+ final String name;+ final String path;+ const BoFolder(this.name, this.path);+}++/// What a folder would bring into a library, before it is added.+class BoFolderCheck {+ final String path;+ final bool accessible;+ final int fileCount;+ final String? overlapLibrary;+ final String? error;++ const BoFolderCheck(this.path, this.accessible, this.fileCount, this.overlapLibrary, this.error);++ factory BoFolderCheck.fromJson(Map<String, dynamic> j) => BoFolderCheck(+ '${j['path'] ?? ''}',+ j['accessible'] == true,+ _int(j['fileCount']),+ j['overlapLibrary'] is Map ? '${(j['overlapLibrary'] as Map)['name'] ?? ''}' : j['overlapLibrary'] as String?,+ j['error'] as String?,+ );+}++/// Library icons offered on the phone: BookOrbit's icon names (Lucide), a+/// small common set. Others a library already has are kept as they are.+const boLibraryIcons = [+ 'Library',+ 'BookOpen',+ 'Book',+ 'BookMarked',+ 'Headphones',+ 'GraduationCap',+ 'Baby',+ 'Sparkles',+ 'Rocket',+ 'Ghost',+ 'Heart',+ 'Swords',+];++/// Ready-made scan schedules, as cron. The time is the server's.+const boScanSchedules = {+ 'daily': '0 3 * * *',+ 'weekly': '0 3 * * 0',+};diff --git a/lib/services/bookorbit_admin_api.dart b/lib/services/bookorbit_admin_api.dartnew file mode 100644index 00000000..5e3f3a32--- /dev/null+++ b/lib/services/bookorbit_admin_api.dart@@ -0,0 +1,234 @@+part of 'api_service.dart';++/// BookOrbit's user and library administration. Each call throws a+/// [BookOrbitAdminError] carrying the server's reason when it refuses.+extension BookOrbitAdminApi on BookOrbitApiService {+ Future<T> _admin<T>(Future<T> Function() call) async {+ try {+ return await call();+ } on _BoHttpError catch (e) {+ throw BookOrbitAdminError(e.status, e.serverMessage);+ } on TimeoutException {+ throw const BookOrbitAdminError(0);+ } on http.ClientException {+ throw const BookOrbitAdminError(0);+ }+ }++ void _librariesChanged() {+ BookOrbitApiService._librariesCache = null;+ BookOrbitApiService._librariesAt = null;+ }++ Future<BoUserPage> adminUsers({int page = 0, String search = '', BoUserFilter filter = BoUserFilter.all}) =>+ _admin(() async {+ final res = await _boGet('/users', {+ 'page': '$page',+ 'pageSize': '50',+ if (search.trim().isNotEmpty) 'search': search.trim(),+ if (filter != BoUserFilter.all) 'state': filter.name,+ 'sortBy': 'username',+ 'sortDir': 'asc',+ }) as Map<String, dynamic>;+ return BoUserPage(+ [for (final u in (res['users'] as List? ?? const []).whereType<Map<String, dynamic>>()) BoUser.fromJson(u)],+ (res['total'] as num?)?.toInt() ?? 0,+ );+ });++ Future<BoUserCounts> adminUserCounts() =>+ _admin(() async => BoUserCounts.fromJson(await _boGet('/users/summary') as Map<String, dynamic>));++ /// The user's library ids. Empty for an admin, who sees every library.+ Future<List<int>> adminUserLibraries(int userId) => _admin(() async => [+ for (final id in (await _boGet('/users/$userId/libraries') as List? ?? const []))+ if (id is num) id.toInt(),+ ]);++ Future<List<int>> adminDefaultLibraryAccess() => _admin(() async {+ final res = await _boGet('/app-settings/default-library-access') as Map<String, dynamic>;+ return [for (final id in (res['libraryIds'] as List? ?? const [])) if (id is num) id.toInt()];+ });++ Future<BoCreatedUser> adminCreateUser({+ required String username,+ required String name,+ required String email,+ required Set<String> permissions,+ required List<int> libraryIds,+ }) =>+ _admin(() async {+ final res = await _boPost('/users', {+ 'username': username.trim(),+ 'name': name.trim(),+ 'email': email.trim(),+ 'permissionNames': boWithRequiredPermissions(permissions).toList(),+ 'libraryIds': libraryIds,+ }) as Map<String, dynamic>;+ return BoCreatedUser((res['id'] as num).toInt(), '${res['username'] ?? username}', res['resetUrl'] as String?);+ });++ Future<void> adminUpdateUser(int userId, {String? name, String? email, bool? active}) => _admin(() async {+ await _boPatch('/users/$userId', {+ 'name': ?name?.trim(),+ 'email': ?email?.trim(),+ 'active': ?active,+ });+ });++ Future<void> adminSetUserPermissions(int userId, Set<String> permissions) => _admin(() async {+ await _boPut('/users/$userId/permissions', {'permissionNames': boWithRequiredPermissions(permissions).toList()});+ });++ Future<void> adminSetUserSuperuser(int userId, bool superuser) => _admin(() async {+ await _boPut('/users/$userId/superuser', {'isSuperuser': superuser});+ });++ Future<void> adminSetUserLibraries(int userId, List<int> libraryIds) => _admin(() async {+ await _boPut('/users/$userId/libraries', {'libraryIds': libraryIds});+ });++ /// A link that lets the user set a new password. It lasts 15 minutes.+ Future<String?> adminResetPassword(int userId) => _admin(() async {+ final res = await _boPost('/users/$userId/reset-password') as Map<String, dynamic>?;+ return res?['resetUrl'] as String?;+ });++ Future<void> adminUnlockUser(int userId) => _admin(() async {+ await _boPost('/users/$userId/unlock');+ });++ Future<void> adminDeleteUser(int userId) => _admin(() async {+ await _boDelete('/users/$userId');+ });++ /// Every library for an admin; for someone who only manages libraries,+ /// the ones they have access to.+ Future<List<BoLibrary>> adminLibraries() => _admin(() async {+ final res = await _boGet('/libraries') as List<dynamic>;+ final libs = [for (final l in res.whereType<Map<String, dynamic>>()) BoLibrary.fromJson(l)]+ ..sort((a, b) => a.displayOrder.compareTo(b.displayOrder));+ return libs;+ });++ Future<Map<int, BoLibraryOverview>> adminLibraryOverview() => _admin(() async {+ final res = await _boGet('/libraries/overview') as List<dynamic>;+ return {+ for (final o in res.whereType<Map<String, dynamic>>())+ (o['libraryId'] as num).toInt(): BoLibraryOverview.fromJson(o),+ };+ });++ Future<BoLibrary> adminLibrary(int libraryId) =>+ _admin(() async => BoLibrary.fromJson(await _boGet('/libraries/$libraryId') as Map<String, dynamic>));++ Future<BoLibrary> adminCreateLibrary({+ required String name,+ required String icon,+ required List<String> folders,+ required String organizationMode,+ String coverAspectRatio = '2/3',+ bool watch = false,+ String? autoScanCron,+ }) =>+ _admin(() async {+ final res = await _boPost('/libraries', {+ 'name': name.trim(),+ 'icon': icon,+ 'folders': folders,+ 'type': 'books',+ 'organizationMode': organizationMode,+ 'coverAspectRatio': coverAspectRatio,+ 'watch': watch,+ 'autoScanCronExpression': autoScanCron,+ }) as Map<String, dynamic>;+ _librariesChanged();+ return BoLibrary.fromJson(res);+ });++ /// Only the fields given change. Changing the folders starts a rescan.+ Future<BoLibrary> adminUpdateLibrary(+ int libraryId, {+ String? name,+ String? icon,+ List<String>? folders,+ String? coverAspectRatio,+ bool? watch,+ bool setAutoScan = false,+ String? autoScanCron,+ }) =>+ _admin(() async {+ final res = await _boPatch('/libraries/$libraryId', {+ 'name': ?name?.trim(),+ 'icon': ?icon,+ 'folders': ?folders,+ 'coverAspectRatio': ?coverAspectRatio,+ 'watch': ?watch,+ if (setAutoScan) 'autoScanCronExpression': autoScanCron,+ }) as Map<String, dynamic>;+ _librariesChanged();+ return BoLibrary.fromJson(res);+ });++ /// Removes the library from BookOrbit. Its files stay on disk.+ Future<void> adminDeleteLibrary(int libraryId) => _admin(() async {+ await _boDelete('/libraries/$libraryId');+ _librariesChanged();+ });++ Future<void> adminReorderLibraries(List<int> ids) => _admin(() async {+ await _boPost('/libraries/reorder', {+ 'order': [for (var i = 0; i < ids.length; i++) {'id': ids[i], 'displayOrder': i}],+ });+ _librariesChanged();+ });++ Future<void> adminScanLibrary(int libraryId) => _admin(() async {+ await _boPost('/scanner/libraries/$libraryId/scan');+ });++ Future<List<BoLibraryAccess>> adminLibraryAccess(int libraryId) => _admin(() async {+ final res = await _boGet('/libraries/$libraryId/access') as List<dynamic>;+ return [for (final a in res.whereType<Map<String, dynamic>>()) BoLibraryAccess.fromJson(a)];+ });++ /// Gives [userId] access at [level], or changes the level they have.+ Future<void> adminSetLibraryAccess(int libraryId, int userId, String level) => _admin(() async {+ await _boPost('/libraries/$libraryId/access', {'userId': userId, 'accessLevel': level});+ });++ Future<void> adminRemoveLibraryAccess(int libraryId, int userId) => _admin(() async {+ await _boDelete('/libraries/$libraryId/access/$userId');+ });++ Future<List<BoAssignableUser>> adminAssignableUsers() => _admin(() async {+ final res = await _boGet('/users/assignable') as List<dynamic>;+ return [+ for (final u in res.whereType<Map<String, dynamic>>())+ BoAssignableUser((u['id'] as num).toInt(), '${u['username'] ?? ''}', '${u['name'] ?? u['username'] ?? ''}'),+ ];+ });++ /// The top of the area library folders must sit in.+ Future<String> adminFolderRoot() => _admin(() async {+ final res = await _boGet('/path/config') as Map<String, dynamic>;+ return '${res['root'] ?? '/'}';+ });++ Future<List<BoFolder>> adminFolders(String path) => _admin(() async {+ final res = await _boGet('/path', {'path': path}) as List<dynamic>;+ return [+ for (final f in res.whereType<Map<String, dynamic>>()) BoFolder('${f['name'] ?? ''}', '${f['path'] ?? ''}'),+ ];+ });++ Future<List<BoFolderCheck>> adminCheckFolders(List<String> paths, {int? libraryId}) => _admin(() async {+ final res = await _boPost('/libraries/prescan', {+ 'paths': paths,+ 'libraryId': ?libraryId,+ }) as Map<String, dynamic>;+ return [+ for (final p in (res['paths'] as List? ?? const []).whereType<Map<String, dynamic>>()) BoFolderCheck.fromJson(p),+ ];+ });+}diff --git a/lib/services/bookorbit_api_service.dart b/lib/services/bookorbit_api_service.dartindex a2262d7e..4ddf519c 100644--- a/lib/services/bookorbit_api_service.dart+++ b/lib/services/bookorbit_api_service.dart@@ -146,6 +146,7 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {/// Forget everything cached for the signed-in account.static void clearCaches() {+ _ebookReadCards.clear();_manifests.clear();_manifestAt.clear();_details.clear();@@ -162,8 +163,16 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {_recent.clear();_serverVersions.clear();_serverFeatures.clear();+ _narrations.clear();+ _narrationLoads.clear();+ _placedSpots.clear();}+ /// Names Absorb on the highlights and sessions it saves, on servers that+ /// show it. Older ones refuse a field they don't know.+ Future<Map<String, String>> _clientName() async =>+ (await _features()).contains('client-name') ? const {'clientName': 'Absorb'} : const {};+Future<Set<String>> _features() async {final origin = ApiService._originOf(_cleanBaseUrl) ?? _cleanBaseUrl;if (!_serverFeatures.containsKey(origin)) {@@ -489,6 +498,148 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {}}+ /// The server and token in a BookOrbit password link+ /// (`https://host[/base]/reset-password?token=...`), or null when [input]+ /// isn't one.+ static ({Uri server, String token})? passwordLink(String input) {+ final uri = Uri.tryParse(input.trim());+ final token = uri?.queryParameters['token'] ?? '';+ if (uri == null || (uri.scheme != 'http' && uri.scheme != 'https') || uri.host.isEmpty || token.isEmpty) {+ return null;+ }+ var path = uri.path;+ if (path.endsWith('/')) path = path.substring(0, path.length - 1);+ if (!path.endsWith('/reset-password')) return null;+ return (+ server: Uri(+ scheme: uri.scheme,+ host: uri.host,+ port: uri.hasPort ? uri.port : null,+ path: path.substring(0, path.length - '/reset-password'.length),+ ),+ token: token,+ );+ }++ /// BookOrbit's password rules: at least 8 characters, with a lowercase+ /// letter, an uppercase letter and a digit.+ static bool passwordAcceptable(String password) =>+ password.length >= 8 &&+ RegExp('[a-z]').hasMatch(password) &&+ RegExp('[A-Z]').hasMatch(password) &&+ RegExp(r'\d').hasMatch(password);++ /// Sets a password from a password link. [message] is BookOrbit's reason+ /// when it refused.+ static Future<({bool ok, int status, String? message})> setPasswordFromLink({+ required String serverUrl,+ required String token,+ required String newPassword,+ Map<String, String> customHeaders = const {},+ }) async {+ try {+ final r = await http+ .post(+ Uri.parse('${_v1Of(serverUrl)}/auth/reset-password'),+ headers: {+ ...customHeaders,+ 'Content-Type': 'application/json',+ if (!kIsWeb) 'User-Agent': ApiService.userAgent,+ },+ body: jsonEncode({'token': token, 'newPassword': newPassword}),+ )+ .timeout(const Duration(seconds: 20));+ if (r.statusCode >= 200 && r.statusCode < 300) return (ok: true, status: r.statusCode, message: null);+ return (ok: false, status: r.statusCode, message: _BoHttpError(r.statusCode, r.body).serverMessage);+ } catch (e) {+ debugPrint('[BookOrbit] setting a password from a link failed: $e');+ return (ok: false, status: 0, message: null);+ }+ }++ /// Replaces an account's starting password: BookOrbit lets such an account+ /// sign in only to change it. [message] is BookOrbit's reason when it+ /// refused.+ static Future<({bool ok, int status, String? message})> replaceStartingPassword({+ required String serverUrl,+ required String username,+ required String currentPassword,+ required String newPassword,+ Map<String, String> customHeaders = const {},+ }) async {+ final headers = {+ ...customHeaders,+ 'Content-Type': 'application/json',+ if (!kIsWeb) 'User-Agent': ApiService.userAgent,+ };+ try {+ final login = await http+ .post(+ Uri.parse('${_v1Of(serverUrl)}/auth/login'),+ headers: headers,+ body: jsonEncode({+ 'username': username,+ 'password': currentPassword,+ 'clientKind': 'native',+ 'deviceLabel': _deviceLabel(),+ }),+ )+ .timeout(const Duration(seconds: 20));+ if (login.statusCode != 200 && login.statusCode != 201) {+ return (ok: false, status: login.statusCode, message: _BoHttpError(login.statusCode, login.body).serverMessage);+ }+ final access = (jsonDecode(login.body) as Map<String, dynamic>)['accessToken'] as String?;+ if (access == null) return (ok: false, status: 0, message: null);+ final r = await http+ .post(+ Uri.parse('${_v1Of(serverUrl)}/auth/change-password'),+ headers: {...headers, 'Authorization': 'Bearer $access'},+ body: jsonEncode({'currentPassword': currentPassword, 'newPassword': newPassword}),+ )+ .timeout(const Duration(seconds: 20));+ if (r.statusCode >= 200 && r.statusCode < 300) return (ok: true, status: r.statusCode, message: null);+ return (ok: false, status: r.statusCode, message: _BoHttpError(r.statusCode, r.body).serverMessage);+ } catch (e) {+ debugPrint('[BookOrbit] replacing a starting password failed: $e');+ return (ok: false, status: 0, message: null);+ }+ }++ @override+ Future<PasswordChangeResult> changeMyPassword({+ required String currentPassword,+ required String newPassword,+ }) async {+ String username;+ try {+ username = '${(await _boGet('/auth/me') as Map<String, dynamic>)['username'] ?? ''}';+ await _boPost('/auth/change-password', {'currentPassword': currentPassword, 'newPassword': newPassword});+ } on _BoHttpError catch (e) {+ if (e.status == 401) return const PasswordChangeResult(PasswordChangeStatus.invalidPassword);+ return PasswordChangeResult(PasswordChangeStatus.failed, message: e.serverMessage);+ } catch (e) {+ debugPrint('[BookOrbit] changeMyPassword error: $e');+ return const PasswordChangeResult(PasswordChangeStatus.failed);+ }+ // BookOrbit signs every session out when a password changes, this one+ // too, so sign straight back in with the new one.+ final (result, status) = await signIn(+ serverUrl: _cleanBaseUrl,+ username: username,+ password: newPassword,+ customHeaders: customHeaders,+ );+ final user = result?['user'];+ if (status == 200 && user is Map && user['accessToken'] is String) {+ _accessToken = user['accessToken'] as String;+ _refreshToken = user['refreshToken'] as String?;+ await onTokensRefreshed?.call(_accessToken, _refreshToken);+ } else {+ debugPrint('[BookOrbit] password changed, but signing back in failed: $status');+ }+ return const PasswordChangeResult(PasswordChangeStatus.success);+ }+/// The token from a BookOrbit magic link (`https://host/magic?token=...`),/// or the token itself when that is what was pasted.static String? magicLinkToken(String input) {@@ -604,15 +755,6 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {}}- @override- Future<PasswordChangeResult> changeMyPassword({- required String currentPassword,- required String newPassword,- }) async =>- // BookOrbit signs every device out on a password change, so leave it- // to the web app rather than strand this session.- const PasswordChangeResult(PasswordChangeStatus.unsupported);-@overrideFuture<AuthSessionsResult> getAuthSessions({int page = 0, int itemsPerPage = 20}) async =>const AuthSessionsResult(AuthSessionsStatus.unsupported);@@ -913,10 +1055,23 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {final sessions = (body['sessions'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>().toList();+ // One session BookOrbit turns away used to fail the whole batch, so+ // the app kept every session behind it and none ever arrived. A+ // refusal drops just that session; an unreachable server still+ // fails the batch so the queue waits for the next try.+ final results = <Map<String, dynamic>>[];for (final session in sessions) {- await _localSession(session);+ var success = true;+ try {+ await _localSession(session);+ } on _BoHttpError catch (e) {+ if (e.status != 400 && e.status != 404) rethrow;+ debugPrint('[BookOrbit] Dropped a session for ${session['libraryItemId']}: ${e.status} ${e.serverMessage ?? ''}');+ success = false;+ }+ results.add({'id': session['id'], 'success': success});}- return _json({'results': sessions.map((e) => {'id': e['id'], 'success': true}).toList()});+ return _json({'results': results});}if (n == 4 && at(3) == 'sync') return _syncSession(at(2), body);if (n == 4 && at(3) == 'close') {@@ -962,6 +1117,17 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {await _deleteProgress(at(3));return _json(const <String, dynamic>{});}+ if (n == 5 && at(4) == 'remove-from-continue-listening' && method == 'GET') {+ final id = at(3);+ await _hideFromContinue(_hiddenBooksKey, id.startsWith('bo-') ? id.substring(3) : id);+ return _json(const <String, dynamic>{});+ }+ return null;+ case 'series':+ if (n == 5 && at(4) == 'remove-from-continue-listening' && method == 'GET') {+ await _hideFromContinue(_hiddenSeriesKey, at(3));+ return _json(const <String, dynamic>{});+ }return null;case 'bookmarks':if (method != 'GET') return null;@@ -995,13 +1161,14 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {return null;case 'listening-sessions':if (method == 'GET') {- return _json({- 'sessions': const [],- 'total': 0,- 'numPages': 0,- 'page': int.tryParse(q['page'] ?? '') ?? 0,- 'itemsPerPage': int.tryParse(q['itemsPerPage'] ?? '') ?? 20,- });+ final perPage = (int.tryParse(q['itemsPerPage'] ?? '') ?? 20).clamp(1, 100);+ return _json(await _recentSessions(int.tryParse(q['page'] ?? '') ?? 0, perPage));+ }+ return null;+ case 'stats':+ final year = int.tryParse(at(4));+ if (method == 'GET' && n == 5 && at(3) == 'year' && year != null) {+ return _json(await _cached('year-stats-$year', const Duration(minutes: 5), () => _yearStats(year)));}return null;case 'items-in-progress':@@ -1202,7 +1369,7 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {final group = dot < 0 ? filter : filter.substring(0, dot);var value = '';if (dot >= 0) {- final raw = Uri.decodeComponent(filter.substring(dot + 1));+ final raw = undoPercentEscapes(filter.substring(dot + 1));try {value = utf8.decode(base64Decode(base64.normalize(raw)));} catch (_) {@@ -1496,9 +1663,16 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {final limit = (int.tryParse(q['limit'] ?? '') ?? 15).clamp(1, 50);final wanted = (q['shelves'] ?? '').split(',').where((s) => s.isNotEmpty).toSet();bool want(String id) => wanted.isEmpty || wanted.contains(id);+ final hiddenBooks = (await ScopedPrefs.getStringList(_hiddenBooksKey)).toSet();+ final hiddenSeries = (await ScopedPrefs.getStringList(_hiddenSeriesKey)).toSet();+ bool hidden(String shelfId, Map<String, dynamic> c) => switch (shelfId) {+ 'continue-listening' || 'continue-reading' => hiddenBooks.contains('${c['id']}'),+ 'continue-series' => hiddenSeries.contains('${c['seriesId'] ?? 'name:${c['seriesName']}'}'),+ _ => false,+ };Map<String, dynamic> shelf(String id, String label, List<Map<String, dynamic>> cards, {bool seriesEntity = false}) {- final entities = cards.map((c) {+ final entities = cards.where((c) => !hidden(id, c)).map((c) {final item = _cardItem(c, libraryId: libId);if (seriesEntity && c['seriesName'] != null) {((item['media'] as Map<String, dynamic>)['metadata'] as Map<String, dynamic>)['series'] = {@@ -1531,11 +1705,14 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {}// BookOrbit's dashboard keeps listening and reading apart, and so do the- // shelves here, the way Audiobookshelf has them. A narrated EPUB is- // listened to, so it goes with the audiobooks; a book only the+ // shelves here, the way Audiobookshelf has them. A narrated EPUB goes+ // with the audiobooks once its narration has been played, and stays+ // with the reading while it has only been read; a book only the// library's own in-progress query found goes by whether it has audio.List<Map<String, dynamic>>? inProgress;var listenIds = <String>{}, readIds = <String>{};+ final narrationPlayed = <String>{};+ Map media(Map<String, dynamic> c) => _cardItem(c, libraryId: libId)['media'] as Map? ?? const {};Future<List<Map<String, dynamic>>> progressCards() async {final had = inProgress;if (had != null) return had;@@ -1543,30 +1720,83 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {final reading = await _shelfCards('continue-reading', 50);listenIds = {for (final c in listening) '${c['id']}'};readIds = {for (final c in reading) '${c['id']}'};+ // Audiobooks being read as ebooks, which BookOrbit's reading list+ // leaves out, go with the reading unless they're being listened to.+ try {+ await _cached('progress', const Duration(seconds: 30), _allProgress);+ } catch (e) {+ debugPrint('[BookOrbit] Reading progress for Continue Reading failed: $e');+ }+ final ebookRead = _ebookReadCards.entries+ .where((e) => !listenIds.contains(e.key) && !readIds.contains(e.key))+ .map((e) => e.value)+ .toList();+ readIds.addAll(ebookRead.map((c) => '${c['id']}'));final seen = <String>{};- final merged = [...listening, ...reading].where((c) => seen.add('${c['id']}')).toList();- return inProgress = await _inProgressHere(merged, libId);+ final merged = [...listening, ...reading, ...ebookRead].where((c) => seen.add('${c['id']}')).toList();+ final cards = await _inProgressHere(merged, libId);+ // BookOrbit 3.5.0 lists a narrated EPUB under listening once it has+ // been played; an older server never does, and there a listening spot+ // on the book's progress tells.+ final narrated = cards+ .map((c) => '${c['id']}')+ .where((id) => !listenIds.contains(id))+ .where((id) => media(cards.firstWhere((c) => '${c['id']}' == id))['narration'] != null)+ .toList();+ final played = await _pool(narrated.map((id) => () => _narrationPlayed(id)).toList());+ narrationPlayed+ ..addAll(listenIds)+ ..addAll([for (var i = 0; i < narrated.length; i++) if (played[i]) narrated[i]]);+ return inProgress = cards;}- Map media(Map<String, dynamic> c) => _cardItem(c, libraryId: libId)['media'] as Map? ?? const {};bool hasAudio(Map m) => m['narration'] != null || ((m['duration'] as num?) ?? 0) > 0;bool listened(Map<String, dynamic> c) {final id = '${c['id']}';final m = media(c);- if (listenIds.contains(id) || m['narration'] != null) return true;+ if (m['narration'] != null) return narrationPlayed.contains(id);+ if (listenIds.contains(id)) return true;return !readIds.contains(id) && hasAudio(m);}bool read(Map<String, dynamic> c) {final id = '${c['id']}';final m = media(c);- if (m['narration'] != null) return false;+ if (m['narration'] != null) return !narrationPlayed.contains(id);if (readIds.contains(id)) return true;return !listenIds.contains(id) && !hasAudio(m);}+ // Continue Listening draws from both of BookOrbit's shelves (narrated+ // EPUBs come from the reading one), each newest first on its own. Put+ // the two in one order by when each book was last touched, or every+ // audiobook would sit ahead of a narrated book just listened to.+ Future<List<Map<String, dynamic>>> newestFirst(List<Map<String, dynamic>> cards) async {+ final audio = cards.where((c) => listenIds.contains('${c['id']}')).toList();+ final rest = cards.where((c) => !listenIds.contains('${c['id']}')).toList();+ if (audio.isEmpty || rest.isEmpty) return cards;+ final heads = [...audio.take(limit), ...rest.take(limit)];+ final times = await _pool(heads+ .map((c) => () => _lastTouched('${c['id']}', narrated: media(c)['narration'] != null))+ .toList());+ final at = {for (var i = 0; i < heads.length; i++) '${heads[i]['id']}': times[i] ?? 0};+ int when(Map<String, dynamic> c) => at['${c['id']}'] ?? 0;+ final out = <Map<String, dynamic>>[];+ var a = 0, r = 0;+ while (a < audio.length && r < rest.length) {+ out.add(when(audio[a]) >= when(rest[r]) ? audio[a++] : rest[r++]);+ }+ return [...out, ...audio.skip(a), ...rest.skip(r)];+ }+await add('continue-listening', () async {- final cards = (await progressCards()).where(listened).take(limit).toList();+ final cards = (await newestFirst((await progressCards()).where(listened).toList())).take(limit).toList();+ // A play checks the server's spot for a moment only, and placing a+ // narrated book's spot needs its timings: read them now, not then.+ for (final c in cards) {+ if (media(c)['narration'] == null) continue;+ unawaited(_narration('${c['id']}').then((_) {}, onError: (Object _) {}));+ }return shelf('continue-listening', 'Continue Listening', cards);});await add('continue-reading', () async {@@ -1611,6 +1841,36 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {return shelves;}+ /// When a book was last listened to or read, on any device. A narrated+ /// EPUB keeps its place on its files' progress; an audiobook on its+ /// playback state. Null when it can't be told.+ /// Whether a narrated EPUB's narration has been played: a listening spot+ /// on its progress. Taken as played when that can't be read, where it+ /// always went before.+ Future<bool> _narrationPlayed(String bookId) async {+ try {+ final rows = await _boGet('/books/$bookId/progress') as List<dynamic>;+ return rows.whereType<Map<String, dynamic>>().any((r) => r['positionSeconds'] != null);+ } catch (_) {+ return true;+ }+ }++ Future<int?> _lastTouched(String bookId, {required bool narrated}) async {+ try {+ if (!narrated) return BookOrbitMapper.ms((await _playbackState(bookId))?['capturedAt']);+ final rows = await _boGet('/books/$bookId/progress') as List<dynamic>;+ int? newest;+ for (final r in rows.whereType<Map<String, dynamic>>()) {+ final at = BookOrbitMapper.ms(r['updatedAt']);+ if (at != null && (newest == null || at > newest)) newest = at;+ }+ return newest;+ } catch (_) {+ return null;+ }+ }+Map<String, dynamic> _stubItem(String bookId, {String? title, String? seriesId, String? seriesName, Object? sequence}) => {'id': bookId,'mediaType': 'book',@@ -2249,6 +2509,82 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {}}+ @override+ bool get keepsEbookHighlights => true;++ @override+ Future<List<Map<String, dynamic>>?> ebookHighlights(String itemId, {String? fileId}) async {+ try {+ // Older servers refuse a query they don't know.+ final reader = fileId != null && int.tryParse(fileId) != null && (await _features()).contains('reader-file-positions');+ final list = await _boGet('/books/$itemId/annotations', reader ? {'readerFileId': fileId} : null) as List<dynamic>;+ return [+ for (final a in list.whereType<Map<String, dynamic>>())+ {+ 'id': '${a['id']}',+ 'cfi': a['cfi'],+ 'fileId': a['jumpFileId'] == null ? null : '${a['jumpFileId']}',+ 'text': a['text'],+ 'color': a['color'],+ 'note': a['note'],+ 'chapter': a['chapterTitle'],+ 'at': a['highlightedAt'] ?? a['createdAt'],+ },+ ];+ } catch (e) {+ debugPrint('[BookOrbit] highlights for $itemId: $e');+ return null;+ }+ }++ @override+ Future<String?> addEbookHighlight(String itemId, String fileId,+ {required String cfi, required String text, required String color, String? note, String? chapter}) async {+ try {+ final created = await _boPost('/books/$itemId/annotations', {+ 'cfi': cfi,+ if (int.tryParse(fileId) != null) 'bookFileId': int.parse(fileId),+ 'text': text,+ 'color': color,+ 'style': 'highlight',+ if (note != null && note.isNotEmpty) 'note': note,+ if (chapter != null && chapter.isNotEmpty)+ 'chapterTitle': chapter.length > 500 ? chapter.substring(0, 500) : chapter,+ ...await _clientName(),+ }) as Map<String, dynamic>;+ return created['id'] == null ? null : '${created['id']}';+ } catch (e) {+ debugPrint('[BookOrbit] add highlight for $itemId: $e');+ return null;+ }+ }++ @override+ Future<bool> updateEbookHighlight(String itemId, String highlightId, {required String color, String? note}) async {+ try {+ await _boPatch('/books/$itemId/annotations/$highlightId', {'color': color, 'note': note});+ return true;+ } on _BoHttpError catch (e) {+ return e.status == 404;+ } catch (e) {+ debugPrint('[BookOrbit] update highlight $highlightId: $e');+ return false;+ }+ }++ @override+ Future<bool> deleteEbookHighlight(String itemId, String highlightId) async {+ try {+ await _boDelete('/books/$itemId/annotations/$highlightId');+ return true;+ } on _BoHttpError catch (e) {+ return e.status == 404;+ } catch (e) {+ debugPrint('[BookOrbit] delete highlight $highlightId: $e');+ return false;+ }+ }+@overrideFuture<bool> deleteEbookBookmark(String itemId, String bookmarkId) async {try {@@ -3446,7 +3782,7 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {@overrideString buildTrackUrl(String contentUrl, {String? sessionId, int? trackIndex, int? playMethod}) {final uri = Uri.parse(contentUrl);- if (BookOrbitMediaProxy.instance.owns(contentUrl)) return contentUrl;+ if (BookOrbitMediaProxy.instance.owns(contentUrl) || NarrationStream.instance.owns(contentUrl)) return contentUrl;final seg = uri.pathSegments;final i = seg.indexOf('items');if (i >= 0 && i + 3 < seg.length && seg[i + 2] == 'file') {@@ -3674,9 +4010,14 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {if (narration != null) {final fileId = int.tryParse('${narration['fileId']}');for (final r in fp.whereType<Map<String, dynamic>>()) {- if ((r['fileId'] as num?)?.toInt() == fileId) {- narrationAt = (r['positionSeconds'] as num?)?.toDouble();- }+ if ((r['fileId'] as num?)?.toInt() != fileId) continue;+ // BookOrbit's own reader can leave a sentence or only a page, with no+ // seconds: those are placed on the narration too.+ narrationAt = (r['positionSeconds'] as num?)?.toDouble() ??+ await _placeNarrationSpot(bookId,+ fragment: r['mediaOverlayFragment'] as String?,+ section: (r['mediaOverlaySectionIndex'] as num?)?.toInt(),+ cfi: r['cfi'] as String?);}}final readStatus = detail['readStatus'] as Map<String, dynamic>?;@@ -3696,15 +4037,21 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {p['currentTime'] = narrationAt;if (p['isFinished'] != true) p['progress'] = (narrationAt / narrationTotal).clamp(0.0, 1.0);} else if (narration != null) {- // No listening spot on the EPUB (a page save from an older Absorb- // cleared it): nothing to move a paused player to, least of all 0.+ // No listening spot on the EPUB that can be placed (no copy of the book+ // here): nothing to move a paused player to, least of all 0.p.remove('currentTime');}return p;}+ // Books with an audiobook being read as ebooks, by id, for Continue+ // Reading: BookOrbit's own list goes by a book's primary file, which is+ // the audiobook, so it never has them.+ static final Map<String, Map<String, dynamic>> _ebookReadCards = {};+Future<List<Map<String, dynamic>>> _allProgress() async {final byId = <String, Map<String, dynamic>>{};+ final reading = <String, Map<String, dynamic>>{};Future<void> collect(List<String> statuses, String sortField, int maxPages) async {for (var page = 0; page < maxPages; page++) {final res = await _boPost('/books/query', {@@ -3720,6 +4067,7 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {for (final c in items) {_cardItem(c);byId['${c['id']}'] = BookOrbitMapper.cardProgress(c);+ if (statuses.contains('reading')) reading['${c['id']}'] = c;}final total = (res['total'] as num?)?.toInt() ?? 0;if (items.length < 200 || (page + 1) * 200 >= total) break;@@ -3755,9 +4103,55 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {} catch (e) {debugPrint('[BookOrbit] Continue-listening positions failed: $e');}+ await _addEbookPercents(byId, reading);return byId.values.toList();}+ /// A book with an audiobook and an ebook is listed by its audiobook, so+ /// its reading is read off the ebook's own file. Without it the Read+ /// button lost its percent after a restart, and Continue Reading never+ /// had the book. A narrated EPUB is listed by its narration, so its page+ /// is read the same way; BookOrbit already has it on Continue Reading.+ Future<void> _addEbookPercents(Map<String, Map<String, dynamic>> byId, Map<String, Map<String, dynamic>> reading) async {+ final narrated = <String>{};+ final both = <MapEntry<String, Map<String, dynamic>>>[];+ for (final e in reading.entries) {+ final item = BookOrbitMapper.item(card: e.value);+ final media = item['media'] as Map;+ if (media['ebookFile'] == null) continue;+ if (media['narration'] != null) {+ narrated.add(e.key);+ both.add(e);+ } else if ((item['bookOrbit'] as Map?)?['audioCover'] == true) {+ both.add(e);+ }+ }+ final found = await _pool(both+ .map((e) => () async {+ try {+ return _ebookFrom(e.value, await _boGet('/books/${e.key}/progress') as List<dynamic>);+ } catch (_) {+ return null;+ }+ })+ .toList());+ final cards = <String, Map<String, dynamic>>{};+ for (var i = 0; i < both.length; i++) {+ final ebook = found[i];+ final p = byId[both[i].key];+ if (ebook == null || p == null || (ebook.percent == null && ebook.cfi == null)) continue;+ final pct = ((ebook.percent ?? 0) / 100).clamp(0.0, 1.0);+ p['ebookProgress'] = pct;+ if (ebook.cfi != null) p['ebookLocation'] = ebook.cfi;+ if (pct > 0 && pct < 1 && p['isFinished'] != true && !narrated.contains(both[i].key)) {+ cards[both[i].key] = both[i].value;+ }+ }+ _ebookReadCards+ ..clear()+ ..addAll(cards);+ }+/// The progress of a book read aloud from its EPUB: its place is kept on/// the EPUB file, not as an audiobook. Null for any other book.Future<Map<String, dynamic>?> _narrationProgress(String id, Map<String, dynamic>? card) async {@@ -3797,7 +4191,27 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {/// Save a book-absolute position. Returns the HTTP status that best/// describes the outcome for Audiobookshelf callers.+ // Books and series taken off the Continue shelves. BookOrbit has no way to+ // hide one, so Absorb keeps the list, per account; a book comes back once+ // it is listened to or read again, the way Audiobookshelf does it.+ static const _hiddenBooksKey = 'bookorbit_hidden_continue';+ static const _hiddenSeriesKey = 'bookorbit_hidden_continue_series';++ Future<void> _hideFromContinue(String key, String id) async {+ final ids = await ScopedPrefs.getStringList(key);+ if (!ids.contains(id)) await ScopedPrefs.setStringList(key, [...ids, id]);+ _recent.removeWhere((k, _) => k.startsWith('personalized:'));+ }++ Future<void> _backOnContinue(String bookId) async {+ final ids = await ScopedPrefs.getStringList(_hiddenBooksKey);+ if (!ids.remove(bookId)) return;+ await ScopedPrefs.setStringList(_hiddenBooksKey, ids);+ _recent.removeWhere((k, _) => k.startsWith('personalized:'));+ }+Future<int> _putPosition(String bookId, double absoluteSeconds, {DateTime? capturedAt}) async {+ await _backOnContinue(bookId);var manifest = await _manifest(bookId);if (manifest == null) return _putNarrationPosition(bookId, absoluteSeconds);final when = (capturedAt ?? DateTime.now()).toUtc();@@ -3846,7 +4260,11 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {Future<void> _setStatus(String bookId, Map<String, dynamic> body) async {await _boPatch('/books/$bookId/status', body);+ // The refresh right after reads progress: a cached list from before the+ // change showed a just-finished book as still being read.+ _details.remove(_key(bookId));_detailAt.remove(_key(bookId));+ _recent.removeWhere((key, _) => key == 'progress' || key.startsWith('personalized:'));}static String? _dateParam(Object? ms) {@@ -3894,6 +4312,7 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {}Future<void> _saveEbookProgress(String bookId, String? location, double? progress) async {+ await _backOnContinue(bookId);final detail = await _detail(bookId);final media = BookOrbitMapper.item(detail: detail)['media'] as Map;final ebook = media['ebookFile'] as Map?;@@ -4022,7 +4441,15 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {try {final d = _dateParam(finishedAt);if (d == null) return false;- await _setStatus(itemId, {'status': 'read', 'finishedAt': d});+ try {+ await _setStatus(itemId, {'status': 'read', 'finishedAt': d});+ } on _BoHttpError catch (e) {+ // Marking a book finished today starts its read today too, so an+ // earlier finish date lands before the start. Move the start with it;+ // the start date can be set on its own afterwards.+ if (e.status != 400 || !e.body.contains('READING_DATES_INVALID_ORDER')) rethrow;+ await _setStatus(itemId, {'status': 'read', 'startedAt': d, 'finishedAt': d});+ }return true;} catch (e) {debugPrint('[BookOrbit] updateProgressFinishedDate error: $e');@@ -4030,7 +4457,125 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {}}- final Map<String, ({MediaOverlay overlay, int fileId})> _narrations = {};+ static int? _boSessionNumber(Object? id) {+ final s = '$id';+ return s.startsWith('bo-session-') ? int.tryParse(s.substring('bo-session-'.length)) : null;+ }++ void _forgetListeningStats() => _recent.removeWhere((k, _) =>+ k == _key('listening-stats') || k.startsWith(_key('activity-day-')) || k.startsWith(_key('year-stats-')));++ /// The file a listen is logged against: the audiobook's first file, or+ /// the EPUB that reads itself aloud.+ Future<String?> _listenFileId(String bookId) async {+ final manifest = await _manifest(bookId);+ final assets = manifest?['assets'] as List<dynamic>?;+ if (assets != null && assets.isNotEmpty) return '${(assets.first as Map)['fileId']}';+ final narration = (BookOrbitMapper.item(detail: await _detail(bookId))['media'] as Map)['narration'] as Map?;+ return narration?['fileId'] as String?;+ }++ /// Logs listening time the way the player does, so BookOrbit counts it as+ /// listening, or reading time against the ebook file it was read in. No+ /// end point goes with it: BookOrbit moves a book's read status by a long+ /// session's end point, which would take a finished book back to reading.+ Future<void> _saveListen(String bookId, DateTime startedAt, int seconds,+ {String? fileId, bool reading = false}) async {+ final file = fileId ?? (reading ? null : await _listenFileId(bookId));+ if (file == null) throw _BoHttpError(404, 'No file to log the session against');+ final source = _platformSource();+ await _boPost('/books/files/$file/sessions', {+ 'sessionId': _uuid(),+ 'startedAt': _iso(startedAt),+ 'endedAt': _iso(startedAt.add(Duration(seconds: seconds))),+ 'durationSeconds': seconds,+ 'sessionType': reading ? 'read' : 'listen',+ 'source': ?source,+ ...await _clientName(),+ });+ }++ @override+ Future<bool> addListeningSession({+ required String itemId,+ required DateTime startedAt,+ required int seconds,+ }) async {+ try {+ await _saveListen(itemId, startedAt, seconds);+ _forgetListeningStats();+ return true;+ } catch (e) {+ debugPrint('[BookOrbit] Adding a listening session failed: $e');+ return false;+ }+ }++ /// BookOrbit can move a session to another time but not change its+ /// length, so a new length is logged as a new session in place of the old.+ @override+ Future<bool> updateListeningSession(Map<String, dynamic> session) async {+ final id = _boSessionNumber(session['id']);+ final bookId = '${session['libraryItemId'] ?? ''}';+ final origStart = (session['startedAt'] as num?)?.toInt();+ final origEnd = (session['boEndedAt'] as num?)?.toInt();+ final origSeconds = (session['boSeconds'] as num?)?.toInt();+ final newEnd = (session['updatedAt'] as num?)?.toInt();+ final newSeconds = (session['timeListening'] as num?)?.round();+ if (id == null || bookId.isEmpty || origStart == null || origEnd == null || origSeconds == null ||+ newEnd == null || newSeconds == null || newSeconds <= 0) {+ return false;+ }+ // The edit keeps the time of day and moves the date.+ final start = DateTime.fromMillisecondsSinceEpoch(origStart + newEnd - origEnd);+ try {+ if (newSeconds ~/ 60 == origSeconds ~/ 60) {+ if (start.millisecondsSinceEpoch == origStart) return true;+ await _boPatch('/user-statistics/session-timeline/$id', {+ 'startedAt': _iso(start),+ 'endedAt': _iso(start.add(Duration(seconds: origSeconds))),+ });+ } else {+ final fileId = session['boFileId'] == null ? null : '${session['boFileId']}';+ final reading = session['boReading'] == true;+ // A reading session can only be logged again against its own file.+ if (reading && fileId == null) return false;+ await _boDelete('/books/$bookId/sessions/$id');+ try {+ await _saveListen(bookId, start, newSeconds, fileId: fileId, reading: reading);+ } catch (e) {+ debugPrint('[BookOrbit] New session length not saved, putting the old one back: $e');+ await _saveListen(bookId, DateTime.fromMillisecondsSinceEpoch(origStart), origSeconds,+ fileId: fileId, reading: reading);+ rethrow;+ }+ }+ _forgetListeningStats();+ return true;+ } catch (e) {+ debugPrint('[BookOrbit] Editing listening session $id failed: $e');+ return false;+ }+ }++ @override+ Future<bool> deleteListeningSession(String sessionId, {String? itemId}) async {+ final id = _boSessionNumber(sessionId);+ if (id == null || itemId == null) return false;+ try {+ await _boDelete('/books/$itemId/sessions/$id');+ _forgetListeningStats();+ return true;+ } catch (e) {+ debugPrint('[BookOrbit] Deleting listening session $id failed: $e');+ return false;+ }+ }++ // Static like the other caches: the app builds a new service for nearly+ // every call, and reading a long book's timings again takes seconds.+ static final Map<String, ({MediaOverlay overlay, int fileId})> _narrations = {};+ static final Map<String, Future<({MediaOverlay overlay, int fileId})?>> _narrationLoads = {};/// The narration of a book whose only audio is its EPUB reading itself/// aloud (EPUB 3 media overlays), or null for any other book.@@ -4042,6 +4587,25 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {final k = _key(bookId);final cached = _narrations[k];if (!fresh && cached != null) return cached;+ // Home reads the timings ahead of a play; a play that starts meanwhile+ // waits for that read instead of making its own.+ final loading = _narrationLoads[k];+ if (!fresh && loading != null) return loading;+ final load = _loadNarration(bookId, k, cached, detail);+ _narrationLoads[k] = load;+ try {+ return await load;+ } finally {+ if (identical(_narrationLoads[k], load)) _narrationLoads.remove(k);+ }+ }++ Future<({MediaOverlay overlay, int fileId})?> _loadNarration(+ String bookId,+ String k,+ ({MediaOverlay overlay, int fileId})? cached,+ Map<String, dynamic>? detail,+ ) async {detail ??= await _detail(bookId);final media = BookOrbitMapper.item(detail: detail)['media'] as Map<String, dynamic>;final fileId = int.tryParse('${(media['narration'] as Map?)?['fileId']}');@@ -4112,6 +4676,7 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {if (ebookEnd != null) 'endProgress': (ebookEnd * 100).clamp(0.0, 100.0),'sessionType': 'read',if (source != null) 'source': source,+ ...await _clientName(),});return true;} catch (e) {@@ -4121,16 +4686,20 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {}/// BookOrbit keeps a narrated EPUB's listening spot on the same row as its- /// page, and a page save without it clears it, so the spot rides along.+ /// page. Before 3.5.0 a page save without it cleared it, so there the spot+ /// rides along. From 3.5.0 a save that leaves it out keeps it, and sending+ /// the one read a moment ago could put back an older spot over a newer one.Future<Map<String, Object?>> _narrationSpotToKeep(String bookId, Map media, String fileId) async {if ('${(media['narration'] as Map?)?['fileId']}' != fileId) return const {};+ // `reader-file-positions` arrived in the same release.+ if ((await _features()).contains('reader-file-positions')) return const {};try {- final at = await _narrationPosition(bookId, int.parse(fileId));+ final at = await _narrationPosition(bookId, int.parse(fileId), place: false);if (at == null) return const {};final clip = (await _narration(bookId))?.overlay.clipAt(at.seconds);return {'positionSeconds': at.seconds,- 'mediaOverlayFragment': clip?.fragment,+ 'mediaOverlayFragment': clip?.textSrc,'mediaOverlaySectionIndex': clip?.section,};} catch (e) {@@ -4140,14 +4709,25 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {}/// Where the narration was left, in seconds, from the EPUB's progress.- Future<({double seconds, int? updatedAt})?> _narrationPosition(String bookId, int fileId) async {+ /// [place] works out a spot BookOrbit kept without seconds; without it+ /// only seconds saved on the row count.+ Future<({double seconds, int? updatedAt})?> _narrationPosition(String bookId, int fileId,+ {bool place = true}) async {try {final rows = await _boGet('/books/$bookId/progress') as List<dynamic>;for (final r in rows.whereType<Map<String, dynamic>>()) {if ((r['fileId'] as num?)?.toInt() != fileId) continue;+ final at = BookOrbitMapper.ms(r['updatedAt']);final s = (r['positionSeconds'] as num?)?.toDouble();- if (s == null) return null;- return (seconds: s, updatedAt: BookOrbitMapper.ms(r['updatedAt']));+ if (s != null) return (seconds: s, updatedAt: at);+ if (!place) return null;+ // BookOrbit's own reader saves the sentence it read aloud, or only+ // the page it reached, with no seconds: place them on the narration.+ final placed = await _placeNarrationSpot(bookId,+ fragment: r['mediaOverlayFragment'] as String?,+ section: (r['mediaOverlaySectionIndex'] as num?)?.toInt(),+ cfi: r['cfi'] as String?);+ return placed == null ? null : (seconds: placed, updatedAt: at);}} on _BoHttpError catch (e) {if (e.status != 404) rethrow;@@ -4155,6 +4735,64 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {return null;}+ /// Places a reading spot in a narrated EPUB on its narration's timeline,+ /// from the copy of the book kept on this phone. Set by the app at start;+ /// a spot with no copy here stays unplaced.+ static Future<double?> Function(String bookId, MediaOverlay overlay, String cfi)? placeReadingSpot;+ static final Map<String, double> _placedSpots = {};++ /// BookOrbit's timings for a book as kept on this phone (downloaded, or+ /// read along before). Set by the app at start. A play checks the server's+ /// spot for a moment only, and fetching a long book's timings takes longer.+ static Future<MediaOverlay?> Function(String bookId)? keptNarration;++ Future<double?> _placeNarrationSpot(String bookId, {String? fragment, int? section, String? cfi}) async {+ if ((fragment == null || fragment.isEmpty) && (cfi == null || cfi.isEmpty)) return null;+ var overlay = _narrations[_key(bookId)]?.overlay;+ if (overlay == null) {+ try {+ overlay = await keptNarration?.call(bookId);+ } catch (_) {}+ }+ if (overlay == null) {+ debugPrint('[BookOrbit] $bookId: reading the narration timings from the server to place its spot');+ try {+ overlay = (await _narration(bookId))?.overlay;+ } catch (e) {+ debugPrint('[BookOrbit] $bookId: no narration to place the spot on: $e');+ return null;+ }+ }+ if (overlay == null) return null;+ if (fragment != null && fragment.isNotEmpty) {+ final clip = overlay.clipByFragment(fragment, section);+ if (clip != null) {+ final t = overlay.startOf(clip);+ debugPrint('[BookOrbit] $bookId: BookOrbit read aloud to $fragment, ${t.toStringAsFixed(0)}s into the narration');+ return t;+ }+ }+ if (cfi == null || cfi.isEmpty) return null;+ final key = '${_key(bookId)}|$cfi';+ final known = _placedSpots[key];+ if (known != null) return known;+ final place = placeReadingSpot;+ if (place == null) return null;+ double? t;+ try {+ t = await place(bookId, overlay, cfi);+ } catch (e) {+ debugPrint('[BookOrbit] $bookId: reading spot not placed: $e');+ }+ if (t == null) {+ debugPrint('[BookOrbit] $bookId: BookOrbit has only a page here, and it could not be placed on the narration');+ return null;+ }+ _placedSpots[key] = t;+ debugPrint('[BookOrbit] $bookId: BookOrbit read to a page ${t.toStringAsFixed(0)}s into the narration');+ return t;+ }+/// Saved where BookOrbit's own read along keeps its place: the narration/// position on the EPUB, with the sentence it reached.Future<int> _putNarrationPosition(String bookId, double seconds) async {@@ -4171,7 +4809,7 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {await _boPost('/books/files/${n.fileId}/progress', {'percentage': total > 0 ? (seconds / total * 100).clamp(0.0, 100.0) : 0,'positionSeconds': math.max(0.0, seconds),- 'mediaOverlayFragment': clip?.fragment,+ 'mediaOverlayFragment': clip?.textSrc,'mediaOverlaySectionIndex': clip?.section,'source': 'narration',});@@ -4187,6 +4825,14 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {return '/api/v1/epub/$bookId/media-overlay/file/$path?fileId=$fileId';}+ /// Escapes BookOrbit leaves in a narration file's path, since it undoes+ /// them with decodeURI, and then can't find the file under that name: a+ /// comma written %2C is the usual one.+ static final _unservableHref = RegExp(r'%(23|24|26|2B|2C|2F|3A|3B|3D|3F|40)', caseSensitive: false);++ @visibleForTesting+ static bool narrationHrefServable(String href) => !_unservableHref.hasMatch(href);+Future<Map<String, dynamic>> _startNarrationSession(String bookId, Map<String, dynamic> detail) async {final n = await _narration(bookId, detail: detail, fresh: true);if (n == null) throw _BoHttpError(404, 'Book has no audiobook assets');@@ -4199,12 +4845,24 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {final edited = BookOrbitMapper.savedChapters(detail, overlay.duration);final useEdited = edited.isNotEmpty && (edited.last['start'] as double) < overlay.duration;final chapters = useEdited ? edited : overlay.chapters();- final tracks = overlay.audioTracks((t) => _narrationTrackPath(bookId, n.fileId, t));+ final saved = await _narrationPosition(bookId, n.fileId);+ final current = (saved?.seconds ?? 0).clamp(0.0, overlay.duration).toDouble();+ var tracks = overlay.audioTracks((t) => _narrationTrackPath(bookId, n.fileId, t));+ // Files BookOrbit can't find play out of the EPUB itself, the way an+ // Audiobookshelf narration streams.+ var fromEpub = false;+ if (!overlay.tracks.every((t) => narrationHrefServable(t.href))) {+ final urls = await NarrationStream.instance.serveFromEpub(+ this, bookId, _boUri('/books/files/${n.fileId}/download'), overlay.tracks,+ startTime: current);+ if (urls != null) {+ tracks = overlay.audioTracks((t) => urls[overlay.tracks.indexOf(t)]);+ fromEpub = true;+ }+ }media['chapters'] = chapters;media['tracks'] = tracks;media['duration'] = overlay.duration;- final saved = await _narrationPosition(bookId, n.fileId);- final current = (saved?.seconds ?? 0).clamp(0.0, overlay.duration).toDouble();final now = DateTime.now();final sessionId = 'bo-$bookId-${now.millisecondsSinceEpoch}';_sessions[sessionId] = _BoListenSession(bookId, _uuid(), now)@@ -4212,7 +4870,8 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {..startPercent = overlay.duration > 0 ? (current / overlay.duration * 100).clamp(0.0, 100.0) : null;debugPrint('[BookOrbit] narration session for $bookId: ${tracks.length} tracks, ''${overlay.clips.length} sentences, ${overlay.duration.toStringAsFixed(0)}s, from ${current.toStringAsFixed(0)}s, '- '${chapters.length} chapters ${useEdited ? 'saved with the book' : 'from the narration'}');+ '${chapters.length} chapters ${useEdited ? 'saved with the book' : 'from the narration'}'+ '${fromEpub ? ', played out of the EPUB' : ''}');return {'id': sessionId,'userId': '',@@ -4323,6 +4982,7 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {if (s.lastPercent != null) 'endProgress': s.lastPercent!.clamp(0.0, 100.0),'sessionType': 'listen',if (source != null) 'source': source,+ ...await _clientName(),});if (!s.deviceRemembered) {s.deviceRemembered = true;@@ -4337,6 +4997,10 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {/// sessions this phone recorded are remembered here to name them later.static const _sessionDevicesKey = 'bookorbit_session_devices';+ /// The same list for the paired watch's sessions, kept up to date by+ /// WearSessionListenerService from what the watch publishes.+ static const _watchSessionsKey = 'bookorbit_watch_sessions';+static String _thisDevice() {final name = [ApiService.deviceManufacturer, ApiService.deviceModel].where((s) => s.isNotEmpty)@@ -4403,6 +5067,12 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {Future<Map<String, dynamic>> _localSession(Map<String, dynamic> session) async {final bookId = '${session['libraryItemId'] ?? ''}';if (bookId.isEmpty || session['episodeId'] != null) return const {};+ // BookOrbit books have number ids; anything else is another server's+ // book that was played here.+ if (int.tryParse(bookId) == null) {+ debugPrint('[BookOrbit] Skipped a session for $bookId: not a book on this server');+ return const {};+ }final updated = (session['updatedAt'] as num?)?.toInt();final when = updated == null ? DateTime.now() : DateTime.fromMillisecondsSinceEpoch(updated);final currentTime = (session['currentTime'] as num?)?.toDouble();@@ -4417,7 +5087,14 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {started == null ? when.subtract(Duration(seconds: listened.round())) : DateTime.fromMillisecondsSinceEpoch(started),)..listenedSeconds = listened;final manifest = _manifests[_key(bookId)] ?? await _manifest(bookId);- final total = manifest == null ? 0.0 : BookOrbitMapper.totalSeconds(manifest);+ var total = manifest == null ? 0.0 : BookOrbitMapper.totalSeconds(manifest);+ // A narrated EPUB has no audiobook; its length is the narration's.+ // Without one the session went up with no start or end point.+ if (manifest == null) {+ try {+ total = (await _narration(bookId))?.overlay.duration ?? 0.0;+ } catch (_) {}+ }final startTime = (session['startTime'] as num?)?.toDouble();if (total > 0 && currentTime != null) s.lastPercent = (currentTime / total * 100).clamp(0.0, 100.0);if (total > 0 && startTime != null) s.startPercent = (startTime / total * 100).clamp(0.0, 100.0);@@ -4499,55 +5176,510 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {return true;}+ /// The Stats screen's numbers in Audiobookshelf's shape, plus a+ /// `bookOrbit` block with what only BookOrbit keeps: listening and reading+ /// apart, time of day, where the time was spent, books finished by month,+ /// and session habits. Every year with activity is read, so totals and+ /// streaks reach back past January.Future<Map<String, dynamic>> _listeningStats() async {- final overview = await _boGet('/user-statistics/activity-overview', null, const Duration(seconds: 45)) as Map<String, dynamic>;- final days = <String, num>{};+ const wait = Duration(seconds: 45);+ final overview = await _boGet('/user-statistics/activity-overview', null, wait) as Map<String, dynamic>;+ final calendar = overview['calendar'] as Map? ?? const {};+ final thisYear = (calendar['year'] as num?)?.toInt();+ final otherYears = [+ for (final y in (calendar['availableYears'] as List<dynamic>? ?? const []))+ if (y is num && y.toInt() != thisYear) y.toInt(),+ ]..sort((a, b) => b.compareTo(a));+ Future<Map<String, dynamic>?> optional(String path) async {+ try {+ return await _boGet(path, null, wait) as Map<String, dynamic>;+ } catch (e) {+ debugPrint('[BookOrbit] Stats: $path failed: $e');+ return null;+ }+ }++ final extra = await Future.wait([+ optional('/user-statistics/activity-details/genre-time'),+ optional('/user-statistics/summary'),+ optional('/user-statistics/activity-details/completion-speed'),+ for (final y in otherYears.take(10)) optional('/user-statistics/activity-calendar/$y'),+ ]);+ final genreTime = extra[0], summary = extra[1], speed = extra[2];++ final total = <String, num>{}, listen = <String, num>{}, read = <String, num>{};void addDays(Object? list) {for (final d in (list as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>()) {final day = d['day'] as String?;- final secs = (d['listeningSeconds'] as num?) ?? 0;- if (day != null && secs > 0) days[day] = secs;+ if (day == null) continue;+ final l = (d['listeningSeconds'] as num?) ?? 0;+ final r = (d['readingSeconds'] as num?) ?? 0;+ final t = (d['totalSeconds'] as num?) ?? l + r;+ if (l > 0) listen[day] = l;+ if (r > 0) read[day] = r;+ if (t > 0) total[day] = t;}}- addDays((overview['calendar'] as Map?)?['days']);+ for (final cal in extra.skip(3)) {+ addDays(cal?['days']);+ }+ addDays(calendar['days']);addDays((overview['dailyActivity'] as Map?)?['days']);- const names = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];- final dayOfWeek = <String, num>{};- days.forEach((day, secs) {- final d = DateTime.tryParse(day);- if (d == null) return;- final name = names[d.weekday % 7];- dayOfWeek[name] = (dayOfWeek[name] ?? 0) + secs;- });- final today = ((overview['snapshot'] as Map?)?['today'] as Map?)?['listeningSeconds'] as num? ?? 0;+final items = <String, dynamic>{};- try {- final genres = await _boGet('/user-statistics/activity-details/genre-time', null, const Duration(seconds: 45)) as Map<String, dynamic>;- for (final g in (genres['genres'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>()) {- for (final a in (g['authors'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>()) {- for (final b in (a['books'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>()) {- final id = '${b['bookId']}';- final prev = (items[id] as Map?)?['timeListening'] as num? ?? 0;- items[id] = {- 'id': id,- 'timeListening': prev + ((b['totalSeconds'] as num?) ?? 0),- 'mediaMetadata': {'title': b['title'], 'author': a['author']},- };- }+ final genres = <Map<String, dynamic>>[];+ for (final g in (genreTime?['genres'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>()) {+ genres.add({'genre': g['genre'], 'time': g['totalSeconds'] ?? 0});+ for (final a in (g['authors'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>()) {+ for (final b in (a['books'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>()) {+ final id = '${b['bookId']}';+ final prev = (items[id] as Map?)?['timeListening'] as num? ?? 0;+ items[id] = {+ 'id': id,+ 'timeListening': prev + ((b['totalSeconds'] as num?) ?? 0),+ 'mediaMetadata': {'title': b['title'], 'authorName': a['author']},+ };}}- } catch (_) {}+ }++ final rhythm = overview['rhythm'] as Map? ?? const {};+ final pace = overview['pace'] as Map? ?? const {};+ num? paceFor(String bucket) => (pace['byMedia'] as List<dynamic>? ?? const [])+ .whereType<Map>()+ .where((m) => m['bucket'] == bucket)+ .map((m) => m['medianDurationSeconds'] as num?)+ .firstOrNull;return {- 'totalTime': days.values.fold<num>(0, (sum, v) => sum + v),+ 'totalTime': total.values.fold<num>(0, (sum, v) => sum + v),'items': items,- 'days': days,- 'dayOfWeek': dayOfWeek,- 'today': today,+ 'days': total,+ 'today': ((overview['snapshot'] as Map?)?['today'] as Map?)?['totalSeconds'] as num? ?? 0,'recentSessions': const [],+ 'bookOrbit': {+ 'timezone': overview['timezone'],+ 'listenDays': listen,+ 'readDays': read,+ 'hours': [+ for (final h in (rhythm['hours'] as List<dynamic>? ?? const []).whereType<Map>())+ {+ 'hour': h['hour'],+ 'listening': h['listeningSeconds'] ?? 0,+ 'reading': h['readingSeconds'] ?? 0,+ },+ ],+ 'peakHour': rhythm['peakHour'],+ 'favoriteDay': rhythm['favoriteDayOfWeek'],+ 'sources': [+ for (final s in ((overview['sources'] as Map?)?['slices'] as List<dynamic>? ?? const []).whereType<Map>())+ if (((s['totalSeconds'] as num?) ?? 0) > 0) {'bucket': s['bucket'], 'time': s['totalSeconds']},+ ],+ 'finishedMonths': [+ for (final m in ((overview['completion'] as Map?)?['months'] as List<dynamic>? ?? const []).whereType<Map>())+ {'year': m['year'], 'month': m['month'], 'count': m['count'] ?? 0},+ ],+ 'genres': genres,+ 'medianSession': pace['medianDurationSeconds'],+ 'medianListen': paceFor('listening'),+ 'medianRead': paceFor('reading'),+ 'medianProgress': pace['medianProgressDelta'],+ 'medianDaysToFinish': speed?['medianDays'],+ 'started': summary?['startedBooks'],+ 'inProgress': summary?['inProgressBooks'],+ 'completed': summary?['completedBooks'],+ 'meanProgress': summary?['meanProgressPercent'],+ 'goalBooks': (overview['goal'] as Map?)?['goalBooks'],+ },+ };+ }++ /// One day's sessions as BookOrbit lists them. Today keeps changing, so it+ /// is asked again sooner than past days.+ Future<Map<String, dynamic>> _activityDay(String day) {+ final now = DateTime.now();+ final today = day == _dayKey(now) || day == _dayKey(now.toUtc());+ return _cached('activity-day-$day', Duration(minutes: today ? 1 : 10), () async =>+ await _boGet('/user-statistics/activity-days/$day', null, const Duration(seconds: 30)) as Map<String, dynamic>);+ }++ static String _dayKey(DateTime d) =>+ '${d.year}-${d.month.toString().padLeft(2, '0')}-${d.day.toString().padLeft(2, '0')}';++ /// The device behind each session this phone or its watch recorded,+ /// keyed `bookId@startedAt`, as the deviceInfo the Stats screen reads.+ Future<Map<String, Map<String, String>>> _sessionDevices() async {+ final out = <String, Map<String, String>>{};+ try {+ final prefs = await SharedPreferences.getInstance();+ for (final (key, client) in [(_sessionDevicesKey, 'Absorb'), (_watchSessionsKey, 'AbsorbWear')]) {+ final raw = prefs.getString(key);+ if (raw == null) continue;+ for (final e in (jsonDecode(raw) as Map<String, dynamic>).entries) {+ out[e.key] = {'clientName': client, 'deviceName': '${e.value}'};+ }+ }+ } catch (_) {}+ return out;+ }++ /// A session from an activity day in the Stats screen's session shape.+ Map<String, dynamic> _activitySession(+ Map<String, dynamic> s, Map<String, dynamic> items, Map<String, Map<String, String>> devices) {+ final bookId = '${s['bookId']}';+ final meta = (items[bookId] as Map?)?['mediaMetadata'] as Map?;+ final title = s['bookTitle'] as String? ?? meta?['title'] as String?;+ final author = meta?['authorName'] as String?;+ final reading = s['mediaBucket'] == 'reading';+ final seconds = ((s['durationOnDaySeconds'] as num?) ?? 0).round();+ final started = DateTime.tryParse(s['startedAt'] as String? ?? '')?.toLocal();+ final ownDevice = devices['$bookId@${s['startedAt']}'];+ return {+ 'id': 'bo-session-${s['id']}',+ 'libraryItemId': bookId,+ 'episodeId': null,+ 'mediaType': 'book',+ 'displayTitle': title,+ 'displayAuthor': author,+ 'mediaMetadata': {'title': title, 'authorName': author},+ 'timeListening': seconds,+ 'startedAt': BookOrbitMapper.ms(s['startedAt']),+ 'updatedAt': BookOrbitMapper.ms(s['endedAt']),+ 'boEndedAt': BookOrbitMapper.ms(s['endedAt']),+ 'boSeconds': seconds,+ 'boFileId': s['bookFileId'],+ 'boReading': reading,+ 'date': started == null ? null : _dayKey(started),+ 'deviceInfo': ownDevice ?? {'clientName': _sourceLabel(s['sourceBucket'])},+ 'mediaPlayer': reading ? ApiService.readingMediaPlayer : (s['sourceBucket'] ?? 'web'),+ };+ }++ /// Sessions across every book, newest first. BookOrbit lists sessions by+ /// day rather than overall, so the days with any activity are read newest+ /// first until the page is full. A session that runs past midnight shows+ /// on both days and is put back together, which can take one more day.+ Future<Map<String, dynamic>> _recentSessions(int page, int perPage) async {+ final stats = await _cached('listening-stats', const Duration(minutes: 5), _listeningStats);+ final days = [...((stats['days'] as Map?)?.keys.cast<String>() ?? const <String>[])]+ ..sort((a, b) => b.compareTo(a));+ final want = (page + 1) * perPage;+ final merged = <Object?, Map<String, dynamic>>{};+ List<Map<String, dynamic>> newestFirst() =>+ merged.values.toList()..sort((a, b) => '${b['startedAt']}'.compareTo('${a['startedAt']}'));+ bool cutAtMidnight(Map<String, dynamic> s) {+ final start = DateTime.tryParse(s['startedAt'] as String? ?? '');+ final end = DateTime.tryParse(s['endedAt'] as String? ?? '');+ if (start == null || end == null) return false;+ return ((s['durationOnDaySeconds'] as num?) ?? 0) < end.difference(start).inSeconds - 60;+ }++ var next = 0, extraDays = 0;+ while (next < days.length) {+ final sorted = newestFirst();+ final full = sorted.length >= want;+ if (full && (extraDays >= 2 || !sorted.take(want).any(cutAtMidnight))) break;+ if (full) extraDays++;+ final batch = days.sublist(next, math.min(next + (full ? 1 : 4), days.length));+ next += batch.length;+ for (final day in await Future.wait(batch.map(_activityDay))) {+ for (final s in (day['sessions'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>()) {+ final prev = merged[s['id']];+ if (prev == null) {+ merged[s['id']] = Map.of(s);+ } else {+ prev['durationOnDaySeconds'] =+ ((prev['durationOnDaySeconds'] as num?) ?? 0) + ((s['durationOnDaySeconds'] as num?) ?? 0);+ }+ }+ }+ }+ final items = stats['items'] as Map<String, dynamic>? ?? const {};+ final devices = await _sessionDevices();+ final sessions = [+ for (final s in newestFirst().skip(page * perPage).take(perPage)) _activitySession(s, items, devices),+ ];+ return {+ 'sessions': sessions,+ 'page': page,+ 'itemsPerPage': perPage,+ };+ }++ @override+ Future<List<Map<String, dynamic>>?> getListeningSessionsForDay(DateTime day) async {+ try {+ final key = _dayKey(day);+ final res = await _activityDay(key);+ Map<String, dynamic> items = const {};+ try {+ items = (await _cached('listening-stats', const Duration(minutes: 5), _listeningStats))['items']+ as Map<String, dynamic>? ??+ const {};+ } catch (_) {}+ final devices = await _sessionDevices();+ return [+ for (final s in (res['sessions'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>())+ {..._activitySession(s, items, devices), 'date': key},+ ]..sort((a, b) => ((b['updatedAt'] as num?) ?? 0).compareTo((a['updatedAt'] as num?) ?? 0));+ } catch (e) {+ debugPrint('[BookOrbit] Sessions for $day failed: $e');+ return null;+ }+ }++ /// BookOrbit merges settings, so only the zone is sent. It redoes the+ /// account's past days in the new zone on its own, which can take a while+ /// on a long history.+ @override+ Future<bool> setAccountTimeZone(String zone) async {+ try {+ await _boPatch('/users/me/settings', {+ 'settings': {'timezone': zone},+ });+ _forgetListeningStats();+ return true;+ } catch (e) {+ debugPrint('[BookOrbit] Setting the time zone to $zone failed: $e');+ return false;+ }+ }++ /// The account's own settings, as /auth/me returns them.+ Future<Map<String, dynamic>> _mySettings({bool fresh = false}) async {+ if (fresh) _recent.remove(_key('auth-me'));+ final me = await _cached('auth-me', const Duration(seconds: 30),+ () async => await _boGet('/auth/me') as Map<String, dynamic>);+ final settings = me['settings'];+ return settings is Map ? Map<String, dynamic>.from(settings) : <String, dynamic>{};+ }++ @override+ Future<bool> hasServerNotifications() async =>+ await _can('notification_access') && !_hasPermission('demo_restricted');++ @override+ Future<({List<ServerNotification> items, int total})?> serverNotifications({int limit = 20, int offset = 0}) async {+ try {+ final res = await _boGet('/notifications', {'limit': '$limit', 'offset': '$offset'}) as Map<String, dynamic>;+ return (+ items: [+ for (final raw in (res['items'] as List? ?? const []))+ if (ServerNotification.fromJson(raw) case final n?) n,+ ],+ total: (res['total'] as num?)?.toInt() ?? 0,+ );+ } catch (e) {+ debugPrint('[BookOrbit] Notifications failed: $e');+ return null;+ }+ }++ @override+ Future<int?> unreadNotificationCount() async {+ try {+ return ((await _boGet('/notifications/unread-count') as Map)['count'] as num?)?.toInt();+ } catch (e) {+ debugPrint('[BookOrbit] Unread notification count failed: $e');+ return null;+ }+ }++ Future<bool> _notificationCall(String what, Future<void> Function() call) async {+ try {+ await call();+ return true;+ } catch (e) {+ debugPrint('[BookOrbit] $what failed: $e');+ return false;+ }+ }++ @override+ Future<bool> markNotificationRead(int id) =>+ _notificationCall('Marking notification $id read', () => _boPatch('/notifications/$id/read', const {}));++ @override+ Future<bool> markAllNotificationsRead() =>+ _notificationCall('Marking all notifications read', () => _boPatch('/notifications/read-all', const {}));++ @override+ Future<bool> dismissNotification(int id) =>+ _notificationCall('Dismissing notification $id', () => _boDelete('/notifications/$id'));++ @override+ Future<bool> clearNotifications() =>+ _notificationCall('Clearing notifications', () => _boDelete('/notifications'));++ @override+ Future<Map<String, String>?> notificationLevels() async {+ try {+ final stored = (await _mySettings(fresh: true))['notificationPreferences'];+ return {+ for (final category in notificationCategoryGroups.values.expand((c) => c))+ category: resolveNotificationLevel(stored is Map ? stored[category] : null),+ };+ } catch (e) {+ debugPrint('[BookOrbit] Notification settings failed: $e');+ return null;+ }+ }++ @override+ Future<bool> setNotificationLevels(Map<String, String> levels) async {+ try {+ final stored = (await _mySettings(fresh: true))['notificationPreferences'];+ await _boPatch('/users/me/settings', {+ 'settings': {+ 'notificationPreferences': {+ if (stored is Map) ...stored,+ ...levels,+ },+ },+ });+ _recent.remove(_key('auth-me'));+ return true;+ } catch (e) {+ debugPrint('[BookOrbit] Saving notification settings failed: $e');+ return false;+ }+ }++ @override+ Future<bool?> achievementsEnabled() async {+ try {+ final prefs = (await _mySettings(fresh: true))['achievementPreferences'];+ return !(prefs is Map && prefs['enabled'] == false);+ } catch (e) {+ debugPrint('[BookOrbit] Achievement setting failed: $e');+ return null;+ }+ }++ @override+ Future<bool> setAchievementsEnabled(bool enabled) async {+ try {+ await _boPatch('/users/me/settings', {+ 'settings': {+ 'achievementPreferences': {'enabled': enabled},+ },+ });+ _recent.remove(_key('auth-me'));+ _recent.remove(_key('achievements'));+ return true;+ } catch (e) {+ debugPrint('[BookOrbit] Turning achievements ${enabled ? 'on' : 'off'} failed: $e');+ return false;+ }+ }++ @override+ Future<AchievementCatalogue?> achievements({bool fresh = false}) async {+ try {+ // Someone who switched achievements off in BookOrbit doesn't see them+ // there either.+ final prefs = (await _mySettings(fresh: fresh))['achievementPreferences'];+ if (prefs is Map && prefs['enabled'] == false) return null;+ if (fresh) _recent.remove(_key('achievements'));+ return await _cached('achievements', const Duration(minutes: 5), () async =>+ AchievementCatalogue.fromJson(await _boGet('/achievements', null, const Duration(seconds: 30)) as Map<String, dynamic>));+ } catch (e) {+ debugPrint('[BookOrbit] Achievements failed: $e');+ return null;+ }+ }++ @override+ Future<List<AchievementHint>> achievementHints() async {+ try {+ final res = await _boGet('/achievements/hints', null, const Duration(seconds: 30)) as Map<String, dynamic>;+ return [+ for (final raw in (res['hints'] as List? ?? const []))+ if (AchievementHint.fromJson(raw) case final h?) h,+ ];+ } catch (e) {+ debugPrint('[BookOrbit] Achievement hints failed: $e');+ return const [];+ }+ }++ /// Year in Review from that year's activity calendar and finished books.+ /// BookOrbit keeps no per-book totals by year, so the books listened, top+ /// authors and narrator are left out.+ Future<Map<String, dynamic>> _yearStats(int year) async {+ final now = DateTime.now();+ final Map<String, dynamic> cal;+ try {+ cal = await _boGet('/user-statistics/activity-calendar/$year', null, const Duration(seconds: 30))+ as Map<String, dynamic>;+ } on _BoHttpError catch (e) {+ // Asked for a year before the first one with any activity.+ if (e.status == 400) return const {};+ rethrow;+ }+ num listen = 0, read = 0, sessions = 0;+ var activeDays = 0;+ final byMonth = List<num>.filled(12, 0);+ for (final d in (cal['days'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>()) {+ final l = (d['listeningSeconds'] as num?) ?? 0;+ final r = (d['readingSeconds'] as num?) ?? 0;+ listen += l;+ read += r;+ sessions += (d['sessionsCount'] as num?) ?? 0;+ if (l + r > 0) activeDays++;+ final month = DateTime.tryParse(d['day'] as String? ?? '')?.month;+ if (month != null) byMonth[month - 1] += l + r;+ }+ var finished = 0;+ try {+ final days = (now.difference(DateTime(year)).inDays + 1).clamp(1, 3650);+ final months = await _boGet('/user-statistics/completion-timeline', {'days': days}) as List<dynamic>;+ for (final m in months.whereType<Map>()) {+ if (m['year'] == year) finished += ((m['count'] as num?) ?? 0).toInt();+ }+ } catch (e) {+ debugPrint('[BookOrbit] Finished books for $year failed: $e');+ }+ var topMonth = -1;+ for (var i = 0; i < 12; i++) {+ if (byMonth[i] > 0 && (topMonth < 0 || byMonth[i] > byMonth[topMonth])) topMonth = i;+ }+ return {+ 'totalListeningTime': listen,+ 'bookOrbitReadingTime': read,+ 'bookOrbitActiveDays': activeDays,+ 'totalListeningSessions': sessions,+ 'numBooksFinished': finished,+ if (topMonth >= 0) 'mostListenedMonth': {'month': topMonth},};}+ /// One page of a book's reading log, the way BookOrbit's Reading Log tab+ /// reads it: every kind of session (reading, listening, any device) plus a+ /// `stats` summary of all of them under the same filters.+ Future<Map<String, dynamic>> readingLog(+ String bookId, {+ int page = 1,+ int pageSize = 25,+ String sortBy = 'startedAt',+ bool descending = true,+ DateTime? from,+ String? format,+ }) async =>+ await _boGet('/books/$bookId/sessions', {+ 'page': page,+ 'pageSize': pageSize,+ 'sortBy': sortBy,+ 'sortDir': descending ? 'desc' : 'asc',+ if (from != null) 'dateFrom': _iso(from),+ if (format != null) 'format': format,+ }) as Map<String, dynamic>;++ Future<List<Map<String, dynamic>>> readingAttempts(String bookId) async {+ final res = await _boGet('/books/$bookId/reading-attempts', {'page': 1, 'pageSize': 50}) as Map<String, dynamic>;+ return (res['items'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>().toList();+ }+Future<Map<String, dynamic>> _itemListeningSessions(String bookId, Map<String, String> q) async {final perPage = (int.tryParse(q['itemsPerPage'] ?? '') ?? 100).clamp(1, 100);final page = int.tryParse(q['page'] ?? '') ?? 0;@@ -4562,7 +5694,18 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {try {manifest = await _manifest(bookId);} catch (_) {}- final bookSeconds = manifest == null ? 0.0 : BookOrbitMapper.totalSeconds(manifest);+ // A narrated EPUB with no audiobook: reading and listening both happen in+ // the one file, so every session on it is this book's, timed against the+ // narration.+ Map? narration;+ if (manifest == null) {+ try {+ narration = (BookOrbitMapper.item(detail: await _detail(bookId))['media'] as Map)['narration'] as Map?;+ } catch (_) {}+ }+ final bookSeconds = manifest != null+ ? BookOrbitMapper.totalSeconds(manifest)+ : ((narration?['duration'] as num?)?.toDouble() ?? 0.0);// Session rows carry the book's own title and author, as Audiobookshelf's do.final book = manifest?['book'] as Map?;var title = book?['title'] as String?;@@ -4577,15 +5720,16 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {.join(', ');} catch (_) {}}- var mine = <String, dynamic>{};- try {- final raw = (await SharedPreferences.getInstance()).getString(_sessionDevicesKey);- if (raw != null) mine = jsonDecode(raw) as Map<String, dynamic>;- } catch (_) {}+ final mine = await _sessionDevices();final sessions = (res['items'] as List<dynamic>? ?? const []).whereType<Map<String, dynamic>>()- // Reading the ebook of the same book is not listening.- .where((s) => s['format'] == null || BookOrbitMapper.isAudioFormat(s['format'] as String?))+ // Reading the ebook of the same book is not listening, unless the+ // ebook is what reads it aloud.+ .where((s) =>+ narration != null ||+ s['format'] == null ||+ s['sessionType'] == 'listen' ||+ BookOrbitMapper.isAudioFormat(s['format'] as String?)).map((s) {final started = DateTime.tryParse(s['startedAt'] as String? ?? '')?.toLocal();final endPct = (s['endProgress'] as num?)?.toDouble();@@ -4594,7 +5738,7 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {final startAt = endAt != null && deltaPct != null? ((endPct! - deltaPct) / 100 * bookSeconds).clamp(0.0, bookSeconds): endAt;- final ownDevice = mine['$bookId@${s['startedAt']}'] as String?;+ final ownDevice = mine['$bookId@${s['startedAt']}'];return {'id': 'bo-session-${s['id']}','libraryItemId': bookId,@@ -4609,12 +5753,13 @@ class BookOrbitApiService extends ApiService implements BookOrbitTokenSource {if (endAt != null) 'currentTime': endAt,'startedAt': BookOrbitMapper.ms(s['startedAt']),'updatedAt': BookOrbitMapper.ms(s['endedAt']),+ 'boEndedAt': BookOrbitMapper.ms(s['endedAt']),+ 'boSeconds': s['durationSeconds'] ?? 0,+ 'boFileId': s['bookFileId'],'date': started == null? null: '${started.year}-${started.month.toString().padLeft(2, '0')}-${started.day.toString().padLeft(2, '0')}',- 'deviceInfo': ownDevice != null- ? {'clientName': 'Absorb', 'deviceName': ownDevice}- : {'clientName': _sourceLabel(s['source'])},+ 'deviceInfo': ownDevice ?? {'clientName': _sourceLabel(s['source'])},'mediaPlayer': s['source'] ?? 'web',};}).toList();diff --git a/lib/services/bookorbit_mapper.dart b/lib/services/bookorbit_mapper.dartindex bf65ff8f..edbba080 100644--- a/lib/services/bookorbit_mapper.dart+++ b/lib/services/bookorbit_mapper.dart@@ -119,6 +119,7 @@ class BookOrbitMapper {'name': u['name'],'isSuperuser': superuser,'permissions': perms,+ 'provisioningMethod': u['provisioningMethod'],'timezone': (u['settings'] as Map?)?['timezone'],},};@@ -336,6 +337,8 @@ class BookOrbitMapper {: {'ino': _str(ebook['id']),'ebookFormat': ebookFormat,+ if ((ebook['fileHash'] ?? ebook['contentVersion']) != null)+ 'version': '${ebook['fileHash'] ?? ebook['contentVersion']}','metadata': {'filename': ebook['filename'] ?? 'book.$ebookFormat','ext': '.$ebookFormat',@@ -369,12 +372,14 @@ class BookOrbitMapper {'bookOrbit': {'coverVersion': src['coverVersion'],'audioCover': _hasAudio(files),+ if (_hasReadAlong(files)) 'readAlong': true,'readStatus': src['readStatus'],'readingProgress': src['readingProgress'],if (detail != null) ...{'personalNote': detail['personalNote'],'communityRatings': detail['communityRatings'] ?? const [],'providerIds': detail['providerIds'] ?? const {},+ 'files': [for (final f in files) _fileInfo(f)],},},};@@ -638,6 +643,26 @@ class BookOrbitMapper {static bool _hasAudio(List<Map<String, dynamic>> files) =>files.where(_isContent).any((f) => isAudioFormat(_format(f)));+ /// An EPUB that reads itself aloud, which BookOrbit's covers mark with+ /// headphones. Its length can still be unknown.+ static bool _hasReadAlong(List<Map<String, dynamic>> files) => files.where(_isContent).any(+ (f) => _format(f) == 'epub' && (f['mediaOverlay'] as Map?)?['available'] == true);++ /// One of a book's files as the file info sheet shows it.+ static Map<String, dynamic> _fileInfo(Map<String, dynamic> f) {+ final path = f['absolutePath'] as String?;+ return {+ 'id': _str(f['id']),+ 'filename': f['filename'] ?? path?.split(RegExp(r'[\\/]')).last,+ 'format': _format(f),+ 'role': f['role'],+ 'size': f['sizeBytes'],+ 'duration': f['durationSeconds'],+ 'path': path,+ 'readAlong': _format(f) == 'epub' && (f['mediaOverlay'] as Map?)?['available'] == true,+ };+ }+/// An EPUB carrying its own narration (EPUB 3 media overlays) of a known/// length, or null.static Map<String, dynamic>? narratedEpub(List<Map<String, dynamic>> contentFiles) {diff --git a/lib/services/bookorbit_notification_socket.dart b/lib/services/bookorbit_notification_socket.dartnew file mode 100644index 00000000..b963b126--- /dev/null+++ b/lib/services/bookorbit_notification_socket.dart@@ -0,0 +1,148 @@+import 'dart:async';++import 'package:flutter/foundation.dart';+import 'package:socket_io_client/socket_io_client.dart' as io;++import 'api_service.dart';+import 'server_notifications.dart';++/// BookOrbit's live notification feed, its `/notifications` socket. It runs+/// on the same terms as the Audiobookshelf socket: only while the app is in+/// front and awake, so new notifications show at once and the unread count+/// stays current without costing battery in the background.+///+/// BookOrbit only creates the notifications a user's category settings let+/// through, so whatever arrives here is already one they asked for.+class BookOrbitNotificationSocket {+ BookOrbitNotificationSocket._();+ static final instance = BookOrbitNotificationSocket._();++ /// The unread count BookOrbit last gave, and for which account.+ final unread = ValueNotifier<({ApiService api, int count})?>(null);++ final _incoming = StreamController<ServerNotification>.broadcast();+ final _updated = StreamController<ServerNotification>.broadcast();++ /// Notifications as BookOrbit creates them.+ Stream<ServerNotification> get incoming => _incoming.stream;++ /// A notification that happened again and was folded into its row.+ Stream<ServerNotification> get updated => _updated.stream;++ io.Socket? _socket;+ ApiService? _api;+ int _generation = 0;+ int _authRetries = 0;+ Timer? _retry;++ bool get isConnected => _socket?.connected ?? false;++ /// The live count for [api], or null when the feed isn't for that account.+ int? unreadFor(ApiService? api) {+ final u = unread.value;+ return u != null && identical(u.api, api) ? u.count : null;+ }++ static ({String origin, String path}) target(String serverUrl) {+ final uri = Uri.parse(serverUrl.trim());+ final base = uri.path.replaceFirst(RegExp(r'/+$'), '');+ return (origin: '${uri.scheme}://${uri.authority}', path: '$base/socket.io');+ }++ Future<void> start(ApiService api) async {+ if (identical(api, _api)) return;+ stop();+ if (!api.isBookOrbit) return;+ _api = api;+ final gen = ++_generation;+ if (!await api.hasServerNotifications() || gen != _generation) return;++ final t = target(api.baseUrl);+ final builder = io.OptionBuilder()+ .setTransports(['websocket'])+ .setPath(t.path)+ .enableForceNew()+ .disableAutoConnect()+ .enableReconnection()+ .setReconnectionDelay(1000)+ .setReconnectionDelayMax(30000)+ .setReconnectionAttempts(5)+ // Asked on every handshake, so a reconnect after the 15 minute access+ // token ran out signs in with a fresh one.+ .setAuthFn((send) {+ api.freshAccessToken().then((token) => send({'token': token}), onError: (_) => send({'token': ''}));+ });+ if (api.customHeaders.isNotEmpty) builder.setExtraHeaders(api.customHeaders);+ final socket = io.io('${t.origin}/notifications', builder.build());+ _socket = socket;++ socket.onConnect((_) {+ _authRetries = 0;+ debugPrint('[BookOrbit] Notification feed connected');+ });+ socket.on('notification:unread-count', (data) {+ final count = data is Map ? (data['count'] as num?)?.toInt() : null;+ if (count != null && gen == _generation) unread.value = (api: api, count: count);+ });+ socket.on('notification:new', (data) {+ final n = ServerNotification.fromJson(data);+ if (n == null || gen != _generation) return;+ unread.value = (api: api, count: (unreadFor(api) ?? 0) + 1);+ _incoming.add(n);+ });+ socket.on('notification:updated', (data) {+ final n = ServerNotification.fromJson(data);+ if (n != null && gen == _generation) _updated.add(n);+ });+ // Reads, dismissals and clears come with no count, from this phone or+ // another device, so ask for it.+ for (final event in const [+ 'notification:read',+ 'notification:dismissed',+ 'notification:all-read',+ 'notification:cleared',+ 'notification:refresh',+ ]) {+ socket.on(event, (_) => _recount(api, gen));+ }+ // A refused token: the server says so before it closes the socket, and+ // won't take the socket back by itself.+ socket.on('unauthorized', (_) {+ if (gen != _generation || _authRetries >= 3) return;+ final delay = Duration(seconds: 2 << _authRetries);+ _authRetries++;+ _retry?.cancel();+ _retry = Timer(delay, () {+ if (gen == _generation) socket.connect();+ });+ });+ socket.connect();+ }++ Future<void> _recount(ApiService api, int gen) async {+ final count = await api.unreadNotificationCount();+ if (count != null && gen == _generation) unread.value = (api: api, count: count);+ }++ /// Close the feed. The last count stays for the screens to show.+ void stop() {+ _generation++;+ _api = null;+ _retry?.cancel();+ _retry = null;+ _authRetries = 0;+ final socket = _socket;+ _socket = null;+ if (socket != null) {+ socket.clearListeners();+ socket.dispose();+ debugPrint('[BookOrbit] Notification feed closed');+ }+ }++ @visibleForTesting+ void debugEmit(String event, Object? data) => _socket?.emitReserved(event, data);++ @visibleForTesting+ void debugArrive(ServerNotification n) => _incoming.add(n);+}diff --git a/lib/services/device_time_zone.dart b/lib/services/device_time_zone.dartnew file mode 100644index 00000000..e4c1244e--- /dev/null+++ b/lib/services/device_time_zone.dart@@ -0,0 +1,25 @@+import 'package:flutter/services.dart';++/// The phone's time zone as the platform names it (America/Chicago).+class DeviceTimeZone {+ DeviceTimeZone._();++ static const _channel = MethodChannel('com.absorb.time_zone');++ /// The phone's zone, and whether [other] is a different distance from UTC+ /// right now: two names for the same zone, or two zones that agree today,+ /// split days the same way. A name the phone doesn't know counts as+ /// different. Null where the platform can't say.+ static Future<({String id, bool differs})?> compare(String other) async {+ try {+ final r = await _channel.invokeMapMethod<String, dynamic>('compare', {'other': other});+ final id = r?['id'] as String?;+ final here = r?['offsetSeconds'] as int?;+ if (id == null || id.isEmpty || here == null) return null;+ final there = r?['otherOffsetSeconds'] as int?;+ return (id: id, differs: there != here);+ } catch (_) {+ return null;+ }+ }+}diff --git a/lib/services/server_notifications.dart b/lib/services/server_notifications.dartnew file mode 100644index 00000000..61ae21f4--- /dev/null+++ b/lib/services/server_notifications.dart@@ -0,0 +1,171 @@+/// BookOrbit notifications: the rows its bell lists for the signed-in user,+/// and the categories its notification settings switch. Follows BookOrbit's+/// shared types (packages/types/src/notification.ts).+library;++enum NotificationSeverity { success, warning, error }++const _s = NotificationSeverity.success;+const _w = NotificationSeverity.warning;+const _e = NotificationSeverity.error;++/// Each type's category and how it went, as BookOrbit defines them.+const Map<String, (String, NotificationSeverity)> _typeMeta = {+ 'scan_completed': ('scanning', _s),+ 'scan_failed': ('scanning', _e),+ 'books_unavailable': ('scanning', _w),+ 'books_restored': ('scanning', _s),+ 'metadata_fetch_completed': ('metadata', _s),+ 'metadata_fetch_failed': ('metadata', _w),+ 'book_dock_finalized': ('bookDock', _s),+ 'book_dock_finalized_with_errors': ('bookDock', _w),+ 'book_request_submitted': ('bookRequests', _s),+ 'book_request_approved': ('bookRequests', _s),+ 'book_request_rejected': ('bookRequests', _w),+ 'book_request_available': ('bookRequests', _s),+ 'book_request_needs_review': ('bookRequests', _w),+ 'book_request_needs_release': ('bookRequests', _w),+ 'book_request_failed': ('bookRequests', _e),+ 'author_enrichment_completed': ('authorEnrichment', _s),+ 'author_enrichment_failed': ('authorEnrichment', _w),+ 'email_sent': ('email', _s),+ 'email_failed': ('email', _e),+ 'migration_completed': ('migration', _s),+ 'migration_failed': ('migration', _e),+ 'file_write_back_completed': ('fileWriteBack', _s),+ 'file_write_back_failed': ('fileWriteBack', _e),+ 'file_rename_completed': ('fileRename', _s),+ 'file_rename_failed': ('fileRename', _e),+ 'bulk_rename_completed': ('bulkRename', _s),+ 'bulk_rename_failed': ('bulkRename', _w),+ 'achievement_unlocked': ('achievements', _s),+ 'podcast_episode_published': ('podcasts', _s),+ 'podcast_feed_unhealthy': ('podcasts', _w),+ 'podcast_download_failed': ('podcasts', _e),+};++/// The categories a user can switch, in BookOrbit's groups. Podcasts are+/// left out the way BookOrbit leaves them out while its podcasts are off.+const notificationCategoryGroups = <String, List<String>>{+ 'library': ['scanning', 'metadata', 'authorEnrichment'],+ 'files': ['fileWriteBack', 'fileRename', 'bulkRename', 'migration'],+ 'integrations': ['bookDock', 'bookRequests', 'email'],+ 'personal': ['achievements'],+};++const notificationLevelOff = 'off';+const notificationLevelProblems = 'problems';+const notificationLevelAll = 'all';++/// A category whose types all succeed can only be off or on: "problems"+/// would mean the same as off there.+bool notificationCategoryHasProblems(String category) => _typeMeta.values+ .any((m) => m.$1 == category && m.$2 != NotificationSeverity.success);++/// A stored level. Older accounts keep true or false.+String resolveNotificationLevel(Object? raw) {+ if (raw == false) return notificationLevelOff;+ if (raw == notificationLevelOff || raw == notificationLevelProblems || raw == notificationLevelAll) {+ return raw as String;+ }+ return notificationLevelAll;+}++/// Where a notification's link goes, among the places Absorb can open.+enum NotificationLinkKind { book, requests, achievements }++class NotificationLink {+ final NotificationLinkKind kind;+ final String? bookId;+ const NotificationLink(this.kind, [this.bookId]);++ static NotificationLink? parse(String? url) {+ if (url == null || url.isEmpty) return null;+ final uri = Uri.tryParse(url);+ if (uri == null) return null;+ final parts = uri.pathSegments.where((p) => p.isNotEmpty).toList();+ if (parts.isEmpty) return null;+ if (parts[0] == 'book' && parts.length > 1 && int.tryParse(parts[1]) != null) {+ return NotificationLink(NotificationLinkKind.book, parts[1]);+ }+ if (parts[0] == 'requests') return const NotificationLink(NotificationLinkKind.requests);+ if (parts[0] == 'statistics' && uri.queryParameters['tab'] == 'achievements') {+ return const NotificationLink(NotificationLinkKind.achievements);+ }+ return null;+ }+}++class ServerNotification {+ final int id;+ final String type;+ final String title;+ final String? message;+ final String? actionUrl;+ final Map<String, dynamic> meta;+ final bool read;++ /// How many times it happened, collapsed into this one row.+ final int count;+ final DateTime? createdAt;+ final DateTime? updatedAt;++ const ServerNotification({+ required this.id,+ required this.type,+ required this.title,+ this.message,+ this.actionUrl,+ this.meta = const {},+ this.read = false,+ this.count = 1,+ this.createdAt,+ this.updatedAt,+ });++ NotificationSeverity get severity =>+ _typeMeta[type]?.$2 ??+ (type.endsWith('_failed') ? NotificationSeverity.error : NotificationSeverity.success);++ String? get category => _typeMeta[type]?.$1;++ NotificationLink? get link =>+ NotificationLink.parse(actionUrl) ??+ (type == 'achievement_unlocked' ? const NotificationLink(NotificationLinkKind.achievements) : null);++ /// The time it last happened.+ DateTime? get when => updatedAt ?? createdAt;++ ServerNotification copyWith({bool? read}) => ServerNotification(+ id: id,+ type: type,+ title: title,+ message: message,+ actionUrl: actionUrl,+ meta: meta,+ read: read ?? this.read,+ count: count,+ createdAt: createdAt,+ updatedAt: updatedAt,+ );++ static ServerNotification? fromJson(Object? raw) {+ if (raw is! Map) return null;+ final id = (raw['id'] as num?)?.toInt();+ if (id == null) return null;+ final message = raw['message'];+ final url = raw['actionUrl'];+ return ServerNotification(+ id: id,+ type: '${raw['type'] ?? ''}',+ title: '${raw['title'] ?? ''}',+ message: message is String && message.trim().isNotEmpty ? message : null,+ actionUrl: url is String && url.isNotEmpty ? url : null,+ meta: raw['meta'] is Map ? Map<String, dynamic>.from(raw['meta'] as Map) : const {},+ read: raw['read'] == true,+ count: (raw['count'] as num?)?.toInt() ?? 1,+ createdAt: DateTime.tryParse('${raw['createdAt'] ?? ''}')?.toLocal(),+ updatedAt: DateTime.tryParse('${raw['updatedAt'] ?? ''}')?.toLocal(),+ );+ }+}diff --git a/lib/services/setup_link_service.dart b/lib/services/setup_link_service.dartindex 4b8fa7fd..cd118068 100644--- a/lib/services/setup_link_service.dart+++ b/lib/services/setup_link_service.dart@@ -5,7 +5,13 @@ import '../utils/server_url.dart';class SetupLinkData {final String serverUrl;final String username;- final String apiKey;++ /// Signs straight in. Null on a BookOrbit password link.+ final String? apiKey;++ /// A BookOrbit password link's token: the person picks their own password+ /// with it, then signs in with that.+ final String? passwordToken;final String? userId;final Map<String, String> customHeaders;@@ -15,7 +21,10 @@ class SetupLinkData {required this.apiKey,required this.userId,required this.customHeaders,+ this.passwordToken,});++ bool get setsPassword => passwordToken != null;}class SetupLinkException implements Exception {@@ -42,6 +51,30 @@ class SetupLinkService {return Uri(scheme: scheme, host: host, pathSegments: [encoded]);}+ /// A link that lets someone pick the password for a new or reset+ /// BookOrbit account, then signs them in. [token] is the one in the+ /// server's password link, so it works for as long as that link does.+ static Uri createBookOrbitPasswordLink({+ required String serverUrl,+ required String username,+ required String token,+ Map<String, String> customHeaders = const {},+ }) =>+ createLink({+ 'version': 3,+ 'setup': true,+ 'createdAt': DateTime.now().toUtc().toIso8601String(),+ 'accounts': [+ {+ 'serverUrl': serverUrl,+ 'username': username,+ 'backend': 'bookorbit',+ 'passwordToken': token,+ },+ ],+ if (customHeaders.isNotEmpty) 'customHeaders': customHeaders,+ });+// A line break in a header would let a link smuggle extra headers or a// second request line into every call to the server.static final _headerName = RegExp(r"^[!#$%&'*+.^_`|~0-9A-Za-z-]{1,128}$");@@ -86,12 +119,14 @@ class SetupLinkService {final account = Map<String, dynamic>.from(accounts.single as Map);final rawServerUrl = account['serverUrl'];final username = account['username'];- final apiKey = account['token'];+ final passwordToken = account['backend'] == 'bookorbit' ? account['passwordToken'] : null;+ final apiKey = passwordToken is String ? '' : account['token'];final userId = account['userId'];if (rawServerUrl is! String ||username is! String ||apiKey is! String ||+ (passwordToken != null && passwordToken is! String) ||(userId != null && userId is! String)) {throw const SetupLinkException('Setup account fields are invalid');}@@ -103,7 +138,7 @@ class SetupLinkService {!parsedServerUrl.hasAuthority ||!{'http', 'https'}.contains(parsedServerUrl.scheme.toLowerCase()) ||username.trim().isEmpty ||- apiKey.trim().isEmpty) {+ (passwordToken is String ? passwordToken.trim().isEmpty : apiKey.trim().isEmpty)) {throw const SetupLinkException('Setup account is incomplete');}@@ -128,7 +163,8 @@ class SetupLinkService {return SetupLinkData(serverUrl: serverUrl,username: username.trim(),- apiKey: apiKey,+ apiKey: passwordToken is String ? null : apiKey,+ passwordToken: passwordToken as String?,userId: userId as String?,customHeaders: Map.unmodifiable(headers),);diff --git a/lib/services/user_account_service.dart b/lib/services/user_account_service.dartindex 9afaff3e..037bf0ec 100644--- a/lib/services/user_account_service.dart+++ b/lib/services/user_account_service.dart@@ -94,6 +94,10 @@ class UserAccountService {/// being recorded for the old one is saved under it first.static Future<void> Function(SavedAccount next)? beforeAccountChange;+ /// Told when an account's address changes, for data kept outside its+ /// scope that names the scope (which account each download came from).+ static Future<void> Function(String from, String to)? onScopeMoved;+List<SavedAccount> _accounts = [];String? _activeScopeKey;@@ -210,6 +214,10 @@ class UserAccountService {(a) => a.serverUrl == serverUrl && a.username == username);if (idx >= 0) {final old = _accounts[idx];+ if (old.token == newToken &&+ (refreshToken == null || old.refreshToken == refreshToken)) {+ return;+ }_accounts[idx] = SavedAccount(serverUrl: old.serverUrl,username: old.username,@@ -384,6 +392,7 @@ class UserAccountService {final oldScope = old.scopeKey;final newScope = updated.scopeKey;await _migrateScopedData(oldScope, newScope);+ if (oldScope != newScope) await onScopeMoved?.call(oldScope, newScope);_accounts[idx] = updated;// If this was the active account, re-point the active scope so scopeddiff --git a/lib/utils/read_status.dart b/lib/utils/read_status.dartindex 0af8bf2c..7e2928cd 100644--- a/lib/utils/read_status.dart+++ b/lib/utils/read_status.dart@@ -1,3 +1,5 @@+import 'package:flutter/material.dart';+import '../l10n/app_localizations.dart';/// BookOrbit's reading statuses, in the server's order.@@ -22,3 +24,12 @@ String readStatusLabel(AppLocalizations l, String s) => switch (s) {'abandoned' => l.readStatusAbandoned,_ => l.readStatusUnread,};++IconData readStatusIcon(String s) => switch (s) {+ 'want_to_read' => Icons.bookmark_add_outlined,+ 'reading' || 'rereading' => Icons.auto_stories_outlined,+ 'on_hold' => Icons.pause_circle_outline_rounded,+ 'read' || 'skimmed' => Icons.check_circle_outline_rounded,+ 'abandoned' => Icons.do_not_disturb_on_outlined,+ _ => Icons.radio_button_unchecked_rounded,+ };diff --git a/lib/widgets/book_activity_card.dart b/lib/widgets/book_activity_card.dartnew file mode 100644index 00000000..e89f506b--- /dev/null+++ b/lib/widgets/book_activity_card.dart@@ -0,0 +1,307 @@+import 'dart:math' as math;++import 'package:flutter/material.dart';+import 'package:intl/intl.dart';++import '../l10n/app_localizations.dart';+import '../services/book_stats_service.dart';++/// "5h 3m", "25m", "<1m", the way BookOrbit's reading cards write a length.+String activityDuration(AppLocalizations l, double seconds) {+ if (seconds <= 0) return l.statsScreenDurationZero;+ if (seconds < 60) return l.statsScreenDurationLessThanMin;+ final minutes = (seconds / 60).round();+ final h = minutes ~/ 60;+ final m = minutes % 60;+ return h > 0 ? l.statsScreenDurationHm(h, m) : l.statsScreenDurationM(m);+}++String activityPercent(double p) {+ if (p > 0 && p < 1) return '<1%';+ if (p > 99 && p < 100) return '>99%';+ return '${p.clamp(0, 100).round()}%';+}++/// "5m ago" up to a month, then the date.+String activityAgo(BuildContext context, AppLocalizations l, int ms) {+ final d = DateTime.fromMillisecondsSinceEpoch(ms);+ final diff = DateTime.now().difference(d);+ if (diff.inHours < 1) return l.minutesAgo(math.max(1, diff.inMinutes));+ if (diff.inDays < 1) return l.hoursAgo(diff.inHours);+ if (diff.inDays < 30) return l.daysAgo(diff.inDays);+ final locale = Localizations.localeOf(context).toString();+ return d.year == DateTime.now().year ? DateFormat.MMMd(locale).format(d) : DateFormat.yMMMd(locale).format(d);+}++/// A book's activity at a glance, laid out like BookOrbit's "Your reading"+/// card: totals, a strip of the days it was read on, and the latest+/// sessions. Fed by [BookStatsService], which the detail sheet warms.+class BookActivityCard extends StatelessWidget {+ final String itemId;+ final bool bookOrbit;+ final Color accent;+ final VoidCallback onOpen;++ /// Every session, for a server without a reading log of its own.+ final VoidCallback? onAllSessions;++ /// The everyone view, for admins.+ final VoidCallback? onOthers;+ final String? me;++ const BookActivityCard({+ super.key,+ required this.itemId,+ required this.bookOrbit,+ required this.accent,+ required this.onOpen,+ this.onAllSessions,+ this.onOthers,+ this.me,+ });++ static const int _shown = 3;++ @override+ Widget build(BuildContext context) {+ final l = AppLocalizations.of(context)!;+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final stats = BookStatsService.instance.stats(itemId);+ return ListenableBuilder(+ listenable: stats,+ builder: (context, _) {+ final s = stats;+ final a = s.activity;+ final has = a != null && a.sessions > 0;+ final small = tt.labelSmall?.copyWith(+ fontSize: 10, letterSpacing: 1, fontWeight: FontWeight.w600, color: cs.onSurfaceVariant);+ String? when;+ if (a != null && !has) {+ when = l.activityNotStarted;+ } else if (has && a.lastAt != null) {+ final ago = activityAgo(context, l, a.lastAt!);+ when = bookOrbit ? l.activityLastRead(ago) : l.activityLastListened(ago);+ }+ final others = onOthers != null && s.isAdmin && (s.checkedAt != null || s.users.isNotEmpty);+ final scanning = onOthers != null && s.isAdmin && s.serverLoading && s.users.isEmpty && s.checkedAt == null;+ final more = onAllSessions != null && s.sessions.length > _shown;+ return Container(+ decoration: BoxDecoration(+ color: cs.onSurface.withValues(alpha: 0.04),+ borderRadius: BorderRadius.circular(16),+ border: Border.all(color: cs.onSurface.withValues(alpha: 0.08)),+ ),+ child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [+ InkWell(+ borderRadius: const BorderRadius.vertical(top: Radius.circular(16)),+ onTap: onOpen,+ child: Padding(+ padding: const EdgeInsets.fromLTRB(14, 12, 8, 8),+ child: Row(children: [+ Text((bookOrbit ? l.activityYourReading : l.activityYourListening).toUpperCase(), style: small),+ const SizedBox(width: 8),+ Expanded(+ child: Text(when ?? '',+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ textAlign: TextAlign.end,+ style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ Icon(Icons.chevron_right_rounded, size: 20, color: cs.onSurface.withValues(alpha: 0.4)),+ ]),+ ),+ ),+ if (a == null && s.loading && !s.failed)+ const Padding(+ padding: EdgeInsets.fromLTRB(14, 0, 14, 14),+ child: LinearProgressIndicator(minHeight: 2),+ )+ else if (a == null && s.failed)+ Padding(+ padding: const EdgeInsets.fromLTRB(14, 0, 14, 14),+ child: Text(l.statsCouldNotLoad, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ )+ else if (!has)+ Padding(+ padding: const EdgeInsets.fromLTRB(14, 0, 14, 14),+ child: Text(bookOrbit ? l.activityNoReading : l.detailSessionsNone,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ )+ else ...[+ Padding(+ padding: const EdgeInsets.fromLTRB(14, 0, 14, 0),+ child: Row(crossAxisAlignment: CrossAxisAlignment.start, children: [+ _stat(l.bookStatsSessions, '${a.sessions}', cs, tt),+ _stat(l.activityTime, activityDuration(l, a.seconds), cs, tt),+ _stat(l.activityAverage, activityDuration(l, a.avgSeconds), cs, tt),+ _stat(l.activityProgress, a.progress == null ? '-' : activityPercent(a.progress!), cs, tt),+ ]),+ ),+ Padding(+ padding: const EdgeInsets.fromLTRB(14, 10, 14, 4),+ child: ActivityDayStrip(minutesByDay: a.minutesByDay, color: accent),+ ),+ const SizedBox(height: 6),+ for (var i = 0; i < math.min(_shown, a.recent.length); i++) ...[+ Divider(height: 1, indent: 14, endIndent: 14, color: cs.onSurface.withValues(alpha: 0.08)),+ _row(context, l, cs, tt, a.recent[i]),+ ],+ if (more || others || scanning)+ Padding(+ padding: const EdgeInsets.fromLTRB(4, 2, 4, 4),+ child: Row(children: [+ if (scanning)+ Padding(+ padding: const EdgeInsets.all(10),+ child: SizedBox(+ width: 12,+ height: 12,+ child: CircularProgressIndicator(strokeWidth: 1.5, color: cs.onSurfaceVariant)),+ )+ else if (others)+ TextButton.icon(+ onPressed: onOthers,+ icon: Icon(Icons.group_outlined, size: 16, color: cs.onSurfaceVariant),+ label: Text(l.detailOtherListeners(s.othersCount(me)),+ style: tt.labelMedium?.copyWith(color: cs.onSurfaceVariant)),+ ),+ const Spacer(),+ if (more)+ TextButton(+ onPressed: onAllSessions,+ child: Text(l.detailSessionsAll(s.sessions.length),+ style: tt.labelMedium?.copyWith(color: accent, fontWeight: FontWeight.w600)),+ ),+ ]),+ )+ else+ const SizedBox(height: 6),+ ],+ ]),+ );+ },+ );+ }++ Widget _stat(String label, String value, ColorScheme cs, TextTheme tt) => Expanded(+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(label.toUpperCase(),+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: tt.labelSmall?.copyWith(+ fontSize: 9, letterSpacing: 0.8, fontWeight: FontWeight.w600, color: cs.onSurfaceVariant)),+ const SizedBox(height: 2),+ Text(value,+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w700, color: cs.onSurface)),+ ]),+ );++ Widget _row(BuildContext context, AppLocalizations l, ColorScheme cs, TextTheme tt, BookActivityRow r) {+ final muted = tt.labelSmall?.copyWith(color: cs.onSurfaceVariant);+ final reached = r.reading && !bookOrbit+ ? l.sessionReading+ : l.activityReached(r.reached == null ? '-' : activityPercent(r.reached!));+ return Padding(+ padding: const EdgeInsets.fromLTRB(14, 7, 14, 7),+ child: Row(children: [+ SizedBox(+ width: 88,+ child: Text(r.at == null ? '-' : activityAgo(context, l, r.at!),+ maxLines: 1, overflow: TextOverflow.ellipsis, style: muted),+ ),+ SizedBox(+ width: 56,+ child: Text(activityDuration(l, r.seconds),+ maxLines: 1, style: tt.labelSmall?.copyWith(fontWeight: FontWeight.w700, color: cs.onSurface)),+ ),+ Expanded(child: Text(reached, maxLines: 1, overflow: TextOverflow.ellipsis, style: muted)),+ if (r.format != null) FormatChip(format: r.format!),+ ]),+ );+ }+}++/// A file format as a small outlined tag ("M4B", "EPUB").+class FormatChip extends StatelessWidget {+ final String format;+ const FormatChip({super.key, required this.format});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final color = cs.onSurfaceVariant;+ return Container(+ padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 2),+ decoration: BoxDecoration(+ borderRadius: BorderRadius.circular(3),+ border: Border.all(color: color.withValues(alpha: 0.4)),+ color: color.withValues(alpha: 0.08),+ ),+ child: Text(format.toUpperCase(),+ style: TextStyle(fontSize: 9, height: 1, fontWeight: FontWeight.w700, letterSpacing: 0.6, color: color)),+ );+ }+}++/// One bar per day across the stretch the book was read over, a week at the+/// least and four at the most, ending on the last day with any time.+class ActivityDayStrip extends StatelessWidget {+ final Map<String, double> minutesByDay;+ final Color color;+ final double height;+ const ActivityDayStrip({super.key, required this.minutesByDay, required this.color, this.height = 28});++ static List<double> days(Map<String, double> minutesByDay) {+ final keys = minutesByDay.entries.where((e) => e.value > 0).map((e) => e.key).toList()..sort();+ if (keys.isEmpty) return const [];+ final first = DateTime.tryParse(keys.first);+ final last = DateTime.tryParse(keys.last);+ if (first == null || last == null) return const [];+ final span = DateTime.utc(last.year, last.month, last.day)+ .difference(DateTime.utc(first.year, first.month, first.day))+ .inDays ++ 1;+ final count = (span + 2).clamp(7, 28);+ return [+ for (var offset = count - 1; offset >= 0; offset--)+ minutesByDay[BookActivity.dayKey(DateTime.utc(last.year, last.month, last.day - offset))] ?? 0,+ ];+ }++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final list = days(minutesByDay);+ if (list.isEmpty) return const SizedBox.shrink();+ final peak = list.fold<double>(1, math.max);+ return SizedBox(+ height: height,+ child: Row(crossAxisAlignment: CrossAxisAlignment.stretch, children: [+ for (var i = 0; i < list.length; i++) ...[+ if (i > 0) const SizedBox(width: 3),+ Expanded(+ child: Container(+ decoration: BoxDecoration(+ color: cs.onSurface.withValues(alpha: 0.07),+ borderRadius: BorderRadius.circular(2),+ ),+ alignment: Alignment.bottomCenter,+ child: list[i] <= 0+ ? null+ : FractionallySizedBox(+ heightFactor: math.max(0.16, list[i] / peak),+ widthFactor: 1,+ child: Container(+ decoration: BoxDecoration(color: color, borderRadius: BorderRadius.circular(2)),+ ),+ ),+ ),+ ),+ ],+ ]),+ );+ }+}diff --git a/lib/widgets/book_detail_sheet.dart b/lib/widgets/book_detail_sheet.dartindex 30a69a2b..f712bad7 100644--- a/lib/widgets/book_detail_sheet.dart+++ b/lib/widgets/book_detail_sheet.dart@@ -29,6 +29,8 @@ import 'package:intl/intl.dart';import '../l10n/app_localizations.dart';import '../utils/read_status.dart';import 'book_stats_sheet.dart';+import 'book_activity_card.dart';+import '../screens/reading_log_screen.dart';import '../services/book_stats_service.dart';import '../services/wording.dart';import '../providers/auth_provider.dart';@@ -40,6 +42,7 @@ import '../services/bookmark_preview_player.dart';import '../services/bookmark_service.dart';import '../services/download_service.dart';import '../services/narrated_books.dart';+import 'book_files_sheet.dart';import '../services/transcription_service.dart';import '../services/ebook_cache.dart';import '../services/progress_sync_service.dart';@@ -328,8 +331,11 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {/// An Audiobookshelf EPUB that reads itself aloud plays from the phone, so/// until its narration is downloaded the Absorb button offers that instead.+ /// An Audiobookshelf narrated EPUB streams from the server, so only one+ /// that isn't on the phone while offline has to be downloaded first.bool _needsNarrationDownload(AuthProvider auth) =>!auth.isBookOrbit &&+ context.read<LibraryProvider>().isOffline &&(NarratedBooks.contains(widget.itemId) ||((_item?['media'] as Map?)?['narration'] as Map?)?['local'] == true) &&!NarrationService.instance.hasLocalAudio(widget.itemId);@@ -420,151 +426,27 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {.ensureLoaded(widget.itemId, api, isAdmin: auth.isAdmin));}- String _sessionDay(BuildContext context, int ms) {- final d = DateTime.fromMillisecondsSinceEpoch(ms);- final locale = Localizations.localeOf(context).toString();- return d.year == DateTime.now().year- ? DateFormat.MMMd(locale).format(d)- : DateFormat.yMMMd(locale).format(d);- }-- String _sessionWhen(BuildContext context, int ms) {- final d = DateTime.fromMillisecondsSinceEpoch(ms);- final locale = Localizations.localeOf(context).toString();- return '${_sessionDay(context, ms)}, ${DateFormat.jm(locale).format(d)}';- }-Widget _listeningStatsBlock(BuildContext context, ColorScheme cs, TextTheme tt, Color accent, String title) {- final l = AppLocalizations.of(context)!;- final me = context.read<AuthProvider>().username;- return ListenableBuilder(- listenable: BookStatsService.instance.stats(widget.itemId),- builder: (context, _) {- final s = BookStatsService.instance.stats(widget.itemId);- final sessions = s.sessions;- Widget stat(String label, String value) => Expanded(- child: Column(children: [- Text(value, maxLines: 1, overflow: TextOverflow.ellipsis,- style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w700, color: cs.onSurface)),- const SizedBox(height: 2),- Text(label, maxLines: 1, overflow: TextOverflow.ellipsis, textAlign: TextAlign.center,- style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant)),- ]),- );- return Container(- decoration: BoxDecoration(- color: cs.onSurface.withValues(alpha: 0.04),- borderRadius: BorderRadius.circular(16),- border: Border.all(color: cs.onSurface.withValues(alpha: 0.08)),- ),- child: Column(children: [- InkWell(- borderRadius: const BorderRadius.vertical(top: Radius.circular(16)),- onTap: () => showBookStatsSheet(context, itemId: widget.itemId, title: title),- child: Padding(- padding: const EdgeInsets.fromLTRB(14, 12, 10, 8),- child: Row(children: [- Icon(Icons.insights_rounded, size: 18, color: accent),- const SizedBox(width: 8),- Expanded(child: Text(l.bookStatsAction,- style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w600, color: cs.onSurface))),- // Admins: how many others are on this book. A spinner while- // the first scan for it is still running.- if (s.isAdmin && s.serverLoading && s.users.isEmpty && s.checkedAt == null)- Padding(- padding: const EdgeInsets.only(right: 6),- child: SizedBox(width: 12, height: 12,- child: CircularProgressIndicator(strokeWidth: 1.5, color: cs.onSurfaceVariant)),- )- else if (s.isAdmin && (s.checkedAt != null || s.users.isNotEmpty)) ...[- Text(l.detailOtherListeners(s.othersCount(me)),- style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant)),- const SizedBox(width: 4),- ],- Icon(Icons.chevron_right_rounded, size: 20, color: cs.onSurface.withValues(alpha: 0.4)),- ]),- ),- ),- if (s.loading && !s.failed)- const Padding(- padding: EdgeInsets.fromLTRB(14, 0, 14, 14),- child: LinearProgressIndicator(minHeight: 2),- )- else if (s.failed)- Padding(- padding: const EdgeInsets.fromLTRB(14, 0, 14, 14),- child: Text(l.statsCouldNotLoad, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),- )- else if (sessions.isEmpty && s.mySessions == 0)- Padding(- padding: const EdgeInsets.fromLTRB(14, 0, 14, 14),- child: Text(l.detailSessionsNone, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),- )- else ...[- Padding(- padding: const EdgeInsets.fromLTRB(8, 0, 8, 10),- child: Row(children: [- stat(l.bookStatsListened, formatHm(s.mySeconds)),- stat(l.bookStatsSessions, '${s.mySessions}'),- stat(l.bookStatsLast, s.myLast == null ? '-' : _sessionDay(context, s.myLast!)),- ]),+ final auth = context.read<AuthProvider>();+ final bookOrbit = auth.apiService?.isBookOrbit == true;+ return BookActivityCard(+ itemId: widget.itemId,+ bookOrbit: bookOrbit,+ accent: accent,+ me: auth.username,+ onOpen: () => bookOrbit+ ? Navigator.of(context, rootNavigator: true).push(MaterialPageRoute(+ builder: (_) => ReadingLogScreen(itemId: widget.itemId, title: title, item: _item, accent: accent)))+ : showBookStatsSheet(context, itemId: widget.itemId, title: title),+ onOthers: () => showBookStatsSheet(context, itemId: widget.itemId, title: title),+ onAllSessions: bookOrbit+ ? null+ : () => showPlaybackHistorySheet(+ context,+ itemId: widget.itemId,+ initialTab: PlaybackHistoryTab.sessions,+ accent: accent,),- if (sessions.isNotEmpty) ...[- Divider(height: 1, color: cs.onSurface.withValues(alpha: 0.08)),- for (final sess in sessions.take(5)) _sessionRow(context, cs, tt, sess),- ],- if (sessions.length > 5)- InkWell(- borderRadius: const BorderRadius.vertical(bottom: Radius.circular(16)),- onTap: () => showPlaybackHistorySheet(- context,- itemId: widget.itemId,- initialTab: PlaybackHistoryTab.sessions,- accent: accent,- ),- child: Padding(- padding: const EdgeInsets.symmetric(vertical: 10),- child: Center(child: Text(l.detailSessionsAll(sessions.length),- style: tt.labelMedium?.copyWith(color: accent, fontWeight: FontWeight.w600))),- ),- )- else- const SizedBox(height: 6),- ],- ]),- );- },- );- }- Widget _sessionRow(BuildContext context, ColorScheme cs, TextTheme tt, Map<String, dynamic> s) {- final at = (s['updatedAt'] as num?)?.toInt() ?? (s['startedAt'] as num?)?.toInt();- final listened = (s['timeListening'] as num?)?.toDouble() ?? 0;- final start = (s['startTime'] as num?)?.toDouble() ?? 0;- final end = (s['currentTime'] as num?)?.toDouble() ?? start;- final device = s['deviceInfo'] as Map<String, dynamic>?;- final place = (device?['deviceName'] as String?) ?? (device?['clientName'] as String?) ?? '';- final where = s['mediaPlayer'] == ApiService.readingMediaPlayer- ? [place, AppLocalizations.of(context)!.sessionReading].where((p) => p.isNotEmpty).join(' · ')- : place;- return Padding(- padding: const EdgeInsets.fromLTRB(14, 8, 14, 8),- child: Row(children: [- Expanded(- child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [- Text(at == null ? '-' : _sessionWhen(context, at),- style: tt.bodySmall?.copyWith(color: cs.onSurface.withValues(alpha: 0.8))),- const SizedBox(height: 2),- Text(- '${formatHm(start / _displaySpeed)} - ${formatHm(end / _displaySpeed)}'- '${where.isNotEmpty ? ' · $where' : ''}',- maxLines: 1, overflow: TextOverflow.ellipsis,- style: tt.labelSmall?.copyWith(color: cs.onSurface.withValues(alpha: 0.4)),- ),- ]),- ),- const SizedBox(width: 8),- Text(formatHm(listened), style: tt.labelMedium?.copyWith(fontWeight: FontWeight.w600, color: cs.onSurfaceVariant)),- ]),);}@@ -1716,14 +1598,7 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {static String _readStatusLabel(AppLocalizations l, String s) => readStatusLabel(l, s);- static IconData _readStatusIcon(String s) => switch (s) {- 'want_to_read' => Icons.bookmark_add_outlined,- 'reading' || 'rereading' => Icons.auto_stories_outlined,- 'on_hold' => Icons.pause_circle_outline_rounded,- 'read' || 'skimmed' => Icons.check_circle_outline_rounded,- 'abandoned' => Icons.do_not_disturb_on_outlined,- _ => Icons.radio_button_unchecked_rounded,- };+ static IconData _readStatusIcon(String s) => readStatusIcon(s);// Unread and Read stay with the finish button: a hand-set Unread would// keep BookOrbit from ever moving the book back to Reading.@@ -1969,7 +1844,7 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {final currentTime = (progressData?['currentTime'] as num?)?.toDouble() ?? 0;// Continue-shelf actions (mirror the detail sheet's more menu).- final inContinueListening = lib.isInContinueListeningShelf(widget.itemId);+ final continueShelf = lib.continueShelfOf(widget.itemId);final rawSeries = ((_item?['media'] as Map<String, dynamic>?)?['metadata']as Map<String, dynamic>?)?['series'];final bookSeriesIds = <String>[];@@ -2025,7 +1900,7 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {// stays open behind navigation actions, so dismiss is a no-op here._actionPillGrid(context, cs, tt, l, auth, lib, title, authorName, progress,isFinished, duration, ebookFile, isEbookOnly,- inContinueListening,+ continueShelf,continueSeriesId, dismiss: () {}, includeOpenDetails: true),],);@@ -2040,7 +1915,7 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {Widget _actionPillGrid(BuildContext context, ColorScheme cs, TextTheme tt, AppLocalizations l,AuthProvider auth, LibraryProvider lib, String title, String authorName, double progress,bool isFinished, double duration, Map<String, dynamic>? ebookFile, bool isEbookOnly,- bool inContinueListening, String? continueSeriesId,+ String? continueShelf, String? continueSeriesId,{required VoidCallback dismiss, bool includeOpenDetails = false}) {final onAbsorbing = lib.isOnAbsorbingList(widget.itemId);return Column(mainAxisSize: MainAxisSize.min, children: [@@ -2106,8 +1981,10 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {if (progress > 0 || isFinished) {add(Icons.restart_alt_rounded, l.resetProgress, () => _resetProgress(context, auth, duration));}- if (inContinueListening && !lib.isOffline) {- add(Icons.playlist_remove_rounded, l.removeFromContinueListening, () => _removeFromContinueListening(context, auth, lib));+ if (continueShelf != null && !lib.isOffline) {+ final reading = continueShelf == 'continue-reading';+ add(Icons.playlist_remove_rounded, reading ? l.removeFromContinueReading : l.removeFromContinueListening,+ () => _removeFromContinueListening(context, auth, lib, reading: reading));}if (continueSeriesId != null && !lib.isOffline) {add(Icons.bookmark_remove_rounded, l.removeSeriesFromContinueSeries, () => _removeSeriesFromContinueSeries(context, auth, lib, continueSeriesId));@@ -2125,6 +2002,10 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {if (auth.canUpdateMetadata && !lib.isOffline) {add(Icons.edit_rounded, l.edit, () => _openEditPage(auth, title, isEbookOnly));}+ final item = _item;+ if (item != null) {+ add(Icons.info_outline_rounded, l.fileInfoTitle, () => showBookFilesSheet(context, item));+ }if (auth.canDelete && !lib.isOffline) {add(Icons.delete_outline_rounded, l.deleteFromServerAction,() => _deleteFromServer(context, auth, lib, title), tint: cs.error);@@ -2304,7 +2185,7 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {final l = AppLocalizations.of(context)!;// Continue-shelf actions only make sense when this book is actually shown// in the relevant home shelf right now.- final inContinueListening = lib.isInContinueListeningShelf(widget.itemId);+ final continueShelf = lib.continueShelfOf(widget.itemId);final rawSeries = ((_item?['media'] as Map<String, dynamic>?)?['metadata']as Map<String, dynamic>?)?['series'];final bookSeriesIds = <String>[];@@ -2336,7 +2217,7 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {child: SingleChildScrollView(child: _actionPillGrid(context, cs, tt, l, auth, lib, title, authorName,progress, isFinished, duration, ebookFile, isEbookOnly,- inContinueListening, continueSeriesId, dismiss: () => Navigator.pop(ctx)),+ continueShelf, continueSeriesId, dismiss: () => Navigator.pop(ctx)),),),]),@@ -2347,7 +2228,7 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {}Future<void> _removeFromContinueListening(- BuildContext context, AuthProvider auth, LibraryProvider lib) async {+ BuildContext context, AuthProvider auth, LibraryProvider lib, {bool reading = false}) async {final l = AppLocalizations.of(context)!;final api = auth.apiService;final progressId = lib.getProgressData(widget.itemId)?['id'] as String?;@@ -2359,12 +2240,13 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {}final ok = await api.removeItemFromContinueListening(progressId);if (ok) {+ lib.hideFromContinueShelves(itemId: widget.itemId);await lib.refreshProgressShelves(force: true, reason: 'remove-continue-listening');}if (!context.mounted) return;HapticFeedback.mediumImpact();showOverlayToast(context,- ok ? l.removedFromContinueListening : l.couldNotUpdate,+ ok ? (reading ? l.removedFromContinueReading : l.removedFromContinueListening) : l.couldNotUpdate,icon: ok ? Icons.playlist_remove_rounded : Icons.error_outline_rounded);}@@ -2380,6 +2262,7 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {}final ok = await api.removeSeriesFromContinueListening(seriesId);if (ok) {+ lib.hideFromContinueShelves(seriesId: seriesId);await lib.refreshProgressShelves(force: true, reason: 'remove-continue-series');}if (!context.mounted) return;@@ -2876,10 +2759,12 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {}}final l = AppLocalizations.of(context)!;+ final item = _item;+ final showFiles = item == null ? null : () => showBookFilesSheet(context, item);return [- if (codec != null && codec.isNotEmpty) _chip(Icons.audio_file_rounded, codec),- if (bitRate != null && bitRate > 0) _chip(Icons.speed_rounded, l.kbpsValue((bitRate / 1000).round())),- if (totalSize > 0) _chip(Icons.storage_rounded, _fmtSize(totalSize)),+ if (codec != null && codec.isNotEmpty) _chip(Icons.audio_file_rounded, codec, onTap: showFiles),+ if (bitRate != null && bitRate > 0) _chip(Icons.speed_rounded, l.kbpsValue((bitRate / 1000).round()), onTap: showFiles),+ if (totalSize > 0) _chip(Icons.storage_rounded, _fmtSize(totalSize), onTap: showFiles),];}@@ -3650,8 +3535,8 @@ class _BookDetailSheetContentState extends State<_BookDetailSheetContent> {/// [startTime] plays from there instead of the saved position (a chapter/// tapped in the list); on the live session it is a seek.Future<void> _startAbsorb(BuildContext context, {required AuthProvider auth, required String title, required String author, required String? coverUrl, required double duration, required List<dynamic> chapters, double? startTime}) async {- // An Audiobookshelf narrated EPUB plays once its narration is downloaded:- // asked first, with the reason.+ // An Audiobookshelf narrated EPUB that can't stream right now plays once+ // its narration is downloaded: asked first, with the reason.if (_needsNarrationDownload(auth)) {if (mounted) setState(() => _isAbsorbing = false);if (DownloadService().isDownloading(widget.itemId)) {diff --git a/lib/widgets/book_files_sheet.dart b/lib/widgets/book_files_sheet.dartnew file mode 100644index 00000000..5eed0fac--- /dev/null+++ b/lib/widgets/book_files_sheet.dart@@ -0,0 +1,348 @@+import 'package:flutter/material.dart';+import 'package:flutter/services.dart';++import '../l10n/app_localizations.dart';+import '../services/bookorbit_mapper.dart';+import '../services/ebook_cache.dart';+import '../services/narrated_books.dart';+import '../utils/duration_format.dart';+import 'adaptive_modal.dart';+import 'overlay_toast.dart';++enum _FileKind { audio, ebook, other }++class _FileEntry {+ final _FileKind kind;+ final String name;+ final String? path;+ final String? format;+ final String? codec;+ final int? bitRate;+ final int? channels;+ final String? channelLayout;+ final double? duration;+ final int? size;+ final bool readAlong;+ final String? role;++ const _FileEntry({+ required this.kind,+ required this.name,+ this.path,+ this.format,+ this.codec,+ this.bitRate,+ this.channels,+ this.channelLayout,+ this.duration,+ this.size,+ this.readAlong = false,+ this.role,+ });+}++/// A book's files with what the server knows about each: format, codec,+/// bitrate, channels, length and size. BookOrbit keeps no codec or bitrate,+/// so its rows carry format, size and length.+Future<void> showBookFilesSheet(BuildContext context, Map<String, dynamic> item) {+ final entries = _entriesFor(item);+ return showAdaptiveSheetDialog<void>(+ context: context,+ initialChildSize: 0.6,+ minChildSize: 0.4,+ builder: (ctx, scroll) => _BookFilesBody(+ entries: entries,+ bookOrbit: item['bookOrbit'] is Map,+ scroll: scroll,+ ),+ );+}++List<_FileEntry> _entriesFor(Map<String, dynamic> item) {+ final bookOrbit = item['bookOrbit'];+ if (bookOrbit is Map && bookOrbit['files'] is List) {+ return [+ for (final f in (bookOrbit['files'] as List).whereType<Map>()) _bookOrbitEntry(f),+ ];+ }+ final media = item['media'] as Map<String, dynamic>? ?? const {};+ final entries = <_FileEntry>[];+ final seen = <String>{};+ for (final af in (media['audioFiles'] as List<dynamic>? ?? const []).whereType<Map>()) {+ final meta = af['metadata'] as Map? ?? const {};+ seen.add('${af['ino']}');+ entries.add(_FileEntry(+ kind: _FileKind.audio,+ name: '${meta['filename'] ?? af['ino'] ?? ''}',+ path: meta['relPath'] as String? ?? meta['path'] as String?,+ format: (af['format'] as String?) ?? _extOf(meta),+ codec: af['codec'] as String?,+ bitRate: (af['bitRate'] as num?)?.toInt(),+ channels: (af['channels'] as num?)?.toInt(),+ channelLayout: af['channelLayout'] as String?,+ duration: (af['duration'] as num?)?.toDouble(),+ size: (meta['size'] as num?)?.toInt(),+ ));+ }+ final ebook = media['ebookFile'] as Map?;+ if (ebook != null) {+ final meta = ebook['metadata'] as Map? ?? const {};+ seen.add('${ebook['ino']}');+ final id = item['id'];+ entries.add(_FileEntry(+ kind: _FileKind.ebook,+ name: '${meta['filename'] ?? ''}',+ path: meta['relPath'] as String? ?? meta['path'] as String?,+ format: (ebook['ebookFormat'] as String?) ?? _extOf(meta),+ size: (meta['size'] as num?)?.toInt(),+ readAlong: id is String && NarratedBooks.contains(id),+ ));+ }+ for (final lf in (item['libraryFiles'] as List<dynamic>? ?? const []).whereType<Map>()) {+ if (seen.contains('${lf['ino']}')) continue;+ final meta = lf['metadata'] as Map? ?? const {};+ final type = lf['fileType'] as String?;+ if (type == 'audio') continue;+ entries.add(_FileEntry(+ kind: type == 'ebook' ? _FileKind.ebook : _FileKind.other,+ name: '${meta['filename'] ?? ''}',+ path: meta['relPath'] as String? ?? meta['path'] as String?,+ format: _extOf(meta),+ size: (meta['size'] as num?)?.toInt(),+ role: type,+ ));+ }+ return entries;+}++_FileEntry _bookOrbitEntry(Map f) {+ final format = (f['format'] as String?)?.toLowerCase();+ final role = f['role'] as String?;+ final content = role == 'primary' || role == 'content';+ final kind = !content+ ? _FileKind.other+ : BookOrbitMapper.isAudioFormat(format)+ ? _FileKind.audio+ : allEbookFormats.contains(format)+ ? _FileKind.ebook+ : _FileKind.other;+ return _FileEntry(+ kind: kind,+ name: '${f['filename'] ?? ''}',+ path: f['path'] as String?,+ format: format,+ duration: (f['duration'] as num?)?.toDouble(),+ size: (f['size'] as num?)?.toInt(),+ readAlong: f['readAlong'] == true,+ role: content ? null : role,+ );+}++String? _extOf(Map meta) {+ final ext = (meta['ext'] as String?) ?? '';+ final clean = ext.startsWith('.') ? ext.substring(1) : ext;+ return clean.isEmpty ? null : clean;+}++String _size(int bytes) {+ if (bytes < 1024) return '$bytes B';+ if (bytes < 1048576) return '${(bytes / 1024).round()} KB';+ if (bytes < 1073741824) return '${(bytes / 1048576).toStringAsFixed(1)} MB';+ return '${(bytes / 1073741824).toStringAsFixed(2)} GB';+}++class _BookFilesBody extends StatelessWidget {+ final List<_FileEntry> entries;+ final bool bookOrbit;+ final ScrollController scroll;++ const _BookFilesBody({required this.entries, required this.bookOrbit, required this.scroll});++ @override+ Widget build(BuildContext context) {+ final l = AppLocalizations.of(context)!;+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final totalSize = entries.fold<int>(0, (sum, e) => sum + (e.size ?? 0));+ final audio = entries.where((e) => e.kind == _FileKind.audio).toList();+ final ebooks = entries.where((e) => e.kind == _FileKind.ebook).toList();+ final other = entries.where((e) => e.kind == _FileKind.other).toList();++ return ListView(+ controller: scroll,+ padding: const EdgeInsets.fromLTRB(20, 12, 20, 24),+ children: [+ Center(+ child: Container(+ width: 40,+ height: 4,+ margin: const EdgeInsets.only(bottom: 16),+ decoration: BoxDecoration(+ color: cs.onSurface.withValues(alpha: 0.24),+ borderRadius: BorderRadius.circular(2),+ ),+ ),+ ),+ Text(l.fileInfoTitle, style: tt.titleLarge?.copyWith(fontWeight: FontWeight.w700)),+ const SizedBox(height: 4),+ Text(+ [l.fileInfoFileCount(entries.length), if (totalSize > 0) _size(totalSize)].join(' · '),+ style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant),+ ),+ if (entries.isEmpty) ...[+ const SizedBox(height: 24),+ Text(l.fileInfoNone, style: tt.bodyMedium?.copyWith(color: cs.onSurfaceVariant)),+ ],+ if (audio.isNotEmpty) ..._section(context, l.fileInfoAudio, audio, shared: _sharedSpecs(context, audio)),+ if (audio.isNotEmpty && bookOrbit)+ Padding(+ padding: const EdgeInsets.only(top: 4),+ child: Text(l.fileInfoBookOrbitNote, style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant)),+ ),+ if (ebooks.isNotEmpty) ..._section(context, l.fileInfoEbook, ebooks),+ if (other.isNotEmpty) ..._section(context, l.fileInfoOther, other),+ ],+ );+ }++ /// Specs every audio file shares, shown once above the list instead of on+ /// each of a few dozen tracks.+ List<String> _sharedSpecs(BuildContext context, List<_FileEntry> audio) {+ if (audio.length < 2) return const [];+ final first = _specs(context, audio.first, withLength: false);+ return [+ for (final spec in first)+ if (audio.every((e) => _specs(context, e, withLength: false).contains(spec))) spec,+ ];+ }++ List<String> _specs(BuildContext context, _FileEntry e, {bool withLength = true}) {+ final l = AppLocalizations.of(context)!;+ final codec = e.codec?.toUpperCase();+ final format = e.format?.toUpperCase();+ final layout = e.channelLayout?.trim();+ return [+ if (format != null && format.isNotEmpty) format,+ if (codec != null && codec.isNotEmpty && codec != format) codec,+ if ((e.bitRate ?? 0) > 0) l.kbpsValue((e.bitRate! / 1000).round()),+ if (layout != null && layout.isNotEmpty)+ layout[0].toUpperCase() + layout.substring(1)+ else if ((e.channels ?? 0) > 0)+ l.fileInfoChannels(e.channels!),+ if (withLength && (e.duration ?? 0) > 0) formatHm(e.duration!),+ if (withLength && (e.size ?? 0) > 0) _size(e.size!),+ ];+ }++ List<Widget> _section(BuildContext context, String title, List<_FileEntry> files, {List<String> shared = const []}) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ return [+ const SizedBox(height: 20),+ Row(children: [+ Text(title, style: tt.titleSmall?.copyWith(fontWeight: FontWeight.w700)),+ if (files.length > 1) ...[+ const SizedBox(width: 8),+ Text('${files.length}', style: tt.labelMedium?.copyWith(color: cs.onSurfaceVariant)),+ ],+ ]),+ if (shared.isNotEmpty) ...[+ const SizedBox(height: 8),+ _SpecWrap(specs: shared),+ ],+ const SizedBox(height: 8),+ for (final f in files) _FileTile(entry: f, specs: _specs(context, f).where((s) => !shared.contains(s)).toList()),+ ];+ }+}++class _SpecWrap extends StatelessWidget {+ final List<String> specs;+ final bool readAlong;+ const _SpecWrap({required this.specs, this.readAlong = false});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ Widget chip(Widget child) => Container(+ padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 3),+ decoration: BoxDecoration(+ color: cs.surfaceContainerHighest.withValues(alpha: 0.7),+ borderRadius: BorderRadius.circular(6),+ ),+ child: child,+ );+ return Wrap(spacing: 6, runSpacing: 6, children: [+ for (final s in specs) chip(Text(s, style: tt.labelSmall)),+ if (readAlong)+ chip(Row(mainAxisSize: MainAxisSize.min, children: [+ Icon(Icons.headphones_rounded, size: 12, color: cs.primary),+ const SizedBox(width: 4),+ Text(l.readAlong, style: tt.labelSmall?.copyWith(color: cs.primary)),+ ])),+ ]);+ }+}++class _FileTile extends StatelessWidget {+ final _FileEntry entry;+ final List<String> specs;+ const _FileTile({required this.entry, required this.specs});++ @override+ Widget build(BuildContext context) {+ final cs = Theme.of(context).colorScheme;+ final tt = Theme.of(context).textTheme;+ final l = AppLocalizations.of(context)!;+ final icon = switch (entry.kind) {+ _FileKind.audio => Icons.audio_file_rounded,+ _FileKind.ebook => Icons.menu_book_rounded,+ _FileKind.other => entry.role == 'cover' || entry.role == 'image' ? Icons.image_rounded : Icons.insert_drive_file_rounded,+ };+ final path = entry.path;+ final roleLabel = switch (entry.role) {+ 'cover' => l.fileInfoCover,+ 'metadata' => l.fileInfoMetadata,+ 'supplement' => l.fileInfoSupplement,+ _ => null,+ };+ return InkWell(+ borderRadius: BorderRadius.circular(10),+ onLongPress: path == null || path.isEmpty+ ? null+ : () async {+ await Clipboard.setData(ClipboardData(text: path));+ if (context.mounted) {+ showOverlayToast(context, l.fileInfoPathCopied, icon: Icons.content_copy_rounded);+ }+ },+ child: Padding(+ padding: const EdgeInsets.symmetric(vertical: 8),+ child: Row(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Padding(+ padding: const EdgeInsets.only(top: 2),+ child: Icon(icon, size: 20, color: cs.onSurfaceVariant),+ ),+ const SizedBox(width: 12),+ Expanded(+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(entry.name.isEmpty ? '-' : entry.name,+ style: tt.bodyMedium?.copyWith(fontWeight: FontWeight.w600), maxLines: 2, overflow: TextOverflow.ellipsis),+ if (path != null && path.isNotEmpty && path != entry.name) ...[+ const SizedBox(height: 2),+ Text(path,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant), maxLines: 2, overflow: TextOverflow.ellipsis),+ ],+ if (specs.isNotEmpty || entry.readAlong || roleLabel != null) ...[+ const SizedBox(height: 6),+ _SpecWrap(specs: [?roleLabel, ...specs], readAlong: entry.readAlong),+ ],+ ]),+ ),+ ]),+ ),+ );+ }+}diff --git a/lib/widgets/card_buttons.dart b/lib/widgets/card_buttons.dartindex 7dcbaa98..27e81d2f 100644--- a/lib/widgets/card_buttons.dart+++ b/lib/widgets/card_buttons.dart@@ -13,6 +13,7 @@ import '../services/audio_player_service.dart';import '../services/bookmark_service.dart';import '../services/chromecast_service.dart';import '../services/download_service.dart';+import '../services/ebook_annotation_service.dart';import '../services/lyrics_service.dart';import '../services/transcription_service.dart';import '../services/equalizer_service.dart';@@ -29,6 +30,7 @@ import 'bookmark_detail_dialog.dart';import 'card_button_config.dart';import 'card_chapters_sheet.dart';import 'chromecast_button.dart';+import 'ebook_router.dart';import 'episode_detail_sheet.dart';import 'episode_list_sheet.dart';import 'equalizer_sheet.dart';@@ -841,7 +843,9 @@ class _CardSpeedSheetState extends State<CardSpeedSheet> {class SimpleBookmarkSheet extends StatefulWidget {final String itemId; final String? episodeId; final AudioPlayerService player; final Color accent; final ScrollController scrollController; final VoidCallback onChanged;- const SimpleBookmarkSheet({super.key, required this.itemId, this.episodeId, required this.player, required this.accent, required this.scrollController, required this.onChanged});+ /// Off inside the reader, which lists its own highlights.+ final bool showHighlights;+ const SimpleBookmarkSheet({super.key, required this.itemId, this.episodeId, required this.player, required this.accent, required this.scrollController, required this.onChanged, this.showHighlights = true});/// Storage key: 'showId-episodeId' for a podcast episode, the item id for a/// book. [itemId] stays the library item for anything the server answers.@@ -851,12 +855,17 @@ class SimpleBookmarkSheet extends StatefulWidget {class _SimpleBookmarkSheetState extends State<SimpleBookmarkSheet> {List<Bookmark>? _bookmarks;+ // The book's ebook highlights, for a book with an ebook beside its audio or+ // one that reads itself aloud.+ List<EbookAnnotation> _highlights = const [];+ bool _onHighlights = false;String _sort = 'newest';bool _speedAdjustedTime = true;double _savedSpeed = 1.0;@override void initState() {super.initState();_loadSort();+ if (widget.showHighlights && widget.episodeId == null) _loadHighlights();PlayerSettings.getSpeedAdjustedTime().then((v) {if (mounted && v != _speedAdjustedTime) setState(() => _speedAdjustedTime = v);});@@ -899,6 +908,80 @@ class _SimpleBookmarkSheetState extends State<SimpleBookmarkSheet> {widget.onChanged();}+ Future<void> _loadHighlights() async {+ final all = await EbookAnnotationService().getAnnotations(widget.itemId);+ final highlights = all.where((a) => a.type == AnnotationType.highlight).toList()+ ..sort((a, b) => b.createdAt.compareTo(a.createdAt));+ if (!mounted) return;+ setState(() {+ _highlights = highlights;+ if (highlights.isEmpty) _onHighlights = false;+ });+ }++ Future<void> _openHighlight(EbookAnnotation highlight) async {+ await openHighlightInReader(context, itemId: widget.itemId, cfi: highlight.cfi);+ // Highlights added, recolored or removed while reading.+ if (mounted) await _loadHighlights();+ }++ Widget _tab(String label, bool selected, VoidCallback onTap) {+ final cs = Theme.of(context).colorScheme;+ return GestureDetector(+ onTap: onTap,+ child: Container(+ padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 6),+ decoration: BoxDecoration(+ color: selected ? widget.accent.withValues(alpha: 0.15) : Colors.transparent,+ borderRadius: BorderRadius.circular(16),+ ),+ child: Text(label, style: Theme.of(context).textTheme.titleSmall?.copyWith(+ fontWeight: FontWeight.w600,+ color: selected ? widget.accent : cs.onSurfaceVariant,+ )),+ ),+ );+ }++ Widget _highlightList(TextTheme tt, ColorScheme cs, AppLocalizations l) => ListView.builder(+ controller: widget.scrollController, padding: const EdgeInsets.only(bottom: 24), itemCount: _highlights.length,+ itemBuilder: (ctx, i) {+ final h = _highlights[i];+ final hex = (h.color ?? HighlightColor.yellow).hex;+ final created = h.createdAt;+ final date = l.backupDateFormat(created.month, created.day, created.year);+ final chapter = h.chapter;+ final meta = chapter != null && chapter.isNotEmpty ? l.highlightsMeta(chapter, date) : date;+ final hasNote = h.note != null && h.note!.isNotEmpty;+ return InkWell(+ onTap: () => _openHighlight(h),+ child: Padding(+ padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 10),+ child: Container(+ padding: const EdgeInsets.only(left: 10),+ decoration: BoxDecoration(+ border: Border(left: BorderSide(color: Color(int.parse('FF${hex.substring(1)}', radix: 16)), width: 3)),+ ),+ child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Text(h.selectedText ?? '', maxLines: 4, overflow: TextOverflow.ellipsis, style: tt.bodyMedium),+ if (hasNote) ...[+ const SizedBox(height: 4),+ Row(crossAxisAlignment: CrossAxisAlignment.start, children: [+ Icon(Icons.sticky_note_2_outlined, size: 14, color: cs.onSurfaceVariant.withValues(alpha: 0.7)),+ const SizedBox(width: 4),+ Expanded(child: Text(h.note!, maxLines: 2, overflow: TextOverflow.ellipsis,+ style: tt.bodySmall?.copyWith(color: cs.onSurfaceVariant))),+ ]),+ ],+ const SizedBox(height: 4),+ Text(meta, style: tt.labelSmall?.copyWith(color: cs.onSurfaceVariant)),+ ]),+ ),+ ),+ );+ },+ );+@override Widget build(BuildContext context) {final tt = Theme.of(context).textTheme;final cs = Theme.of(context).colorScheme;@@ -913,7 +996,7 @@ class _SimpleBookmarkSheetState extends State<SimpleBookmarkSheet> {Padding(padding: const EdgeInsets.symmetric(vertical: 12),child: Container(width: 40, height: 4, decoration: BoxDecoration(color: cs.onSurface.withValues(alpha: 0.24), borderRadius: BorderRadius.circular(2)))),Padding(padding: const EdgeInsets.symmetric(horizontal: 20), child: Row(children: [- GestureDetector(+ if (_onHighlights) const SizedBox(width: 36) else GestureDetector(onTap: () {final next = _sort == 'newest' ? 'position': _sort == 'position' ? 'position_desc'@@ -939,16 +1022,24 @@ class _SimpleBookmarkSheetState extends State<SimpleBookmarkSheet> {),),const Spacer(),- Text(l.bookmarks, style: tt.titleMedium?.copyWith(fontWeight: FontWeight.w600)),+ if (_highlights.isEmpty)+ Text(l.bookmarks, style: tt.titleMedium?.copyWith(fontWeight: FontWeight.w600))+ else ...[+ _tab(l.bookmarksTabBookmarks, !_onHighlights, () => setState(() => _onHighlights = false)),+ const SizedBox(width: 6),+ _tab(l.bookmarksTabHighlights, _onHighlights, () => setState(() => _onHighlights = true)),+ ],const Spacer(),- GestureDetector(onTap: () => _addBookmark(), child: Container(+ if (_onHighlights) const SizedBox(width: 36) else GestureDetector(onTap: () => _addBookmark(), child: Container(width: 36, height: 36,decoration: BoxDecoration(color: widget.accent.withValues(alpha: 0.15), borderRadius: BorderRadius.circular(10)),child: Icon(Icons.add_rounded, color: widget.accent, size: 20),)),])),const SizedBox(height: 8),- Expanded(child: _bookmarks == null+ Expanded(child: _onHighlights+ ? _highlightList(tt, cs, l)+ : _bookmarks == null? const Center(child: CircularProgressIndicator(strokeWidth: 2)): _bookmarks!.isEmpty? Center(child: Column(mainAxisSize: MainAxisSize.min, children: [@@ -2758,14 +2849,31 @@ class _PlaybackHistorySheetBodyState extends State<_PlaybackHistoryBody>showRetry: widget.api != null,);}+ final add = widget.episodeId == null+ ? Padding(+ padding: const EdgeInsets.only(bottom: 12),+ child: Align(+ alignment: Alignment.centerLeft,+ child: FilledButton.tonalIcon(+ onPressed: _addSession,+ icon: const Icon(Icons.add_rounded, size: 18),+ label: Text(l.sessionAdd),+ ),+ ),+ )+ : null;if (sessions.isEmpty) {- return _serverMessage(l.historyNoServerSessions, l, cs);+ return Column(children: [+ if (add != null) Padding(padding: const EdgeInsets.fromLTRB(20, 12, 20, 0), child: add),+ Expanded(child: _serverMessage(l.historyNoServerSessions, l, cs)),+ ]);}return ListView(controller: widget.scrollController,padding: const EdgeInsets.fromLTRB(20, 12, 20, 24),children: [+ ?add,for (final session in sessions)ListeningSessionCard(session: session,@@ -2777,6 +2885,106 @@ class _PlaybackHistorySheetBodyState extends State<_PlaybackHistoryBody>);}+ /// Logs listening done away from the app, to catch a book's listening+ /// time up on the server.+ Future<void> _addSession() async {+ final api = widget.api;+ if (api == null) return;+ final l = AppLocalizations.of(context)!;+ final now = DateTime.now();+ var day = DateTime(now.year, now.month, now.day);+ var start = TimeOfDay.fromDateTime(now.subtract(const Duration(hours: 1)));+ final hoursCtrl = TextEditingController(text: '1');+ final minutesCtrl = TextEditingController(text: '0');+ String two(int v) => v.toString().padLeft(2, '0');++ final saved = await showDialog<bool>(+ context: context,+ builder: (dialogCtx) => StatefulBuilder(+ builder: (dialogCtx, setDialog) => AlertDialog(+ scrollable: true,+ title: Text(l.sessionAdd),+ content: Column(mainAxisSize: MainAxisSize.min, children: [+ Align(+ alignment: Alignment.centerLeft,+ child: Text(l.statsScreenListened, style: Theme.of(dialogCtx).textTheme.labelLarge),+ ),+ const SizedBox(height: 8),+ Row(children: [+ Expanded(+ child: TextField(+ controller: hoursCtrl,+ keyboardType: TextInputType.number,+ decoration: InputDecoration(labelText: l.statsHoursUnit, border: const OutlineInputBorder()),+ ),+ ),+ const SizedBox(width: 12),+ Expanded(+ child: TextField(+ controller: minutesCtrl,+ keyboardType: TextInputType.number,+ decoration: InputDecoration(labelText: l.statsMinutesUnit, border: const OutlineInputBorder()),+ ),+ ),+ ]),+ const SizedBox(height: 12),+ Row(children: [+ Text(l.sessionDayLabel, style: Theme.of(dialogCtx).textTheme.bodyMedium),+ const Spacer(),+ TextButton.icon(+ icon: const Icon(Icons.calendar_today_rounded, size: 16),+ label: Text('${day.year}-${two(day.month)}-${two(day.day)}'),+ onPressed: () async {+ final picked = await showDatePicker(+ context: dialogCtx,+ initialDate: day,+ firstDate: DateTime(2000),+ lastDate: DateTime.now(),+ );+ if (picked != null) setDialog(() => day = DateTime(picked.year, picked.month, picked.day));+ },+ ),+ ]),+ Row(children: [+ Text(l.sessionStartLabel, style: Theme.of(dialogCtx).textTheme.bodyMedium),+ const Spacer(),+ TextButton.icon(+ icon: const Icon(Icons.schedule_rounded, size: 16),+ label: Text(start.format(dialogCtx)),+ onPressed: () async {+ final picked = await showTimePicker(context: dialogCtx, initialTime: start);+ if (picked != null) setDialog(() => start = picked);+ },+ ),+ ]),+ ]),+ actions: [+ TextButton(onPressed: () => Navigator.pop(dialogCtx, false), child: Text(l.cancel)),+ FilledButton(onPressed: () => Navigator.pop(dialogCtx, true), child: Text(l.save)),+ ],+ ),+ ),+ );+ final h = int.tryParse(hoursCtrl.text.trim()) ?? 0;+ final m = int.tryParse(minutesCtrl.text.trim()) ?? 0;+ hoursCtrl.dispose();+ minutesCtrl.dispose();+ final seconds = (h < 0 ? 0 : h) * 3600 + (m < 0 ? 0 : m) * 60;+ if (saved != true || !mounted || seconds <= 0) return;++ var startedAt = DateTime(day.year, day.month, day.day, start.hour, start.minute);+ final latest = DateTime.now().subtract(Duration(seconds: seconds));+ if (startedAt.isAfter(latest)) startedAt = latest;+ final ok = await api.addListeningSession(itemId: widget.itemId, startedAt: startedAt, seconds: seconds);+ if (!mounted) return;+ showOverlayToast(+ context,+ ok ? l.sessionAdded : l.sessionAddFailed,+ icon: ok ? Icons.check_rounded : Icons.error_outline_rounded,+ );+ if (ok) setState(() => _serverFuture = _fetchServerSessions());+ }+Future<void> _showServerSessionDetails(Map<String, dynamic> session,) async {diff --git a/lib/widgets/overlay_toast.dart b/lib/widgets/overlay_toast.dartindex e05e8ddb..2609312a 100644--- a/lib/widgets/overlay_toast.dart+++ b/lib/widgets/overlay_toast.dart@@ -32,8 +32,9 @@ void showNavigatorOverlayToast(NavigatorState? navigator,String message, {IconData? icon,+ VoidCallback? onTap,}) {- _insertOverlayToast(navigator?.overlay, message, icon: icon);+ _insertOverlayToast(navigator?.overlay, message, icon: icon, onTap: onTap);}void _insertOverlayToast(diff --git a/lib/widgets/setup_link_login.dart b/lib/widgets/setup_link_login.dartindex be3073fa..34de8165 100644--- a/lib/widgets/setup_link_login.dart+++ b/lib/widgets/setup_link_login.dart@@ -3,18 +3,49 @@ import 'package:provider/provider.dart';import '../l10n/app_localizations.dart';import '../providers/auth_provider.dart';+import '../screens/bookorbit_set_password_screen.dart';+import '../services/api_service.dart';import '../services/setup_link_service.dart';+import '../utils/server_url.dart';import 'overlay_toast.dart';+/// Whether [text] is a link [handleSetupLinkLogin] can take: an Absorb setup+/// link or a BookOrbit password link.+bool isLoginLink(String text) {+ if (BookOrbitApiService.passwordLink(text) != null) return true;+ final uri = Uri.tryParse(text.trim());+ if (uri == null) return false;+ try {+ SetupLinkService.parseLink(uri);+ return true;+ } on SetupLinkException {+ return false;+ }+}++/// Signs in from an Absorb setup link, or from a BookOrbit password link+/// after the person picks their password. [customHeaders] go with a+/// BookOrbit password link, which carries none of its own.Future<bool> handleSetupLinkLogin(BuildContext context,Uri link, {bool askForConfirmation = true,+ Map<String, String> customHeaders = const {},}) async {final l = AppLocalizations.of(context)!;late final SetupLinkData setup;+ final passwordLink = BookOrbitApiService.passwordLink(link.toString());try {- setup = SetupLinkService.parseLink(link);+ setup = passwordLink != null+ ? SetupLinkData(+ serverUrl: normalizeServerUrl(passwordLink.server.toString()),+ username: '',+ apiKey: null,+ passwordToken: passwordLink.token,+ userId: null,+ customHeaders: customHeaders,+ )+ : SetupLinkService.parseLink(link);} on SetupLinkException {showOverlayToast(context,@@ -24,6 +55,27 @@ Future<bool> handleSetupLinkLogin(return false;}+ if (setup.setsPassword) {+ final signedIn = await Navigator.of(context).push<bool>(+ MaterialPageRoute(+ builder: (_) => BookOrbitSetPasswordScreen.fromLink(+ serverUrl: setup.serverUrl,+ token: setup.passwordToken!,+ username: setup.username.isEmpty ? null : setup.username,+ customHeaders: setup.customHeaders,+ ),+ ),+ );+ if (signedIn != true || !context.mounted) return false;+ final auth = context.read<AuthProvider>();+ showOverlayToast(+ context,+ l.loginSignedInAs(auth.username ?? setup.username),+ icon: Icons.check_circle_outline_rounded,+ );+ return true;+ }+if (askForConfirmation) {final server = Uri.parse(setup.serverUrl);final serverLabel = [@@ -55,7 +107,7 @@ Future<bool> handleSetupLinkLogin(final auth = context.read<AuthProvider>();final success = await auth.loginWithApiKey(serverUrl: setup.serverUrl,- apiKey: setup.apiKey,+ apiKey: setup.apiKey!,customHeaders: setup.customHeaders,l: l,);diff --git a/lib/widgets/setup_link_share_sheet.dart b/lib/widgets/setup_link_share_sheet.dartindex 226e5a3d..48f9b51e 100644--- a/lib/widgets/setup_link_share_sheet.dart+++ b/lib/widgets/setup_link_share_sheet.dart@@ -8,7 +8,10 @@ class SetupLinkShareSheet extends StatelessWidget {final Uri setupLink;final Future<void> Function() onShare;final Future<void> Function() onCopy;- final Future<void> Function() onSaveFile;+ final Future<void> Function()? onSaveFile;+ final Future<void> Function()? onCopyWebLink;+ final String? description;+ final String? warning;const SetupLinkShareSheet({super.key,@@ -16,7 +19,10 @@ class SetupLinkShareSheet extends StatelessWidget {required this.setupLink,required this.onShare,required this.onCopy,- required this.onSaveFile,+ this.onSaveFile,+ this.onCopyWebLink,+ this.description,+ this.warning,});@override@@ -47,7 +53,7 @@ class SetupLinkShareSheet extends StatelessWidget {),const SizedBox(height: 8),Text(- l.setupLinkShareDescription(username),+ description ?? l.setupLinkShareDescription(username),textAlign: TextAlign.center,style: Theme.of(context,@@ -109,7 +115,7 @@ class SetupLinkShareSheet extends StatelessWidget {const SizedBox(width: 10),Expanded(child: Text(- l.setupLinkPrivateWarning(username),+ warning ?? l.setupLinkPrivateWarning(username),style: Theme.of(context).textTheme.bodySmall?.copyWith(color: cs.onErrorContainer,),@@ -138,13 +144,24 @@ class SetupLinkShareSheet extends StatelessWidget {minimumSize: const Size.fromHeight(48),),),- const SizedBox(height: 6),- TextButton.icon(- key: const Key('setup-link-save-file'),- onPressed: onSaveFile,- icon: const Icon(Icons.download_rounded),- label: Text(l.setupLinkSaveFile),- ),+ if (onCopyWebLink != null) ...[+ const SizedBox(height: 6),+ TextButton.icon(+ key: const Key('setup-link-copy-web'),+ onPressed: onCopyWebLink,+ icon: const Icon(Icons.public_rounded),+ label: Text(l.setupLinkCopyWebLink),+ ),+ ],+ if (onSaveFile != null) ...[+ const SizedBox(height: 6),+ TextButton.icon(+ key: const Key('setup-link-save-file'),+ onPressed: onSaveFile,+ icon: const Icon(Icons.download_rounded),+ label: Text(l.setupLinkSaveFile),+ ),+ ],],),),