Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Yang (0.17 sec)

  1. .github/actions/notify-translations/app/main.py

        lang_to_discussion_map: Dict[str, AllDiscussionsDiscussionNode] = {}
        for discussion in discussions:
            for edge in discussion.labels.edges:
                label = edge.node.name
                if label.startswith("lang-") and not label == lang_all_label:
                    lang = label[5:]
                    lang_to_discussion_map[lang] = discussion
        logging.debug(f"Using translations map: {lang_to_discussion_map}")
    
    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)
  2. docs/pt/docs/contributing.md

    O próximo passo é rodar o _script_ para gerar um novo diretório de tradução:
    
    <div class="termy">
    
    ```console
    // Use o comando new-lang, passe o código da linguagem como um argumento de linha de comando
    $ python ./scripts/docs.py new-lang ht
    
    Successfully initialized: docs/ht
    Updating ht
    Updating en
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  3. .github/actions/people/app/main.py

                    authors[review.author.login] = review.author
                    pr_reviewers.add(review.author.login)
                    for label in pr.labels.nodes:
                        if label.name == "lang-all":
                            translation_reviewers[review.author.login] += 1
                            break
            for reviewer in pr_reviewers:
                reviewers[reviewer] += 1
    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/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():
    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)
  5. docs/vi/docs/tutorial/first-steps.md

    # Những bước đầu tiên
    
    Tệp tin FastAPI đơn giản nhất có thể trông như này:
    
    ```Python
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Sao chép sang một tệp tin `main.py`.
    
    Chạy live server:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  6. docs/ja/docs/contributing.md

    クレオール語の翻訳を追加したいのですが、それはまだドキュメントにありません。
    
    上記のリンクを確認すると、「クレオール語」のコードは`ht`です。
    
    次のステップは、スクリプトを実行して新しい翻訳ディレクトリを生成することです:
    
    <div class="termy">
    
    ```console
    // コマンド「new-lang」を使用して、言語コードをCLIに引数で渡します
    $ python ./scripts/docs.py new-lang ht
    
    Successfully initialized: docs/ht
    Updating ht
    Updating en
    ```
    
    </div>
    
    これで、新しく作成された`docs/ht/`ディレクトリをコードエディターから確認できます。
    
    !!! tip "豆知識"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  7. docs/en/docs/contributing.md

    The next step is to run the script to generate a new translation directory:
    
    <div class="termy">
    
    ```console
    // Use the command new-lang, pass the language code as a CLI argument
    $ python ./scripts/docs.py new-lang ht
    
    Successfully initialized: docs/ht
    ```
    
    </div>
    
    Now you can check in your code editor the newly created directory `docs/ht/`.
    
    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)
  8. docs/em/docs/contributing.md

    ➡️ 💬 👆 💚 🚮 ✍ 🇭🇹, &amp; ⚫️ 🚫 📤 🩺.
    
    ✅ 🔗 ⚪️➡️ 🔛, 📟 "🇭🇹" `ht`.
    
    ⏭ 🔁 🏃 ✍ 🏗 🆕 ✍ 📁:
    
    <div class="termy">
    
    ```console
    // Use the command new-lang, pass the language code as a CLI argument
    $ python ./scripts/docs.py new-lang ht
    
    Successfully initialized: docs/ht
    Updating ht
    Updating en
    ```
    
    </div>
    
    🔜 👆 💪 ✅ 👆 📟 👨‍🎨 ⏳ ✍ 📁 `docs/ht/`.
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  9. docs/zh/docs/contributing.md

    假设你想要添加克里奥尔语翻译,而且文档中还没有该语言的翻译。
    
    点击上面提到的“ISO 639-1 代码列表”链接,可以查到“克里奥尔语”的代码为 `ht`。
    
    下一步是运行脚本以生成新的翻译目录:
    
    <div class="termy">
    
    ```console
    // Use the command new-lang, pass the language code as a CLI argument
    $ python ./scripts/docs.py new-lang ht
    
    Successfully initialized: docs/ht
    ```
    
    </div>
    
    现在,你可以在编辑器中查看新创建的目录 `docs/ht/`。
    
    这条命令会生成一个从 `en` 版本继承了所有属性的配置文件 `docs/ht/mkdocs.yml`:
    
    ```yaml
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 11:57:21 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. docs/fr/docs/contributing.md

    L'étape suivante consiste à exécuter le script pour générer un nouveau répertoire de traduction :
    
    <div class="termy">
    
    ```console
    // Use the command new-lang, pass the language code as a CLI argument
    $ python ./scripts/docs.py new-lang ht
    
    Successfully initialized: docs/ht
    Updating ht
    Updating en
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jul 27 18:51:07 GMT 2023
    - 16.3K bytes
    - Viewed (0)
Back to top