Merge branch 'ah/merge-ort-i18n'
An i18n fix. * ah/merge-ort-i18n: merge-ort: split "distinct types" message into two translatable messages
This commit is contained in:
commit
c7c7c460f8
21
merge-ort.c
21
merge-ort.c
@ -3050,12 +3050,21 @@ static void process_entry(struct merge_options *opt,
|
|||||||
rename_b = 1;
|
rename_b = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
path_msg(opt, path, 0,
|
if (rename_a && rename_b) {
|
||||||
_("CONFLICT (distinct types): %s had different "
|
path_msg(opt, path, 0,
|
||||||
"types on each side; renamed %s of them so "
|
_("CONFLICT (distinct types): %s had "
|
||||||
"each can be recorded somewhere."),
|
"different types on each side; "
|
||||||
path,
|
"renamed both of them so each can "
|
||||||
(rename_a && rename_b) ? _("both") : _("one"));
|
"be recorded somewhere."),
|
||||||
|
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