Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for translator (0.35 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. 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)
  3. .github/actions/notify-translations/action.yml

    name: "Notify Translations"
    description: "Notify in the issue for a translation when there's a new PR available"
    author: "Sebastián Ramírez <******@****.***>"
    inputs:
      token:
        description: 'Token, to read the GitHub API. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
        required: true
    runs:
      using: 'docker'
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Aug 18 13:07:08 GMT 2021
    - 346 bytes
    - Viewed (0)
  4. docs/en/docs/contributing.md

    Now let's say that you want to add a translation for the section [Features](features.md){.internal-link target=_blank}.
    
    * Copy the file at:
    
    ```
    docs/en/docs/features.md
    ```
    
    * Paste it in exactly the same location but for the language you want to translate, e.g.:
    
    ```
    docs/es/docs/features.md
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. docs/missing-translation.md

    !!! warning
        The current page still doesn't have a translation for this language.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 213 bytes
    - Viewed (0)
  6. docs/en/docs/help-fastapi.md

        * Make sure you add your link to the start of the corresponding section.
    * To help [translate the documentation](contributing.md#translations){.internal-link target=_blank} to your language.
        * You can also help to review the translations created by others.
    * To propose new documentation sections.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    ### Translations
    
    * 🌐 Add Traditional Chinese translation for `docs/zh-hant/benchmarks.md`. PR [#11484](https://github.com/tiangolo/fastapi/pull/11484) by [@KNChiu](https://github.com/KNChiu).
    * 🌐 Update Chinese translation for `docs/zh/docs/fastapi-people.md`. PR [#11476](https://github.com/tiangolo/fastapi/pull/11476) by [@billzhong](https://github.com/billzhong).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  8. .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)
  9. .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)
  10. docs/en/docs/css/custom.css

      height: 80px;
      margin: 10px auto;
      overflow: hidden;
      border-radius: 50%;
      position: relative;
    }
    
    .user .avatar-wrapper img {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    
    .user .title {
      text-align: center;
    }
    
    .user .count {
      font-size: 80%;
      text-align: center;
    }
    
    a.announce-link:link,
    a.announce-link:visited {
      color: #fff;
    }
    
    CSS
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jan 28 09:53:45 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top