merge-ort: split "distinct types" message into two translatable messages
The word "renamed" has two possible translations in many European languages depending on whether one thing was renamed or two things were renamed. Give translators freedom to alter any part of the message to make it sound right in their language. Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Acked-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
48bf2fa8ba
commit
0e59f7ad67
19
merge-ort.c
19
merge-ort.c
@ -2803,12 +2803,21 @@ static void process_entry(struct merge_options *opt,
|
|||||||
rename_b = 1;
|
rename_b = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (rename_a && rename_b) {
|
||||||
path_msg(opt, path, 0,
|
path_msg(opt, path, 0,
|
||||||
_("CONFLICT (distinct types): %s had different "
|
_("CONFLICT (distinct types): %s had "
|
||||||
"types on each side; renamed %s of them so "
|
"different types on each side; "
|
||||||
"each can be recorded somewhere."),
|
"renamed both of them so each can "
|
||||||
path,
|
"be recorded somewhere."),
|
||||||
(rename_a && rename_b) ? _("both") : _("one"));
|
path);
|
||||||
|
} else {
|
||||||
|
path_msg(opt, path, 0,
|
||||||
|
_("CONFLICT (distinct types): %s had "
|
||||||
|
"different types on each side; "
|
||||||
|
"renamed one of them so each can be "
|
||||||
|
"recorded somewhere."),
|
||||||
|
path);
|
||||||
|
}
|
||||||
|
|
||||||
ci->merged.clean = 0;
|
ci->merged.clean = 0;
|
||||||
memcpy(new_ci, ci, sizeof(*new_ci));
|
memcpy(new_ci, ci, sizeof(*new_ci));
|
||||||
|
Loading…
Reference in New Issue
Block a user