Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for check_translation (0.25 seconds)

  1. scripts/translation_fixer.py

    import os
    from collections.abc import Iterable
    from pathlib import Path
    from typing import Annotated
    
    import typer
    
    from scripts.doc_parsing_utils import check_translation
    
    non_translated_sections = (
        f"reference{os.sep}",
        "release-notes.md",
        "fastapi-people.md",
        "external-links.md",
        "newsletter.md",
        "management-tasks.md",
        "management.md",
        "contributing.md",
    )
    
    
    cli = typer.Typer()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. scripts/translate.py

    from functools import lru_cache
    from os import sep as pathsep
    from pathlib import Path
    from typing import Annotated
    
    import git
    import typer
    import yaml
    from doc_parsing_utils import check_translation
    from github import Github
    from pydantic_ai import Agent
    from rich import print
    
    non_translated_sections = (
        f"reference{pathsep}",
        "release-notes.md",
        "fastapi-people.md",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  3. scripts/doc_parsing_utils.py

        return modified_text
    
    
    # All checks
    # --------------------------------------------------------------------------------------
    
    
    def check_translation(
        doc_lines: list[str],
        en_doc_lines: list[str],
        lang_code: str,
        auto_fix: bool,
        path: str,
    ) -> list[str]:
        # Fix code includes
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
Back to Top