Swedish adaptation: Instegscertifikat and HAREC
- Editions replaced by INSTEG, HAREC and UPPGRADERING (Instegscertifikat -> HAREC) - Question pool optional; simulator, homework tool and solutions switch off without one - All UI strings, templates, renderers and project JS localised to sv-SE (decimal comma, Swedish non-breaking-space rules, Å/Ä/Ö in Morse table) - DARC branding, membership CTA and German links removed; attribution footer added - Page names centralised in src/pages.py - README and docs rewritten in Swedish Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -11,14 +11,10 @@ app = typer.Typer()
|
||||
|
||||
@app.command()
|
||||
def main(
|
||||
edition: Annotated[list[Edition], typer.Option(help="Edition to build, can be specified multiple times.")] = [ # noqa: B006 -- default value is required for typer
|
||||
Edition.swl,
|
||||
Edition.n,
|
||||
Edition.e,
|
||||
Edition.a,
|
||||
Edition.ne,
|
||||
Edition.ea,
|
||||
Edition.nea,
|
||||
edition: Annotated[list[Edition], typer.Option(help="Course to build, can be specified multiple times.")] = [ # noqa: B006 -- default value is required for typer
|
||||
Edition.instegs,
|
||||
Edition.harec,
|
||||
Edition.uppgradering,
|
||||
],
|
||||
input: Annotated[str | None, typer.Option("--input", "-i", help="Content source directory.")] = None,
|
||||
output: Annotated[str | None, typer.Option("--output", "-o", help="Destination directory to build to.")] = None,
|
||||
|
||||
Reference in New Issue
Block a user