multilang_1

This commit is contained in:
Mateusz Gruszczyński
2026-05-29 13:18:53 +02:00
parent 4c8debb103
commit 22e2983dc2
17 changed files with 4569 additions and 152 deletions

View File

@@ -8,7 +8,7 @@ import threading
import zipfile
from flask import Blueprint, render_template, Response, request, redirect, url_for, abort, send_file, stream_with_context
from ..services.preferences import get_preferences, list_profiles, active_profile, get_profile, BOOTSTRAP_THEMES, FONT_FAMILIES
from ..services.preferences import get_preferences, list_profiles, active_profile, get_profile, BOOTSTRAP_THEMES, FONT_FAMILIES, SUPPORTED_LANGUAGES
from ..services import auth, pdf_preview_links, rtorrent
from ..config import PYTORRENT_TMP_DIR
from ..services.frontend_assets import asset_path
@@ -214,6 +214,7 @@ def index():
active_profile=active_profile(),
bootstrap_themes=BOOTSTRAP_THEMES,
font_families=FONT_FAMILIES,
supported_languages=SUPPORTED_LANGUAGES,
auth_enabled=auth.enabled(),
auth_provider=auth.provider(),
external_auth=auth.uses_external_provider(),