feat(easel): add localization

This commit is contained in:
2026-04-23 15:47:16 +03:00
parent ecb574e286
commit 9351b9f53a
34 changed files with 464 additions and 311 deletions
+9 -7
View File
@@ -1,9 +1,11 @@
from fastapi import FastAPI
from fastapi import APIRouter, Depends
from . import common, schedule, weather
from .common import router as common_router
from .schedule import router as schedule_router
from .translation import set_language
from .weather import router as weather_router
def mount(app: FastAPI):
common.mount(app)
weather.mount(app)
schedule.mount(app)
router = APIRouter(dependencies=[Depends(set_language)])
router.include_router(common_router)
router.include_router(weather_router)
router.include_router(schedule_router)