Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for translator (0.18 sec)

  1. scripts/docs.py

    import mkdocs.utils
    import typer
    import yaml
    from jinja2 import Template
    
    logging.basicConfig(level=logging.INFO)
    
    app = typer.Typer()
    
    mkdocs_name = "mkdocs.yml"
    
    missing_translation_snippet = """
    {!../../../docs/missing-translation.md!}
    """
    
    docs_path = Path("docs")
    en_docs_path = Path("docs/en")
    en_config_path: Path = en_docs_path / mkdocs_name
    site_path = Path("site").absolute()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  2. .github/actions/notify-translations/app/main.py

        # Messages to create or check
        new_translation_message = f"Good news everyone! 😉 There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}. 🎉 This requires 2 approvals from native speakers to be merged. 🤓"
        done_translation_message = f"~There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}~ Good job! This is done. 🍰☕"
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  3. .github/actions/people/app/main.py

        contributors: Counter
        commenters: Counter
        reviewers: Counter
        translation_reviewers: Counter
        authors: Dict[str, Author]
    
    
    def get_contributors(pr_nodes: List[PullRequestNode]) -> ContributorsResults:
        contributors = Counter()
        commenters = Counter()
        reviewers = Counter()
        translation_reviewers = Counter()
        authors: Dict[str, Author] = {}
    
        for pr in pr_nodes:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  4. scripts/mkdocs_hooks.py

    non_traslated_sections = [
        "reference/",
        "release-notes.md",
    ]
    
    
    @lru_cache
    def get_missing_translation_content(docs_dir: str) -> str:
        docs_dir_path = Path(docs_dir)
        missing_translation_path = docs_dir_path.parent.parent / "missing-translation.md"
        return missing_translation_path.read_text(encoding="utf-8")
    
    
    @lru_cache
    def get_mkdocs_material_langs() -> List[str]:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  5. configure.py

          invalid response upon check_success(input) failure.
        suppress_default_error: (Bool) Suppress the above error message in favor of
          one from the check_success function.
        resolve_symlinks: (Bool) Translate symbolic links into the real filepath.
        n_ask_attempts: (Integer) Number of times to query for valid input before
          raising an error and quitting.
    
      Returns:
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top