diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2024-12-20 13:58:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-12-20 07:52:44 -0800 |
commit | 8ddcdc1bb33ccf803461dd2365146f9341bf9312 (patch) | |
tree | 25f50d98df685310c68adbc061abe9dd9babcbad /git-gui/lib/diff.tcl | |
parent | 246cebe3205694ce19eceaa795d20f24ba762c49 (diff) |
refs: mark invalid refname message for translation
The error message produced by `transaction_refname_valid()` changes based
on whether the update is a ref update or a reflog update, with the use
of a ternary operator. This breaks translation since the sub-msg is not
marked for translation. Fix this by setting the entire message using a
`if {} else {}` block and marking each message for translation.
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions