Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for get_lang_paths (0.06 sec)

  1. scripts/docs.py

    
    def get_lang_paths() -> list[Path]:
        return sorted(docs_path.iterdir())
    
    
    def lang_callback(lang: Optional[str]) -> Union[str, None]:
        if lang is None:
            return None
        lang = lang.lower()
        return lang
    
    
    def complete_existing_lang(incomplete: str):
        lang_path: Path
        for lang_path in get_lang_paths():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  2. scripts/translate.py

        print("Done removing all removable paths")
    
    
    @app.command()
    def list_missing(language: str) -> list[Path]:
        missing_paths: list[Path] = []
        en_lang_paths = list(iter_en_paths_to_translate())
        for path in en_lang_paths:
            lang_path = generate_lang_path(lang=language, path=path)
            if not lang_path.exists():
                missing_paths.append(path)
        print(missing_paths)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
Back to top