{
  "language": {
    "select": "Change language",
    "fr": "French",
    "en": "English"
  },
  "login": {
    "title": "Welcome to StripStream",
    "subtitle": "Sign in or create an account to get started",
    "tabs": {
      "login": "Sign in",
      "register": "Sign up"
    },
    "description": "Enjoy your favorite comics, manga and graphic novels with a modern and smooth reading experience.",
    "form": {
      "email": "Email",
      "password": "Password",
      "confirmPassword": "Confirm password",
      "remember": "Remember me",
      "submit": {
        "login": "Sign in",
        "register": "Sign up",
        "loading": {
          "login": "Signing in...",
          "register": "Signing up..."
        }
      }
    }
  },
  "home": {
    "hero": {
      "title": "Welcome to StripStream",
      "subtitle": "Your digital library to read your favorite comics, manga and graphic novels.",
      "coverAlt": "Cover of {title}"
    },
    "title": "Home",
    "sections": {
      "continue_series": "Continue series",
      "continue_reading": "Continue reading",
      "up_next": "Up next",
      "latest_series": "Latest series",
      "recently_added": "Recently added"
    }
  },
  "sidebar": {
    "navigation": "Navigation",
    "home": "Home",
    "downloads": "Downloads",
    "account": "My Account",
    "favorites": {
      "title": "Favorites",
      "empty": "No favorites",
      "loading": "Loading..."
    },
    "libraries": {
      "title": "Libraries",
      "empty": "No libraries",
      "loading": "Loading...",
      "refresh": "Refresh libraries"
    },
    "settings": {
      "title": "Settings",
      "preferences": "Preferences"
    },
    "admin": "Administration",
    "logout": "Sign out"
  },
  "settings": {
    "title": "Preferences",
    "tabs": {
      "display": "Display",
      "connection": "Connection"
    },
    "display": {
      "title": "Display Preferences",
      "description": "Customize your library display.",
      "thumbnails": {
        "label": "Show thumbnails",
        "description": "Use thumbnails instead of first pages for series display"
      },
      "unreadFilter": {
        "label": "Default Unread Filter",
        "description": "Show only unread series by default"
      }
    },
    "background": {
      "title": "Background",
      "description": "Customize your application background.",
      "type": {
        "label": "Background type",
        "default": "Default",
        "gradient": "Gradient",
        "image": "Custom image"
      },
      "gradient": {
        "label": "Choose a gradient"
      },
      "image": {
        "label": "Image URL",
        "description": "Enter an image URL (HTTPS recommended)",
        "save": "Save"
      }
    },
    "advanced": {
      "title": "Advanced Settings",
      "description": "Configure advanced performance and reliability settings.",
      "save": "Save settings",
      "prefetchCount": {
        "label": "Reader Prefetch Count",
        "description": "Number of pages to preload in the reader (0-20)"
      }
    },
    "error": {
      "title": "Error",
      "message": "An error occurred while updating preferences"
    },
    "komga": {
      "title": "Komga Configuration",
      "description": "Configure your Komga server connection information.",
      "serverUrl": "Server URL",
      "email": "Login email address",
      "password": "Password",
      "buttons": {
        "edit": "Edit configuration",
        "save": "Save",
        "test": "Test connection",
        "cancel": "Cancel",
        "saving": "Saving...",
        "testing": "Testing..."
      },
      "messages": {
        "connectionSuccess": "Successfully connected to Komga server",
        "configSaved": "Configuration saved successfully"
      },
      "error": {
        "title": "Error saving configuration",
        "message": "An error occurred while saving the configuration"
      }
    },
    "cache": {
      "title": "Cache & Storage",
      "description": "Manage local cache for optimal offline experience.",
      "notSupported": "Offline cache is not supported by your browser.",
      "initializing": "Initializing...",
      "totalStorage": "Total storage",
      "imagesQuota": "{used}% of images quota used",
      "static": "Static resources",
      "staticDesc": "Next.js scripts, styles and assets",
      "pages": "Visited pages",
      "pagesDesc": "Home, libraries, series and details",
      "api": "API data",
      "apiDesc": "Series, books and library metadata",
      "images": "Images",
      "imagesDesc": "Covers and thumbnails (100 MB limit)",
      "books": "Offline books",
      "booksDesc": "Manually downloaded pages",
      "clearAll": "Clear all cache",
      "cleared": "Cache cleared",
      "clearedDesc": "Cache has been cleared successfully",
      "clearError": "Error clearing cache",
      "unavailable": "Cache statistics unavailable",
      "reinstall": "Reinstall Service Worker",
      "reinstallError": "Error reinstalling Service Worker",
      "entry": "entry",
      "entries": "entries",
      "loadingEntries": "Loading entries...",
      "noEntries": "No entries in this cache",
      "loadError": "Error loading entries"
    }
  },
  "library": {
    "empty": "No libraries available",
    "coverAlt": "Cover of {name}",
    "status": {
      "available": "Available",
      "unavailable": "Unavailable"
    },
    "lastUpdated": "Last updated: {date}",
    "refresh": {
      "button": "Refresh library",
      "success": {
        "title": "Library refreshed",
        "description": "The library has been refreshed successfully"
      },
      "error": {
        "title": "Error",
        "description": "An error occurred"
      }
    },
    "scan": {
      "button": "Scan library",
      "buttonLabel": "Scan",
      "success": {
        "title": "Library scan started",
        "description": "The library is being scanned"
      },
      "complete": {
        "title": "Scan complete",
        "description": "The library has been scanned and updated"
      },
      "error": {
        "title": "Error",
        "description": "An error occurred while scanning the library",
        "refresh": "An error occurred while updating the library data"
      }
    },
    "header": {
      "series": "{{count}} series",
      "series_plural": "{{count}} series",
      "books": "{{count}} book",
      "books_plural": "{{count}} books",
      "unavailable": "This library is currently unavailable",
      "coverAlt": "Cover of {{name}}"
    }
  },
  "series": {
    "empty": "No series available",
    "coverAlt": "Cover of {title}",
    "status": {
      "noBooks": "No books",
      "read": "Read",
      "unread": "Unread",
      "progress": "{read}/{total}"
    },
    "book": "book",
    "books": "{count} books",
    "books_plural": "{count} books",
    "completed": "completed",
    "filters": {
      "title": "Filters",
      "showAll": "Show all",
      "unread": "Unread",
      "search": "Search series...",
      "normal": "Normal",
      "compact": "Compact"
    },
    "display": {
      "showing": "{start}-{end} of {total}",
      "page": "Page {current} of {total}"
    },
    "header": {
      "coverAlt": "Cover of {{title}}",
      "books": "{{count}} book",
      "books_plural": "{{count}} books",
      "status": {
        "read": "Read",
        "unread": "Unread",
        "progress": "{{read}}/{{total}}"
      },
      "favorite": {
        "add": "Added to favorites",
        "remove": "Removed from favorites"
      },
      "toggleSidebar": "Toggle sidebar",
      "toggleTheme": "Toggle theme"
    }
  },
  "books": {
    "empty": "No books available",
    "coverAlt": "Cover of {{title}}",
    "defaultCoverAlt": "Cover image",
    "status": {
      "unread": "Unread",
      "read": "Read",
      "readDate": "Read on {{date}}",
      "progress": "Page {{current}}/{{total}}",
      "offline": "Unavailable offline"
    },
    "pages": "page",
    "pages_plural": "pages",
    "completed": "completed",
    "display": {
      "showing": "Showing books {start} to {end} of {total}",
      "page": "Page {current} of {total}",
      "grid": "Grid view",
      "list": "List view"
    },
    "filters": {
      "showAll": "Show all",
      "unread": "Unread"
    },
    "loading": "Loading...",
    "actions": {
      "markAsRead": {
        "button": "Mark as read",
        "success": {
          "title": "Success",
          "description": "Book has been marked as read"
        },
        "error": {
          "title": "Error",
          "description": "Unable to mark book as read",
          "update": "Error updating status"
        }
      },
      "markAsUnread": {
        "button": "Mark as unread",
        "success": {
          "title": "Success",
          "description": "Book has been marked as unread"
        },
        "error": {
          "title": "Error",
          "description": "Unable to mark book as unread",
          "update": "Error updating status"
        }
      }
    }
  },
  "downloads": {
    "page": {
      "title": "Downloads",
      "description": "Manage your offline available books"
    },
    "tabs": {
      "all": "All ({count})",
      "downloading": "Downloading ({count})",
      "available": "Available ({count})",
      "error": "Errors ({count})"
    },
    "empty": {
      "all": "No downloaded books",
      "downloading": "No downloads in progress",
      "available": "No books available offline",
      "error": "No errors"
    },
    "actions": {
      "retryAll": "Retry all",
      "retry": "Retry",
      "delete": "Delete"
    },
    "status": {
      "downloading": "Downloading",
      "available": "Available offline",
      "error": "Download error",
      "idle": "Not downloaded"
    },
    "toast": {
      "deleted": "Book deleted",
      "deletedDesc": "The book is no longer available offline",
      "error": "Error",
      "errorDesc": "An error occurred while deleting",
      "retryAll": "Retrying downloads",
      "retryAllDesc": "{count} download(s) restarted",
      "retryDesc": "Download will start from the beginning",
      "retry": "Download restarted"
    },
    "info": {
      "size": "{size} MB",
      "pages": "{current}/{total} pages",
      "totalPages": "{count} pages"
    }
  },
  "errors": {
    "MONGODB_MISSING_URI": "MongoDB URI missing",
    "MONGODB_CONNECTION_FAILED": "MongoDB connection failed",

    "AUTH_UNAUTHENTICATED": "Unauthenticated",
    "AUTH_INVALID_CREDENTIALS": "Invalid credentials",
    "AUTH_PASSWORD_NOT_STRONG": "Password is not strong enough",
    "AUTH_PASSWORD_MISMATCH": "Passwords do not match",
    "AUTH_EMAIL_EXISTS": "Email already exists",
    "AUTH_INVALID_USER_DATA": "Invalid user data",
    "AUTH_LOGOUT_ERROR": "Error during logout",
    "AUTH_LOGIN_ERROR": "Error during login",
    "AUTH_REGISTER_ERROR": "Error during registration",

    "KOMGA_MISSING_CONFIG": "Komga configuration missing",
    "KOMGA_MISSING_CREDENTIALS": "Komga credentials missing",
    "KOMGA_CONNECTION_ERROR": "Error connecting to Komga server",
    "KOMGA_HTTP_ERROR": "HTTP error while communicating with Komga",
    "KOMGA_SERVER_UNREACHABLE": "Komga server unreachable",

    "CONFIG_SAVE_ERROR": "Error saving configuration",
    "CONFIG_FETCH_ERROR": "Error fetching configuration",
    "CONFIG_TTL_SAVE_ERROR": "Error saving TTL configuration",
    "CONFIG_TTL_FETCH_ERROR": "Error fetching TTL configuration",

    "LIBRARY_NOT_FOUND": "Library not found",
    "LIBRARY_FETCH_ERROR": "Error fetching library",
    "LIBRARY_SCAN_ERROR": "Error scanning library",

    "SERIES_FETCH_ERROR": "Error fetching series",
    "SERIES_NO_BOOKS_FOUND": "No books found in series",

    "BOOK_NOT_FOUND": "Book not found",
    "BOOK_PROGRESS_UPDATE_ERROR": "Error updating reading progress",
    "BOOK_PROGRESS_DELETE_ERROR": "Error deleting reading progress",
    "BOOK_PAGES_FETCH_ERROR": "Error fetching book pages",
    "BOOK_DOWNLOAD_CANCELLED": "Book download cancelled",

    "FAVORITE_ADD_ERROR": "Error adding to favorites",
    "FAVORITE_DELETE_ERROR": "Error removing from favorites",
    "FAVORITE_FETCH_ERROR": "Error fetching favorites",
    "FAVORITE_UPDATE_ERROR": "Error updating favorites",
    "FAVORITE_NETWORK_ERROR": "Network error while accessing favorites",
    "FAVORITE_SERVER_ERROR": "Server error while accessing favorites",
    "FAVORITE_STATUS_CHECK_ERROR": "Error checking favorites status",

    "PREFERENCES_FETCH_ERROR": "Error fetching preferences",
    "PREFERENCES_UPDATE_ERROR": "Error updating preferences",
    "PREFERENCES_CONTEXT_ERROR": "Preferences context error",

    "UI_TABS_TRIGGER_ERROR": "Error triggering tabs",
    "UI_TABS_CONTENT_ERROR": "Error loading tabs content",

    "IMAGE_FETCH_ERROR": "Error fetching image",

    "HOME_FETCH_ERROR": "Error fetching home page",

    "MIDDLEWARE_UNAUTHORIZED": "Unauthorized",
    "MIDDLEWARE_INVALID_TOKEN": "Invalid authentication token",
    "MIDDLEWARE_INVALID_SESSION": "Invalid session",

    "CLIENT_FETCH_ERROR": "Error fetching data",
    "CLIENT_NETWORK_ERROR": "Network error",
    "CLIENT_REQUEST_FAILED": "Request failed",

    "GENERIC_ERROR": "An error occurred"
  },
  "reader": {
    "controls": {
      "doublePage": {
        "enable": "Enable double page mode",
        "disable": "Disable double page mode"
      },
      "direction": {
        "current": "Change reading direction (currently {{direction}})",
        "ltr": "left to right",
        "rtl": "right to left"
      },
      "fullscreen": {
        "enter": "Enter fullscreen",
        "exit": "Exit fullscreen"
      },
      "thumbnails": {
        "show": "Show thumbnails",
        "hide": "Hide thumbnails"
      },
      "zoom": "Zoom",
      "reload": "Reload page",
      "close": "Close",
      "previousPage": "Previous page",
      "nextPage": "Next page"
    },
    "endOfSeries": "End of series",
    "endOfSeriesMessage": "You have finished all the books in this series!",
    "backToSeries": "Back to series"
  },
  "navigation": {
    "scrollLeft": "Scroll left",
    "scrollRight": "Scroll right",
    "volume": "Volume {number}"
  },
  "common": {
    "retry": "Retry"
  }
}
