From 4503dbb013b15a496a5c4bf80bb48f5c08984311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 15 Oct 2024 16:54:16 +0200 Subject: [PATCH] doc: rename git branch `master` to `main` in URLs --- .github/ISSUE_TEMPLATE/bug_report.yaml | 2 +- .github/ISSUE_TEMPLATE/question.yaml | 2 +- README.md | 2 +- doc/de/weechat_scripting.de.adoc | 2 +- doc/de/weechat_user.de.adoc | 2 +- doc/en/weechat_dev.en.adoc | 2 +- doc/en/weechat_scripting.en.adoc | 2 +- doc/en/weechat_user.en.adoc | 2 +- doc/fr/weechat_dev.fr.adoc | 2 +- doc/fr/weechat_scripting.fr.adoc | 2 +- doc/fr/weechat_user.fr.adoc | 2 +- doc/it/weechat_scripting.it.adoc | 2 +- doc/it/weechat_user.it.adoc | 2 +- doc/ja/weechat_dev.ja.adoc | 2 +- doc/ja/weechat_scripting.ja.adoc | 2 +- doc/ja/weechat_user.ja.adoc | 2 +- doc/pl/weechat_scripting.pl.adoc | 2 +- doc/pl/weechat_user.pl.adoc | 2 +- doc/sr/weechat_scripting.sr.adoc | 2 +- doc/sr/weechat_user.sr.adoc | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index cade46d01..4678a9f8a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -9,7 +9,7 @@ body: Before submitting a bug, please check that it has not already been reported by searching in [open and closed bugs](https://github.com/weechat/weechat/issues?q=is%3Aissue+label%3Abug). If you don't use the latest version, please try if possible with the latest stable release to be sure the issue is still present and report the issue on this version. - **IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/master/CONTRIBUTING.md#security-reports). + **IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/main/CONTRIBUTING.md#security-reports). - type: textarea id: bug-description diff --git a/.github/ISSUE_TEMPLATE/question.yaml b/.github/ISSUE_TEMPLATE/question.yaml index 5dab8c881..8beb5e2fe 100644 --- a/.github/ISSUE_TEMPLATE/question.yaml +++ b/.github/ISSUE_TEMPLATE/question.yaml @@ -10,7 +10,7 @@ body: - please read the [FAQ](https://weechat.org/doc/weechat/faq) and [documentation](https://weechat.org/doc/weechat/) - please ask on #weechat channel (on server irc.libera.chat). - **IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/master/CONTRIBUTING.md#security-reports). + **IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/main/CONTRIBUTING.md#security-reports). - type: textarea id: question diff --git a/README.md b/README.md index 1b92bbfff..013bb7aa9 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ [![Donate](https://img.shields.io/badge/help-donate%20%E2%9D%A4-ff69b4.svg)](https://weechat.org/donate/) [![CI](https://github.com/weechat/weechat/workflows/CI/badge.svg)](https://github.com/weechat/weechat/actions) -[![Code coverage](https://codecov.io/gh/weechat/weechat/branch/master/graph/badge.svg)](https://codecov.io/gh/weechat/weechat) +[![Code coverage](https://codecov.io/gh/weechat/weechat/branch/main/graph/badge.svg)](https://codecov.io/gh/weechat/weechat) **WeeChat** (Wee Enhanced Environment for Chat) is a free chat client, fast and light, designed for many operating systems.\ It is highly customizable and extensible with scripts. diff --git a/doc/de/weechat_scripting.de.adoc b/doc/de/weechat_scripting.de.adoc index da79bb47e..4470d2599 100644 --- a/doc/de/weechat_scripting.de.adoc +++ b/doc/de/weechat_scripting.de.adoc @@ -73,7 +73,7 @@ und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_ WeeChat definiert ein `weechat` Module welches mittels `import weechat` importiert werden muss. + Ein Python-Stub für die WeeChat-API ist im Repository verfügbar: -https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. +https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. [[python_functions]] ===== Funktionen diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc index 1ee0172d5..ea152b186 100644 --- a/doc/de/weechat_user.de.adoc +++ b/doc/de/weechat_user.de.adoc @@ -827,7 +827,7 @@ weechat --upgrade ==== Hinweise zum Upgrade Nach einem Upgrade, wird *dringend empfohlen* das Dokukment -https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^] +https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^] zu lesen. Dieses Dokument enthält wichtige Informationen zu wichtigen Änderungen und einige manuelle Aktionen, die erforderlich sein könnten. diff --git a/doc/en/weechat_dev.en.adoc b/doc/en/weechat_dev.en.adoc index caeadbedf..98327954a 100644 --- a/doc/en/weechat_dev.en.adoc +++ b/doc/en/weechat_dev.en.adoc @@ -1174,7 +1174,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000, Git repository is on https://github.com/weechat/weechat[GitHub ^↗^^]. -Any patch for bug or new feature must be done on master branch, preferred way +Any patch for bug or new feature must be done on branch `main`, preferred way is a GitHub pull request. A patch can also be sent by e-mail (made with `git diff` or `git format-patch`). diff --git a/doc/en/weechat_scripting.en.adoc b/doc/en/weechat_scripting.en.adoc index 42094fd5b..ecbb08e50 100644 --- a/doc/en/weechat_scripting.en.adoc +++ b/doc/en/weechat_scripting.en.adoc @@ -67,7 +67,7 @@ link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗ WeeChat defines a `weechat` module which must be imported with `import weechat`. + A Python stub for WeeChat API is available in the repository: -https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. +https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. [[python_functions]] ===== Functions diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index ef35586cb..921861ddd 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -817,7 +817,7 @@ weechat --upgrade ==== Upgrading notes After an upgrade, it is *strongly recommended* to read the file -https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^] +https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^] which contains important information about breaking changes and some manual actions that could be required. diff --git a/doc/fr/weechat_dev.fr.adoc b/doc/fr/weechat_dev.fr.adoc index d7844eb95..f2bfd0ed6 100644 --- a/doc/fr/weechat_dev.fr.adoc +++ b/doc/fr/weechat_dev.fr.adoc @@ -1194,7 +1194,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000, Le dépôt Git est sur https://github.com/weechat/weechat[GitHub ^↗^^]. Tout patch pour un bug ou une nouvelle fonctionnalité doit être effectué sur la -branche master, le format préféré étant une "pull request" sur GitHub. Un patch +branche `main`, le format préféré étant une "pull request" sur GitHub. Un patch peut aussi être envoyé par e-mail (fait avec `git diff` ou `git format-patch`). Le format du message de commit est le suivant (avec fermeture automatique diff --git a/doc/fr/weechat_scripting.fr.adoc b/doc/fr/weechat_scripting.fr.adoc index 77281d481..fe4d7461e 100644 --- a/doc/fr/weechat_scripting.fr.adoc +++ b/doc/fr/weechat_scripting.fr.adoc @@ -73,7 +73,7 @@ link:weechat_plugin_api.fr.html#_hook_process[Référence API extension WeeChat WeeChat définit un module `weechat` qui doit être importé avec `import weechat`. + Un "stub" Python pour l'API WeeChat est disponible dans le dépôt : -https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. +https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. [[python_functions]] ===== Fonctions diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc index 1f5bbce14..702105e63 100644 --- a/doc/fr/weechat_user.fr.adoc +++ b/doc/fr/weechat_user.fr.adoc @@ -829,7 +829,7 @@ weechat --upgrade ==== Notes de mise à jour Après une mise à jour, il est *fortement recommandé* de lire le fichier -https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^] +https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^] qui contient des informations importantes sur les changements majeurs et quelques actions manuelles qui pourraient être nécessaires. diff --git a/doc/it/weechat_scripting.it.adoc b/doc/it/weechat_scripting.it.adoc index ac7971e5e..f38ec6269 100644 --- a/doc/it/weechat_scripting.it.adoc +++ b/doc/it/weechat_scripting.it.adoc @@ -77,7 +77,7 @@ link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference ^↗ WeeChat defines a `weechat` module which must be imported with `import weechat`. + A Python stub for WeeChat API is available in the repository: -https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. +https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. // TRANSLATION MISSING [[python_functions]] diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index e017bcb86..a52f062aa 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -899,7 +899,7 @@ weechat --upgrade // TRANSLATION MISSING After an upgrade, it is *strongly recommended* to read the file -https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^] +https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^] which contains important information about breaking changes and some manual actions that could be required. diff --git a/doc/ja/weechat_dev.ja.adoc b/doc/ja/weechat_dev.ja.adoc index fdb691fa6..de9b7e459 100644 --- a/doc/ja/weechat_dev.ja.adoc +++ b/doc/ja/weechat_dev.ja.adoc @@ -1313,7 +1313,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000, // TRANSLATION MISSING Git repository is on https://github.com/weechat/weechat[GitHub ^↗^^]. -バグや新機能のパッチは必ず master ブランチに対して適用できるものを作成し、GitHub の pull +バグや新機能のパッチは必ず `main` ブランチに対して適用できるものを作成し、GitHub の pull リクエストを使って提出することを推奨します。パッチは電子メールで送信することも可能です (`git diff` または `git format-patch` で作成してください)。 diff --git a/doc/ja/weechat_scripting.ja.adoc b/doc/ja/weechat_scripting.ja.adoc index c1d0029c7..6ec841d24 100644 --- a/doc/ja/weechat_scripting.ja.adoc +++ b/doc/ja/weechat_scripting.ja.adoc @@ -74,7 +74,7 @@ link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リフ WeeChat defines a `weechat` module which must be imported with `import weechat`. + A Python stub for WeeChat API is available in the repository: -https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. +https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. // TRANSLATION MISSING [[python_functions]] diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index 8f72e1833..b0b04eb3d 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -875,7 +875,7 @@ weechat --upgrade // TRANSLATION MISSING After an upgrade, it is *strongly recommended* to read the file -https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^] +https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^] which contains important information about breaking changes and some manual actions that could be required. diff --git a/doc/pl/weechat_scripting.pl.adoc b/doc/pl/weechat_scripting.pl.adoc index af501030f..f10a3cfc0 100644 --- a/doc/pl/weechat_scripting.pl.adoc +++ b/doc/pl/weechat_scripting.pl.adoc @@ -72,7 +72,7 @@ link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat ^↗^^] WeeChat definiuje moduł `weechat`, który należy zaimportowac poprzez `import weechat`. + Szkielet API WeeChat dla języka Python dostępny jest w repozytorium: -https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. +https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. [[python_functions]] ===== Funkcje diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc index f134a3828..a026ef4d2 100644 --- a/doc/pl/weechat_user.pl.adoc +++ b/doc/pl/weechat_user.pl.adoc @@ -821,7 +821,7 @@ weechat --upgrade ==== Informacje o aktualizacji Po aktualizacji *zaleca się* zapoznanie z plikiem -https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^], +https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^], który zawiera ważne informacje o niekompatybilnych zmianach i czynnościach, jakie mogą być wymagane. diff --git a/doc/sr/weechat_scripting.sr.adoc b/doc/sr/weechat_scripting.sr.adoc index f8b42fddc..280a506c6 100644 --- a/doc/sr/weechat_scripting.sr.adoc +++ b/doc/sr/weechat_scripting.sr.adoc @@ -61,7 +61,7 @@ Almost all examples in this doc are written in Python, but API is the same for o ===== Модул Програм WeeChat дефинише `weechat` модул који мора да се увезе командом `import weechat`. + -Python стаб за WeeChat API је соступан у репозиторијуму: https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. +Python стаб за WeeChat API је соступан у репозиторијуму: https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^]. [[python_functions]] ===== Функције diff --git a/doc/sr/weechat_user.sr.adoc b/doc/sr/weechat_user.sr.adoc index 5541165cc..0c605e1c8 100644 --- a/doc/sr/weechat_user.sr.adoc +++ b/doc/sr/weechat_user.sr.adoc @@ -773,7 +773,7 @@ weechat --upgrade ==== Напомене у вези са ажурирањем Након ажурирања, *снажно се препоручује* да прочитате фајл -https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^] +https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^] који садржи важне информације у вези са изменама које могу да покваре понашање и неке ручне акције које могу да буду неопходне.