feat(i18n): localize backend messages by workspace language

This commit is contained in:
Hyu
2026-10-15 05:31:04 +00:00
committed by RockChinQ
parent b1d9484876
commit e29fd27f02
74 changed files with 2296 additions and 177 deletions
@@ -99,7 +99,11 @@ async def test_extensions_route_redacts_plugin_secrets_without_mutating_runtime_
@pytest.mark.asyncio
async def test_extensions_parallel_reads_open_explicit_child_task_scopes():
from langbot.pkg.entity.persistence.metadata import WorkspaceMetadata
engine = create_async_engine('sqlite+aiosqlite:///:memory:')
async with engine.begin() as connection:
await connection.run_sync(WorkspaceMetadata.__table__.create)
account = SimpleNamespace(uuid='account-a', user='[email protected]')
ap = SimpleNamespace()
ap.persistence_mgr = PersistenceManager(ap)