Translate the whole project to English and fix outdated comments and help
Comments, docstrings, logs, CLI help, map UI, legends, PDF sheet, scripts, compose files and AGENTS.md are now English. Data keys stay unchanged (relief_oriente, densite_sol, visualisations/, API JSON keys, link params). Wrong comments and help defaults found along the way are corrected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
"""Chargeur de l'interface : fichiers web/ du paquet, versions, syntaxe JS."""
|
||||
"""Interface loader: the package's web/ files, versions, JS syntax."""
|
||||
import shutil
|
||||
import subprocess
|
||||
|
||||
@ -13,8 +13,8 @@ def test_constants_are_read_from_web_files():
|
||||
|
||||
|
||||
def test_web_files_ship_with_installed_package():
|
||||
# Image complète : paquet installé par pip (package_data) — les trois
|
||||
# fichiers doivent y être, sinon l'interface est vide en production.
|
||||
# Full image: package installed by pip (package_data) — all three files
|
||||
# must be there, otherwise the interface is empty in production.
|
||||
import lidar_pipeline
|
||||
from pathlib import Path
|
||||
web = Path(lidar_pipeline.__file__).resolve().parent / "web"
|
||||
@ -29,7 +29,7 @@ def test_markers_kept():
|
||||
assert "__ASSETS_V__" not in mapui.render_html()
|
||||
|
||||
|
||||
@pytest.mark.skipif(shutil.which("node") is None, reason="node absent")
|
||||
@pytest.mark.skipif(shutil.which("node") is None, reason="node not installed")
|
||||
def test_js_syntax():
|
||||
from lidar_pipeline import mapui
|
||||
res = subprocess.run(["node", "--check", str(mapui.WEB_DIR / "map.js")],
|
||||
|
||||
Reference in New Issue
Block a user