Skip to content

Commit dfa9649

Browse files
committedFeb 14, 2024
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 51e846e (doc: enforce placeholders in documentation, 2023-12-25). Signed-off-by: Jiang Xin <[email protected]>
1 parent 2996f11 commit dfa9649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎diff.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -5599,7 +5599,7 @@ struct option *add_diff_options(const struct option *opts,
55995599
PARSE_OPT_NONEG | PARSE_OPT_NOARG,
56005600
diff_opt_dirstat),
56015601
OPT_CALLBACK_F(0, "dirstat-by-file", options, N_("<param1,param2>..."),
5602-
N_("synonym for --dirstat=files,param1,param2..."),
5602+
N_("synonym for --dirstat=files,<param1>,<param2>..."),
56035603
PARSE_OPT_NONEG | PARSE_OPT_OPTARG,
56045604
diff_opt_dirstat),
56055605
OPT_BIT_F(0, "check", &options->output_format,

0 commit comments

Comments
 (0)
Please sign in to comment.