diff: mark param1 and param2 as placeholders
commit5e7013aa14739c3505a35b35ca095eeaace5d181
authorJiang Xin <worldhello.net@gmail.com>
Wed, 14 Feb 2024 08:46:41 +0000 (14 16:46 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Feb 2024 17:29:10 +0000 (14 09:29 -0800)
tree254fe5240a7c7e85ff78c576a2de7b9113c083d7
parent61a22ddaf0626111193a17ac12f366bd6d167dff
diff: mark param1 and param2 as placeholders

Some l10n translators translated the parameters "files", "param1" and
"param2" in the following message:

    "synonym for --dirstat=files,param1,param2..."

Translating "param1" and "param2" is OK, but changing the parameter
"files" is wrong. The parameters that are not meant to be used verbatim
should be marked as placeholders, but the verbatim parameter not marked
as a placeholder should be left as is.

This change is a complement for commit 51e846e673 (doc: enforce
placeholders in documentation, 2023-12-25).

With the help of Jean-Noël,some parameter combinations in one
placeholder (e.g. "<param1,param2>...") are splited into seperate
placeholders.

Helped-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c