diff --git a/doc/en/weechat_dev.en.adoc b/doc/en/weechat_dev.en.adoc index 709492ab8..1493f8daf 100644 --- a/doc/en/weechat_dev.en.adoc +++ b/doc/en/weechat_dev.en.adoc @@ -568,11 +568,19 @@ directory: * In source code, your comments, variable names, .. must be written in English *only* (no other language is allowed). * Use a copyright header in each new source file with: -** short description of file (one line), -** date, -** name, -** e-mail, -** license. +** date +** name +** e-mail +** license +** short description of file (one line). + +The copyright and license must be set using SPDX (System Package Data Exchange), +following best practices in REUSE Software +(see the https://reuse.software/spec/[REUSE specification ^↗^^]). + +All files in the repository must have a valid copyright and license information. + +When the information can not be put in the file itself, you can use the REUSE.toml +file at the root of the project tree. Example in C: diff --git a/doc/fr/weechat_dev.fr.adoc b/doc/fr/weechat_dev.fr.adoc index c756e3814..8495aec78 100644 --- a/doc/fr/weechat_dev.fr.adoc +++ b/doc/fr/weechat_dev.fr.adoc @@ -569,11 +569,19 @@ fichiers sont dans le répertoire _po/_ : * Dans le code source, vos commentaires, noms de variables, ... doivent être écrits en anglais *uniquement* (aucune autre langue n'est autorisée). * Utilisez un en-tête de copyright dans chaque nouveau fichier source avec : -** une brève description du fichier (une seule ligne), -** la date, -** le nom, -** l'e-mail, -** la licence. +** la date +** le nom +** l'e-mail +** la licence +** une brève description du fichier (une seule ligne). + +Le copyright et la licence doivent être définis en utilisant SPDX (System Package Data Exchange), +en suivant les recommandations de REUSE Software +(voir la https://reuse.software/spec/[spécification REUSE ^↗^^]). + +Tous les fichiers du dépôt doivent avoir un copyright et une licence valide. + +Lorsque l'information ne peut pas être mise dans le fichier lui-même, vous pouvez +utiliser le fichier REUSE.toml à la racine du projet. Exemple en C : diff --git a/doc/ja/weechat_dev.ja.adoc b/doc/ja/weechat_dev.ja.adoc index e4e8d1ec8..fe05eed9c 100644 --- a/doc/ja/weechat_dev.ja.adoc +++ b/doc/ja/weechat_dev.ja.adoc @@ -691,11 +691,24 @@ WeeChat とプラグインの翻訳は gettext で行います、ファイルは * ソースコード内で使用する、コメント、変数名、... は必ず *英語* で記述してください (他の言語を使わないでください) * 新しいファイルにはコピーライトヘッダを入れ、以下の情報を含めてください: -** ファイルの短い説明 (1 行)、 -** 日付、 -** 名前、 -** 電子メールアドレス、 -** ライセンス。 +** 日付 +** 名前 +** 電子メールアドレス +** ライセンス +** ファイルの短い説明 (1 行)。 + +// TRANSLATION MISSING +The copyright and license must be set using SPDX (System Package Data Exchange), +following best practices in REUSE Software +(see the https://reuse.software/spec/[REUSE specification ^↗^^]). + +// TRANSLATION MISSING +All files in the repository must have a valid copyright and license information. + +When the information can not be put in the file itself, you can use the REUSE.toml +file at the root of the project tree. + +// TRANSLATION MISSING +Example in C: [source,c] ---- diff --git a/doc/sr/weechat_dev.sr.adoc b/doc/sr/weechat_dev.sr.adoc index 47553c020..d5b2e68fb 100644 --- a/doc/sr/weechat_dev.sr.adoc +++ b/doc/sr/weechat_dev.sr.adoc @@ -564,11 +564,21 @@ WeeChat „језгро” се налази у следећим директо * Ваши коментари, имена променљивих, ... у изворном коду морају бити написани *само* на енглеском језику (није дозвољена употреба ниједног другог језика). * Употребите заглавље ауторских права у сваком новом изворном фајлу са: -** кратким описом фајла (једна линија) -** датумом, -** именом, -** имејл адресом, -** лиценцом. +** датумом +** именом +** имејл адресом +** лиценцом +** кратким описом фајла (једна линија). + +// TRANSLATION MISSING +The copyright and license must be set using SPDX (System Package Data Exchange), +following best practices in REUSE Software +(see the https://reuse.software/spec/[REUSE specification ^↗^^]). + +// TRANSLATION MISSING +All files in the repository must have a valid copyright and license information. + +When the information can not be put in the file itself, you can use the REUSE.toml +file at the root of the project tree. Пример у језику C: